trimrule

package
v0.5.6-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Strategy = strategy{scheme.Scheme, names.SimpleNameGenerator}

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 Fischer

func SelectableFields

func SelectableFields(obj *search.TrimRule) fields.Set

SelectableFields returns a field set that represents the object.

Types

type REST

type REST struct {
	*genericregistry.Store
}

func NewREST

func NewREST(optsGetter generic.RESTOptionsGetter) (*REST, error)

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

func (*REST) ShortNames

func (r *REST) ShortNames() []string

ShortNames implements the ShortNamesProvider interface. Returns a list of short names for a resource.

Jump to

Keyboard shortcuts

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