v1

package
v0.25.26 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 15 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeployment

func DeleteDeployment(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

func DeleteStatefulSet

func DeleteStatefulSet(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

func DeploymentsAreReady

func DeploymentsAreReady(items []*apps.Deployment) (bool, string)

func IsDeploymentReady

func IsDeploymentReady(obj *apps.Deployment) bool

func IsOwnedByDeployment

func IsOwnedByDeployment(refs []metav1.OwnerReference) bool

func IsStatefulSetReady

func IsStatefulSetReady(obj *apps.StatefulSet) bool

func StatefulSetsAreReady

func StatefulSetsAreReady(items []*apps.StatefulSet) (bool, string)

func TryUpdateDaemonSet

func TryUpdateDaemonSet(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*apps.DaemonSet) *apps.DaemonSet, opts metav1.UpdateOptions) (result *apps.DaemonSet, err error)

func TryUpdateDeployment

func TryUpdateDeployment(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*apps.Deployment) *apps.Deployment, opts metav1.UpdateOptions) (result *apps.Deployment, err error)

func TryUpdateReplicaSet

func TryUpdateReplicaSet(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*apps.ReplicaSet) *apps.ReplicaSet, opts metav1.UpdateOptions) (result *apps.ReplicaSet, err error)

func TryUpdateStatefulSet

func TryUpdateStatefulSet(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*apps.StatefulSet) *apps.StatefulSet, opts metav1.UpdateOptions) (result *apps.StatefulSet, err error)

func WaitUntilDaemonSetReady

func WaitUntilDaemonSetReady(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

func WaitUntilDeploymentReady

func WaitUntilDeploymentReady(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

func WaitUntilReplicaSetReady

func WaitUntilReplicaSetReady(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

func WaitUntilStatefulSetReady

func WaitUntilStatefulSetReady(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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