provider

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 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 NewDeviceDataSource

func NewDeviceDataSource() datasource.DataSource

func NewDeviceResource

func NewDeviceResource() resource.Resource

Types

type DeviceDataSource

type DeviceDataSource struct{}

DeviceDataSource defines the data source implementation.

func (*DeviceDataSource) Configure

func (*DeviceDataSource) Metadata

func (*DeviceDataSource) Read

func (*DeviceDataSource) Schema

type DeviceDataSourceModel

type DeviceDataSourceModel struct {
	CertPEM       types.String `tfsdk:"cert_pem"`
	PrivateKeyPEM types.String `tfsdk:"private_key_pem"`
	ID            types.String `tfsdk:"id"`
}

DeviceDataSourceModel describes the data source data model.

type DeviceResource

type DeviceResource struct {
}

DeviceResource defines the resource implementation.

func (*DeviceResource) Configure

func (*DeviceResource) Create

func (*DeviceResource) Delete

func (*DeviceResource) ImportState

func (*DeviceResource) Metadata

func (*DeviceResource) Read

func (*DeviceResource) Schema

func (*DeviceResource) Update

type DeviceResourceModel

type DeviceResourceModel struct {
}

DeviceResourceModel describes the resource data model.

type SyncthingProvider

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

SyncthingProvider defines the provider implementation.

func (*SyncthingProvider) Configure

func (*SyncthingProvider) DataSources

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

func (*SyncthingProvider) Metadata

func (*SyncthingProvider) Resources

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

func (*SyncthingProvider) Schema

type SyncthingProviderModel

type SyncthingProviderModel struct{}

SyncthingProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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