clienthelper

package
v0.3.0-beta.6 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: Apache-2.0 Imports: 9 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

func CurrentNamespace() (string, error)

func ServiceName

func ServiceName() string

func WebhookURL

func WebhookURL() string

WebhookURL returns the URL of the webhook service if it is set in the environment variable JS_POLICY_WEBHOOK_URL. Otherwise, it returns an empty string which means a webhook service reference should be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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