common

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 3 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KubeResourceWatch

func KubeResourceWatch(cache cache.Cache, listFunc ResourceListFunc, namespace string,
	opts clients.WatchOpts) (<-chan resources.ResourceList, <-chan error, error)

Types

type KubeCoreResourceClient

type KubeCoreResourceClient struct {
	ResourceType resources.Resource
}

func (*KubeCoreResourceClient) Kind

func (rc *KubeCoreResourceClient) Kind() string

func (*KubeCoreResourceClient) NewResource

func (rc *KubeCoreResourceClient) NewResource() resources.Resource

func (*KubeCoreResourceClient) Register

func (rc *KubeCoreResourceClient) Register() error

type ResourceListFunc

type ResourceListFunc func(namespace string, opts clients.ListOpts) (resources.ResourceList, error)

Jump to

Keyboard shortcuts

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