Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewCacheResource() resource.Resource
- func NewCachesDataSource() datasource.DataSource
- func NewLeaderboardResource() resource.Resource
- type CacheResource
- func (r *CacheResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *CacheResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *CacheResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *CacheResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *CacheResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *CacheResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *CacheResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *CacheResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type CacheResourceModel
- type CachesDataSource
- func (d *CachesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *CachesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *CachesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *CachesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type CachesDataSourceCacheModel
- type CachesDataSourceModel
- type LeaderboardResource
- func (l *LeaderboardResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (l *LeaderboardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (l *LeaderboardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (l *LeaderboardResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (l *LeaderboardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (l *LeaderboardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (l *LeaderboardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type LeaderboardResourceModel
- type MomentoClients
- type MomentoProvider
- func (p *MomentoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *MomentoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *MomentoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *MomentoProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *MomentoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type MomentoProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCacheResource ¶
func NewCachesDataSource ¶
func NewCachesDataSource() datasource.DataSource
func NewLeaderboardResource ¶ added in v0.2.0
Types ¶
type CacheResource ¶
type CacheResource struct {
// contains filtered or unexported fields
}
CacheResource defines the resource implementation.
func (*CacheResource) Configure ¶
func (r *CacheResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*CacheResource) Create ¶
func (r *CacheResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*CacheResource) Delete ¶
func (r *CacheResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*CacheResource) ImportState ¶
func (r *CacheResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*CacheResource) Metadata ¶
func (r *CacheResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*CacheResource) Read ¶
func (r *CacheResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*CacheResource) Schema ¶
func (r *CacheResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*CacheResource) Update ¶
func (r *CacheResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type CacheResourceModel ¶
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 (d *CachesDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*CachesDataSource) Metadata ¶
func (d *CachesDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*CachesDataSource) Read ¶
func (d *CachesDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*CachesDataSource) Schema ¶
func (d *CachesDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
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 (l *LeaderboardResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*LeaderboardResource) Create ¶ added in v0.2.0
func (l *LeaderboardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*LeaderboardResource) Delete ¶ added in v0.2.0
func (l *LeaderboardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*LeaderboardResource) Metadata ¶ added in v0.2.0
func (l *LeaderboardResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*LeaderboardResource) Read ¶ added in v0.2.0
func (l *LeaderboardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*LeaderboardResource) Schema ¶ added in v0.2.0
func (l *LeaderboardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*LeaderboardResource) Update ¶ added in v0.2.0
func (l *LeaderboardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (p *MomentoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*MomentoProvider) DataSources ¶
func (p *MomentoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*MomentoProvider) Metadata ¶
func (p *MomentoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*MomentoProvider) Resources ¶
func (p *MomentoProvider) Resources(ctx context.Context) []func() resource.Resource
func (*MomentoProvider) Schema ¶
func (p *MomentoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type MomentoProviderModel ¶
MomentoProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.