Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewJsonFileResource() resource.Resource
- type JsonFileProvider
- func (p *JsonFileProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *JsonFileProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *JsonFileProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *JsonFileProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *JsonFileProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type JsonFileProviderModel
- type JsonFileResource
- func (r *JsonFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *JsonFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *JsonFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *JsonFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *JsonFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *JsonFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *JsonFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *JsonFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type JsonFileResourceModel
- type JsonFileStruct
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJsonFileResource ¶
Types ¶
type JsonFileProvider ¶
type JsonFileProvider struct {
// contains filtered or unexported fields
}
func (*JsonFileProvider) Configure ¶
func (p *JsonFileProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*JsonFileProvider) DataSources ¶
func (p *JsonFileProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*JsonFileProvider) Metadata ¶
func (p *JsonFileProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*JsonFileProvider) Resources ¶
func (p *JsonFileProvider) Resources(ctx context.Context) []func() resource.Resource
func (*JsonFileProvider) Schema ¶
func (p *JsonFileProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type JsonFileProviderModel ¶
type JsonFileProviderModel struct { }
type JsonFileResource ¶
type JsonFileResource struct { }
func (*JsonFileResource) Configure ¶
func (r *JsonFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*JsonFileResource) Create ¶
func (r *JsonFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*JsonFileResource) Delete ¶
func (r *JsonFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*JsonFileResource) ImportState ¶
func (r *JsonFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*JsonFileResource) Metadata ¶
func (r *JsonFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*JsonFileResource) Read ¶
func (r *JsonFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*JsonFileResource) Schema ¶
func (r *JsonFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*JsonFileResource) Update ¶
func (r *JsonFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type JsonFileResourceModel ¶
type JsonFileStruct ¶
type JsonFileStruct struct {
Value string
}
Click to show internal directories.
Click to hide internal directories.