pods

package
v0.0.0-...-0f323ce Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filter

type Filter interface {
	List(pods api.PodList) Filter
	ByService(service string) Filter
	ByStatus(status string) Filter
	ByStatusReason(reason string) Filter
	First() *api.Pod
}

type Finder

type Finder interface {
	FindAll(user string, apiKey string, address string, environment string) (*api.PodList, error)
}

type KubePodsFilter

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

func NewKubePodsFilter

func NewKubePodsFilter() *KubePodsFilter

func (KubePodsFilter) ByService

func (p KubePodsFilter) ByService(service string) Filter

func (KubePodsFilter) ByStatus

func (p KubePodsFilter) ByStatus(status string) Filter

func (KubePodsFilter) ByStatusReason

func (p KubePodsFilter) ByStatusReason(reason string) Filter

func (KubePodsFilter) First

func (p KubePodsFilter) First() *api.Pod

func (KubePodsFilter) List

func (p KubePodsFilter) List(podList api.PodList) Filter

type KubePodsFind

type KubePodsFind struct{}

func NewKubePodsFind

func NewKubePodsFind() *KubePodsFind

func (KubePodsFind) FindAll

func (p KubePodsFind) FindAll(user string, apiKey string, address string, environment string) (*api.PodList, error)

Jump to

Keyboard shortcuts

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