aptos

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// AptosArgConfig is argument used to locate node config file
	AptosArgConfig = "--config"
)
View Source
const (
	// AptosCoreHomeDir is Aptos Core image home dir
	// TODO: create aptos image with non root user and /home/aptos home directory
	AptosCoreHomeDir = "/opt/aptos"
)

Images

Variables

This section is empty.

Functions

func NewClient

func NewClient(node *aptosv1alpha1.Node) clients.Interface

NewClient returns new Aptos client

Types

type AptosCoreClient

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

AptosCoreClient is Aptos core client https://github.com/aptos-labs/aptos-core

func (*AptosCoreClient) Args

func (c *AptosCoreClient) Args() (args []string)

Args returns Aptos Core client args

func (*AptosCoreClient) Command

func (c *AptosCoreClient) Command() (command []string)

Command is Aptos Core client entrypoint

func (*AptosCoreClient) Env

func (c *AptosCoreClient) Env() (env []corev1.EnvVar)

Command returns environment variables for the client

func (*AptosCoreClient) HomeDir

func (c *AptosCoreClient) HomeDir() string

HomeDir is the home directory of Aptos Core client image

Jump to

Keyboard shortcuts

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