resource

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2020 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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) Add

func (r ResourceGetter) Add(resource string, getter v1alpha2.Interface)

func (*ResourceGetter) GetResource

func (r *ResourceGetter) GetResource(namespace, resource, name string) (interface{}, error)

func (*ResourceGetter) ListResources

func (r *ResourceGetter) ListResources(namespace, resource string, conditions *params.Conditions, orderBy string, reverse bool, limit, offset int) (*models.PageableResponse, error)

Jump to

Keyboard shortcuts

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