prow

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestContainerName = "test"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodCheckerFunc

type PodCheckerFunc func(pod *corev1.Pod) bool

type PodIdentifier

type PodIdentifier struct {
	BuildID string
	JobID   string
}

func ParsePodIdentifier

func ParsePodIdentifier(arg string) (*PodIdentifier, error)

func (*PodIdentifier) Fields

func (i *PodIdentifier) Fields() logrus.Fields

func (*PodIdentifier) LabelSelector

func (i *PodIdentifier) LabelSelector() string

func (*PodIdentifier) WaitForPod

func (i *PodIdentifier) WaitForPod(ctx context.Context, clientset *kubernetes.Clientset, namespace string, validPod PodCheckerFunc, giveUp PodCheckerFunc) (*corev1.Pod, error)

Jump to

Keyboard shortcuts

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