migrate

package
v0.5.7 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LongWait  = 3 * time.Hour
	ShortWait = 30 * time.Minute
)

Variables

View Source
var Module cli.Command = cli.Command{
	Name:   "migrate",
	Usage:  "migrates nodes to v3",
	Action: action,
}

Module is entry point for module

Functions

func IsUsb

func IsUsb(d *Device) bool

Types

type Device

type Device struct {
	Path       string `json:"name"`
	Type       string `json:"type"`
	Subsystems string `json:"subsystems"`
	Mountpoint string `json:"mountpoint"`
}

type Farm

type Farm struct {
	ID      uint64 `json:"farmID"`
	Name    string `json:"name"`
	Address string `json:"stellarAddress"`
}

type Filter

type Filter func(d *Device) bool

func Not

func Not(f Filter) Filter

Jump to

Keyboard shortcuts

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