provider

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: MPL-2.0 Imports: 11 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 NewGuidResource added in v0.2.0

func NewGuidResource() resource.Resource

func NewUniqueStringResource

func NewUniqueStringResource() resource.Resource

Types

type ARM2TFProvider

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

ARM2TFProvider defines the provider implementation.

func (*ARM2TFProvider) Configure

func (*ARM2TFProvider) DataSources

func (p *ARM2TFProvider) DataSources(ctx context.Context) []func() datasource.DataSource

func (*ARM2TFProvider) Metadata

func (*ARM2TFProvider) Resources

func (p *ARM2TFProvider) Resources(ctx context.Context) []func() resource.Resource

func (*ARM2TFProvider) Schema

type GuidModel added in v0.2.0

type GuidModel struct {
	ID     types.String `tfsdk:"id"`
	Input  types.List   `tfsdk:"input"`
	Result types.String `tfsdk:"result"`
}

type GuidResource added in v0.2.0

type GuidResource struct{}

func (*GuidResource) Create added in v0.2.0

func (*GuidResource) Delete added in v0.2.0

func (*GuidResource) Metadata added in v0.2.0

func (*GuidResource) Read added in v0.2.0

Read does not need to perform any operations as the state in ReadResourceResponse is already populated.

func (*GuidResource) Schema added in v0.2.0

func (*GuidResource) Update added in v0.2.0

Update ensures the plan value is copied to the state to complete the update.

type UniqueStringModel

type UniqueStringModel struct {
	ID     types.String `tfsdk:"id"`
	Input  types.List   `tfsdk:"input"`
	Result types.String `tfsdk:"result"`
}

type UniqueStringResource

type UniqueStringResource struct{}

func (*UniqueStringResource) Create

func (*UniqueStringResource) Delete

func (*UniqueStringResource) Metadata

func (*UniqueStringResource) Read

Read does not need to perform any operations as the state in ReadResourceResponse is already populated.

func (*UniqueStringResource) Schema

func (*UniqueStringResource) Update

Update ensures the plan value is copied to the state to complete the update.

Jump to

Keyboard shortcuts

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