Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewDatabaseDataSource() datasource.DataSource
- func NewDatabaseResource() resource.Resource
- func NewDatabaseTokenResource() resource.Resource
- type AuthenticationRoundTripper
- type DatabaseDataSource
- func (d *DatabaseDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *DatabaseDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *DatabaseDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *DatabaseDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type DatabaseDataSourceModel
- type DatabaseResource
- func (r *DatabaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DatabaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DatabaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DatabaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DatabaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DatabaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DatabaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DatabaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DatabaseResourceModel
- type DatabaseTokenResource
- func (r *DatabaseTokenResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DatabaseTokenResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DatabaseTokenResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DatabaseTokenResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DatabaseTokenResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DatabaseTokenResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DatabaseTokenResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DatabaseTokenResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DatabaseTokenResourceModel
- type TursoProvider
- func (p *TursoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *TursoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *TursoProvider) Functions(ctx context.Context) []func() function.Function
- func (p *TursoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *TursoProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *TursoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type TursoProviderModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDatabaseDataSource ¶
func NewDatabaseDataSource() datasource.DataSource
func NewDatabaseResource ¶
Types ¶
type AuthenticationRoundTripper ¶
type AuthenticationRoundTripper struct { Token string Proxied http.RoundTripper Diag diag.Diagnostics }
type DatabaseDataSource ¶
type DatabaseDataSource struct {
// contains filtered or unexported fields
}
DatabaseDataSource defines the data source implementation.
func (*DatabaseDataSource) Configure ¶
func (d *DatabaseDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*DatabaseDataSource) Metadata ¶
func (d *DatabaseDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*DatabaseDataSource) Read ¶
func (d *DatabaseDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*DatabaseDataSource) Schema ¶
func (d *DatabaseDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type DatabaseDataSourceModel ¶
type DatabaseDataSourceModel struct { OrganizationName types.String `tfsdk:"organization_name"` Name types.String `tfsdk:"name"` Group types.String `tfsdk:"group"` SizeLimit types.String `tfsdk:"size_limit"` IsSchema types.Bool `tfsdk:"is_schema"` Schema types.String `tfsdk:"schema"` // Computed DbId types.String `tfsdk:"db_id"` Hostname types.String `tfsdk:"hostname"` }
DatabaseDataSourceModel describes the data source data model.
type DatabaseResource ¶
type DatabaseResource struct {
// contains filtered or unexported fields
}
func (*DatabaseResource) Configure ¶
func (r *DatabaseResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DatabaseResource) Create ¶
func (r *DatabaseResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DatabaseResource) Delete ¶
func (r *DatabaseResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DatabaseResource) ImportState ¶
func (r *DatabaseResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DatabaseResource) Metadata ¶
func (r *DatabaseResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DatabaseResource) Read ¶
func (r *DatabaseResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DatabaseResource) Schema ¶
func (r *DatabaseResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DatabaseResource) Update ¶
func (r *DatabaseResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DatabaseResourceModel ¶
type DatabaseResourceModel struct { OrganizationName types.String `tfsdk:"organization_name"` Name types.String `tfsdk:"name"` Group types.String `tfsdk:"group"` SizeLimit types.String `tfsdk:"size_limit"` IsSchema types.Bool `tfsdk:"is_schema"` Schema types.String `tfsdk:"schema"` // Computed DbId types.String `tfsdk:"db_id"` Hostname types.String `tfsdk:"hostname"` }
type DatabaseTokenResource ¶
type DatabaseTokenResource struct {
// contains filtered or unexported fields
}
func (*DatabaseTokenResource) Configure ¶
func (r *DatabaseTokenResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DatabaseTokenResource) Create ¶
func (r *DatabaseTokenResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DatabaseTokenResource) Delete ¶
func (r *DatabaseTokenResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DatabaseTokenResource) ImportState ¶
func (r *DatabaseTokenResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DatabaseTokenResource) Metadata ¶
func (r *DatabaseTokenResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DatabaseTokenResource) Read ¶
func (r *DatabaseTokenResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DatabaseTokenResource) Schema ¶
func (r *DatabaseTokenResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DatabaseTokenResource) Update ¶
func (r *DatabaseTokenResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type TursoProvider ¶
type TursoProvider struct {
// contains filtered or unexported fields
}
TursoProvider defines the provider implementation.
func (*TursoProvider) Configure ¶
func (p *TursoProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*TursoProvider) DataSources ¶
func (p *TursoProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*TursoProvider) Functions ¶
func (p *TursoProvider) Functions(ctx context.Context) []func() function.Function
func (*TursoProvider) Metadata ¶
func (p *TursoProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*TursoProvider) Resources ¶
func (p *TursoProvider) Resources(ctx context.Context) []func() resource.Resource
func (*TursoProvider) Schema ¶
func (p *TursoProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type TursoProviderModel ¶
TursoProviderModel describes the provider data model.
Click to show internal directories.
Click to hide internal directories.