kubectl

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

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

Connector ...

func NewConnector

func NewConnector(config config.Config, logChan chan string, errChan chan error) (*Connector, error)

NewConnector ...

func (*Connector) CreateFolder

func (c *Connector) CreateFolder(app string, path string)

CreateFolder ...

func (*Connector) GetPodList

func (c *Connector) GetPodList(selector string) []string

GetPodList ...

func (*Connector) RemoveFile

func (c *Connector) RemoveFile(app string, path string)

RemoveFile ...

func (*Connector) RemoveFolder

func (c *Connector) RemoveFolder(app string, path string)

RemoveFolder ...

func (*Connector) UpdatePodList

func (c *Connector) UpdatePodList() error

UpdatePodList ...

func (*Connector) UpdatePodListBackground

func (c *Connector) UpdatePodListBackground()

UpdatePodListBackground ...

func (*Connector) WriteFile

func (c *Connector) WriteFile(app string, localPath string, podPath string)

WriteFile ...

type PodItem

type PodItem struct {
	Metadata PodMetadata `json:"metadata"`
}

PodItem ...

type PodLabels

type PodLabels struct {
	App string `json:"app"`
}

PodLabels ...

type PodList

type PodList struct {
	PodItems []PodItem `json:"items"`
}

PodList ...

type PodMetadata

type PodMetadata struct {
	Name      string    `json:"name"`
	Labels    PodLabels `json:"labels"`
	Namespace string    `json:"namespace"`
}

PodMetadata ...

Jump to

Keyboard shortcuts

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