cloud

package
v0.8.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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 {
	Session

	// APIEndpoint returns the LoadBalancer API endpoint for the cluster.
	// e.g. apiserver-x.eu-central-1.elb.amazonaws.com
	APIEndpoint() string
	// BaseDomain returns the base domain.
	BaseDomain() string
	// BastionIP returns the bastion IP.
	BastionIP() string
	// Cluster returns the CAPI cluster.
	Cluster() *capi.Cluster
	// ClusterK8sClient returns a client to interact with the cluster.
	ClusterK8sClient(ctx context.Context) (client.Client, error)
	// ClusterDomain returns the cluster domain.
	ClusterDomain() string
	// InfrastructureCluster returns the unstructured InfrastructureCluster
	InfrastructureCluster() *unstructured.Unstructured
	// ManagementCluster returns the name of the management cluster.
	ManagementCluster() string
	// Name returns the CAPI cluster name.
	Name() string
}

ClusterScoper is the interface for a cluster scope

type Session

type Session interface {
	Session() awsclient.ConfigProvider
}

Session represents an AWS session

Directories

Path Synopsis
services

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL