test

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: Apache-2.0, BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeDeleteListFor

func DescribeDeleteListFor(ctx *common.TestContext, t TestCase) bool

func DescribeDeleteTestsfor

func DescribeDeleteTestsfor(ctx *common.TestContext, t TestCase) bool

func DescribeGetTestsfor

func DescribeGetTestsfor(ctx *common.TestContext, t TestCase) bool

func DescribeListTestsFor

func DescribeListTestsFor(ctx *common.TestContext, t TestCase) bool

func DescribeTestsFor

func DescribeTestsFor(t TestCase) bool

Types

type Op

type Op string
const (
	Get        Op = "get"
	List       Op = "list"
	Delete     Op = "delete"
	DeleteList Op = "deletelist"
)

type TestCase

type TestCase struct {
	API            string
	SupportsLabels bool
	SupportedOps   []Op

	ResourceBlueprint                      func(ctx *common.TestContext) common.Object
	ResourceWithoutNullableFieldsBlueprint func(ctx *common.TestContext) common.Object
	AdditionalTests                        func(ctx *common.TestContext)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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