Documentation ¶
Index ¶
- Variables
- type Patch
- type PatchOp
- type Patches
- type Workspace
- func (w *Workspace) Build(ctx context.Context) (string, error)
- func (w *Workspace) Close() error
- func (w *Workspace) Command(ctx context.Context, command string, args ...string) *exec.Cmd
- func (w *Workspace) CommandWithInput(ctx context.Context, input io.Reader, command string, args ...string) *exec.Cmd
- func (w *Workspace) Kustomize(ctx context.Context, args ...string) *exec.Cmd
- func (w *Workspace) KustomizeWithInput(ctx context.Context, input io.Reader, args ...string) *exec.Cmd
- func (w *Workspace) LoadConfig() (*ktypes.Kustomization, error)
- func (w *Workspace) SaveConfig(y *ktypes.Kustomization) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// OriginalDir is the path to the original yaml folder
OriginalDir = "./templates"
)
Functions ¶
This section is empty.
Types ¶
type Workspace ¶
type Workspace struct {
Dir string
}
func NewWorkspace ¶
func (*Workspace) CommandWithInput ¶
func (*Workspace) KustomizeWithInput ¶
func (*Workspace) LoadConfig ¶
func (w *Workspace) LoadConfig() (*ktypes.Kustomization, error)
func (*Workspace) SaveConfig ¶
func (w *Workspace) SaveConfig(y *ktypes.Kustomization) error
Click to show internal directories.
Click to hide internal directories.