state

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

package state provides a singleton that can be used to share data across all test cases within a test suite The state can contain the following: - Framework - An initialized `clustertest` framework client pointing at the test management cluster - Cluster - A Cluster object with details about the test workload cluster - Application - An Application object with details abou the App being tested - Context - A context instance

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetApplication

func GetApplication() *application.Application

func GetBundleApplication

func GetBundleApplication() *application.Application

func GetCluster

func GetCluster() *application.Cluster

func GetContext

func GetContext() context.Context

func GetFramework

func GetFramework() *clustertest.Framework

func GetHelmRelease

func GetHelmRelease() *helmv2.HelmRelease

func SetApplication

func SetApplication(app *application.Application)

func SetBundleApplication

func SetBundleApplication(app *application.Application)

func SetCluster

func SetCluster(framework *application.Cluster)

func SetContext

func SetContext(ctx context.Context)

func SetFramework

func SetFramework(framework *clustertest.Framework)

func SetHelmRelease

func SetHelmRelease(hr *helmv2.HelmRelease)

Types

This section is empty.

Jump to

Keyboard shortcuts

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