rule

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type REST

type REST struct {
	*registry.Store
}

REST implements a RESTStorage for clusters against etcd.

func (*REST) List

func (r *REST) List(ctx context.Context, options *metaInternal.ListOptions) (runtime.Object, error)

List selects resources in the storage which match to the selector. 'options' can be nil.

func (*REST) ShortNames

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

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

type Storage

type Storage struct {
	Rule *REST
}

Storage includes storage for policies and all sub resources.

func NewStorage

func NewStorage(optsGetter generic.RESTOptionsGetter) *Storage

NewStorage returns a Storage object that will work against policies.

Jump to

Keyboard shortcuts

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