Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvLotusPath is the environment variable used for lotus data directory EnvLotusPath = "LOTUS_PATH" // EnvLogLevel is the environment variable used for log verbosity level EnvLogLevel = "GOLOG_LOG_LEVEL" )
View Source
const (
// LotusHomeDir is lotus client image home dir
LotusHomeDir = "/home/fc"
)
Images
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LotusClient ¶
type LotusClient struct {
// contains filtered or unexported fields
}
LotusClient is lotus filecoin client https://github.com/filecoin-project/lotus
func (*LotusClient) Args ¶
func (c *LotusClient) Args() []string
Args returns lotus client args from node spec
func (*LotusClient) Command ¶
func (c *LotusClient) Command() (command []string)
Command is lotus image command
func (*LotusClient) Env ¶
func (c *LotusClient) Env() []corev1.EnvVar
Command returns environment variables for the client
func (*LotusClient) HomeDir ¶
func (c *LotusClient) HomeDir() string
HomeDir returns lotus image home directory
Click to show internal directories.
Click to hide internal directories.