Documentation ¶
Index ¶
- func MergePatch[T any, I func(T) string, N func() T](base, patches []T, identifier I, create N) ([]T, error)
- func MergePatchContainers(base, patches []core_v1.Container) ([]core_v1.Container, error)
- func MergePatchVolumes(base, patches []core_v1.Volume) ([]core_v1.Volume, error)
- type AppHandler
- type Decorator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MergePatch ¶
func MergePatchContainers ¶
Types ¶
type AppHandler ¶
type AppHandler interface { Handle(app v1alpha1.AppSpec) (*manifest.AppManifests, error) Selector(app v1alpha1.AppSpec) labels.Selector Decorate(manifest *manifest.AppManifests, decorators ...Decorator) }
func New ¶
func New(provider provider.TemplateProvider, logger log.Logger) AppHandler
type Decorator ¶
type Decorator func(manifest *manifest.AppManifests)
func ClusterNameEnvDecorator ¶
Click to show internal directories.
Click to hide internal directories.