api

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSecret added in v0.6.0

func GenerateSecret(passwordLength int) string

func GenerateSnowflakeId added in v0.6.0

func GenerateSnowflakeId() string

func InsertCommandVariables added in v0.6.0

func InsertCommandVariables(input string, action catalog.Action) string

Types

type ActionExecutor

type ActionExecutor interface {
	// GetName returns the name of the executor
	GetName() string

	// GetVersion returns the version of the executor
	GetVersion() string

	// GetType returns the action type which needs to match the config action type to activate this implementation
	GetType() string

	// Execute will run the action
	Execute(ctx *commonapi.ActionExecutionContext, localState *state.ActionStateContext, catalogAction *catalog.Action, step plangenerate.Step) error
}

ActionExecutor is the interface that needs to be implemented by all action executors

Jump to

Keyboard shortcuts

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