deploy

package
v0.0.0-...-2db42ee Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModeInstall   = Mode("install")
	ModeUninstall = Mode("uninstall")
)

Variables

This section is empty.

Functions

func InstallSKRWebhook

func InstallSKRWebhook(ctx context.Context, chartPath, releaseName string,
	obj *watcherv1alpha1.Watcher, restConfig *rest.Config,
) error

func IsWebhookConfigured

func IsWebhookConfigured(ctx context.Context, obj *watcherv1alpha1.Watcher, restConfig *rest.Config,
	releaseName string,
) bool

func IsWebhookDeployed

func IsWebhookDeployed(ctx context.Context, restConfig *rest.Config, releaseName string) bool

func RemoveWebhookConfig

func RemoveWebhookConfig(ctx context.Context, chartPath, releaseName string,
	obj *watcherv1alpha1.Watcher, inClusterCfg *rest.Config, k8sClient client.Client,
) error

func UpdateWebhookConfig

func UpdateWebhookConfig(ctx context.Context, chartPath, releaseName string,
	obj *watcherv1alpha1.Watcher, inClusterCfg *rest.Config, k8sClient client.Client,
) error

Types

type Mode

type Mode string

type WatchableConfig

type WatchableConfig struct {
	Labels     map[string]string `json:"labels"`
	StatusOnly bool              `json:"statusOnly"`
}

Jump to

Keyboard shortcuts

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