stacks

package
v0.3.0 Latest Latest
Warning

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

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

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

func NewClient

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

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

Jump to

Keyboard shortcuts

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