controller

package
v1.0.0-alpha.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIReader added in v1.0.0

func NewAPIReader(mgr manager.Manager) client.Reader

func NewClient added in v1.0.0

func NewClient(mgr manager.Manager) client.Client

func NewEventRecorder added in v1.0.0

func NewEventRecorder(mgr manager.Manager) record.EventRecorder

func NewScheme

func NewScheme(mgr manager.Manager) *runtime.Scheme

Types

type Result

type Result struct {
	Error     error
	EventType string
	Reason    string
	Requeue   bool
	Message   string
	Object    runtime.Object
}

func (Result) GetEventType

func (r Result) GetEventType() string

func (Result) GetMessage

func (r Result) GetMessage() string

func (Result) RecordEvent

func (r Result) RecordEvent(recorder record.EventRecorder)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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