provider

package
v0.0.0-...-6c69e30 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() func() provider.Provider

func NewJokeDataSource

func NewJokeDataSource() datasource.DataSource

func NewJokeResource

func NewJokeResource() resource.Resource

Types

type JokeDataSource

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

func (*JokeDataSource) Configure

func (*JokeDataSource) Metadata

func (*JokeDataSource) Read

func (*JokeDataSource) Schema

type JokeDataSourceModel

type JokeDataSourceModel struct {
	Text types.String `tfsdk:"text"`
	Id   types.String `tfsdk:"id"`
}

type JokeResource

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

func (*JokeResource) Configure

func (*JokeResource) Create

func (*JokeResource) Delete

func (*JokeResource) ImportState

func (*JokeResource) Metadata

func (*JokeResource) Read

func (*JokeResource) Schema

func (*JokeResource) Update

type JokeResourceModel

type JokeResourceModel struct {
	Text     types.String `tfsdk:"text"`
	Category types.String `tfsdk:"category"`
	Id       types.Int64  `tfsdk:"id"`
}

type MontanaProvider

type MontanaProvider struct {
	Api *api.ApiClient
}

func (*MontanaProvider) Configure

func (*MontanaProvider) DataSources

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

func (*MontanaProvider) Functions

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

func (*MontanaProvider) Metadata

func (*MontanaProvider) Resources

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

func (*MontanaProvider) Schema

type MontanaProviderModel

type MontanaProviderModel struct {
	Token types.String `tfsdk:"token"`
}

Jump to

Keyboard shortcuts

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