release

package
v0.0.0-...-89943c5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReleaseController

type ReleaseController struct {
	Name string

	BeforeReconcile func(key string)
	AfterReconcile  func(key string, err error)

	Informers *sharedinformers.SharedInformers
	// contains filtered or unexported fields
}

ReleaseController implements the controller.ReleaseController interface

func NewReleaseController

func NewReleaseController(config *rest.Config, si *sharedinformers.SharedInformers) *ReleaseController

NewController returns a new ReleaseController for responding to Release events

func (*ReleaseController) GetName

func (c *ReleaseController) GetName() string

func (*ReleaseController) LookupAndReconcile

func (c *ReleaseController) LookupAndReconcile(key string) (err error)

func (*ReleaseController) Run

func (c *ReleaseController) Run(stopCh <-chan struct{})

type ReleaseControllerImpl

type ReleaseControllerImpl struct {
	builders.DefaultControllerFns
	// contains filtered or unexported fields
}

+controller:group=helm,version=v1alpha1,kind=Release,resource=releases

func (*ReleaseControllerImpl) Get

func (c *ReleaseControllerImpl) Get(namespace, name string) (*v1alpha1.Release, error)

func (*ReleaseControllerImpl) Init

Init initializes the controller and is called by the generated code Register watches for additional resource types here.

func (*ReleaseControllerImpl) Reconcile

func (c *ReleaseControllerImpl) Reconcile(u *v1alpha1.Release) error

Reconcile handles enqueued messages

Jump to

Keyboard shortcuts

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