unittest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	OutputDir string
	T         *testing.T
	TestFunc  func(interface{}) (metav1.Object, error)
}

type Runner

type Runner struct {
	OutputDir string
	T         *testing.T
	TestFunc  func(interface{}) (metav1.Object, error)
	// contains filtered or unexported fields
}

func NewRunner

func NewRunner(config Config) (*Runner, error)

func (*Runner) Err

func (r *Runner) Err() error

func (*Runner) Next

func (r *Runner) Next() bool

func (*Runner) Run

func (r *Runner) Run() error

func (*Runner) Value

func (r *Runner) Value() Value

type Value

type Value struct {
	Name   string
	Input  pkgruntime.Object
	Output []byte
}

Jump to

Keyboard shortcuts

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