aws

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidDate

func IsValidDate(date string) bool

func IsValidMonth

func IsValidMonth(month string) bool

Types

type AWSCloud

type AWSCloud struct {
	// contains filtered or unexported fields
}

func New

func New(AK, SK, regionId string) (*AWSCloud, error)

func (*AWSCloud) DescribeInstanceBill

func (p *AWSCloud) DescribeInstanceBill(ctx context.Context, param types.DescribeInstanceBillRequest, isAll bool) (types.DescribeInstanceBill, error)

func (*AWSCloud) DescribeInstances added in v0.2.1

func (p *AWSCloud) DescribeInstances(ctx context.Context, param types.DescribeInstancesRequest) (types.DescribeInstances, error)

func (*AWSCloud) DescribeMetricList

func (*AWSCloud) DescribeRegions

func (p *AWSCloud) DescribeRegions(ctx context.Context, param types.DescribeRegionsRequest) (types.DescribeRegions, error)

func (*AWSCloud) ProviderType

func (*AWSCloud) ProviderType() cloud.Provider

ProviderType

func (*AWSCloud) QueryAccountBill

QueryAccountBill

func (*AWSCloud) QueryAvailableInstances

func (*AWSCloud) QueryByFilter

func (p *AWSCloud) QueryByFilter(param types.QueryAccountBillRequest, chargeType string) ([]types.AccountBillItem, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL