Documentation ¶
Index ¶
- func CalculateSignature(req *http.Request, apiKey, secretKey string, timestamp time.Time) string
- func New(version string) func() provider.Provider
- func NewAssetDataSource() datasource.DataSource
- func NewAssetResource() resource.Resource
- func NewExampleDataSource() datasource.DataSource
- func NewExampleResource() resource.Resource
- type AssetDataSource
- func (d *AssetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *AssetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *AssetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *AssetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type AssetDataSourceModel
- type AssetResource
- func (r *AssetResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *AssetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *AssetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *AssetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *AssetResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *AssetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *AssetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *AssetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type AssetResourceModel
- type DetectifyProvider
- func (p *DetectifyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *DetectifyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *DetectifyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *DetectifyProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *DetectifyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type DetectifyProviderData
- type DetectifyProviderModel
- type ExampleDataSource
- func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, ...)
- func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, ...)
- func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
- func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, ...)
- type ExampleDataSourceModel
- type ExampleResource
- func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ExampleResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateSignature ¶ added in v0.0.8
Calculate the HMAC signature for the request.
func NewAssetDataSource ¶ added in v0.0.5
func NewAssetDataSource() datasource.DataSource
func NewAssetResource ¶ added in v0.0.5
func NewExampleDataSource ¶
func NewExampleDataSource() datasource.DataSource
func NewExampleResource ¶
Types ¶
type AssetDataSource ¶ added in v0.0.5
type AssetDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*AssetDataSource) Configure ¶ added in v0.0.5
func (d *AssetDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*AssetDataSource) Metadata ¶ added in v0.0.5
func (d *AssetDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*AssetDataSource) Read ¶ added in v0.0.5
func (d *AssetDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*AssetDataSource) Schema ¶ added in v0.0.5
func (d *AssetDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type AssetDataSourceModel ¶ added in v0.0.5
type AssetDataSourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Id types.String `tfsdk:"id"` }
ExampleDataSourceModel describes the data source data model.
type AssetResource ¶ added in v0.0.5
type AssetResource struct {
// contains filtered or unexported fields
}
AssetResource defines the resource implementation.
func (*AssetResource) Configure ¶ added in v0.0.5
func (r *AssetResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*AssetResource) Create ¶ added in v0.0.5
func (r *AssetResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*AssetResource) Delete ¶ added in v0.0.5
func (r *AssetResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*AssetResource) ImportState ¶ added in v0.0.5
func (r *AssetResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*AssetResource) Metadata ¶ added in v0.0.5
func (r *AssetResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*AssetResource) Read ¶ added in v0.0.5
func (r *AssetResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*AssetResource) Schema ¶ added in v0.0.5
func (r *AssetResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*AssetResource) Update ¶ added in v0.0.5
func (r *AssetResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type AssetResourceModel ¶ added in v0.0.5
type AssetResourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Defaulted types.String `tfsdk:"defaulted"` Id types.String `tfsdk:"id"` }
AssetResourceModel describes the resource data model.
type DetectifyProvider ¶ added in v0.0.5
type DetectifyProvider struct {
// contains filtered or unexported fields
}
DetectifyProvider defines the provider implementation.
func (*DetectifyProvider) Configure ¶ added in v0.0.5
func (p *DetectifyProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*DetectifyProvider) DataSources ¶ added in v0.0.5
func (p *DetectifyProvider) DataSources(ctx context.Context) []func() datasource.DataSource
DataSources defines the data sources implemented in the provider.
func (*DetectifyProvider) Metadata ¶ added in v0.0.5
func (p *DetectifyProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*DetectifyProvider) Resources ¶ added in v0.0.5
func (p *DetectifyProvider) Resources(ctx context.Context) []func() resource.Resource
Resources defines the resources implemented in the provider.
func (*DetectifyProvider) Schema ¶ added in v0.0.5
func (p *DetectifyProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type DetectifyProviderData ¶ added in v0.0.8
DetectifyProviderData is used by resources and datasources to complete requests.
type DetectifyProviderModel ¶ added in v0.0.5
type DetectifyProviderModel struct { APIKey types.String `tfsdk:"api_key"` Secret types.String `tfsdk:"secret"` }
DetectifyProviderModel describes the provider data model.
type ExampleDataSource ¶
type ExampleDataSource struct {
// contains filtered or unexported fields
}
ExampleDataSource defines the data source implementation.
func (*ExampleDataSource) Configure ¶
func (d *ExampleDataSource) Configure(ctx context.Context, req datasource.ConfigureRequest, resp *datasource.ConfigureResponse)
func (*ExampleDataSource) Metadata ¶
func (d *ExampleDataSource) Metadata(ctx context.Context, req datasource.MetadataRequest, resp *datasource.MetadataResponse)
func (*ExampleDataSource) Read ¶
func (d *ExampleDataSource) Read(ctx context.Context, req datasource.ReadRequest, resp *datasource.ReadResponse)
func (*ExampleDataSource) Schema ¶
func (d *ExampleDataSource) Schema(ctx context.Context, req datasource.SchemaRequest, resp *datasource.SchemaResponse)
type ExampleDataSourceModel ¶
type ExampleDataSourceModel struct { ConfigurableAttribute types.String `tfsdk:"configurable_attribute"` Id types.String `tfsdk:"id"` }
ExampleDataSourceModel describes the data source data model.
type ExampleResource ¶
type ExampleResource struct {
// contains filtered or unexported fields
}
ExampleResource defines the resource implementation.
func (*ExampleResource) Configure ¶
func (r *ExampleResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ExampleResource) Create ¶
func (r *ExampleResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ExampleResource) Delete ¶
func (r *ExampleResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ExampleResource) ImportState ¶
func (r *ExampleResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*ExampleResource) Metadata ¶
func (r *ExampleResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ExampleResource) Read ¶
func (r *ExampleResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ExampleResource) Schema ¶
func (r *ExampleResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ExampleResource) Update ¶
func (r *ExampleResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)