Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder builds yaml manifests It retrieves the kustomization object from the k8s cluster and overlays the manifests with the resources specified in the resourcesPath
func NewBuilder ¶
func NewBuilder(rcg *genericclioptions.ConfigFlags, clientOpts *runclient.Options, name, resources string, opts ...BuilderOptionFunc) (*Builder, error)
NewBuilder returns a new Builder to dp : create functional options
func (*Builder) Build ¶
Build builds the yaml manifests from the kustomization object and overlays the manifests with the resources specified in the resourcesPath It expects a kustomization.yaml file in the resourcesPath, and it will generate a kustomization.yaml file if it doesn't exist
type BuilderOptionFunc ¶
func WithKustomizationFile ¶ added in v0.29.0
func WithKustomizationFile(file string) BuilderOptionFunc
func WithProgressBar ¶ added in v0.27.1
func WithProgressBar() BuilderOptionFunc
func WithTimeout ¶
func WithTimeout(timeout time.Duration) BuilderOptionFunc
Click to show internal directories.
Click to hide internal directories.