requester

package
v0.0.0-...-d10fae5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultProject           = "cilium-ci"
	DefaultManagementCluster = "management-cluster-0"
	DefaultTimeout           = 10 * time.Minute
	DefaultWait              = 30 * time.Second

	DefaultInitialWait = 5 * time.Minute
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TestClusterRequest

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

func NewTestClusterRequest

func NewTestClusterRequest(ctx context.Context, project, managementCluster, namespace, name string) (*TestClusterRequest, error)

func (*TestClusterRequest) CreateRunnerConfigMap

func (tcr *TestClusterRequest) CreateRunnerConfigMap(ctx context.Context, initManifestPath string) error

func (*TestClusterRequest) CreateTestCluster

func (tcr *TestClusterRequest) CreateTestCluster(ctx context.Context, configTemplate, description, runnerImage *string, runnerCommand ...string) error

func (*TestClusterRequest) MaybeSendInitialGitHubStatusUpdate

func (tcr *TestClusterRequest) MaybeSendInitialGitHubStatusUpdate(ctx context.Context) error

func (*TestClusterRequest) WaitForTestCluster

func (tcr *TestClusterRequest) WaitForTestCluster(ctx context.Context) (*v1alpha2.TestClusterGKE, error)

Jump to

Keyboard shortcuts

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