deploy

package
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const FILESERVER_PACKAGE = "fileserver"

Variables

This section is empty.

Functions

This section is empty.

Types

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

func NewDeployer

func NewDeployer(opts ...DeployerOption) (*Deployer, error)

func (*Deployer) Deploy

type DeployerFunc

type DeployerFunc func(opts ...kurtosis.KurtosisDeployerOptions) (deployer, error)

type DeployerOption

type DeployerOption func(*Deployer)

func WithAutofixMode added in v1.13.3

func WithAutofixMode(autofixMode autofixTypes.AutofixMode) DeployerOption

func WithBaseDir

func WithBaseDir(baseDir string) DeployerOption

func WithDataFile

func WithDataFile(dataFile string) DeployerOption

func WithDryRun

func WithDryRun(dryRun bool) DeployerOption

func WithEnclave

func WithEnclave(enclave string) DeployerOption

func WithEngineManager

func WithEngineManager(engineManager EngineManager) DeployerOption

func WithKurtosisBinary

func WithKurtosisBinary(kurtosisBinary string) DeployerOption

func WithKurtosisDeployer

func WithKurtosisDeployer(ktDeployer DeployerFunc) DeployerOption

func WithKurtosisPackage

func WithKurtosisPackage(kurtosisPkg string) DeployerOption

func WithNewEnclaveFSFunc added in v1.12.0

func WithNewEnclaveFSFunc(newEnclaveFS func(ctx context.Context, enclave string, opts ...ktfs.EnclaveFSOption) (*ktfs.EnclaveFS, error)) DeployerOption

func WithTemplateFile

func WithTemplateFile(templateFile string) DeployerOption

type EngineManager

type EngineManager interface {
	EnsureRunning() error
	GetEngineType() (string, error)
	RestartEngine() error
}

type FileServer

type FileServer struct {
	// contains filtered or unexported fields
}

func (*FileServer) Deploy

func (f *FileServer) Deploy(ctx context.Context, sourceDir string, stateCh <-chan *fileserverState) (retErr error)

func (*FileServer) URL

func (f *FileServer) URL(path ...string) string

type PrestateInfo

type PrestateInfo struct {
	URL    string            `json:"url"`
	Hashes map[string]string `json:"hashes"`
}

type Templater

type Templater struct {
	// contains filtered or unexported fields
}

func (*Templater) Render

func (f *Templater) Render(ctx context.Context) (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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