webhook

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2021 License: EPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateWebhookClusterRole

func CreateWebhookClusterRole(client crclient.Client,
	ctx context.Context) error

func CreateWebhookClusterRoleBinding

func CreateWebhookClusterRoleBinding(client crclient.Client,
	ctx context.Context,
	namespace string) error

func CreateWebhookSA

func CreateWebhookSA(client crclient.Client,
	ctx context.Context,
	namespace string) error

func CreateWebhookServerDeployment

func CreateWebhookServerDeployment(
	client crclient.Client,
	ctx context.Context,
	webhooksSecretName string,
	namespace string) error

func GetWebhooksCreationTimestamp

func GetWebhooksCreationTimestamp(client client.Client) (metav1.Time, error)

func SetupWebhooks

func SetupWebhooks(ctx context.Context, cfg *rest.Config) error

func WebhookCfgsInit

func WebhookCfgsInit(client crclient.Client, ctx context.Context, namespace string) error

WebhookCfgsInit initializes the webhook that denies everything until webhook server is started successfully

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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