Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientProvider ¶
type ClientProvider struct{}
ClientProvider is the real implementation of CPI interface that provides a client to make calls against the API
func (*ClientProvider) NewConfig ¶
func (cp *ClientProvider) NewConfig(ctx context.Context, secret *corev1.Secret, region string) (*aws.Config, error)
NewConfig returns the config used to create a new EC2 Client set-up with the provided values.
func (*ClientProvider) NewEC2Client ¶
func (cp *ClientProvider) NewEC2Client(config *aws.Config) interfaces.Ec2Client
NewEC2Client Returns an EC2Client object
Click to show internal directories.
Click to hide internal directories.