provider

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 15 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 NewTor

func NewTor() resource.Resource

Types

type ScaffoldingProviderModel

type ScaffoldingProviderModel struct{}

ScaffoldingProviderModel describes the provider data model.

type TorKeys

type TorKeys struct{}

TorKeys defines the data source implementation.

func (*TorKeys) Configure

func (*TorKeys) Create

func (*TorKeys) Delete

func (*TorKeys) ImportState

func (*TorKeys) Metadata

func (*TorKeys) Read

func (r *TorKeys) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)

func (*TorKeys) Schema

func (*TorKeys) Update

type TorModel

type TorModel struct {
	ID         types.String `tfsdk:"id"`
	PrivateKey types.String `tfsdk:"private_key"`
	PublicKey  types.String `tfsdk:"public_key"`
	Address    types.String `tfsdk:"address"`
}

TorModel describes the data source data model.

type TorProvider

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

TorProvider defines the provider implementation.

func (*TorProvider) Configure

func (*TorProvider) DataSources

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

func (*TorProvider) Metadata

func (*TorProvider) Resources

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

func (*TorProvider) Schema

Jump to

Keyboard shortcuts

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