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 // DualStackEndpoint flag for aws APIs UseAwsDualStackEndpoint bool // FipsEndpoint flag for aws APIs UseAwsFIPSEndpoint bool }
func (*CloudConfig) BindFlags ¶ added in v1.0.0
func (cfg *CloudConfig) BindFlags(fs *pflag.FlagSet)
func (*CloudConfig) GetAwsDualStackEndpoint ¶ added in v1.11.0
func (cfg *CloudConfig) GetAwsDualStackEndpoint() int
converts boolean values of Fips Endpoint into Integer which are used for AWS Services
func (*CloudConfig) GetAwsFIPSEndpoint ¶ added in v1.11.0
func (cfg *CloudConfig) GetAwsFIPSEndpoint() int
converts boolean values of Fips Endpoint into Integer which are used for AWS Services
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.