aptos

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PlanEntryAptos = "aptos"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Aptos

type Aptos struct {
	LayerContributor libpak.DependencyLayerContributor

	Logger   bard.Logger
	Executor effect.Executor
	// contains filtered or unexported fields
}

func NewAptos

func NewAptos(dependency libpak.BuildpackDependency, cache libpak.DependencyCache, configResolver libpak.ConfigurationResolver) Aptos

func (Aptos) BuildProcessTypes

func (r Aptos) BuildProcessTypes(cr libpak.ConfigurationResolver, app libcnb.Application) ([]libcnb.Process, error)

func (Aptos) Contribute

func (r Aptos) Contribute(layer libcnb.Layer) (libcnb.Layer, error)

func (Aptos) Execute

func (r Aptos) Execute(command string, args []string) (*bytes.Buffer, error)

func (Aptos) InitializeDeployWallet added in v0.1.2

func (r Aptos) InitializeDeployWallet() (bool, error)

func (Aptos) InitializeWallet added in v0.1.2

func (r Aptos) InitializeWallet(deployPrivateKey, deployNetwork string) (bool, error)

func (Aptos) Name

func (r Aptos) Name() string

type Build

type Build struct {
	Logger bard.Logger
}

func (Build) Build

func (b Build) Build(context libcnb.BuildContext) (libcnb.BuildResult, error)

type Dependency added in v0.1.3

type Dependency struct {
	Git    string `toml:"git"`
	Rev    string `toml:"rev"`
	Subdir string `toml:"subdir"`
}

type Detect

type Detect struct {
}

func (Detect) Detect

func (d Detect) Detect(context libcnb.DetectContext) (libcnb.DetectResult, error)

type Package added in v0.1.3

type Package struct {
	Dependencies map[string]*Dependency `toml:"dependencies"`
}

Jump to

Keyboard shortcuts

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