promotions

package
v0.1.0-rc.15 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupWebhookWithManager

func SetupWebhookWithManager(
	ctx context.Context,
	mgr ctrl.Manager,
	config WebhookConfig,
) error

Types

type WebhookConfig

type WebhookConfig struct {
	ControllerServiceAccount          string `envconfig:"KARGO_CONTROLLER_SERVICE_ACCOUNT" default:"kargo-controller"`
	ControllerServiceAccountNamespace string `envconfig:"KARGO_CONTROLLER_SERVICE_ACCOUNT_NAMESPACE" default:"kargo"`
}

func WebhookConfigFromEnv

func WebhookConfigFromEnv() WebhookConfig

Jump to

Keyboard shortcuts

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