applier

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 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

func ApplyManifest(inClusterConfig *rest.Config, manifest *[]byte) error

func ApplyManifestFile

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

Types

type Applier

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

type ApplierOptions

type ApplierOptions struct {
	Manifest string

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

type DirectApplier

type DirectApplier struct {
}

func NewDirectApplier

func NewDirectApplier() *DirectApplier

func (*DirectApplier) Apply

func (d *DirectApplier) Apply(ctx context.Context, opt ApplierOptions) error

Jump to

Keyboard shortcuts

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