option

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptedClusterObject

type AcceptedClusterObject struct {
	ClusterObjectSelector
	Justification string `json:"justification" yaml:"justification"`
}

AcceptedClusterObject contains generalized properties for accepting object.

type AcceptedNamespacedObject

type AcceptedNamespacedObject struct {
	NamespacedObjectSelector
	Justification string `json:"justification" yaml:"justification"`
}

AcceptedNamespacedObject contains generalized properties for accepting namespaced object.

type ClusterObjectSelector

type ClusterObjectSelector struct {
	MatchLabels map[string]string `json:"matchLabels" yaml:"matchLabels"`
}

ClusterObjectSelector contains generalized options for matching entities by their attribute labels.

func (*ClusterObjectSelector) Validate

func (s *ClusterObjectSelector) Validate() field.ErrorList

Validate validates that option configurations are correctly defined.

type NamespacedObjectSelector

type NamespacedObjectSelector struct {
	MatchLabels          map[string]string `json:"matchLabels" yaml:"matchLabels"`
	NamespaceMatchLabels map[string]string `json:"namespaceMatchLabels" yaml:"namespaceMatchLabels"`
}

NamespacedObjectSelector contains generalized options for matching entities by their attribute labels.

func (*NamespacedObjectSelector) Validate

Validate validates that option configurations are correctly defined.

Jump to

Keyboard shortcuts

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