internal

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 21 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 NewDomainResource

func NewDomainResource() resource.Resource

To simplify provider implementations, a named function can be created with the resource implementation.

Types

type DomainResource

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

DomainResource defines the resource implementation.

func (*DomainResource) ConfigValidators

func (r *DomainResource) ConfigValidators(ctx context.Context) []resource.ConfigValidator

func (*DomainResource) Configure

func (*DomainResource) Create

func (*DomainResource) Delete

func (*DomainResource) ImportState

func (*DomainResource) Metadata

func (*DomainResource) Read

func (*DomainResource) Schema

func (*DomainResource) Update

type DomainResourceModel

type DomainResourceModel struct {
	Uuid        types.String      `tfsdk:"uuid"`
	Name        types.String      `tfsdk:"name"`
	Description types.String      `tfsdk:"description"`
	Tags        []common.TagModel `tfsdk:"tags"`
	Assignments []types.String    `tfsdk:"assignments"`
}

DomainResourceModel describes the resource data model according to its Schema.

type Provider

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

func (*Provider) Configure

func (*Provider) DataSources

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

func (*Provider) Metadata

func (*Provider) Resources

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

func (*Provider) Schema

type ProviderAccountServiceKeyModel

type ProviderAccountServiceKeyModel struct {
	ID    types.String `tfsdk:"id"`
	TOKEN types.String `tfsdk:"token"`
}

Describes the provider nested object data model according to its Schema.

type ProviderModel

type ProviderModel struct {
	AccountServiceKey types.Object `tfsdk:"account_service_key"`
}

Describes the provider data model according to its Schema.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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