test

package
v0.30.5 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfiguration

func GetConfiguration(configurations []string) string

func LifecycleConfiguration

func LifecycleConfiguration(options *LifecycleTestOptions) string

func ListeningTentacleDeploymentTargetConfiguration

func ListeningTentacleDeploymentTargetConfiguration(options *ListeningTentacleDeploymentTargetTestOptions) string

func ProjectConfiguration

func ProjectConfiguration(options *ProjectTestOptions) string

func ProjectGroupConfiguration

func ProjectGroupConfiguration(options *ProjectGroupTestOptions) string

func SkipCI added in v0.23.0

func SkipCI(t *testing.T, reason string)

Types

type ChannelTestOptions

type ChannelTestOptions struct {
	TestOptions[channels.Channel]
}

func NewChannelTestOptions

func NewChannelTestOptions() *ChannelTestOptions

type DeploymentProcessTestOptions

type DeploymentProcessTestOptions struct {
	ActionName   string
	ActionType   string
	Lifecycle    *LifecycleTestOptions
	PackageID    string
	PackageName  string
	ProjectGroup *ProjectGroupTestOptions
	Project      *ProjectTestOptions
	StepName     string
	Space        *SpaceTestOptions
	TestOptions[deployments.DeploymentProcess]
}

func NewDeploymentProcessTestOptions

func NewDeploymentProcessTestOptions() *DeploymentProcessTestOptions

func (*DeploymentProcessTestOptions) ProjectCreateTestOptions

func (d *DeploymentProcessTestOptions) ProjectCreateTestOptions() *ProjectCreateTestOptions

type LifecycleTestOptions

type LifecycleTestOptions struct {
	TestOptions[lifecycles.Lifecycle]
}

func NewLifecycleTestOptions

func NewLifecycleTestOptions() *LifecycleTestOptions

type ListeningTentacleDeploymentTargetTestOptions

type ListeningTentacleDeploymentTargetTestOptions struct {
	TestOptions[machines.ListeningTentacleDeploymentTarget]
}

func NewListeningTentacleDeploymentTargetTestOptions

func NewListeningTentacleDeploymentTargetTestOptions() *ListeningTentacleDeploymentTargetTestOptions

type ProjectCreateTestOptions

type ProjectCreateTestOptions struct {
	Lifecycle    *LifecycleTestOptions
	ProjectGroup *ProjectGroupTestOptions
}

type ProjectGroupTestOptions

type ProjectGroupTestOptions struct {
	TestOptions[projectgroups.ProjectGroup]
}

func NewProjectGroupTestOptions

func NewProjectGroupTestOptions() *ProjectGroupTestOptions

type ProjectTestOptions

type ProjectTestOptions struct {
	Lifecycle    *LifecycleTestOptions
	ProjectGroup *ProjectGroupTestOptions
	TestOptions[projects.Project]
}

func NewProjectTestOptions

func NewProjectTestOptions(lifecycle *LifecycleTestOptions, projectGroup *ProjectGroupTestOptions) *ProjectTestOptions

type SpaceTestOptions

type SpaceTestOptions struct {
	Description string
	TestOptions[spaces.Space]
}

func NewSpaceTestOptions

func NewSpaceTestOptions() *SpaceTestOptions

type TestOptions

type TestOptions[T any] struct {
	Resource      *T
	LocalName     string
	QualifiedName string
	ResourceName  string
}

func NewTestOptions

func NewTestOptions[T any](resource string) *TestOptions[T]

Jump to

Keyboard shortcuts

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