provider

package
v0.0.0-...-cb5857f Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: MPL-2.0 Imports: 13 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 NewNotionDatabaseDataSource

func NewNotionDatabaseDataSource() datasource.DataSource

func NewNotionDatabaseResource

func NewNotionDatabaseResource() resource.Resource

NewNotionDatabaseResource is a helper function to simplify the provider implementation.

func NewNotionPageDataSource

func NewNotionPageDataSource() datasource.DataSource

Types

type YoloProvider

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

YoloProvider defines the provider implementation.

func (*YoloProvider) Configure

func (*YoloProvider) DataSources

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

func (*YoloProvider) Metadata

func (*YoloProvider) Resources

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

func (*YoloProvider) Schema

type YoloProviderModel

type YoloProviderModel struct {
	NotionSecret types.String `tfsdk:"notion_secret"`
}

YoloProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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