provider

package
v0.0.0-...-2f44a87 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(version string) func() provider.Provider

func NewExampleFunction

func NewExampleFunction() function.Function

func NewExampleResource

func NewExampleResource() resource.Resource

func NewZoneDataSource

func NewZoneDataSource() datasource.DataSource

func NewZoneResource

func NewZoneResource() resource.Resource

NewZoneResource is a helper function to simplify the provider implementation.

Types

type ExampleFunction

type ExampleFunction struct{}

func (ExampleFunction) Definition

func (ExampleFunction) Metadata

func (ExampleFunction) Run

type ExampleResource

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

ExampleResource defines the resource implementation.

func (*ExampleResource) Configure

func (*ExampleResource) Create

func (*ExampleResource) Delete

func (*ExampleResource) ImportState

func (*ExampleResource) Metadata

func (*ExampleResource) Read

func (*ExampleResource) Schema

func (*ExampleResource) Update

type ExampleResourceModel

type ExampleResourceModel struct {
	ConfigurableAttribute types.String `tfsdk:"configurable_attribute"`
	Defaulted             types.String `tfsdk:"defaulted"`
	Id                    types.String `tfsdk:"id"`
}

ExampleResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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