Documentation
¶
Index ¶
- Constants
- func IsInvalidConfig(err error) bool
- func NewRoute53Client(session cloud.Session, target runtime.Object) *route53.Route53
- type AWSClients
- type ClusterScope
- func (s *ClusterScope) APIEndpoint() string
- func (s *ClusterScope) BaseDomain() string
- func (s *ClusterScope) BastionIP() string
- func (s *ClusterScope) Cluster() *capi.Cluster
- func (s *ClusterScope) ClusterDomain() string
- func (s *ClusterScope) ClusterK8sClient(ctx context.Context) (client.Client, error)
- func (s *ClusterScope) InfrastructureCluster() *unstructured.Unstructured
- func (s *ClusterScope) ManagementCluster() string
- func (s *ClusterScope) Name() string
- func (s *ClusterScope) Session() awsclient.ConfigProvider
- type ClusterScopeParams
- type Route53Scope
Constants ¶
const ( /* #nosec G101 */ KubeConfigSecretSuffix = "-kubeconfig" KubeConfigSecretKey = "value" )
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidcConfig asserts invalidConfigError.
Types ¶
type AWSClients ¶
AWSClients contains all the aws clients used by the scopes
type ClusterScope ¶
type ClusterScope struct {
// contains filtered or unexported fields
}
ClusterScope defines the basic context for an actuator to operate upon.
func NewClusterScope ¶
func NewClusterScope(ctx context.Context, 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 Cluster Kubernetes API endpoint.
func (*ClusterScope) BaseDomain ¶
func (s *ClusterScope) BaseDomain() string
BaseDomain returns the cluster basedomain.
func (*ClusterScope) BastionIP ¶
func (s *ClusterScope) BastionIP() string
BastionIP returns the bastion IP.
func (*ClusterScope) Cluster ¶
func (s *ClusterScope) Cluster() *capi.Cluster
Cluster returns the cluster.
func (*ClusterScope) ClusterDomain ¶
func (s *ClusterScope) ClusterDomain() string
ClusterDomain returns the cluster domain.
func (*ClusterScope) ClusterK8sClient ¶
ClusterK8sClient returns a client to interact with the cluster.
func (*ClusterScope) InfrastructureCluster ¶
func (s *ClusterScope) InfrastructureCluster() *unstructured.Unstructured
InfrastructureCluster returns the infrastructure cluster.
func (*ClusterScope) ManagementCluster ¶
func (s *ClusterScope) ManagementCluster() string
ManagementCluster returns the name of the management cluster.
func (*ClusterScope) Session ¶
func (s *ClusterScope) Session() awsclient.ConfigProvider
Session returns the AWS SDK session. Used for creating cluster client.
type ClusterScopeParams ¶
type ClusterScopeParams struct { BaseDomain string Cluster *capi.Cluster InfrastructureCluster *unstructured.Unstructured ManagementCluster string RoleArn string StaticBastionIP string }
ClusterScopeParams defines the input parameters used to create a new Scope.
type Route53Scope ¶
type Route53Scope interface { cloud.ClusterScoper }
Route53Scope is a scope for use with the Route53 reconciling service