Documentation ¶
Overview ¶
Package kustomize implements kustomize-based Kubernetes deployment.
Index ¶
- func CleanUp(ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, ...) error
- func Exec(ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, ...) error
- func ExpandResources(ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, ...) (k8sResourcesPath string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanUp ¶
func CleanUp( ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, name names.Name, k8sClient *k8s.K8s, ) error
CleanUp cleans up/removes all the Kubernetes resources created during a Kustomization deployment.
func Exec ¶
func Exec( ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, name names.Name, imageRefs container.ImageRefs, k8sClient *k8s.K8s, ) error
Exec deploys a stack on Kubernetes using a Kustomization configuration.
func ExpandResources ¶ added in v0.1.0
func ExpandResources( ctx context.Context, cfg *config.Config, pipeline *pipelines.Pipeline, name names.Name, imageRefs container.ImageRefs, ) (k8sResourcesPath string, err error)
ExpandResources expands the resources defined in a kustomization into a YAML file, with one resource per YAML document. The path to this file is returned.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.