config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AnnotationKeyTimeout        = "uptest.upbound.io/timeout"
	AnnotationKeyConditions     = "uptest.upbound.io/conditions"
	AnnotationKeyPreAssertHook  = "uptest.upbound.io/pre-assert-hook"
	AnnotationKeyPostAssertHook = "uptest.upbound.io/post-assert-hook"
	AnnotationKeyPreDeleteHook  = "uptest.upbound.io/pre-delete-hook"
	AnnotationKeyPostDeleteHook = "uptest.upbound.io/post-delete-hook"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomatedTest

type AutomatedTest struct {
	Directory string

	ManifestPaths  []string
	DataSourcePath string

	SetupScriptPath    string
	TeardownScriptPath string

	DefaultTimeout    int
	DefaultConditions []string
}

type Manifest

type Manifest struct {
	FilePath string
	Object   *unstructured.Unstructured
	YAML     string
}

type Resource

type Resource struct {
	Name      string
	Namespace string
	KindGroup string
	YAML      string

	Timeout              int
	Conditions           []string
	PreAssertScriptPath  string
	PostAssertScriptPath string
	PreDeleteScriptPath  string
	PostDeleteScriptPath string
}

type TestCase

type TestCase struct {
	Timeout            int
	SetupScriptPath    string
	TeardownScriptPath string
}

Jump to

Keyboard shortcuts

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