framework

package
v0.0.0-...-f37bb2f Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Framework

type Framework struct {
	VolumeName string
	NodeName   string
	NodeOCID   string
}

Framework used to help with integration testing.

func New

func New() *Framework

New testing framework.

func (*Framework) Cleanup

func (f *Framework) Cleanup()

Cleanup afterwards.

func (*Framework) Init

func (f *Framework) Init() error

Init the framework.

func (*Framework) NewDriver

func (f *Framework) NewDriver() *driver.OCIFlexvolumeDriver

NewDriver creates a new driver with a fake kubeclient

func (*Framework) Run

func (f *Framework) Run(run func() int)

Run the tests and exit with the status code

Jump to

Keyboard shortcuts

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