provider

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MPL-2.0 Imports: 17 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 NewAllocationResource

func NewAllocationResource() resource.Resource

func NewPoolResource

func NewPoolResource() resource.Resource

Types

type AllocationResource

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

AllocationResource defines the resource implementation.

func (*AllocationResource) Configure

func (*AllocationResource) Create

func (*AllocationResource) Delete

func (*AllocationResource) ImportState

func (*AllocationResource) Metadata

func (*AllocationResource) Read

func (*AllocationResource) Schema

func (*AllocationResource) Update

type AllocationResourceModel

type AllocationResourceModel struct {
	PoolId types.String `tfsdk:"pool_id"`
	Size   types.Int64  `tfsdk:"size"`
	Id     types.String `tfsdk:"id"`
	CIDR   types.String `tfsdk:"cidr"`
}

AllocationResourceModel describes the resource data model.

type IPAMProvider

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

IPAMProvider defines the provider implementation.

func (*IPAMProvider) Configure

func (*IPAMProvider) DataSources

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

func (*IPAMProvider) Metadata

func (*IPAMProvider) Resources

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

func (*IPAMProvider) Schema

type IPAMProviderModel

type IPAMProviderModel struct {
	File types.String `tfsdk:"file"`
}

IPAMProviderModel describes the provider data model.

type PoolResource

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

PoolResource defines the resource implementation.

func (*PoolResource) Configure

func (*PoolResource) Create

func (*PoolResource) Delete

func (*PoolResource) ImportState

func (*PoolResource) Metadata

func (*PoolResource) Read

func (*PoolResource) Schema

func (*PoolResource) Update

type PoolResourceModel

type PoolResourceModel struct {
	CIDR types.String `tfsdk:"cidr"`
	Id   types.String `tfsdk:"id"`
}

PoolResourceModel describes the resource data model.

Jump to

Keyboard shortcuts

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