provider

package
v0.0.0-...-9eac01c Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MPL-2.0 Imports: 27 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 NewContactResource

func NewContactResource() resource.Resource

func NewUniqueContactFunction

func NewUniqueContactFunction() function.Function

Types

type ContactResource

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

ContactResource defines the resource implementation.

func (*ContactResource) Configure

func (*ContactResource) Create

func (*ContactResource) Delete

func (*ContactResource) ImportState

func (*ContactResource) Metadata

func (*ContactResource) Read

func (*ContactResource) Schema

func (*ContactResource) Update

type ContactResourceModel

type ContactResourceModel struct {
	ID        types.String `tfsdk:"id"`
	ETag      types.String `tfsdk:"etag"`
	Name      types.String `tfsdk:"name"`
	About     types.String `tfsdk:"about"`
	Labels    types.List   `tfsdk:"labels"`
	Variables types.Map    `tfsdk:"variables"`
	Phones    types.Set    `tfsdk:"phones"`
}

type ContactResourcePhones

type ContactResourcePhones struct {
	Code        types.String `tfsdk:"code"`
	Destination types.String `tfsdk:"destination"`
}

type Retry

type Retry struct {
	Attempts types.Int64 `tfsdk:"attempts"`
	Delay    types.Int64 `tfsdk:"delay_ms"`
}

type UniqueContactFunction

type UniqueContactFunction struct{}

func (*UniqueContactFunction) Definition

func (*UniqueContactFunction) Metadata

func (*UniqueContactFunction) Run

type UniqueContactModel

type UniqueContactModel struct {
	NameField        types.String `tfsdk:"name_field"`
	CodeField        types.String `tfsdk:"code_field"`
	DestinationField types.String `tfsdk:"destination_field"`
	Labels           types.List   `tfsdk:"label_fields"`
	Variables        types.List   `tfsdk:"variable_fields"`
	GroupByFields    types.List   `tfsdk:"group_by_fields"`
}

type WebitelProvider

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

WebitelProvider defines the provider implementation.

func (*WebitelProvider) Configure

func (*WebitelProvider) DataSources

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

func (*WebitelProvider) Functions

func (p *WebitelProvider) Functions(ctx context.Context) []func() function.Function

func (*WebitelProvider) Metadata

func (*WebitelProvider) Resources

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

func (*WebitelProvider) Schema

type WebitelProviderModel

type WebitelProviderModel struct {
	Token    types.String `tfsdk:"token"`
	Endpoint types.String `tfsdk:"endpoint"`
	Insecure types.Bool   `tfsdk:"insecure"`
	Retry    types.Object `tfsdk:"retry"`
}

WebitelProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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