applier

package
v0.17.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyManifest added in v0.6.0

func ApplyManifest(ctx context.Context, inClusterConfig *rest.Config, manifests []byte) error

func ApplyManifestFile added in v0.6.0

func ApplyManifestFile(ctx context.Context, inClusterConfig *rest.Config, filename string) error

Types

type Applier

type Applier interface {
	Apply(ctx context.Context, options Options) error
}

type DirectApplier

type DirectApplier struct {
}

func NewDirectApplier

func NewDirectApplier() *DirectApplier

func (*DirectApplier) Apply

func (d *DirectApplier) Apply(_ context.Context, opt Options) error

type Options added in v0.16.0

type Options struct {
	Manifest string

	RESTConfig *rest.Config
	RESTMapper meta.RESTMapper
	Namespace  string
	ExtraArgs  []string
}

Jump to

Keyboard shortcuts

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