filecoin

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: 4 Imported by: 0

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

func NewClient

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

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

Jump to

Keyboard shortcuts

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