commands

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClusterKubeConfig

func ClusterKubeConfig(clusterName string)

func ConfigCluster

func ConfigCluster(clusterName string)

func CreateCluster

func CreateCluster(clusterName string)

func CreateSeed

func CreateSeed(seedName string, url string, localPath string)

func DeleteAllClusters

func DeleteAllClusters()

func DeleteAllPlugins

func DeleteAllPlugins()

func DeleteAllSeeds

func DeleteAllSeeds()

func DeleteCluster

func DeleteCluster(clusterName string)

func DeletePlugin

func DeletePlugin(pluginName string)

func DeleteSeed

func DeleteSeed(seedName string)

func Execute

func Execute()

func ListClusters

func ListClusters()

func ListPlugins

func ListPlugins()

func ListSeeds

func ListSeeds()

func Logs

func Logs(appNameSuffix string, containerName string)

func PlantSeed

func PlantSeed(seedName string)

func SeedContent

func SeedContent(seedName string)

func SetPlugin

func SetPlugin(pluginName string, filePath 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

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

func (*Client) Planter

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

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