clienthelper

package
v0.1.23 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWithOwner

func CreateWithOwner(ctx context.Context, kubeClient client.Client, object runtime.Object, owner metav1.Object, scheme *runtime.Scheme) error

func CurrentNamespace added in v0.1.6

func CurrentNamespace() (string, error)

func CurrentPod added in v0.1.9

func CurrentPod() string

func OwnerOf added in v0.1.9

func OwnerOf(obj runtime.Object) ([]metav1.OwnerReference, error)

func OwningDeployment added in v0.1.9

func OwningDeployment(ctx context.Context, client client.Client) (*metav1.OwnerReference, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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