Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterObject ¶
type ClusterObject interface { conditions.Setter }
ClusterObject represents a AWS cluster object
type ClusterScoper ¶
type ClusterScoper interface { logr.Logger Session ScopeUsage // Name returns the CAPI cluster name. Name() string // Namespace returns the cluster namespace. Namespace() string // AWSClusterName returns the AWS cluster name. InfraClusterName() string // Region returns the cluster region. Region() string // KubernetesClusterName is the name of the Kubernetes cluster. For EKS this // will differ to the CAPI cluster name KubernetesClusterName() string // InfraCluster returns the AWS infrastructure cluster object. InfraCluster() ClusterObject // IdentityRef returns the AWS infrastructure cluster identityRef. IdentityRef() *infrav1.AWSIdentityReference // ListOptionsLabelSelector returns a ListOptions with a label selector for clusterName. ListOptionsLabelSelector() client.ListOption // APIServerPort returns the port to use when communicating with the API server. APIServerPort() int32 // AdditionalTags returns any tags that you would like to attach to AWS resources. The returned value will never be nil. AdditionalTags() infrav1.Tags // SetFailureDomain sets the infrastructure provider failure domain key to the spec given as input. SetFailureDomain(id string, spec clusterv1.FailureDomainSpec) // PatchObject persists the cluster configuration and status. PatchObject() error // Close closes the current scope persisting the cluster configuration and status. Close() error }
ClusterScoper is the interface for a cluster scope
type ScopeUsage ¶
type ScopeUsage interface { // ControllerName returns the name of the controller that created the scope ControllerName() string }
ScopeUsage is used to indicate which controller is using a scope
type Session ¶
type Session interface { Session() awsclient.ConfigProvider ServiceLimiter(string) *throttle.ServiceLimiter }
Session represents an AWS session
Directories ¶
Path | Synopsis |
---|---|
autoscaling/mock_autoscalingiface
Package mock_autoscalingiface is a generated GoMock package.
|
Package mock_autoscalingiface is a generated GoMock package. |
ec2/mock_ec2iface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
eks
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
eks/mock_eksiface
Package mock_eksiface is a generated GoMock package.
|
Package mock_eksiface is a generated GoMock package. |
elb/mock_elbiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
elb/mock_resourcegroupstaggingapiiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
instancestate/mock_eventbridgeiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
instancestate/mock_sqsiface
Run go generate to regenerate this mock.
|
Run go generate to regenerate this mock. |
mock_services
Package mock_services is a generated GoMock package.
|
Package mock_services is a generated GoMock package. |
sts/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.