Documentation
¶
Index ¶
- func TruncateID(id string) string
- type ContractBuilder
- type ContractBuilderOptions
- func WithContractBaseDir(baseDir string) ContractBuilderOptions
- func WithContractDryRun(dryRun bool) ContractBuilderOptions
- func WithContractEnclave(enclave string) ContractBuilderOptions
- func WithContractEnclaveManager(manager *enclave.KurtosisEnclaveManager) ContractBuilderOptions
- func WithContractFS(fs afero.Fs) ContractBuilderOptions
- type DockerBuilder
- type DockerBuilderOptions
- type PrestateBuilder
- type PrestateBuilderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TruncateID ¶ added in v1.13.0
Types ¶
type ContractBuilder ¶
type ContractBuilder struct {
// contains filtered or unexported fields
}
ContractBuilder handles building smart contracts using just commands
func NewContractBuilder ¶
func NewContractBuilder(opts ...ContractBuilderOptions) *ContractBuilder
NewContractBuilder creates a new ContractBuilder instance
func (*ContractBuilder) GetContractUrl ¶ added in v1.13.3
func (b *ContractBuilder) GetContractUrl() string
type ContractBuilderOptions ¶
type ContractBuilderOptions func(*ContractBuilder)
func WithContractBaseDir ¶
func WithContractBaseDir(baseDir string) ContractBuilderOptions
func WithContractDryRun ¶
func WithContractDryRun(dryRun bool) ContractBuilderOptions
func WithContractEnclave ¶ added in v1.13.2
func WithContractEnclave(enclave string) ContractBuilderOptions
func WithContractEnclaveManager ¶ added in v1.13.3
func WithContractEnclaveManager(manager *enclave.KurtosisEnclaveManager) ContractBuilderOptions
func WithContractFS ¶ added in v1.13.2
func WithContractFS(fs afero.Fs) ContractBuilderOptions
type DockerBuilder ¶
type DockerBuilder struct {
// contains filtered or unexported fields
}
DockerBuilder handles building docker images using just commands
func NewDockerBuilder ¶
func NewDockerBuilder(opts ...DockerBuilderOptions) *DockerBuilder
NewDockerBuilder creates a new DockerBuilder instance
type DockerBuilderOptions ¶
type DockerBuilderOptions func(*DockerBuilder)
func WithDockerBaseDir ¶
func WithDockerBaseDir(baseDir string) DockerBuilderOptions
func WithDockerCmdTemplate ¶
func WithDockerCmdTemplate(cmdTemplate *template.Template) DockerBuilderOptions
func WithDockerConcurrency ¶ added in v1.13.0
func WithDockerConcurrency(limit int) DockerBuilderOptions
WithDockerConcurrency sets the maximum number of concurrent builds.
func WithDockerDryRun ¶
func WithDockerDryRun(dryRun bool) DockerBuilderOptions
type PrestateBuilder ¶
type PrestateBuilder struct {
// contains filtered or unexported fields
}
PrestateBuilder handles building prestates using just commands
func NewPrestateBuilder ¶
func NewPrestateBuilder(opts ...PrestateBuilderOptions) *PrestateBuilder
NewPrestateBuilder creates a new PrestateBuilder instance
type PrestateBuilderOptions ¶
type PrestateBuilderOptions func(*PrestateBuilder)
func WithPrestateBaseDir ¶
func WithPrestateBaseDir(baseDir string) PrestateBuilderOptions
func WithPrestateDryRun ¶
func WithPrestateDryRun(dryRun bool) PrestateBuilderOptions
func WithPrestateTemplate ¶
func WithPrestateTemplate(cmdTemplate *template.Template) PrestateBuilderOptions
Click to show internal directories.
Click to hide internal directories.