pods

package
v0.0.1-prototype Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2017 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTable

func CreateTable() *tablewriter.Table

func EvaluateRules

func EvaluateRules(config rules.LinterConfig, pods []v1.Pod, tags []string, showAll bool)

Types

type KubeServer

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

func NewKubeServer

func NewKubeServer(kubeconfig string) KubeServer

func (KubeServer) GetPods

func (ks KubeServer) GetPods(namespace string) []v1.Pod

type LocalFilesystem

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

func NewLocalFilesystem

func NewLocalFilesystem(path string) LocalFilesystem

func (LocalFilesystem) GetPods

func (lfs LocalFilesystem) GetPods() []v1.Pod

type PodList

type PodList interface {
	GetPods() []v1.Pod
}

Jump to

Keyboard shortcuts

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