Documentation ¶
Index ¶
- func NewManifestClient(file string) client.Client
- type Manager
- func (m *Manager) Add(manager.Runnable) error
- func (m *Manager) GetAdmissionDecoder() types.Decoder
- func (m *Manager) GetCache() cache.Cache
- func (m *Manager) GetClient() client.Client
- func (m *Manager) GetConfig() *rest.Config
- func (m *Manager) GetFieldIndexer() client.FieldIndexer
- func (m *Manager) GetRESTMapper() meta.RESTMapper
- func (m *Manager) GetRecorder(name string) record.EventRecorder
- func (m *Manager) GetScheme() *runtime.Scheme
- func (m *Manager) SetFields(interface{}) error
- func (m *Manager) Start(<-chan struct{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewManifestClient ¶
NewManifestClient constructs a new manifestClient.
Types ¶
type Manager ¶
type Manager struct{}
Manager is a dummy manager that does nothing.
func (*Manager) Add ¶
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 ¶
GetAdmissionDecoder returns the runtime.Decoder based on the scheme.
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
Click to show internal directories.
Click to hide internal directories.