pods

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const ErrImagePullBackOffMessage = "Error: ImagePullBackOff"

ErrImagePullBackOffMessage if we are backing off

View Source
const ErrImagePullMessage = "Error: ErrImagePull"

ErrImagePullMessage the message on an event if it can't pull a pod

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	KubeClient kubernetes.Interface
	Namespace  string
	Selector   string
	PodCount   int
	IsReady    atomic.Value
	// contains filtered or unexported fields
}

func NewCmdVerifyPods

func NewCmdVerifyPods() (*cobra.Command, *Options)

func (*Options) OnEvent

func (o *Options) OnEvent(e *v1.Event, namespace string)

func (*Options) OnPod

func (o *Options) OnPod(p *v1.Pod, namespace string)

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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