Documentation
¶
Index ¶
- Variables
- func ApplyFilters(filters *schema.Set, items []map[string]interface{}, ...) []map[string]interface{}
- func GenerateDataSourceHashID(idPrefix string, resourceSchema *schema.Resource, ...) string
- func Provider() *schema.Provider
- func StringListFromSchemaKey(d *schema.ResourceData, key string) []string
- func TranslateClientErrorDiag(err error, msg string) error
- func TranslateClientErrorDiagDiag(err error, msg string) diag.Diagnostics
- type ProviderConfiguration
- type StringCheck
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ApplyFilters ¶ added in v0.3.0
func ApplyFilters(filters *schema.Set, items []map[string]interface{}, resourceSchema map[string]*schema.Schema) []map[string]interface{}
Process an entity's properties (string or array of strings) by N filter sets of keyword:values, where each filter set ANDs and each keyword:values set ORs
func GenerateDataSourceHashID ¶ added in v0.4.0
func StringListFromSchemaKey ¶ added in v0.7.0
func StringListFromSchemaKey(d *schema.ResourceData, key string) []string
func TranslateClientErrorDiag ¶ added in v0.6.0
func TranslateClientErrorDiagDiag ¶ added in v0.6.0
func TranslateClientErrorDiagDiag(err error, msg string) diag.Diagnostics
TranslateClientErrorDiagDiag returns client error as type diag.Diagnostics
Types ¶
type ProviderConfiguration ¶
type ProviderConfiguration struct { StatuspageClientV1 *sp.APIClient AuthV1 context.Context // contains filtered or unexported fields }
func (*ProviderConfiguration) Now ¶
func (p *ProviderConfiguration) Now() time.Time
type StringCheck ¶ added in v0.3.0
Source Files
¶
- data_source_component_groups.go
- data_source_components.go
- data_source_pages.go
- filter.go
- helpers.go
- provider.go
- resource_component.go
- resource_component_group.go
- resource_incident.go
- resource_metric.go
- resource_metric_provider.go
- resource_page_access_group.go
- resource_page_access_user.go
- resource_subsriber.go
Click to show internal directories.
Click to hide internal directories.