Documentation ¶
Overview ¶
Package hooks contains the mutation hooks for the Zarf agent.
Package hooks provides HTTP handlers for the mutating webhook.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGitRepositoryMutationHook ¶
func NewGitRepositoryMutationHook() operations.Hook
NewGitRepositoryMutationHook creates a new instance of the git repo mutation hook.
func NewPodMutationHook ¶
func NewPodMutationHook() operations.Hook
NewPodMutationHook creates a new instance of pods mutation hook.
Types ¶
type GenericGitRepo ¶
type GenericGitRepo struct { Spec struct { URL string `json:"url"` SecretRef SecretRef `json:"secretRef,omitempty"` } }
GenericGitRepo contains the URL of a git repo and the secret that corresponds to it for use with Flux.
Click to show internal directories.
Click to hide internal directories.