Documentation
¶
Index ¶
- func RegisterHelmChartGeneratingHandler(ctx context.Context, controller HelmChartController, apply apply.Apply, ...)
- func RegisterHelmChartStatusHandler(ctx context.Context, controller HelmChartController, condition condition.Cond, ...)
- type HelmChartCache
- type HelmChartClient
- type HelmChartConfigCache
- type HelmChartConfigClient
- type HelmChartConfigController
- type HelmChartController
- type HelmChartGeneratingHandler
- type HelmChartStatusHandler
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHelmChartGeneratingHandler ¶
func RegisterHelmChartGeneratingHandler(ctx context.Context, controller HelmChartController, apply apply.Apply, condition condition.Cond, name string, handler HelmChartGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterHelmChartGeneratingHandler configures a HelmChartController to execute a HelmChartGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
func RegisterHelmChartStatusHandler ¶
func RegisterHelmChartStatusHandler(ctx context.Context, controller HelmChartController, condition condition.Cond, name string, handler HelmChartStatusHandler)
RegisterHelmChartStatusHandler configures a HelmChartController to execute a HelmChartStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution
Types ¶
type HelmChartCache ¶
type HelmChartCache interface {
generic.CacheInterface[*v1.HelmChart]
}
HelmChartCache interface for retrieving HelmChart resources in memory.
type HelmChartClient ¶
type HelmChartClient interface {
generic.ClientInterface[*v1.HelmChart, *v1.HelmChartList]
}
HelmChartClient interface for managing HelmChart resources in Kubernetes.
type HelmChartConfigCache ¶
type HelmChartConfigCache interface {
generic.CacheInterface[*v1.HelmChartConfig]
}
HelmChartConfigCache interface for retrieving HelmChartConfig resources in memory.
type HelmChartConfigClient ¶
type HelmChartConfigClient interface {
generic.ClientInterface[*v1.HelmChartConfig, *v1.HelmChartConfigList]
}
HelmChartConfigClient interface for managing HelmChartConfig resources in Kubernetes.
type HelmChartConfigController ¶
type HelmChartConfigController interface {
generic.ControllerInterface[*v1.HelmChartConfig, *v1.HelmChartConfigList]
}
HelmChartConfigController interface for managing HelmChartConfig resources.
type HelmChartController ¶
type HelmChartController interface {
generic.ControllerInterface[*v1.HelmChart, *v1.HelmChartList]
}
HelmChartController interface for managing HelmChart resources.
type HelmChartGeneratingHandler ¶
type HelmChartGeneratingHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) ([]runtime.Object, v1.HelmChartStatus, error)
HelmChartGeneratingHandler is the top-level handler that is executed for every HelmChart event. It extends HelmChartStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type HelmChartStatusHandler ¶
type HelmChartStatusHandler func(obj *v1.HelmChart, status v1.HelmChartStatus) (v1.HelmChartStatus, error)
HelmChartStatusHandler is executed for every added or modified HelmChart. Should return the new status to be updated
type Interface ¶
type Interface interface {
HelmChart() HelmChartController
HelmChartConfig() HelmChartConfigController
}
func New ¶
func New(controllerFactory controller.SharedControllerFactory) Interface