deploy

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 15 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

func (*Deployer) Deploy

type DeployerFunc

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

type DeployerOption

type DeployerOption func(*Deployer)

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 WithTemplateFile

func WithTemplateFile(templateFile string) DeployerOption

type EngineManager

type EngineManager interface {
	EnsureRunning() error
}

type FileServer

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

func (*FileServer) Deploy

func (f *FileServer) Deploy(ctx context.Context, sourceDir string) 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() (*bytes.Buffer, error)

Jump to

Keyboard shortcuts

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