application

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentName                   = "application-controller"
	DefaultRevisionHistoryLimit = 20
	MinRevisionHistoryLimit     = 1
	MaxRevisionHistoryLimit     = 1000
)
View Source
const (
	TransitioningMessageFormat  = `Transitioning from %q to %q`
	ReleaseActiveMessageFormat  = `Release %q is active`
	InitialReleaseMessageFormat = `Rolling out initial release %q`
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

Controller is a Kubernetes controller that creates Releases from Applications.

func NewController

func NewController(
	shipperClientset clientset.Interface,
	shipperInformerFactory informers.SharedInformerFactory,
	versionResolver shipperrepo.ChartVersionResolver,
	recorder record.EventRecorder,
) *Controller

NewController returns a new Application controller.

func (*Controller) Run

func (c *Controller) Run(threadiness int, stopCh <-chan struct{})

Run starts Application controller workers and blocks until stopCh is closed.

Jump to

Keyboard shortcuts

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