# Functions
NewBuilder returns a new Builder It takes a kustomization name and a path to the resources It also takes a list of BuilderOptionFunc to configure the builder One of the options is WithClientConfig, that must be provided for the builder to work with the k8s cluster One other option is WithKustomizationFile, that must be provided for the builder to work with a local kustomization file.
WithClientConfig sets the client configuration.
WithDryRun sets the dry-run flag.
WithKustomizationFile sets the kustomization file.
WithNamespace sets the namespace.
No description provided by the author
WithTimeout sets the timeout for the builder.
# Structs
Builder builds yaml manifests It retrieves the kustomization object from the k8s cluster and overlays the manifests with the resources specified in the resourcesPath.
# Type aliases
BuilderOptionFunc is a function that configures a Builder.