process

package
v3.18.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Audit    = Process("audit")
	Sync     = Process("sync")
	Webhook  = Process("webhook")
	Mutation = Process("mutation-webhook")
	Star     = Process("*")
)

The set of defined Gatekeeper processes.

Variables

This section is empty.

Functions

This section is empty.

Types

type Excluder

type Excluder struct {
	// contains filtered or unexported fields
}

func Get

func Get() *Excluder

func New

func New() *Excluder

func (*Excluder) Add

func (s *Excluder) Add(entry []configv1alpha1.MatchEntry)

func (*Excluder) Equals

func (s *Excluder) Equals(new *Excluder) bool

func (*Excluder) IsNamespaceExcluded

func (s *Excluder) IsNamespaceExcluded(process Process, obj client.Object) (bool, error)

func (*Excluder) Replace

func (s *Excluder) Replace(new *Excluder)

type Process

type Process string

Process indicates the Gatekeeper component from which the resource will be excluded.

Jump to

Keyboard shortcuts

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