Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StacksNodeCommand is stacks node exec command StacksNodeCommand = "stacks-node" // StacksStartCommand is command used to start stacks node StacksStartCommand = "start" )
View Source
const (
// StacksArgConfig is argument used to set configuration file
StacksArgConfig = "--config"
)
View Source
const ( // StacksNodeHomeDir is Stacks node image home dir // TODO: update home dir after creating a new docker image StacksNodeHomeDir = "/home/stacks" )
Images
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StacksNodeClient ¶
type StacksNodeClient struct {
// contains filtered or unexported fields
}
StacksNodeClient is Stacks blockchain node client https://github.com/stacks-network/stacks-blockchain
func (*StacksNodeClient) Args ¶
func (c *StacksNodeClient) Args() (args []string)
Args returns Stacks node client args
func (*StacksNodeClient) Command ¶
func (c *StacksNodeClient) Command() (command []string)
Command is Stacks node client entrypoint
func (*StacksNodeClient) Env ¶
func (c *StacksNodeClient) Env() (env []corev1.EnvVar)
Command returns environment variables for the client
func (*StacksNodeClient) HomeDir ¶
func (c *StacksNodeClient) HomeDir() string
HomeDir is the home directory of Stacks node client image
Click to show internal directories.
Click to hide internal directories.