A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/hashicorp/terraform-plugin-testing/knownvalue below:

knownvalue package - github.com/hashicorp/terraform-plugin-testing/knownvalue - Go Packages

func Bool
func Bool(value bool) boolValue

Bool returns a Check for asserting equality between the supplied bool and the value passed to the CheckValue method.

func BoolFunc added in v1.12.0
func BoolFunc(fn func(v bool) error) boolFunc

BoolFunc returns a Check for passing the bool value in state to the provided check function

func Float32Exact added in v1.9.0
func Float32Exact(value float32) float32Exact

Float32Exact returns a Check for asserting equality between the supplied float32 and the value passed to the CheckValue method.

func Float32Func added in v1.12.0

Float32Func returns a Check for passing the float32 value in state to the provided check function

func Float64Exact
func Float64Exact(value float64) float64Exact

Float64Exact returns a Check for asserting equality between the supplied float64 and the value passed to the CheckValue method.

func Float64Func added in v1.12.0

Float64Func returns a Check for passing the float64 value in state to the provided check function

func Int32Exact added in v1.9.0
func Int32Exact(value int32) int32Exact

Int32Exact returns a Check for asserting equality between the supplied int32 and the value passed to the CheckValue method.

func Int32Func added in v1.12.0

Int32Func returns a Check for passing the int32 value in state to the provided check function

func Int64Exact
func Int64Exact(value int64) int64Exact

Int64Exact returns a Check for asserting equality between the supplied int64 and the value passed to the CheckValue method.

func Int64Func added in v1.12.0

Int64Func returns a Check for passing the int64 value in state to the provided check function

func ListExact
func ListExact(value []Check) listExact

ListExact returns a Check for asserting equality between the supplied []Check and the value passed to the CheckValue method. This is an order-dependent check.

func ListPartial
func ListPartial(value map[int]Check) listPartial

ListPartial returns a Check for asserting partial equality between the supplied map[int]Check and the value passed to the CheckValue method. The map keys represent the zero-ordered element indices within the list that is being checked. Only the elements at the indices defined within the supplied map[int]Check are checked.

func ListSizeExact
func ListSizeExact(size int) listSizeExact

ListSizeExact returns a Check for asserting that a list has size elements.

func MapExact

MapExact returns a Check for asserting equality between the supplied map[string]Check and the value passed to the CheckValue method.

func MapPartial

MapPartial returns a Check for asserting partial equality between the supplied map[string]Check and the value passed to the CheckValue method. Only the elements at the map keys defined within the supplied map[string]Check are checked.

func MapSizeExact
func MapSizeExact(size int) mapSizeExact

MapSizeExact returns a Check for asserting that a map has size elements.

func NotNull

NotNull returns a Check for asserting the value passed to the CheckValue method is not nil.

func Null

Null returns a Check for asserting the value passed to the CheckValue method is nil.

func NumberExact
func NumberExact(value *big.Float) numberExact

NumberExact returns a Check for asserting equality between the supplied *big.Float and the value passed to the CheckValue method. The CheckValue method uses 512-bit precision to perform this assertion.

func NumberFunc added in v1.12.0

NumberFunc returns a Check for passing the int64 value in state to the provided check function

func ObjectExact

ObjectExact returns a Check for asserting equality between the supplied map[string]Check and the value passed to the CheckValue method. The map keys represent object attribute names.

func ObjectPartial
func ObjectPartial(value map[string]Check) objectPartial

ObjectPartial returns a Check for asserting partial equality between the supplied map[string]Check and the value passed to the CheckValue method. The map keys represent object attribute names. Only the object attributes defined by the map keys within the supplied map[string]Check are checked.

func SetExact
func SetExact(value []Check) setExact

SetExact returns a Check for asserting equality between the supplied []Check and the value passed to the CheckValue method. This is an order-independent check.

func SetPartial
func SetPartial(value []Check) setPartial

SetPartial returns a Check for asserting partial equality between the supplied []Check and the value passed to the CheckValue method. Only the elements defined within the supplied []Check are checked. This is an order-independent check.

func SetSizeExact
func SetSizeExact(size int) setSizeExact

SetSizeExact returns a Check for asserting that a set has size elements.

func StringExact
func StringExact(value string) stringExact

StringExact returns a Check for asserting equality between the supplied string and a value passed to the CheckValue method.

func StringFunc added in v1.12.0

StringFunc returns a Check for passing the string value in state to the provided check function

func StringRegexp

StringRegexp returns a Check for asserting equality between the supplied regular expression and a value passed to the CheckValue method.

func TupleExact added in v1.8.0
func TupleExact(value []Check) tupleExact

TupleExact returns a Check for asserting equality between the supplied []Check and the value passed to the CheckValue method. This is an order-dependent check.

func TuplePartial added in v1.8.0
func TuplePartial(value map[int]Check) tuplePartial

TuplePartial returns a Check for asserting partial equality between the supplied map[int]Check and the value passed to the CheckValue method. The map keys represent the zero-ordered element indices within the tuple that is being checked. Only the elements at the indices defined within the supplied map[int]Check are checked.

func TupleSizeExact added in v1.8.0
func TupleSizeExact(size int) tupleSizeExact

TupleSizeExact returns a Check for asserting that a tuple has size elements.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4