k8s

package
v0.0.0-...-e43e0f2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contexts

func Contexts() []string

Contexts returns a list of contexts available based on the kubernetes config

func Jobs

func Jobs(context string) ([]v1.Job, error)

Jobs returns the jobs for a given context

func LoadConfig

func LoadConfig() error

LoadConfig should be called before calling any of the package methods. It loads the config into memory from disk.

func Pods

func Pods(context string) ([]v1.Pod, error)

Pods returns the pods for a given context

func Services

func Services(context string) ([]v1.Service, error)

Services returns the pods for a given context

Types

This section is empty.

Jump to

Keyboard shortcuts

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