Documentation
¶
Index ¶
- func CatchFirst(ops ...func() error) diag.Diagnostics
- func DiagFromErrPtr(err error) *diag.Diagnostics
- func DiffRulesJSONState(_, old, new string, _ *schema.ResourceData) bool
- func PathToName(path string) string
- func Search(len int, eq func(i int) bool) int
- func WithBackoff(call func() (interface{}, error), initialRetryDelay time.Duration, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CatchFirst ¶
func CatchFirst(ops ...func() error) diag.Diagnostics
func DiagFromErrPtr ¶
func DiagFromErrPtr(err error) *diag.Diagnostics
func DiffRulesJSONState ¶
func DiffRulesJSONState(_, old, new string, _ *schema.ResourceData) bool
diffRulesJSONState suppresses diff if json values are equivalent, independant of whitespace or order of keys
func PathToName ¶
Converts a segment resource path to its id E.g: workspaces/myworkspace/sources/mysource => mysource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.