cmd

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: AGPL-3.0 Imports: 24 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "uplink",
	Short: "The Storj client-side CLI",
	Args:  cobra.OnlyValidArgs,
}

RootCmd represents the base CLI command when called without any subcommands

Functions

This section is empty.

Types

type UplinkFlags

type UplinkFlags struct {
	Identity identity.Config
	uplink.Config
}

UplinkFlags configuration flags

func (*UplinkFlags) Metainfo

func (c *UplinkFlags) Metainfo(ctx context.Context) (storj.Metainfo, streams.Store, error)

Metainfo loads the storj.Metainfo

Temporarily it also returns an instance of streams.Store until we improve the metainfo and streas implementations.

Jump to

Keyboard shortcuts

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