aws

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

type Cloud interface {
	//CloudWatch provides API access to AWS Cloudwatch Service
	CloudWatchLogs() services.CloudWatchLogs

	// AccountID provides AccountID for the kubernetes cluster
	AccountID() string

	// Region for the kubernetes cluster
	Region() string

	// Cluster Name
	ClusterName() string
}

func NewCloud

func NewCloud(cfg CloudConfig) (Cloud, error)

type CloudConfig

type CloudConfig struct {
	// AWS Region for the kubernetes cluster
	Region string
	// AccountID for the kubernetes cluster
	AccountID string
	// Cluster Name for the kubernetes cluster
	ClusterName string
}

func (*CloudConfig) BindFlags

func (cfg *CloudConfig) BindFlags(fs *pflag.FlagSet)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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