resource

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Array

func Array(maxDepth int) *rapid.Generator[resource.PropertyValue]

func Computed

func Computed(maxDepth int) *rapid.Generator[resource.PropertyValue]

func Object

func Object(maxDepth int) *rapid.Generator[resource.PropertyValue]

func Primitive

func Primitive() *rapid.Generator[resource.PropertyValue]

func PropertyKey

func PropertyKey() *rapid.Generator[resource.PropertyKey]

func PropertyValue

func PropertyValue(maxDepth int) *rapid.Generator[resource.PropertyValue]

func Secret

func Secret(maxDepth int) *rapid.Generator[resource.PropertyValue]

func ValueOf

func ValueOf(typ *rapid.Generator[reflect.Type]) *rapid.Generator[Typed]

Annotate a type with a value that fits inside of it.

Types

type Typed

type Typed struct {
	Type  reflect.Type
	Value resource.PropertyValue
}

Jump to

Keyboard shortcuts

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