executor

package
v1.2.87 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Executor

type Executor struct {
	Type string
	// contains filtered or unexported fields
}

func NewExecutor

func NewExecutor(mode Mode, dhClient client.Client, doMigration bool, dataOnly bool, force bool, typ string, overrideConfig flags.OverrideConfig) *Executor

func (*Executor) Apply

func (a *Executor) Apply(ctx context.Context, inputFilePath string, format string) error

func (*Executor) ApplyWithPattern

func (a *Executor) ApplyWithPattern(ctx context.Context, inputFilePath string, format string) error

type Mode

type Mode string
const (
	APPLY  Mode = "APPLY"
	CREATE Mode = "CREATE"
	UPDATE Mode = "UPDATE"
	DELETE Mode = "DELETE"
)

Jump to

Keyboard shortcuts

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