Documentation
¶
Index ¶
- Constants
- func AWSClusterConfigName(cluster v1alpha1.Cluster) string
- func CertAltNames(altNames ...string) []string
- func CertConfigName(getter LabelsGetter, name string) string
- func ClusterAPIEndpoint(cluster v1alpha1.Cluster) string
- func ClusterBaseDomain(cluster v1alpha1.Cluster) string
- func ClusterCommonStatus(cluster cmav1alpha1.Cluster) g8sv1alpha1.CommonClusterStatus
- func ClusterConfigMapName(getter LabelsGetter) string
- func ClusterCredentialSecretName(cluster v1alpha1.Cluster) string
- func ClusterCredentialSecretNamespace(cluster v1alpha1.Cluster) string
- func ClusterDNSZone(cluster v1alpha1.Cluster) string
- func ClusterID(getter LabelsGetter) string
- func ClusterMasterAZ(cluster v1alpha1.Cluster) string
- func ClusterMasterInstanceType(cluster v1alpha1.Cluster) string
- func ClusterName(cluster v1alpha1.Cluster) string
- func IsDeleted(getter DeletionTimestampGetter) bool
- func IsNotFound(err error) bool
- func IsProviderSpecForAWS(cluster v1alpha1.Cluster) bool
- func IsWrongTypeError(err error) bool
- func KubeConfigClusterName(getter LabelsGetter) string
- func KubeConfigSecretName(getter LabelsGetter) string
- func MachineDeployment(getter LabelsGetter) string
- func MachineDeploymentWorkerInstanceType(machineDeployment v1alpha1.MachineDeployment) string
- func OperatorVersion(getter LabelsGetter) string
- func OrganizationID(getter LabelsGetter) string
- func ReleaseVersion(getter LabelsGetter) string
- func TenantBaseDomain(cluster v1alpha1.Cluster) string
- func ToCluster(v interface{}) (v1alpha1.Cluster, error)
- func ToMachineDeployment(v interface{}) (v1alpha1.MachineDeployment, error)
- type AWSClusterStatusAccessor
- type CommonClusterStatusAccessor
- type DeletionTimestampGetter
- type LabelsGetter
Constants ¶
View Source
const (
LocalhostIP = "127.0.0.1"
)
Variables ¶
This section is empty.
Functions ¶
func AWSClusterConfigName ¶
func CertAltNames ¶
CertAltNames returns the alt names for the Kubernetes API certs.
func CertConfigName ¶
func CertConfigName(getter LabelsGetter, name string) string
CertConfigName constructs a name for CertConfig CRs using the clusterI D and the cert name.
func ClusterAPIEndpoint ¶
func ClusterBaseDomain ¶
func ClusterCommonStatus ¶
func ClusterCommonStatus(cluster cmav1alpha1.Cluster) g8sv1alpha1.CommonClusterStatus
func ClusterConfigMapName ¶
func ClusterConfigMapName(getter LabelsGetter) string
func ClusterDNSZone ¶
func ClusterID ¶
func ClusterID(getter LabelsGetter) string
func ClusterMasterAZ ¶
func ClusterName ¶
func IsDeleted ¶
func IsDeleted(getter DeletionTimestampGetter) bool
func IsProviderSpecForAWS ¶
func IsWrongTypeError ¶
IsWrongTypeError asserts wrongTypeError.
func KubeConfigClusterName ¶
func KubeConfigClusterName(getter LabelsGetter) string
func KubeConfigSecretName ¶
func KubeConfigSecretName(getter LabelsGetter) string
func MachineDeployment ¶
func MachineDeployment(getter LabelsGetter) string
func MachineDeploymentWorkerInstanceType ¶
func MachineDeploymentWorkerInstanceType(machineDeployment v1alpha1.MachineDeployment) string
func OperatorVersion ¶
func OperatorVersion(getter LabelsGetter) string
func OrganizationID ¶
func OrganizationID(getter LabelsGetter) string
func ReleaseVersion ¶
func ReleaseVersion(getter LabelsGetter) string
func TenantBaseDomain ¶
func ToMachineDeployment ¶
func ToMachineDeployment(v interface{}) (v1alpha1.MachineDeployment, error)
Types ¶
type AWSClusterStatusAccessor ¶
type AWSClusterStatusAccessor struct{}
func (*AWSClusterStatusAccessor) GetCommonClusterStatus ¶
func (a *AWSClusterStatusAccessor) GetCommonClusterStatus(c cmav1alpha1.Cluster) g8sv1alpha1.CommonClusterStatus
func (*AWSClusterStatusAccessor) SetCommonClusterStatus ¶
func (a *AWSClusterStatusAccessor) SetCommonClusterStatus(c cmav1alpha1.Cluster, clusterStatus g8sv1alpha1.CommonClusterStatus) cmav1alpha1.Cluster
type CommonClusterStatusAccessor ¶
type CommonClusterStatusAccessor interface {
GetCommonClusterStatus(c cmav1alpha1.Cluster) v1alpha1.CommonClusterStatus
SetCommonClusterStatus(c cmav1alpha1.Cluster, status v1alpha1.CommonClusterStatus) cmav1alpha1.Cluster
}
CommonClusterStatusAccessor interface provides abstracted API to manipulate provider specific types in provider independent way.
type DeletionTimestampGetter ¶
type LabelsGetter ¶
Click to show internal directories.
Click to hide internal directories.