Documentation ¶
Index ¶
- func DynamicWaitForDeletion(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, ...) error
- func GetHiveNamespaceOrDie() string
- func GetHiveOperatorNamespaceOrDie() string
- func GetMachinePool(cd *hivev1.ClusterDeployment, poolName string) *hivev1.MachinePool
- func JSONDiff(a, b interface{}) ([]byte, error)
- func MustGetAPIRegistrationClient() apiregv1client.ApiregistrationV1Interface
- func MustGetClient() client.Client
- func MustGetClientFromConfig(cfg *rest.Config) client.Client
- func MustGetClusterDeployment() *hivev1.ClusterDeployment
- func MustGetClusterDeploymentClientConfig() *rest.Config
- func MustGetConfig() *rest.Config
- func MustGetDynamicClient() dynamic.Interface
- func MustGetHiveClient() hiveclient.Interface
- func MustGetInstalledClusterDeployment() *hivev1.ClusterDeployment
- func MustGetKubernetesClient() kclient.Interface
- func WaitForAPIService(c apiregv1client.ApiregistrationV1Interface, name string, ...) error
- func WaitForAPIServiceAvailable(c apiregv1client.ApiregistrationV1Interface, name string, ...) error
- func WaitForDeployment(c kclient.Interface, namespace, name string, ...) error
- func WaitForDeploymentReady(c kclient.Interface, namespace, name string, timeOut time.Duration) error
- func WaitForMachinePoolNameLease(config *rest.Config, namespace, poolName string, timeOut time.Duration) (string, error)
- func WaitForMachineSets(cfg *rest.Config, testFunc func([]*machinev1.MachineSet) bool, ...) error
- func WaitForMachines(cfg *rest.Config, testFunc func([]*machinev1.Machine) bool, ...) error
- func WaitForNodes(cfg *rest.Config, testFunc func([]*corev1.Node) bool, timeOut time.Duration) error
- func WaitForService(c kclient.Interface, namespace, name string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DynamicWaitForDeletion ¶ added in v1.0.4
func DynamicWaitForDeletion(dynamicClient dynamic.Interface, gvr schema.GroupVersionResource, namespace, name string, logger log.FieldLogger) error
DynamicWaitForDeletion uses the dynamic client to wait for a resource to not exist.
func GetHiveNamespaceOrDie ¶ added in v1.0.1
func GetHiveNamespaceOrDie() string
func GetHiveOperatorNamespaceOrDie ¶ added in v1.0.1
func GetHiveOperatorNamespaceOrDie() string
func GetMachinePool ¶
func GetMachinePool(cd *hivev1.ClusterDeployment, poolName string) *hivev1.MachinePool
func MustGetAPIRegistrationClient ¶
func MustGetAPIRegistrationClient() apiregv1client.ApiregistrationV1Interface
func MustGetClient ¶
func MustGetClusterDeployment ¶
func MustGetClusterDeployment() *hivev1.ClusterDeployment
func MustGetConfig ¶
func MustGetDynamicClient ¶
func MustGetHiveClient ¶ added in v1.0.5
func MustGetHiveClient() hiveclient.Interface
func MustGetInstalledClusterDeployment ¶
func MustGetInstalledClusterDeployment() *hivev1.ClusterDeployment
func MustGetKubernetesClient ¶
func WaitForAPIService ¶
func WaitForAPIService(c apiregv1client.ApiregistrationV1Interface, name string, testFunc func(*apiregv1.APIService) bool, timeOut time.Duration) error
func WaitForAPIServiceAvailable ¶
func WaitForAPIServiceAvailable(c apiregv1client.ApiregistrationV1Interface, name string, timeOut time.Duration) error
func WaitForDeployment ¶
func WaitForDeploymentReady ¶
func WaitForMachinePoolNameLease ¶
func WaitForMachinePoolNameLease(config *rest.Config, namespace, poolName string, timeOut time.Duration) (string, error)
WaitForMachinePoolNameLease waits for a lease to appear in the given namespace for the given pool.
func WaitForMachineSets ¶
func WaitForMachines ¶
func WaitForNodes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.