run

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdRun

func NewCmdRun() *cobra.Command

func ProcessManifestTemplates

func ProcessManifestTemplates(r *RunOptions, manifest []byte) ([]byte, error)

ProcessManifestTemplates processes go template variables in the manifest which map to variable in RunOptions

Types

type RunOptions

type RunOptions struct {

	// PluginsImage
	// defines the image containing plugins associated with the opct.
	// this variable is referenced by plugin manifest templates to dynamically reference the plugins image.
	PluginsImage              string
	CollectorImage            string
	MustGatherMonitoringImage string
	OpenshiftTestsImage       string
	// contains filtered or unexported fields
}

func (*RunOptions) PreRunSetup

func (r *RunOptions) PreRunSetup(kclient kubernetes.Interface) error

PreRunSetup performs setup required by OPCT environment.

func (*RunOptions) PreRunValidations added in v0.6.1

func (r *RunOptions) PreRunValidations(kclient kubernetes.Interface, restConfig *rest.Config) []error

PreRunValidations performs some validations before running the environment

func (*RunOptions) Run

func (r *RunOptions) Run(cli *client.Client) error

Run setup and provision the certification environment.

Jump to

Keyboard shortcuts

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