state

package
v1.87.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCluster

func GetCluster() *application.Cluster

func GetContext

func GetContext() context.Context

func GetFramework

func GetFramework() *clustertest.Framework

func GetTestTimeout added in v1.60.0

func GetTestTimeout(testKey timeout.TestKey, defaultTimeout time.Duration) time.Duration

GetTestTimeout returns the timeout from the context for the given TestKey or the defaultTimeout if not found

func SetCluster

func SetCluster(framework *application.Cluster)

func SetContext

func SetContext(ctx context.Context)

func SetFramework

func SetFramework(framework *clustertest.Framework)

func SetTestTimeout added in v1.60.0

func SetTestTimeout(testKey timeout.TestKey, timeout time.Duration)

SetTestTImeout sets the provided timeout against the given TestKey in the current state context to be used by tests

Types

This section is empty.

Jump to

Keyboard shortcuts

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