hooks

package
v1.59.12 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyCopierNamespaceFilter

func ApplyCopierNamespaceFilter(obj *unstructured.Unstructured) (go_hook.FilterResult, error)

func ApplyCopierSecretFilter

func ApplyCopierSecretFilter(obj *unstructured.Unstructured) (go_hook.FilterResult, error)

func SecretPath

func SecretPath(s *Secret) string

Types

type Namespace

type Namespace struct {
	Name          string `json:"name,omitempty"`
	Labels        map[string]string
	IsTerminating bool `json:"is_terminating,omitempty"`
}

type Secret

type Secret struct {
	Name        string
	Namespace   string
	Annotations map[string]string
	Labels      map[string]string
	Type        v1.SecretType     `json:"type,omitempty"`
	Data        map[string][]byte `json:"data,omitempty"`
}

Jump to

Keyboard shortcuts

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