Documentation ¶
Index ¶
- func AwsCAPIEtcdEndpoint(clusterID string, baseDomain string) string
- func AwsEtcdEndpoint(etcdDomain string) string
- func AzureEtcdEndpoint(etcdDomain string) string
- func BackupPrefix(clusterID string) string
- func CAFile(clusterID string, tmpDir string) string
- func CertFile(clusterID string, tmpDir string) string
- func IsFailedBackup(err error) bool
- func IsInvalidConfig(err error) bool
- func IsUnableToGetTenantClusters(err error) bool
- func KVMEtcdEndpoint(etcdDomain string) string
- func KeyFile(clusterID string, tmpDir string) string
- type ETCDInstance
- type ETCDv2Settings
- type ETCDv3Settings
- type TLSClientConfig
- type Utils
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AwsCAPIEtcdEndpoint ¶
func AwsEtcdEndpoint ¶
func AzureEtcdEndpoint ¶
func BackupPrefix ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
func IsUnableToGetTenantClusters ¶
IsUnableToGetTenantClusters asserts unableToGetTenantClustersError.
func KVMEtcdEndpoint ¶
Types ¶
type ETCDInstance ¶
type ETCDInstance struct { Name string ETCDv2 ETCDv2Settings ETCDv3 ETCDv3Settings }
type ETCDv2Settings ¶
type ETCDv2Settings struct {
DataDir string
}
func (ETCDv2Settings) AreComplete ¶
func (s ETCDv2Settings) AreComplete() bool
type ETCDv3Settings ¶
func (ETCDv3Settings) AreComplete ¶
func (s ETCDv3Settings) AreComplete() bool
type TLSClientConfig ¶
type Utils ¶
func (*Utils) GetTenantClusters ¶
func (u *Utils) GetTenantClusters(ctx context.Context, backup v1alpha1.ETCDBackup) ([]ETCDInstance, error)
Click to show internal directories.
Click to hide internal directories.