Documentation
¶
Index ¶
- Constants
- func Register(user *config.UserContext, kubeConfigGetter common.KubeConfigGetter)
- func WriteTempDir(rootDir string, files map[string]string) (string, error)
- type Lifecycle
- func (l *Lifecycle) Create(obj *v3.App) (*v3.App, error)
- func (l *Lifecycle) DeployApp(obj *v3.App) (*v3.App, error)
- func (l *Lifecycle) Remove(obj *v3.App) (*v3.App, error)
- func (l *Lifecycle) Run(obj *v3.App, template, templateDir, notes string) error
- func (l *Lifecycle) Updated(obj *v3.App) (*v3.App, error)
Constants ¶
View Source
const (
AppIDsLabel = "cattle.io/appIds"
)
Variables ¶
This section is empty.
Functions ¶
func WriteTempDir ¶
func WriteTempDir(rootDir string, files map[string]string) (string, error)
Types ¶
type Lifecycle ¶
type Lifecycle struct {
KubeConfigGetter common.KubeConfigGetter
UserManager user.Manager
TokenClient mgmtv3.TokenInterface
UserClient mgmtv3.UserInterface
TemplateVersionClient mgmtv3.TemplateVersionInterface
K8sClient kubernetes.Interface
ListenConfigClient mgmtv3.ListenConfigInterface
ClusterName string
TemplateContentClient mgmtv3.TemplateContentInterface
AppRevisionGetter v3.AppRevisionsGetter
AppGetter v3.AppsGetter
NsClient corev1.NamespaceInterface
}
Click to show internal directories.
Click to hide internal directories.