Documentation ¶
Overview ¶
Package hooks contains the mutation hooks for the Zarf agent.
Package hooks contains the mutation hooks for the Zarf agent.
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 NewApplicationMutationHook ¶ added in v0.29.0
func NewApplicationMutationHook() operations.Hook
NewApplicationMutationHook creates a new instance of the ArgoCD Application mutation hook.
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.
func NewRepositoryMutationHook ¶ added in v0.29.0
func NewRepositoryMutationHook() operations.Hook
NewRepositoryMutationHook creates a new instance of the ArgoCD Repository mutation hook.
Types ¶
type ArgoApplication ¶ added in v0.29.0
type ArgoApplication struct { Spec struct { Source Source `json:"source"` Sources []Source `json:"sources"` } `json:"spec"` }
ArgoApplication represents a subset of the Argo Application object needed for Zarf Git URL mutations
type ArgoRepository ¶ added in v0.29.0
type ArgoRepository struct { Data struct { URL string `json:"url"` } }
ArgoRepository represents a subset of the Argo Repository object needed for Zarf Git URL mutations
type GenericGitRepo ¶
type GenericGitRepo struct { Spec struct { URL string `json:"url"` SecretRef SecretRef `json:"secretRef,omitempty"` } `json:"spec"` }
GenericGitRepo contains the URL of a git repo and the secret that corresponds to it for use with Flux.