helm

package
v2.2.0-alpha5+incompat... Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func Register

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

func StartStateCalculator

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

func WriteTempDir

func WriteTempDir(rootDir string, files map[string]string) (string, error)

Types

type AppStateCalculator

type AppStateCalculator struct {
	Apps             pv3.AppInterface
	AppLister        pv3.AppLister
	NamespaceLister  corev1.NamespaceLister
	MultiClusterApps v3.MultiClusterAppInterface
	// 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
	K8sClient             kubernetes.Interface
	ListenConfigClient    mgmtv3.ListenConfigInterface
	ClusterName           string
	TemplateContentClient mgmtv3.TemplateContentInterface
	AppRevisionGetter     v3.AppRevisionsGetter
	AppGetter             v3.AppsGetter
	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