helm

package
v2.2.0-rc11+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2019 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppIDsLabel = "cattle.io/appIds"

	MultiClusterAppIDSelector = "mcapp"
)

Variables

This section is empty.

Functions

func Equal

func Equal(existing []string, toUpdate map[string]bool) bool

func GetMsg

func GetMsg(data map[string]bool) string

func Register

func Register(ctx context.Context, user *config.UserContext, kubeConfigGetter common.KubeConfigGetter)

func StartStateCalculator

func StartStateCalculator(ctx context.Context, cluster *config.UserContext)

Types

type AppStateCalculator

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

type Lifecycle

type Lifecycle struct {
	KubeConfigGetter      common.KubeConfigGetter
	SystemAccountManager  *systemaccount.Manager
	UserManager           user.Manager
	TokenClient           mgmtv3.TokenInterface
	UserClient            mgmtv3.UserInterface
	TemplateVersionClient mgmtv3.CatalogTemplateVersionInterface
	TemplateClient        mgmtv3.CatalogTemplateInterface
	CatalogLister         mgmtv3.CatalogLister
	ClusterCatalogLister  mgmtv3.ClusterCatalogLister
	ProjectCatalogLister  mgmtv3.ProjectCatalogLister
	K8sClient             kubernetes.Interface
	ListenConfigClient    mgmtv3.ListenConfigInterface
	ClusterName           string
	AppRevisionGetter     v3.AppRevisionsGetter
	AppGetter             v3.AppsGetter
	NsLister              corev1.NamespaceLister
	NsClient              corev1.NamespaceInterface
}

func (*Lifecycle) Create

func (l *Lifecycle) Create(obj *v3.App) (runtime.Object, error)

func (*Lifecycle) DeployApp

func (l *Lifecycle) DeployApp(obj *v3.App) (*v3.App, error)

func (*Lifecycle) Remove

func (l *Lifecycle) Remove(obj *v3.App) (runtime.Object, error)

func (*Lifecycle) Run

func (l *Lifecycle) Run(obj *v3.App, template, templateDir, notes string) error

func (*Lifecycle) Updated

func (l *Lifecycle) Updated(obj *v3.App) (runtime.Object, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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