apply

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Applier

type Applier struct {
}

We will need to eventualy have some set of options. These are not currently defined.

func (Applier) Apply

func (a Applier) Apply(u unstructured.Unstructured, patchFileData []byte) ([]byte, error)

Apply will assume that if white out file already exists this will not be called. We will also assume that their is data in the patchedFileData and will check to make sure. Returns a byte array of valid kubernetes resource JSON.

Jump to

Keyboard shortcuts

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