provider

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MPL-2.0 Imports: 18 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 NewConfigResource

func NewConfigResource() resource.Resource

Types

type ConfigResource

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

ConfigResource defines the resource implementation.

func (*ConfigResource) Configure

func (*ConfigResource) Create

func (*ConfigResource) Delete

func (*ConfigResource) GetSchema

func (r *ConfigResource) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)

func (*ConfigResource) ImportState

func (*ConfigResource) Metadata

func (*ConfigResource) Read

func (*ConfigResource) Update

type ConfigResourceModel

type ConfigResourceModel struct {
	Path  types.String `tfsdk:"path"`
	Value types.String `tfsdk:"value"`
	Id    types.String `tfsdk:"id"`
}

ConfigResourceModel describes the resource data model.

type VyOSProvider

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

VyOSProvider defines the provider implementation.

func (*VyOSProvider) Configure

func (*VyOSProvider) DataSources

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

func (*VyOSProvider) GetSchema

func (p *VyOSProvider) GetSchema(ctx context.Context) (tfsdk.Schema, diag.Diagnostics)

func (*VyOSProvider) Metadata

func (*VyOSProvider) Resources

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

type VyOSProviderModel

type VyOSProviderModel struct {
	Endpoint types.String `tfsdk:"endpoint"`
	ApiKey   types.String `tfsdk:"api_key"`
}

VyOSProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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