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 ¶
func (k *KustomizeConfig) List(listOpts *client.ListOptions) (*api.KustomizationList, error)
Click to show internal directories.
Click to hide internal directories.