commands

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clout

func Clout(serviceName string)

func DeleteAllDelegates

func DeleteAllDelegates()

func DeleteAllServices

func DeleteAllServices()

func DeleteDelegate

func DeleteDelegate(delegateName string)

func DeleteService

func DeleteService(serviceName string)

func DelistAllTemplates

func DelistAllTemplates()

func DelistServiceTemplate

func DelistServiceTemplate(serviceTemplateName string)

func DeployService

func DeployService(serviceName string)

func DescribeService added in v0.3.0

func DescribeService(serviceName string)

func Execute

func Execute()

func GetMode added in v0.3.0

func GetMode(serviceName string)

func ListDelegates

func ListDelegates()

func ListServiceTemplates

func ListServiceTemplates()

func ListServices

func ListServices()

func Logs

func Logs(appNameSuffix string, containerName string)

func ParseInputs

func ParseInputs()

func PullServiceTemplate

func PullServiceTemplate(serviceTemplateName string)

func RegisterServiceTemplate

func RegisterServiceTemplate(serviceTemplateName string)

func ServiceOutput

func ServiceOutput(serviceName string, outputName string)

func SetDelegate

func SetDelegate(delegateName string)

func SetMode added in v0.3.0

func SetMode(serviceName string, mode string)

func Shell

func Shell(appNameSuffix string, containerName string)

Types

type Client

type Client struct {
	Config     *restpkg.Config
	Kubernetes kubernetespkg.Interface
	REST       restpkg.Interface
	Context    contextpkg.Context
	Namespace  string
}

func NewClient

func NewClient() *Client

func (*Client) Logs added in v0.4.0

func (self *Client) Logs(appNameSuffix string, containerName string, tail int, follow bool) ([]io.ReadCloser, error)

func (*Client) Shell added in v0.4.0

func (self *Client) Shell(appNameSuffix string, containerName string, stdin io.Reader, stdout io.Writer, stderr io.Writer) error

func (*Client) Turandot

func (self *Client) Turandot() *clientpkg.Client

Jump to

Keyboard shortcuts

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