kustomize

package
v0.0.0-...-9ca8186 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithKubeconfig

func WithKubeconfig(kubeconfig []byte) kustomizeConfigOpt

Types

type KustomizeConfig

type KustomizeConfig struct {
	// contains filtered or unexported fields
}

func NewKustomizeConfig

func NewKustomizeConfig(fns ...kustomizeConfigOpt) (*KustomizeConfig, error)

kustomizeCfg := lib.NewKustomizeConfig(

    lib.WithKubeconfig(kc),
	   lib.WithFoobar(fb),

)

func (*KustomizeConfig) CreateOrUpdate

func (k *KustomizeConfig) CreateOrUpdate(kc *api.Kustomization) error

func (*KustomizeConfig) Delete

func (k *KustomizeConfig) Delete(kc *api.Kustomization) error

func (*KustomizeConfig) Get

func (k *KustomizeConfig) Get(name, ns string) (*api.Kustomization, error)

func (*KustomizeConfig) List

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL