action

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package action contains the logic for each action that Iter8 can perform.

This is a library for calling top-level Iter8 actions like 'launch' and 'assert'. Actions approximately match the command line invocations that the Iter8 CLI uses.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RunOpts

type RunOpts struct {
	// Rundir is the directory of the local experiment.yaml file
	RunDir string

	// KubeDriver enables Kubernetes experiment run
	*driver.KubeDriver
}

RunOpts are the options used for running an experiment

func NewRunOpts

func NewRunOpts(kd *driver.KubeDriver) *RunOpts

NewRunOpts initializes and returns run opts

func (*RunOpts) KubeRun

func (rOpts *RunOpts) KubeRun() error

KubeRun runs a Kubernetes experiment

Jump to

Keyboard shortcuts

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