provider

package
v0.0.0-...-63465ff Latest Latest
Warning

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

Go to latest
Published: Sep 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 NewChannelResource

func NewChannelResource() resource.Resource

func NewChannelRewardResource

func NewChannelRewardResource() resource.Resource

func NewGameDataSource

func NewGameDataSource() datasource.DataSource

Types

type TwitchProvider

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

TwitchProvider defines the provider implementation.

func (*TwitchProvider) Configure

func (*TwitchProvider) DataSources

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

func (*TwitchProvider) Functions

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

func (*TwitchProvider) Metadata

func (*TwitchProvider) Resources

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

func (*TwitchProvider) Schema

type TwitchProviderModel

type TwitchProviderModel struct {
	ClientId    types.String `tfsdk:"client_id"`
	AccessToken types.String `tfsdk:"access_token"`
}

TwitchProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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