image

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package image defines an executor that produces random image names.

Index

Constants

View Source
const Name = "random-image-name"

Name defines the executor name.

Variables

This section is empty.

Functions

func New

func New() venom.Executor

New creates a new instance of the executor.

Types

type Executor

type Executor struct{}

Executor struct for pack.

func (Executor) Run

func (Executor) Run(ctx context.Context, step venom.TestStep) (interface{}, error)

Run executes the executor and sets an appropriate output result.

type Result

type Result struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

Result defines the output of the pack executor.

Jump to

Keyboard shortcuts

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