queue

package
v1.15.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CtrlName = "pull-request-queue-ctrl"
)

Variables

This section is empty.

Functions

func New

func New(
	teamName string,
	ns string,
	mgr manager.Manager,
	authToken string,
	s2hClient samsahairpc.RPC,
	options ...Option,
) internal.QueueController

New returns QueueController

func NewPullRequestQueue

func NewPullRequestQueue(teamName, namespace, bundleName, prNumber, commitSHA, gitRepo string, comps []*s2hv1.QueueComponent,
	imageMissingList []s2hv1.Image, isFailed bool, createAt, finishedAt *metav1.Time,
	teardownDuration s2hv1.PullRequestTearDownDuration, testRunner *s2hv1.ConfigTestRunnerOverrider) *s2hv1.PullRequestQueue

Types

type Option

type Option func(*controller)

func WithClient

func WithClient(client client.Client) Option

Jump to

Keyboard shortcuts

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