generatednetworkpolicy

package
v0.0.214 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAttrs

func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error)

GetAttrs returns labels.Set, fields.Set, and error in case the given runtime.Object is not a GeneratedNetworkPolicy

func MatchGeneratedNetworkPolicy

func MatchGeneratedNetworkPolicy(label labels.Selector, field fields.Selector) storage.SelectionPredicate

func NewREST

func NewREST(scheme *runtime.Scheme, storageImpl storage.Interface, optsGetter generic.RESTOptionsGetter) (*registry.REST, error)

NewREST returns a RESTStorage object that will work against API services.

func SelectableFields

SelectableFields returns a field set that represents the object.

Types

type GeneratedNetworkPolicyStrategy added in v0.0.199

type GeneratedNetworkPolicyStrategy struct {
	runtime.ObjectTyper
	names.NameGenerator
}

func NewStrategy

NewStrategy creates and returns a generatedNetworkPolicyStrategy instance

func (GeneratedNetworkPolicyStrategy) AllowCreateOnUpdate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) AllowCreateOnUpdate() bool

func (GeneratedNetworkPolicyStrategy) AllowUnconditionalUpdate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) AllowUnconditionalUpdate() bool

func (GeneratedNetworkPolicyStrategy) Canonicalize added in v0.0.199

func (GeneratedNetworkPolicyStrategy) NamespaceScoped added in v0.0.199

func (GeneratedNetworkPolicyStrategy) NamespaceScoped() bool

func (GeneratedNetworkPolicyStrategy) PrepareForCreate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) PrepareForUpdate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) PrepareForUpdate(_ context.Context, _, _ runtime.Object)

func (GeneratedNetworkPolicyStrategy) Validate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) ValidateUpdate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) WarningsOnCreate added in v0.0.199

WarningsOnCreate returns warnings for the creation of the given object.

func (GeneratedNetworkPolicyStrategy) WarningsOnUpdate added in v0.0.199

func (GeneratedNetworkPolicyStrategy) WarningsOnUpdate(_ context.Context, _, _ runtime.Object) []string

WarningsOnUpdate returns warnings for the given update.

Jump to

Keyboard shortcuts

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