statuspage

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2023 License: MPL-2.0 Imports: 20 Imported by: 1

Documentation

Index

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 GenerateDataSourceHashID(idPrefix string, resourceSchema *schema.Resource, resourceData *schema.ResourceData) string

func Provider

func Provider() *schema.Provider

func StringListFromSchemaKey added in v0.7.0

func StringListFromSchemaKey(d *schema.ResourceData, key string) []string

func TranslateClientErrorDiag added in v0.6.0

func TranslateClientErrorDiag(err error, msg string) error

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

type StringCheck func(propertyVal string, filterVal string) bool

Directories

Path Synopsis
internal
go-retryablehttp
Package retryablehttp provides a familiar HTTP client interface with automatic retries and exponential backoff.
Package retryablehttp provides a familiar HTTP client interface with automatic retries and exponential backoff.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL