actions

package
v0.0.0-...-ccbff5b Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRemote

func AddRemote(config config.Config, name string, token []byte) (prettycli.Output, error)

func AddRemoteByPath

func AddRemoteByPath(config config.Config, name string, path string) (prettycli.Output, error)

func CreateDeployment

func CreateDeployment(remote config.Remote, path string) (prettycli.Output, error)

func DeleteDeployment

func DeleteDeployment(remote config.Remote, id string) (prettycli.Output, error)

func DescribeDeployment

func DescribeDeployment(remote config.Remote, id string) (prettycli.Output, error)

func DescribeRemote

func DescribeRemote(c config.Config, name string) (prettycli.Output, error)

func GetRemoteToken

func GetRemoteToken(c config.Config, name string) (prettycli.Output, error)

func ListDeployments

func ListDeployments(remote config.Remote) (prettycli.Output, error)

func ListRemotes

func ListRemotes(config config.Config) prettycli.Output

func RedeployDeployment

func RedeployDeployment(remote config.Remote, id string) (prettycli.Output, error)

func RemoveRemote

func RemoveRemote(config config.Config, name string) (prettycli.Output, error)

func SetActiveRemote

func SetActiveRemote(config config.Config, name string) (prettycli.Output, error)

Types

type APIClientFactory

type APIClientFactory struct{}

func (*APIClientFactory) New

type AgentClientFactory

type AgentClientFactory interface {
	New(config.Remote) client.Client
}
var DefaultAgentClientFactory AgentClientFactory

Jump to

Keyboard shortcuts

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