custom_type

package
v1.21.1 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2025 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource

func NewDataSource() datasource.DataSource

NewDataSource is a helper function to simplify the data source implementation.

Types

type StateModel

type StateModel struct {
	ID  types.String `tfsdk:"id"`
	Key types.String `tfsdk:"key"`
}

StateModel maps the data source schema data.

type StateSource

type StateSource struct {
	// contains filtered or unexported fields
}

StateSource is the data source implementation.

func (*StateSource) Configure

Configure adds the provider configured client to the data source.

func (*StateSource) Metadata

Metadata returns the data source type name.

func (*StateSource) Read

Read refreshes the Terraform state with the latest data.

func (*StateSource) Schema

Schema defines the schema for the data source.

Jump to

Keyboard shortcuts

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