refinery

package
v0.0.0-...-7f8ae64 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SuccessSynced is used as part of the Event 'reason' when a Foo is synced
	SuccessSynced = "Synced"
	// ErrResourceExists is used as part of the Event 'reason' when a Foo fails
	// to sync due to a Deployment of the same name already existing.
	ErrResourceExists = "ErrResourceExists"

	// MessageResourceExists is the message used for Events when a resource
	// fails to sync due to a Deployment already existing
	MessageResourceExists = "Resource %q already exists and is not managed by Foo"
	// MessageResourceSynced is the message used for an Event fired when a Foo
	// is synced successfully
	MessageResourceSynced = "Refinery synced successfully"
)

Variables

This section is empty.

Functions

func ProvideController

func ProvideController(arguments args.InjectArgs) (*controller.GenericController, error)

ProvideController provides a controller that will be run at startup. Kubebuilder will use codegeneration to automatically register this controller in the inject package

Types

type RefineryController

type RefineryController struct {
	args.InjectArgs
	// contains filtered or unexported fields
}

+controller:group=kubereplay,version=v1alpha1,kind=Refinery,resource=refineries +informers:group=apps,version=v1,kind=Deployment +rbac:groups=apps,resources=deployments,verbs=get;list;watch;create;update;patch;delete

func (*RefineryController) Get

func (bc *RefineryController) Get(namespace, name string) (*kubereplayv1alpha1.Refinery, error)

func (*RefineryController) Lookup

func (bc *RefineryController) Lookup(k types.ReconcileKey) (interface{}, error)

func (*RefineryController) Reconcile

func (bc *RefineryController) Reconcile(k types.ReconcileKey) error

Jump to

Keyboard shortcuts

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