schemautil

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAttr

func ListAttr(k string, values ...string) *schemaspec.Attr

ListAttr is a helper method for constructing *schemaspec.Attr instances that contain list values.

func LitAttr

func LitAttr(k, v string) *schemaspec.Attr

LitAttr is a helper method for constructing *schemaspec.Attr instances that contain literal values.

func StrLitAttr

func StrLitAttr(k, v string) *schemaspec.Attr

StrLitAttr is a helper method for constructing *schemaspec.Attr instances that contain literal values representing string literals.

Types

This section is empty.

Jump to

Keyboard shortcuts

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