cluster

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

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

func NewApplier

func NewApplier(client manifestival.Client, logger logr.Logger) *Applier

func (*Applier) Apply

func (a *Applier) Apply(manifests string) error

func (*Applier) ApplyKustomize

func (a *Applier) ApplyKustomize(path string) error

func (*Applier) ApplyManifest

func (a *Applier) ApplyManifest(manifest manifestival.Manifest) error

type Cluster

type Cluster struct {
	*Applier
	client.Client
	// contains filtered or unexported fields
}

func NewCluster

func NewCluster(kubeCfgData []byte, kubeCfgDest string, logger logr.Logger) (*Cluster, error)

func (Cluster) ApplyPaths

func (c Cluster) ApplyPaths(paths ...string) error

func (*Cluster) KubeCfgPath

func (c *Cluster) KubeCfgPath() string

func (*Cluster) Move

func (c *Cluster) Move(target *Cluster, namespace string) error

Jump to

Keyboard shortcuts

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