provider

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: Apache-2.0 Imports: 17 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 NewCacheResource

func NewCacheResource() resource.Resource

func NewCachesDataSource

func NewCachesDataSource() datasource.DataSource

func NewLeaderboardResource added in v0.2.0

func NewLeaderboardResource() resource.Resource

Types

type CacheResource

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

CacheResource defines the resource implementation.

func (*CacheResource) Configure

func (*CacheResource) Create

func (*CacheResource) Delete

func (*CacheResource) ImportState

func (*CacheResource) Metadata

func (*CacheResource) Read

func (*CacheResource) Schema

func (*CacheResource) Update

type CacheResourceModel

type CacheResourceModel struct {
	Name types.String `tfsdk:"name"`
	Id   types.String `tfsdk:"id"`
}

CacheResourceModel describes the resource data model.

type CachesDataSource

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

CachesDataSource defines the data source implementation.

func (*CachesDataSource) Configure

func (*CachesDataSource) Metadata

func (*CachesDataSource) Read

func (*CachesDataSource) Schema

type CachesDataSourceCacheModel

type CachesDataSourceCacheModel struct {
	Name types.String `tfsdk:"name"`
}

type CachesDataSourceModel

type CachesDataSourceModel struct {
	Id     types.String                 `tfsdk:"id"`
	Caches []CachesDataSourceCacheModel `tfsdk:"caches"`
}

CachesDataSourceModel describes the data source data model.

type LeaderboardResource added in v0.2.0

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

LeaderboardResource defines the resource implementation.

func (*LeaderboardResource) Configure added in v0.2.0

func (*LeaderboardResource) Create added in v0.2.0

func (*LeaderboardResource) Delete added in v0.2.0

func (*LeaderboardResource) Metadata added in v0.2.0

func (*LeaderboardResource) Read added in v0.2.0

func (*LeaderboardResource) Schema added in v0.2.0

func (*LeaderboardResource) Update added in v0.2.0

type LeaderboardResourceModel added in v0.2.0

type LeaderboardResourceModel struct {
	Name      types.String `tfsdk:"name"`
	CacheName types.String `tfsdk:"cache_name"`
	Id        types.String `tfsdk:"id"`
}

LeaderboardResourceModel describes the resource data model.

type MomentoClients added in v0.2.0

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

type MomentoProvider

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

MomentoProvider defines the provider implementation.

func (*MomentoProvider) Configure

func (*MomentoProvider) DataSources

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

func (*MomentoProvider) Metadata

func (*MomentoProvider) Resources

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

func (*MomentoProvider) Schema

type MomentoProviderModel

type MomentoProviderModel struct {
	AuthToken types.String `tfsdk:"api_key"`
}

MomentoProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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