aws

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 13 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 {
	// AppMesh provides API to AWS AppMesh
	AppMesh() services.AppMesh
	// CloudMap provides API to AWS CloudMap
	CloudMap() services.CloudMap

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

	// Region for the kubernetes cluster
	Region() string
}

func NewCloud

func NewCloud(cfg CloudConfig, metricsRegisterer prometheus.Registerer) (Cloud, error)

NewCloud constructs new Cloud implementation.

type CloudConfig added in v1.0.0

type CloudConfig struct {
	// AWS Region for the kubernetes cluster
	Region string
	// AccountID for the kubernetes cluster
	AccountID string
	// Throttle settings for aws APIs
	ThrottleConfig *throttle.ServiceOperationsThrottleConfig
}

func (*CloudConfig) BindFlags added in v1.0.0

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