interfaces

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2025 License: MIT Imports: 2 Imported by: 0

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 Info

type Info interface {
	GetMessage() string
}

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
}

type Warning

type Warning interface {
	GetMessage() string
}

Jump to

Keyboard shortcuts

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