hooks

package
v0.23.1 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

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"`
	}
}

type SecretRef

type SecretRef struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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