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
//EKS provides API to AWS EKS
EKS() services.EKS
// 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)
func (*CloudConfig) HandleAccountID ¶ added in v1.6.0
func (cfg *CloudConfig) HandleAccountID(log logr.Logger)
function to check if aws accountId got converted to scientific notation, and convert back silently log any improperly formatted ids
Click to show internal directories.
Click to hide internal directories.