proto6

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Attribute

Attribute returns the *tfprotov6.SchemaAttribute equivalent of a schema.Attribute. Errors will be tftypes.AttributePathErrors based on `path`. `name` is the name of the attribute.

func IsCreate

IsCreate returns true if the request is creating a resource.

func IsDestroy

IsDestroy returns true if the request is deleting a resource.

func IsUpdate

IsUpdate returns true if the request is updating a resource.

func Schema

func Schema(ctx context.Context, s schema.Schema) (*tfprotov6.Schema, error)

Schema returns the *tfprotov6.Schema equivalent of a schema.Schema. At least one attribute must be set in the schema, or an error will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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