cleaner

package
v0.0.0-...-af4311f Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleaner

type Cleaner interface {
	// Name defines cleaner name
	Name() string

	// Clean will be called after all of the cases in the context are
	// finished
	Clean(template *runtime.RoundTripTemplate, args map[string]string) error
}

Cleaner defines custom cleaner which can clean up context It is a callback hook called when all cases in context are finished Cleaner can be used to delete objects which are created in the context or even drop database directly

Jump to

Keyboard shortcuts

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