provider

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: MPL-2.0 Imports: 21 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 NewApplicationDataSource

func NewApplicationDataSource() datasource.DataSource

func NewApplicationResource

func NewApplicationResource() resource.Resource

Types

type ApplicationDataSource

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

ApplicationDataSource defines the data source implementation.

func (*ApplicationDataSource) Configure

func (*ApplicationDataSource) Metadata

func (*ApplicationDataSource) Read

func (*ApplicationDataSource) Schema

type ApplicationDataSourceModel

type ApplicationDataSourceModel struct {
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Priority    types.String `tfsdk:"priority"`
	Id          types.String `tfsdk:"id"`
	Token       types.String `tfsdk:"token"`
}

ApplicationDataSourceModel describes the data source data model.

type ApplicationResource

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

ApplicationResource defines the resource implementation.

func (*ApplicationResource) Configure

func (*ApplicationResource) Create

func (*ApplicationResource) Delete

func (*ApplicationResource) ImportState

func (*ApplicationResource) Metadata

func (*ApplicationResource) Read

func (*ApplicationResource) Schema

func (*ApplicationResource) Update

type ApplicationResourceModel

type ApplicationResourceModel struct {
	Name        types.String `tfsdk:"name"`
	Description types.String `tfsdk:"description"`
	Priority    types.String `tfsdk:"priority"`
	Id          types.String `tfsdk:"id"`
	Token       types.String `tfsdk:"token"`
}

ApplicationResourceModel describes the resource data model.

type GotifyProvider

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

GotifyProvider defines the provider implementation.

func (*GotifyProvider) Configure

func (*GotifyProvider) DataSources

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

func (*GotifyProvider) Metadata

func (*GotifyProvider) Resources

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

func (*GotifyProvider) Schema

type GotifyProviderModel

type GotifyProviderModel struct {
	Token types.String `tfsdk:"token"`
	Url   types.String `tfsdk:"url"`
}

GotifyProviderModel describes the provider data model.

var Config GotifyProviderModel

variable contains provider configuration

Jump to

Keyboard shortcuts

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