kube

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClosedChannel = errors.New("closed watch channel")
)

Functions

This section is empty.

Types

type ConfigMapWatcher

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

func NewConfigMapWatcher

func NewConfigMapWatcher(client kubernetes.Interface, ns, selector string, quitCH <-chan struct{}) (*ConfigMapWatcher, error)

func (*ConfigMapWatcher) ListConfigMaps

func (cmw *ConfigMapWatcher) ListConfigMaps() (map[string][]string, error)

func (*ConfigMapWatcher) WatchConfigMaps

func (cmw *ConfigMapWatcher) WatchConfigMaps(resultCH chan<- map[string][]string) error

type Tuple

type Tuple struct {
	Key   string
	Value string
}

func NewTuple

func NewTuple(k, v string) Tuple

func (Tuple) String

func (t Tuple) String() string

Jump to

Keyboard shortcuts

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