Documentation
¶
Index ¶
- Constants
- type Excluder
- func (s *Excluder) Add(entry []configv1alpha1.MatchEntry)
- func (s *Excluder) Equals(new *Excluder) bool
- func (s *Excluder) EqualsForProcess(process Process, new *Excluder) bool
- func (s *Excluder) GetExcludedNamespaces(process Process) []string
- func (s *Excluder) IsNamespaceExcluded(process Process, obj client.Object) (bool, error)
- func (s *Excluder) Replace(new *Excluder)
- type Process
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 (*Excluder) Add ¶
func (s *Excluder) Add(entry []configv1alpha1.MatchEntry)
func (*Excluder) EqualsForProcess ¶ added in v3.21.0
EqualsForProcess checks if the excluded namespaces for a specific process are equal.
func (*Excluder) GetExcludedNamespaces ¶ added in v3.21.0
GetExcludedNamespaces returns a list of excluded namespace patterns for the given process.
func (*Excluder) IsNamespaceExcluded ¶
Click to show internal directories.
Click to hide internal directories.