commands

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDevice

func CreateDevice(deviceName string)

func DeleteAllRegistries

func DeleteAllRegistries()

func DeleteAllTasks

func DeleteAllTasks(componentName string)

func DeleteDevice

func DeleteDevice(deviceName string)

func DeleteTask

func DeleteTask(componentName string, taskName string)

func DescribeDevice

func DescribeDevice(deviceName string)

func Execute

func Execute()

func GetTask

func GetTask(componentName string, taskName string)

func InstallOperator

func InstallOperator()

func ListDevices

func ListDevices()

func ListTasks

func ListTasks(componentName string)

func Logs

func Logs(appNameSuffix string, containerName string)

func ParseInputs

func ParseInputs()

func RunTask

func RunTask(componentName string, taskName string)

func SetTask

func SetTask(componentName string, taskName string)

func Shell

func Shell(appNameSuffix string, containerName string)

func UninstallOperator

func UninstallOperator()

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) Candice

func (self *Client) Candice() *client.Client

func (*Client) Logs

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

func (*Client) Shell

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

Jump to

Keyboard shortcuts

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