Documentation
¶
Index ¶
- func NewRoute53Client(session cloud.Session, arn string, target runtime.Object) *route53.Route53
- type AWSClients
- type ClusterScope
- func (s *ClusterScope) APIEndpoint() string
- func (s *ClusterScope) ARN() string
- func (s *ClusterScope) BaseDomain() string
- func (s *ClusterScope) BastionIP() string
- func (s *ClusterScope) InfraCluster() cloud.ClusterObject
- func (s *ClusterScope) Name() string
- func (s *ClusterScope) Region() string
- func (s *ClusterScope) Session() awsclient.ConfigProvider
- type ClusterScopeParams
- type ManagementClusterScope
- type ManagementClusterScopeParams
- type ManagementRoute53Scope
- type Route53Scope
- type ServiceEndpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AWSClients ¶
AWSClients contains all the aws clients used by the scopes
type ClusterScope ¶
type ClusterScope struct { AWSCluster *infrav1.AWSCluster logr.Logger // contains filtered or unexported fields }
ClusterScope defines the basic context for an actuator to operate upon.
func NewClusterScope ¶
func NewClusterScope(params ClusterScopeParams) (*ClusterScope, error)
NewClusterScope creates a new Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ClusterScope) APIEndpoint ¶
func (s *ClusterScope) APIEndpoint() string
APIEndpoint returns the AWS infrastructure Kubernetes API endpoint.
func (*ClusterScope) ARN ¶
func (s *ClusterScope) ARN() string
ARN returns the AWS SDK assumed role. Used for creating workload cluster client.
func (*ClusterScope) BaseDomain ¶
func (s *ClusterScope) BaseDomain() string
BaseDomain returns the workload cluster basedomain.
func (*ClusterScope) BastionIP ¶ added in v0.3.0
func (s *ClusterScope) BastionIP() string
func (*ClusterScope) InfraCluster ¶
func (s *ClusterScope) InfraCluster() cloud.ClusterObject
InfraCluster returns the AWS infrastructure cluster or control plane object.
func (*ClusterScope) Name ¶
func (s *ClusterScope) Name() string
Name returns the AWS infrastructure cluster name.
func (*ClusterScope) Region ¶
func (s *ClusterScope) Region() string
Region returns the cluster region.
func (*ClusterScope) Session ¶
func (s *ClusterScope) Session() awsclient.ConfigProvider
Session returns the AWS SDK session. Used for creating workload cluster client.
type ClusterScopeParams ¶
type ClusterScopeParams struct { ARN string AWSCluster *infrav1.AWSCluster BaseDomain string BastionIP string Logger logr.Logger Session awsclient.ConfigProvider }
ClusterScopeParams defines the input parameters used to create a new Scope.
type ManagementClusterScope ¶
type ManagementClusterScope struct { AWSCluster *infrav1.AWSCluster logr.Logger // contains filtered or unexported fields }
ManagementClusterScope defines the basic context for an actuator to operate upon.
func NewManagementClusterScope ¶
func NewManagementClusterScope(params ManagementClusterScopeParams) (*ManagementClusterScope, error)
NewManagementClusterScope creates a new Scope from the supplied parameters. This is meant to be called for each reconcile iteration.
func (*ManagementClusterScope) ARN ¶
func (s *ManagementClusterScope) ARN() string
ARN returns the AWS SDK assumed role. Used for creating workload cluster client.
func (*ManagementClusterScope) BaseDomain ¶
func (s *ManagementClusterScope) BaseDomain() string
BaseDomain returns the management cluster basedomain.
func (*ManagementClusterScope) InfraCluster ¶
func (s *ManagementClusterScope) InfraCluster() cloud.ClusterObject
InfraCluster returns the AWS infrastructure cluster or control plane object.
func (*ManagementClusterScope) Session ¶
func (s *ManagementClusterScope) Session() awsclient.ConfigProvider
Session returns the AWS SDK session. Used for creating workload cluster client.
type ManagementClusterScopeParams ¶
type ManagementClusterScopeParams struct { ARN string AWSCluster *infrav1.AWSCluster BaseDomain string Logger logr.Logger Session awsclient.ConfigProvider }
ManagementClusterScopeParams defines the input parameters used to create a new Scope.
type ManagementRoute53Scope ¶
type ManagementRoute53Scope interface { cloud.ManagementClusterScoper }
ManagementRoute53Scope is a scope for use with the Route53 reconciling service in management cluster
type Route53Scope ¶
type Route53Scope interface { cloud.ClusterScoper }
Route53Scope is a scope for use with the Route53 reconciling service in workload cluster
type ServiceEndpoint ¶
ServiceEndpoint defines a tuple containing AWS Service resolution information