state

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewResource

func NewResource() resource.Resource

NewStateResource is a helper function to simplify the provider implementation.

Types

type State

type State struct {
	ID          types.String                     `tfsdk:"id"`
	Key         types.String                     `tfsdk:"key"`
	Version     types.Int64                      `tfsdk:"version"`
	Type        types.String                     `tfsdk:"type"`
	Name        customtypes.LocalizedStringValue `tfsdk:"name"`
	Description customtypes.LocalizedStringValue `tfsdk:"description"`
	Initial     types.Bool                       `tfsdk:"initial"`
	Roles       []types.String                   `tfsdk:"roles"`
}

func NewStateFromNative

func NewStateFromNative(n *platform.State) State

Jump to

Keyboard shortcuts

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