custom_type

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDataSource added in v1.10.0

func NewDataSource() datasource.DataSource

NewDataSource is a helper function to simplify the provider implementation.

Types

type CustomTypeSource

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

CustomTypeSource is the data source implementation.

func (*CustomTypeSource) Configure

Configure adds the provider configured client to the data source.

func (*CustomTypeSource) Metadata

Metadata returns the data source type name.

func (*CustomTypeSource) Read

Read refreshes the Terraform state with the latest data.

func (*CustomTypeSource) Schema

Schema defines the schema for the data source.

type CustomTypeSourceModel

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

CustomTypeSourceModel maps the data source schema data.

Jump to

Keyboard shortcuts

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