common

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFailedPod added in v0.6.0

func CheckFailedPod(pod *corev1.Pod) error

func CreatePod added in v0.6.0

func CreatePod(ctx context.Context, cs *kubernetes.Clientset, pod *corev1.Pod, timeout time.Duration) (*corev1.Pod, error)

CreatePod creates a new Pod and waits for it to be Running/Succeeded.

Types

type Spinner added in v0.6.0

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

func NewSpinner added in v0.6.0

func NewSpinner(w io.Writer) *Spinner

func (*Spinner) Start added in v0.6.0

func (s *Spinner) Start()

func (*Spinner) Stop added in v0.6.0

func (s *Spinner) Stop()

Jump to

Keyboard shortcuts

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