provider

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: Apache-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 NewCDCOvhNSResource

func NewCDCOvhNSResource() resource.Resource

Types

type CDCNameServersModel

type CDCNameServersModel struct {
	ID       types.Int64  `tfsdk:"id"`
	Host     types.String `tfsdk:"host"`
	IP       types.String `tfsdk:"ip"`
	IsUsed   types.Bool   `tfsdk:"is_used"`
	ToDelete types.Bool   `tfsdk:"to_delete"`
}

type CDCOvhNSProvider

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

func (*CDCOvhNSProvider) Configure

func (*CDCOvhNSProvider) DataSources

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

func (*CDCOvhNSProvider) Metadata

func (*CDCOvhNSProvider) Resources

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

func (*CDCOvhNSProvider) Schema

type CDCOvhNSProviderModel

type CDCOvhNSProviderModel struct {
	Endpoint          types.String `tfsdk:"endpoint"`
	ApplicationKey    types.String `tfsdk:"application_key"`
	ApplicationSecret types.String `tfsdk:"application_secret"`
	ConsumerKey       types.String `tfsdk:"consumer_key"`
}

type CDCOvhNSResource

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

func (*CDCOvhNSResource) Configure

func (*CDCOvhNSResource) Create

func (*CDCOvhNSResource) Delete

func (*CDCOvhNSResource) ImportState

func (*CDCOvhNSResource) Metadata

func (*CDCOvhNSResource) ModifyPlan

func (*CDCOvhNSResource) Read

func (*CDCOvhNSResource) Schema

func (*CDCOvhNSResource) Update

func (CDCOvhNSResource) ValidateConfig

type CDCOvhNSResourceModel

type CDCOvhNSResourceModel struct {
	ServiceName types.String                   `tfsdk:"service_name"`
	Type        types.String                   `tfsdk:"type"`
	NameServers map[string]CDCNameServersModel `tfsdk:"name_servers"`
}

Jump to

Keyboard shortcuts

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