commands

package
v0.0.0-...-e27afb6 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: AGPL-3.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth

func Auth() *cli.Command

Auth returns a cli.Command that can be added to an existing application.

func Pull

func Pull() *cli.Command

Pull returns a command that downloads datasets from upstream servers

func Push

func Push() *cli.Command

Push returns a command used to push datasets to upstream servers.

func Run

func Run() (cmd *cli.Command)

Run returns a command that can execute a given part of the ecosystem.

func Version

func Version() *cli.Command

Version returns a command that outputs version information for the application.

Types

type AuthConfig

type AuthConfig struct {
	components.GRPCClientConfig
}

AuthConfig encapsulates all the configuration required to log in to an AetherFS instance.

type PullConfig

type PullConfig struct {
}

PullConfig encapsulates all the configuration required to pull datasets from AetherFS.

type PushConfig

type PushConfig struct {
	BlockSize int32           `json:"block_size"     usage:"the maximum number of bytes per block in MiB"`
	Tags      *dataset.TagSet `json:"tags" alias:"t" usage:"name and tag of the dataset being pushed"`
}

PushConfig encapsulates all the configuration required to push datasets to AetherFS.

type RunConfig

type RunConfig struct {
	ConfigFile string `json:"config_file" usage:"specify the location of a file containing the run configuration"`

	components.HTTPServerConfig
	components.GRPCServerConfig

	NFS     components.NFSServerConfig `json:"nfs"`
	Agent   agent.Config               `json:"agent"`
	Storage storage.Config             `json:"storage"`
	Web     web.Config                 `json:"web"`
}

Jump to

Keyboard shortcuts

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