Documentation ¶
Index ¶
- Constants
- func Register(ctx context.Context, apply apply.Apply, ...)
- type Controller
- func (c *Controller) OnConfChange(key string, conf *helmv1.HelmChartConfig) (*helmv1.HelmChartConfig, error)
- func (c *Controller) OnHelmChange(key string, chart *helmv1.HelmChart) (*helmv1.HelmChart, error)
- func (c *Controller) OnHelmRemove(key string, chart *helmv1.HelmChart) (*helmv1.HelmChart, error)
Constants ¶
View Source
const ( DefaultJobImage = "rancher/klipper-helm:v0.3.0" Label = "helmcharts.helm.cattle.io/chart" Annotation = "helmcharts.helm.cattle.io/configHash" CRDName = "helmcharts.helm.cattle.io" ConfigCRDName = "helmchartconfigs.helm.cattle.io" Name = "helm-controller" )
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context, apply apply.Apply, helms helmcontroller.HelmChartController, confs helmcontroller.HelmChartConfigController, jobs batchcontroller.JobController, crbs rbaccontroller.ClusterRoleBindingController, sas corecontroller.ServiceAccountController, cm corecontroller.ConfigMapController)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) OnConfChange ¶ added in v0.7.0
func (c *Controller) OnConfChange(key string, conf *helmv1.HelmChartConfig) (*helmv1.HelmChartConfig, error)
func (*Controller) OnHelmChange ¶ added in v0.7.0
func (*Controller) OnHelmRemove ¶
Click to show internal directories.
Click to hide internal directories.