Documentation ¶
Index ¶
- Constants
- func AreDaemonSetPodsReady(newStatus *appsv1.DaemonSetStatus) bool
- func ForDaemonSetDeleted(cli client.Client, logger logr.Logger, namespace, name string, ...) error
- func ForDaemonSetReady(cli client.Client, logger logr.Logger, ds *appsv1.DaemonSet, ...) (*appsv1.DaemonSet, error)
- func ForDaemonSetReadyByKey(cli client.Client, logger logr.Logger, key ObjectKey, ...) (*appsv1.DaemonSet, error)
- func ForDeploymentComplete(cli client.Client, logger logr.Logger, dp *appsv1.Deployment, ...) (*appsv1.Deployment, error)
- func ForDeploymentCompleteByKey(cli client.Client, logger logr.Logger, key ObjectKey, replicas int32, ...) (*appsv1.Deployment, error)
- func ForDeploymentDeleted(cli client.Client, logger logr.Logger, namespace, name string, ...) error
- func ForNamespaceDeleted(cli client.Client, log logr.Logger, namespace string) error
- type ObjectKey
Constants ¶
View Source
const ( // found by trial and error, no hard math behind, can change anytime DefaultPollInterval = 2 * time.Second DefaultPollTimeout = 2 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func AreDaemonSetPodsReady ¶ added in v0.10.0
func AreDaemonSetPodsReady(newStatus *appsv1.DaemonSetStatus) bool
func ForDaemonSetDeleted ¶ added in v0.10.0
func ForDaemonSetReady ¶ added in v0.10.0
func ForDaemonSetReadyByKey ¶ added in v0.10.0
func ForDeploymentComplete ¶ added in v0.10.0
func ForDeploymentCompleteByKey ¶ added in v0.10.0
func ForDeploymentDeleted ¶ added in v0.10.0
Types ¶
type ObjectKey ¶ added in v0.10.0
func ObjectKeyFromObject ¶ added in v0.10.0
func (ObjectKey) AsKey ¶ added in v0.10.0
func (ok ObjectKey) AsKey() types.NamespacedName
Click to show internal directories.
Click to hide internal directories.