util

package
v0.0.0-...-56e15b1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateOrPatchIngress

func CreateOrPatchIngress(ctx context.Context, c cs.VoyagerV1beta1Interface, meta metav1.ObjectMeta, transform func(alert *api.Ingress) *api.Ingress, opts metav1.PatchOptions) (*api.Ingress, kutil.VerbType, error)

func PatchIngress

func PatchIngress(ctx context.Context, c cs.VoyagerV1beta1Interface, cur *api.Ingress, transform func(*api.Ingress) *api.Ingress, opts metav1.PatchOptions) (*api.Ingress, kutil.VerbType, error)

func TryUpdateIngress

func TryUpdateIngress(ctx context.Context, c cs.VoyagerV1beta1Interface, meta metav1.ObjectMeta, transform func(*api.Ingress) *api.Ingress, opts metav1.UpdateOptions) (result *api.Ingress, err error)

func UpdateIngressStatus

func UpdateIngressStatus(
	ctx context.Context,
	c cs.VoyagerV1beta1Interface,
	meta metav1.ObjectMeta,
	transform func(*api.IngressStatus) *api.IngressStatus,
	opts metav1.UpdateOptions,
) (result *api.Ingress, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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