framework

package
v0.10.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SlowSpec label used to decorate test specs that take a long time to be run and
	// should be skipped in PR builds
	//
	// Initial list base on:
	//  curl https://storage.googleapis.com/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/3054/pull-kueue-test-integration-main/1836045641336229888/artifacts/integration-top.yaml \
	// | yq '.[] | select(.name != "") | .f.duration = .duration | .f.name = .name | .f.suite=.suite | .f | [] + .' | yq '.[0:30]' -oc
	//
	// taking the item which run for more then 5 sec
	SlowSpec = ginkgo.Label("slow")

	// RedundantSpec label used to decorate test specs that largely cover generic code covered by other specs also. (eg. Kubeflow jobs)
	RedundantSpec = ginkgo.Label("Redundant")
)

Functions

This section is empty.

Types

type Framework

type Framework struct {
	CRDPath               string
	DepCRDPaths           []string
	WebhookPath           string
	APIServerFeatureGates []string
	// contains filtered or unexported fields
}

func (*Framework) Init added in v0.5.0

func (f *Framework) Init() *rest.Config

func (*Framework) SetupClient added in v0.7.0

func (f *Framework) SetupClient(cfg *rest.Config) (context.Context, client.Client)

func (*Framework) StartManager added in v0.7.0

func (f *Framework) StartManager(ctx context.Context, cfg *rest.Config, managerSetup ManagerSetup)

func (*Framework) StopManager added in v0.9.0

func (f *Framework) StopManager(ctx context.Context)

func (*Framework) Teardown

func (f *Framework) Teardown()

type ManagerSetup

type ManagerSetup func(context.Context, manager.Manager)

Jump to

Keyboard shortcuts

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