Documentation ¶
Index ¶
- func CreateOrPatchPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, ...) (*policyv1.PodDisruptionBudget, kutil.VerbType, error)
- func CreatePodDisruptionBudget(ctx context.Context, c kubernetes.Interface, in *policyv1.PodDisruptionBudget) (*policyv1.PodDisruptionBudget, error)
- func DeletePodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta types.NamespacedName) error
- func DeletePodDisruptionBudgets(ctx context.Context, c kubernetes.Interface, ns string, ...) error
- func GetPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta types.NamespacedName) (*policyv1.PodDisruptionBudget, error)
- func ListPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, ns string, ...) (*policyv1.PodDisruptionBudgetList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrPatchPodDisruptionBudget ¶
func CreateOrPatchPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta metav1.ObjectMeta, transform func(*policyv1.PodDisruptionBudget) *policyv1.PodDisruptionBudget, opts metav1.PatchOptions) (*policyv1.PodDisruptionBudget, kutil.VerbType, error)
func CreatePodDisruptionBudget ¶ added in v0.25.3
func CreatePodDisruptionBudget(ctx context.Context, c kubernetes.Interface, in *policyv1.PodDisruptionBudget) (*policyv1.PodDisruptionBudget, error)
func DeletePodDisruptionBudget ¶
func DeletePodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta types.NamespacedName) error
func DeletePodDisruptionBudgets ¶ added in v0.25.10
func DeletePodDisruptionBudgets(ctx context.Context, c kubernetes.Interface, ns string, listOpts metav1.ListOptions, deleteOpts metav1.DeleteOptions) error
func GetPodDisruptionBudget ¶ added in v0.25.3
func GetPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, meta types.NamespacedName) (*policyv1.PodDisruptionBudget, error)
func ListPodDisruptionBudget ¶ added in v0.25.3
func ListPodDisruptionBudget(ctx context.Context, c kubernetes.Interface, ns string, opts metav1.ListOptions) (*policyv1.PodDisruptionBudgetList, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.