kubernetes

package
v0.3.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client() (*k8s.Clientset, error)

Client returns a new Kubernetes client

func Init

func Init() error

func Uninstall

func Uninstall() error

Types

type ListOutput

type ListOutput struct {
	AppID   string `csv:"APP ID"`
	AppPort string `csv:"APP PORT"`
	Age     string `csv:"AGE"`
	Created string `csv:"CREATED"`
}

func List

func List() ([]ListOutput, error)

type RunConfig

type RunConfig struct {
	AppID         string
	AppPort       int
	Port          int
	CodeDirectory string
	Arguments     []string
	Image         string
}

type RunOutput

type RunOutput struct {
	Message string
}

func Run

func Run(config *RunConfig) (*RunOutput, error)

Jump to

Keyboard shortcuts

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