k8s

package
v0.0.0-...-b5980d5 Latest Latest
Warning

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

Go to latest
Published: May 3, 2018 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ObjectToString

func ObjectToString(object k8s_runtime.Object) string

ObjectToString for creating a string representation of Kubernetes runtime.Object

Types

type Namespace

type Namespace string

Namespace in Kubernetes

func NamespacesFromCommaSeperatedList

func NamespacesFromCommaSeperatedList(list string) []Namespace

NamespacesFromCommaSeperatedList returns a list of namespaces parsed from string

func NamespacesFromList

func NamespacesFromList(namespaces []string) []Namespace

NamespacesFromList converts the string list to a namespace list.

func (Namespace) String

func (n Namespace) String() string

Return namespace as string.

type Provider

type Provider interface {
	// GetObjects for the given namespace
	GetObjects(Namespace) ([]k8s_runtime.Object, error)
}

Provider for objects

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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