v2

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler is the controller implementation for Secret Resources

func (*Handler) GetUpdatedLabelsAndAnnotations

func (h *Handler) GetUpdatedLabelsAndAnnotations(
	namespace string,
	labels map[string]string,
	annotations map[string]string) (map[string]string, map[string]string)

func (*Handler) ProcessDaemonSet

func (h *Handler) ProcessDaemonSet(daemonset *v1.DaemonSet) (*v1.DaemonSet, error)

func (*Handler) ProcessDeployment

func (h *Handler) ProcessDeployment(deployment *v1.Deployment) (*v1.Deployment, error)

func (*Handler) ProcessStatefulSet

func (h *Handler) ProcessStatefulSet(statefulset *v1.StatefulSet) (*v1.StatefulSet, error)

func (*Handler) UpdateDaemonSets

func (h *Handler) UpdateDaemonSets(dockhandSecretName, namespace string)

UpdateDaemonSets updates daemonsets in the provided namespace if they reference a dockhand secret

func (*Handler) UpdateDeployments

func (h *Handler) UpdateDeployments(dockhandSecretName, namespace string)

UpdateDeployments updates deployments in the provided namespace if they reference a dockhand secret

func (*Handler) UpdateStatefulSets

func (h *Handler) UpdateStatefulSets(dockhandSecretName string, namespace string)

UpdateStatefulSets updates statefulsets in the provided namespace if they reference a dockhand secret

Jump to

Keyboard shortcuts

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