provider

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: MIT 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

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 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:"auth_token"`
}

MomentoProviderModel describes the provider data model.

Jump to

Keyboard shortcuts

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