internal

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewManifestClient

func NewManifestClient(file string) client.Client

NewManifestClient constructs a new manifestClient.

Types

type Manager

type Manager struct{}

Manager is a dummy manager that does nothing.

func (*Manager) Add

func (m *Manager) Add(manager.Runnable) error

Add will set reqeusted dependencies on the component, and cause the component to be started when Start is called. Add will inject any dependencies for which the argument implements the inject interface - e.g. inject.Client

func (*Manager) GetAdmissionDecoder

func (m *Manager) GetAdmissionDecoder() types.Decoder

GetAdmissionDecoder returns the runtime.Decoder based on the scheme.

func (*Manager) GetCache

func (m *Manager) GetCache() cache.Cache

GetCache returns a cache.Cache

func (*Manager) GetClient

func (m *Manager) GetClient() client.Client

GetClient returns a client configured with the Config

func (*Manager) GetConfig

func (m *Manager) GetConfig() *rest.Config

GetConfig returns an initialized Config

func (*Manager) GetFieldIndexer

func (m *Manager) GetFieldIndexer() client.FieldIndexer

GetFieldIndexer returns a client.FieldIndexer configured with the client

func (*Manager) GetRESTMapper

func (m *Manager) GetRESTMapper() meta.RESTMapper

GetRESTMapper returns a RESTMapper

func (*Manager) GetRecorder

func (m *Manager) GetRecorder(name string) record.EventRecorder

GetRecorder returns a new EventRecorder for the provided name

func (*Manager) GetScheme

func (m *Manager) GetScheme() *runtime.Scheme

GetScheme returns and initialized Scheme

func (*Manager) SetFields

func (m *Manager) SetFields(interface{}) error

SetFields will set any dependencies on an object for which the object has implemented the inject interface - e.g. inject.Client.

func (*Manager) Start

func (m *Manager) Start(<-chan struct{}) error

Start starts all registered Controllers and blocks until the Stop channel is closed. Returns an error if there is an error starting any controller.

Jump to

Keyboard shortcuts

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