Documentation ¶
Index ¶
- func New(version string) func() provider.Provider
- func NewAlertResource() resource.Resource
- func NewDashboardResource() resource.Resource
- func NewQueryResource() resource.Resource
- type AlertResource
- func (r *AlertResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AlertResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AlertResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AlertResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AlertResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AlertResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AlertResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AlertResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type BaselimeProvider
- func (p *BaselimeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *BaselimeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *BaselimeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *BaselimeProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *BaselimeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type BaselimeProviderModel
- type BaselimeResourceData
- type DashboardResource
- func (r *DashboardResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *DashboardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *DashboardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *DashboardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *DashboardResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *DashboardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *DashboardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *DashboardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type DataSourceData
- type QueryResource
- func (r *QueryResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *QueryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *QueryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *QueryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *QueryResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *QueryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *QueryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *QueryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlertResource ¶
func NewDashboardResource ¶
func NewQueryResource ¶
Types ¶
type AlertResource ¶
type AlertResource struct {
// contains filtered or unexported fields
}
AlertResource defines the resource implementation.
func (*AlertResource) Configure ¶
func (r *AlertResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AlertResource) Create ¶
func (r *AlertResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AlertResource) Delete ¶
func (r *AlertResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AlertResource) ImportState ¶
func (r *AlertResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AlertResource) Metadata ¶
func (r *AlertResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AlertResource) Read ¶
func (r *AlertResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AlertResource) Schema ¶
func (r *AlertResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AlertResource) Update ¶
func (r *AlertResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type BaselimeProvider ¶
type BaselimeProvider struct {
// contains filtered or unexported fields
}
BaselimeProvider defines the provider implementation.
func (*BaselimeProvider) Configure ¶
func (p *BaselimeProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*BaselimeProvider) DataSources ¶
func (p *BaselimeProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*BaselimeProvider) Metadata ¶
func (p *BaselimeProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*BaselimeProvider) Resources ¶
func (p *BaselimeProvider) Resources(ctx context.Context) []func() resource.Resource
func (*BaselimeProvider) Schema ¶
func (p *BaselimeProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type BaselimeProviderModel ¶
type BaselimeProviderModel struct { ApiHost types.String `tfsdk:"api_host"` ApiKey types.String `tfsdk:"api_key" sensitive:"true"` ApiScheme types.String `tfsdk:"api_scheme"` }
BaselimeProviderModel describes the provider data model.
type BaselimeResourceData ¶
type DashboardResource ¶
type DashboardResource struct {
// contains filtered or unexported fields
}
DashboardResource defines the resource implementation.
func (*DashboardResource) Configure ¶
func (r *DashboardResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*DashboardResource) Create ¶
func (r *DashboardResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*DashboardResource) Delete ¶
func (r *DashboardResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*DashboardResource) ImportState ¶
func (r *DashboardResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*DashboardResource) Metadata ¶
func (r *DashboardResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*DashboardResource) Read ¶
func (r *DashboardResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*DashboardResource) Schema ¶
func (r *DashboardResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*DashboardResource) Update ¶
func (r *DashboardResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type DataSourceData ¶
type QueryResource ¶
type QueryResource struct {
// contains filtered or unexported fields
}
QueryResource defines the resource implementation.
func (*QueryResource) Configure ¶
func (r *QueryResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*QueryResource) Create ¶
func (r *QueryResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*QueryResource) Delete ¶
func (r *QueryResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*QueryResource) ImportState ¶
func (r *QueryResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*QueryResource) Metadata ¶
func (r *QueryResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*QueryResource) Read ¶
func (r *QueryResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*QueryResource) Schema ¶
func (r *QueryResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*QueryResource) Update ¶
func (r *QueryResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Click to show internal directories.
Click to hide internal directories.