kubernetes

package
v0.0.0-...-36d1bee Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ReadyNodeLister

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

ReadyNodeLister lists ready nodes.

func NewNodeLister

func NewNodeLister(kubeClient *kube_client.Client) *ReadyNodeLister

NewNodeLister builds a node lister.

func (*ReadyNodeLister) List

func (readyNodeLister *ReadyNodeLister) List() ([]*kube_api.Node, error)

List returns ready nodes.

type ScheduledPodLister

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

ScheduledPodLister lists scheduled pods.

func NewScheduledPodLister

func NewScheduledPodLister(kubeClient *kube_client.Client) *ScheduledPodLister

NewScheduledPodLister builds ScheduledPodLister

func (*ScheduledPodLister) List

func (lister *ScheduledPodLister) List() ([]*kube_api.Pod, error)

List returns all scheduled pods.

type UnschedulablePodLister

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

UnschedulablePodLister lists unscheduled pods

func NewUnschedulablePodLister

func NewUnschedulablePodLister(kubeClient *kube_client.Client, namespace string) *UnschedulablePodLister

NewUnschedulablePodLister returns a lister providing pods that failed to be scheduled.

func (*UnschedulablePodLister) List

func (unschedulablePodLister *UnschedulablePodLister) List() ([]*kube_api.Pod, error)

List returns all unscheduled pods.

Jump to

Keyboard shortcuts

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