cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoWorkDir is returned when the CLI was started without a working directory set.
	ErrNoWorkDir = errors.New("no working directory was set")
)
View Source
var (
	ErrNothingDeployable = errors.New("there is nothing deployable")
)

Functions

This section is empty.

Types

type SpreadCli

type SpreadCli struct {
	// contains filtered or unexported fields
}

SpreadCli is the spread command line client.

func NewSpreadCli

func NewSpreadCli(in io.ReadCloser, out, err io.Writer, version, workDir string) *SpreadCli

NewSpreadCli returns a spread command line interface (CLI) client.NewSpreadCli. All functionality accessible from the command line is attached to this struct.

func (SpreadCli) Add added in v1.0.0

func (s SpreadCli) Add() *cli.Command

Add sets up a Spread repository for versioning.

func (SpreadCli) Build

func (s SpreadCli) Build() *cli.Command

Build is used for rapid iteration with Kubernetes

func (SpreadCli) Cluster added in v0.1.5

func (s SpreadCli) Cluster() *cli.Command

Cluster manages the localkube Kubernetes development environment.

func (SpreadCli) Commit added in v1.0.0

func (s SpreadCli) Commit() *cli.Command

Commit sets up a Spread repository for versioning.

func (*SpreadCli) Deploy

func (s *SpreadCli) Deploy() *cli.Command

Deploy allows the creation of deploy.Deployments remotely

func (SpreadCli) Diff added in v1.0.0

func (s SpreadCli) Diff() *cli.Command

Diff shows the difference bettwen the cluster and the index.

func (SpreadCli) ExecGitCmd added in v1.0.0

func (s SpreadCli) ExecGitCmd(args ...string)

func (SpreadCli) Git added in v1.0.0

func (s SpreadCli) Git() *cli.Command

func (SpreadCli) Init added in v1.0.0

func (s SpreadCli) Init() *cli.Command

Init sets up a Spread repository for versioning.

func (s SpreadCli) Link() *cli.Command

Link allows the links to be created on the Index

func (SpreadCli) Param added in v1.0.0

func (s SpreadCli) Param() *cli.Command

Param allows the parameters to be created on the Index

func (SpreadCli) Pull added in v1.0.0

func (s SpreadCli) Pull() *cli.Command

Pull allows references to be pulled from a remote.

func (SpreadCli) Push added in v1.0.0

func (s SpreadCli) Push() *cli.Command

Push allows references to be pushed to a remote.

func (SpreadCli) Remote added in v1.0.0

func (s SpreadCli) Remote() *cli.Command

Remote manages the Git repositories remotes.

func (SpreadCli) Show added in v1.0.0

func (s SpreadCli) Show() *cli.Command

Show displays data stored in Spread Documents.

func (SpreadCli) Status added in v1.0.0

func (s SpreadCli) Status() *cli.Command

Status returns information about the current state of the project.

Jump to

Keyboard shortcuts

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