Documentation
¶
Index ¶
- type Handler
- func (h *Handler) GetUpdatedLabelsAndAnnotations(namespace string, labels map[string]string, annotations map[string]string) (map[string]string, map[string]string)
- func (h *Handler) ProcessDaemonSet(daemonset *v1.DaemonSet) (*v1.DaemonSet, error)
- func (h *Handler) ProcessDeployment(deployment *v1.Deployment) (*v1.Deployment, error)
- func (h *Handler) ProcessStatefulSet(statefulset *v1.StatefulSet) (*v1.StatefulSet, error)
- func (h *Handler) UpdateDaemonSets(dockhandSecretName, namespace string)
- func (h *Handler) UpdateDeployments(dockhandSecretName, namespace string)
- func (h *Handler) UpdateStatefulSets(dockhandSecretName string, namespace string)
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 Register ¶
func Register( ctx context.Context, namespace string, events typedcorev1.EventInterface, daemonsets appscontrollers.DaemonSetController, deployments appscontrollers.DeploymentController, statefulsets appscontrollers.StatefulSetController, secrets corecontrollers.SecretClient, dockhandSecrets dockhandcontrollers.SecretController, dockhandProfile dockhandcontrollers.ProfileController, funcMap template.FuncMap, crossNamespaceAuthorized bool) *Handler
func (*Handler) GetUpdatedLabelsAndAnnotations ¶
func (*Handler) ProcessDaemonSet ¶
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 ¶
UpdateDaemonSets updates daemonsets in the provided namespace if they reference a dockhand secret
func (*Handler) UpdateDeployments ¶
UpdateDeployments updates deployments in the provided namespace if they reference a dockhand secret
func (*Handler) UpdateStatefulSets ¶
UpdateStatefulSets updates statefulsets in the provided namespace if they reference a dockhand secret
Click to show internal directories.
Click to hide internal directories.