Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TemporaryResourceID is the name used temporarily when creating AWS resources TemporaryResourceID = "temporary-resource-id" // AnyIPv4CidrBlock is the CIDR block to match all IPv4 addresses AnyIPv4CidrBlock = "0.0.0.0/0" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ASGInterface ¶ added in v0.6.1
type ASGInterface interface { ASGIfExists(id *string) (*expinfrav1.AutoScalingGroup, error) GetASGByName(scope *scope.MachinePoolScope) (*expinfrav1.AutoScalingGroup, error) CreateASG(scope *scope.MachinePoolScope) (*expinfrav1.AutoScalingGroup, error) UpdateASG(scope *scope.MachinePoolScope) error StartASGInstanceRefresh(scope *scope.MachinePoolScope) error CanStartASGInstanceRefresh(scope *scope.MachinePoolScope) (bool, error) UpdateResourceTags(resourceID *string, create, remove map[string]string) error DeleteASGAndWait(id string) error }
ASGInterface encapsulates the methods exposed to the machinepool actuator
type EC2MachineInterface ¶
type EC2MachineInterface interface { InstanceIfExists(id *string) (*infrav1.Instance, error) TerminateInstance(id string) error CreateInstance(scope *scope.MachineScope, userData []byte) (*infrav1.Instance, error) GetRunningInstanceByTags(scope *scope.MachineScope) (*infrav1.Instance, error) GetCoreSecurityGroups(machine *scope.MachineScope) ([]string, error) GetInstanceSecurityGroups(instanceID string) (map[string][]string, error) GetFilteredSecurityGroupID(securityGroup infrav1.AWSResourceReference) (string, error) UpdateInstanceSecurityGroups(id string, securityGroups []string) error UpdateResourceTags(resourceID *string, create, remove map[string]string) error TerminateInstanceAndWait(instanceID string) error DetachSecurityGroupsFromNetworkInterface(groups []string, interfaceID string) error DiscoverLaunchTemplateAMI(scope *scope.MachinePoolScope) (*string, error) GetLaunchTemplate(id string) (*expinfrav1.AWSLaunchTemplate, error) CreateLaunchTemplate(scope *scope.MachinePoolScope, imageID *string, userData []byte) (string, error) CreateLaunchTemplateVersion(scope *scope.MachinePoolScope, imageID *string, userData []byte) error DeleteLaunchTemplate(id string) error LaunchTemplateNeedsUpdate(scope *scope.MachinePoolScope, incoming *expinfrav1.AWSLaunchTemplate, existing *expinfrav1.AWSLaunchTemplate) (bool, error) }
EC2MachineInterface encapsulates the methods exposed to the machine actuator
type SecretInterface ¶ added in v0.6.1
type SecretInterface interface { Delete(m *scope.MachineScope) error Create(m *scope.MachineScope, data []byte) (string, int32, error) UserData(secretPrefix string, chunks int32, region string, endpoints []scope.ServiceEndpoint) ([]byte, error) }
SecretInterface encapsulated the methods exposed to the machine actuator
Directories ¶
Path | Synopsis |
---|---|
mock_autoscalingiface
Package mock_autoscalingiface is a generated GoMock package.
|
Package mock_autoscalingiface is a generated GoMock package. |
mock_ec2iface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
mock_eksiface
Package mock_eksiface is a generated GoMock package.
|
Package mock_eksiface is a generated GoMock package. |
mock_elbiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
mock_resourcegroupstaggingapiiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
mock_eventbridgeiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
mock_sqsiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |
mock_stsiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
Click to show internal directories.
Click to hide internal directories.