resource

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2021 License: Apache-2.0 Imports: 54 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrResourceNotSupported = errors.New("resource is not supported")

Functions

This section is empty.

Types

type ResourceGetter

type ResourceGetter struct {
	// contains filtered or unexported fields
}

func NewResourceGetter

func NewResourceGetter(factory informers.InformerFactory) *ResourceGetter

func (*ResourceGetter) Get

func (r *ResourceGetter) Get(resource, namespace, name string) (runtime.Object, error)

func (*ResourceGetter) List

func (r *ResourceGetter) List(resource, namespace string, query *query.Query) (*api.ListResult, error)

Jump to

Keyboard shortcuts

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