Help us shape the future of Go! Take the 2026 Go Developer Survey

datastore

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cmd

type Cmd struct {
	*opts.Opts

	FilterCmd FilterCmd `command:"filter" description:"For filtering results"`
	StoreCmd  StoreCmd  `command:"store" description:"For storing an artifact"`
}

func New

func New(app *cmdopts.Opts, compiledrelease *compiledreleaseopts.Opts) *Cmd

type CmdOpts

type CmdOpts struct {
	AppOpts             *cmdopts.Opts             `no-flag:"true"`
	CompiledReleaseOpts *compiledreleaseopts.Opts `no-flag:"true"`
	DatastoreOpts       *opts.Opts                `no-flag:"true"`
}

type FilterCmd

type FilterCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`
}

func (*FilterCmd) Execute

func (c *FilterCmd) Execute(_ []string) error

type StoreCmd

type StoreCmd struct {
	setter.AppConfig `no-flag:"true"`
	*CmdOpts         `no-flag:"true"`

	Version string `long:"version" description:"A specific version to use" default:"0.0.0"`

	Args StoreCmdArgs `positional-args:"true" required:"true"`
}

func (*StoreCmd) Execute

func (c *StoreCmd) Execute(_ []string) error

type StoreCmdArgs

type StoreCmdArgs struct {
	Artifact string `positional-arg-name:"PATH" description:"Path to the artifact"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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