Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnclaveContext ¶
type EnclaveContext interface { RunStarlarkPackage(context.Context, string, *starlark_run_config.StarlarkRunConfig) (<-chan StarlarkResponse, string, error) RunStarlarkScript(context.Context, string, *starlark_run_config.StarlarkRunConfig) error }
type Instruction ¶
type Instruction interface {
GetDescription() string
}
type InstructionResult ¶
type InstructionResult interface {
GetSerializedInstructionResult() string
}
type KurtosisContextInterface ¶
type KurtosisContextInterface interface { CreateEnclave(context.Context, string) (EnclaveContext, error) GetEnclave(context.Context, string) (EnclaveContext, error) }
type ProgressInfo ¶
type ProgressInfo interface {
GetCurrentStepInfo() []string
}
type RunFinishedEvent ¶
type RunFinishedEvent interface {
GetIsRunSuccessful() bool
}
type StarlarkError ¶
type StarlarkError interface { GetInterpretationError() error GetValidationError() error GetExecutionError() error }
Interfaces for Kurtosis SDK types to make testing easier
type StarlarkResponse ¶
type StarlarkResponse interface { GetError() StarlarkError GetProgressInfo() ProgressInfo GetInstruction() Instruction GetRunFinishedEvent() RunFinishedEvent GetWarning() Warning GetInfo() Info GetInstructionResult() InstructionResult }
Click to show internal directories.
Click to hide internal directories.