Documentation ¶
Overview ¶
Package implements "status" sub-commands.
Index ¶
- Constants
- Variables
- func AddCommand() *cobra.Command
- func BaseTableSetup(i *Info) (*bytes.Buffer, *tablewriter.Table)
- func CreateAddTable(i *Info) string
- func CreateCommand() *cobra.Command
- func CreateLogger() error
- func CreateSpellPostTable(i *Info) string
- func CreateSpellPreTable(i *Info) string
- func Execute() error
- func MakeCreateTable(i *Info) string
- func ParseNodeIDs(cli client.Client, i *Info) error
- func StatusCommand() *cobra.Command
- func WaitValidator(cli client.Client, nodeIDs []ids.ShortID, i *Info)
- func WizardCommand() *cobra.Command
- type Info
- type ValInfo
Constants ¶
View Source
const (
IDLen = 32
)
Variables ¶
View Source
var ErrInsufficientFunds = errors.New("insufficient funds")
Functions ¶
func BaseTableSetup ¶
func BaseTableSetup(i *Info) (*bytes.Buffer, *tablewriter.Table)
func CreateAddTable ¶
func CreateCommand ¶
CreateCommand implements "subnet-cli create" command.
func CreateLogger ¶
func CreateLogger() error
func CreateSpellPostTable ¶
func CreateSpellPreTable ¶
func MakeCreateTable ¶
func StatusCommand ¶
NewCommand implements "subnet-cli status" command.
func WizardCommand ¶
WizardCommand implements "subnet-cli wizard" command.
Types ¶
type Info ¶
type Info struct {
// contains filtered or unexported fields
}
func (*Info) CheckBalance ¶
Click to show internal directories.
Click to hide internal directories.