node

package
v0.0.0-...-e477e18 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: AGPL-3.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkin

type Checkin struct {
	util.DialerHelper
	URL string `arg:""`
}

func (*Checkin) Run

func (c *Checkin) Run() error

type Convert

type Convert struct {
	NodeID     storj.NodeID
	Input      string `arg:""`
	Conversion int
}

func (Convert) Run

func (c Convert) Run() error

convert rootPieceId,index,... file to pieceId,...

type Export

type Export struct {
	MaxmindDB string
}

func (Export) Run

func (c Export) Run() error

type GeoIP

type GeoIP struct {
	GetDatabase string `arg:""`
	IP          string `arg:""`
}

func (GeoIP) Run

func (g GeoIP) Run() error

type Node

type Node struct {
	Report      Report      `cmd:""`
	NodeStat    NodeStat    `cmd:""`
	Export      Export      `cmd:""`
	UnsentOrder UnsentOrder `cmd:""`
	Paystub     Paystub     `cmd:""`
	Checkin     Checkin     `cmd:""`
	PieceList   PieceList   `cmd:"" help:"generate list of pieces for one node"`
	GeoIP       GeoIP       `cmd:""`
	Convert     Convert     `cmd:""`
	Usage       Usage       `cmd:"" help:"calls the info endpoint of the satellite in the name of the storagenode (sn->satellite)"`
}

type NodeRecord

type NodeRecord struct {
	NodeID     storj.NodeID
	Address    string
	LastIPPort string
	Country    location.CountryCode
	UpdatedAt  time.Time
}

type NodeStat

type NodeStat struct {
	util.DialerHelper
	URL string `arg:""`
}

func (NodeStat) Run

func (g NodeStat) Run() error

type Paystub

type Paystub struct {
	URL    string `arg:""`
	Period string `arg:""`
	util.DialerHelper
}

func (Paystub) Run

func (g Paystub) Run() error

type PieceList

type PieceList struct {
	Aliases []int32 `arg:""`
	// contains filtered or unexported fields
}

func (*PieceList) Run

func (p *PieceList) Run() error

type Report

type Report struct {
	NodeFile string `arg:""`
}

type UnsentOrder

type UnsentOrder struct {
	File           string `arg:""`
	EncryptionKeys string
}

func (UnsentOrder) Run

func (c UnsentOrder) Run() error

type Usage

type Usage struct {
	util.DialerHelper
	SatelliteID storj.NodeURL `arg:""`
}

func (Usage) Run

func (u Usage) Run() error

Jump to

Keyboard shortcuts

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