Versions in this module Expand all Collapse all v0 v0.2.3 Aug 20, 2024 v0.2.2 Aug 20, 2024 Changes in this version + func New(version string) func() provider.Provider + func NewDatabaseDataSource() datasource.DataSource + func NewDatabaseResource() resource.Resource + func NewDatabaseTokenResource() resource.Resource + type AuthenticationRoundTripper struct + Diag diag.Diagnostics + Proxied http.RoundTripper + Token string + func (lrt AuthenticationRoundTripper) RoundTrip(req *http.Request) (res *http.Response, e error) + type DatabaseDataSource struct + 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 struct + DbId types.String + Group types.String + Hostname types.String + IsSchema types.Bool + Name types.String + OrganizationName types.String + Schema types.String + SizeLimit types.String + type DatabaseResource struct + 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 struct + DbId types.String + Group types.String + Hostname types.String + IsSchema types.Bool + Name types.String + OrganizationName types.String + Schema types.String + SizeLimit types.String + type DatabaseTokenResource struct + 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 struct + Authorization types.String + DatabaseName types.String + Expiration types.String + JWT types.String + OrganizationName types.String + type TursoProvider struct + 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 struct + ApiToken types.String