steps

package
v0.0.0-...-8253e7a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StepRunnerInit

func StepRunnerInit(runner *Runner, ctrlClient client.Client, clientSet *kubernetes.Clientset)

StepRunnerInit -

Types

type CustomTest

type CustomTest struct {
	Name string   `json:"name" yaml:"name"`
	Run  []string `json:"run" yaml:"run"`
}

CustomTest -

type Resource

type Resource struct {
	Scenario       Scenario
	CustomResource []interface{}
}

Resource -

func GetTestResources

func GetTestResources(valuesFilePath string) ([]Resource, error)

GetTestResources -- parse values file

type Runner

type Runner struct {
	Definitions []StepDefinition
}

Runner -

func (*Runner) RunStep

func (runner *Runner) RunStep(stepName string, res Resource) error

RunStep - runs a step

func (*Runner) RunStepClient

func (runner *Runner) RunStepClient(stepName string, res Resource) error

RunStepClient - runs a step

type Scenario

type Scenario struct {
	Scenario   string            `json:"scenario" yaml:"scenario"`
	Paths      []string          `json:"paths" yaml:"paths"`
	Tags       []string          `json:"tags" yaml:"tags"`
	Steps      []string          `json:"steps" yaml:"steps"`
	CustomTest []CustomTest      `json:"customTest,omitempty" yaml:"customTest"`
	Config     map[string]string `json:"config,omitempty" yaml:"config"`
}

Scenario -

type Step

type Step struct {
	// contains filtered or unexported fields
}

Step -

func (*Step) AuthorizationV2Resources

func (step *Step) AuthorizationV2Resources(res Resource, storageType, driver, driverNamespace, proxyHost, port, csmTenantName, configVersion string, configurationTemplate string) error

AuthorizationV2Resources creates resources using CRs and dellctl for V2 versions of Authorization Proxy Server

type StepDefinition

type StepDefinition struct {
	Handler reflect.Value
	Expr    *regexp.Regexp
}

StepDefinition - definition of a step

Jump to

Keyboard shortcuts

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