observer

package
v0.0.0-...-4857dff Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwaitResourceClient

type AwaitResourceClient struct {
	Log          *logrus.Logger
	K8RestConfig *rest.Config
	// contains filtered or unexported fields
}

AwaitResourceClient watches for specified resources

func NewClientForConfigResource

func NewClientForConfigResource(conf *rest.Config, res *metav1.APIResource) (*AwaitResourceClient, error)

NewClientForConfigResource returns a new client based on the passed in kubernetes config

func (*AwaitResourceClient) AwaitResource

func (cl *AwaitResourceClient) AwaitResource(res *metav1.APIResource, namespace string, filters []string)

AwaitResource awaits the given resource based on given filters

func (*AwaitResourceClient) Namespace

Namespace to be watched by the client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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