Versions in this module Expand all Collapse all v0 v0.0.2 Apr 28, 2023 Changes in this version + func New(version string) func() provider.Provider + func NewSchemaDataSource() datasource.DataSource + func NewSchemaResource() resource.Resource + type ClientSchema struct + APIURL string + func NewClientSchema(apiURL string) *ClientSchema + func (c *ClientSchema) CreateSchema(schema *SchemaModel) error + func (c *ClientSchema) DeleteSchema(subject string) error + func (c *ClientSchema) GetLatestVersion(subject string) (int64, error) + func (c *ClientSchema) GetSchema(subject string, version int64) (*SchemaModel, error) + func (c *ClientSchema) UpdateSchema(schema *SchemaModel) error + type SchemaDataSource struct + func (d *SchemaDataSource) Configure(_ context.Context, req datasource.ConfigureRequest, ...) + func (d *SchemaDataSource) Metadata(_ context.Context, req datasource.MetadataRequest, ...) + func (d *SchemaDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse) + func (d *SchemaDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, resp *datasource.SchemaResponse) + type SchemaInfo struct + Schema string + SchemaType string + type SchemaModel struct + Id types.Int64 + Schema types.String + SchemaType types.String + Subject types.String + Version types.Int64 + type SchemaProvider struct + func (p *SchemaProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...) + func (p *SchemaProvider) DataSources(_ context.Context) []func() datasource.DataSource + func (p *SchemaProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse) + func (p *SchemaProvider) Resources(_ context.Context) []func() resource.Resource + func (p *SchemaProvider) Schema(_ context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse) + type SchemaProviderModel struct + SchemaApiUrl types.String + type SchemaResource struct + func (r *SchemaResource) Configure(_ context.Context, req resource.ConfigureRequest, ...) + func (r *SchemaResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse) + func (r *SchemaResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse) + func (r *SchemaResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...) + func (r *SchemaResource) Metadata(_ context.Context, req resource.MetadataRequest, ...) + func (r *SchemaResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse) + func (r *SchemaResource) Schema(_ context.Context, _ resource.SchemaRequest, resp *resource.SchemaResponse) + func (r *SchemaResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)