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.
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"` }
Click to show internal directories.
Click to hide internal directories.