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)
Click to show internal directories.
Click to hide internal directories.