Documentation
¶
Overview ¶
hash.go This package contains shared / common hash functions
common/redact.go
Index ¶
- func HandleResourceNotFoundError(err error, d *schema.ResourceData, cleanup bool) diag.Diagnostics
- func HashString(s string) string
- func SerializeAndRedactJSON(resource interface{}, redactFields []string) (string, error)
- func SerializeAndRedactXML(resource interface{}, redactFields []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleResourceNotFoundError ¶ added in v0.0.48
func HandleResourceNotFoundError(err error, d *schema.ResourceData, cleanup bool) diag.Diagnostics
HandleResourceNotFoundError is a helper function to handle 404 and 410 errors and remove the resource from Terraform state
func HashString ¶ added in v0.1.5
HashString calculates the SHA-256 hash of a string and returns it as a hexadecimal string.
func SerializeAndRedactJSON ¶ added in v0.1.5
SerializeAndRedactJSON serializes a resource to JSON and redacts specified fields.
func SerializeAndRedactXML ¶ added in v0.1.5
SerializeAndRedactXML serializes a resource to XML and redacts specified fields.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
configurationprofiles
|
|
|
datavalidators
common/configurationprofiles/datavalidators/helpers.go
|
common/configurationprofiles/datavalidators/helpers.go |
|
plist
common/configurationprofiles/plist/diffsuppression.go contains the functions to process configuration profiles.
|
common/configurationprofiles/plist/diffsuppression.go contains the functions to process configuration profiles. |
|
plist/test/encode
command
|
|
|
plist/test/removekeys
command
|
|
|
plist/test/sortkeys
command
|
|
|
plist/test/state
command
|
|
|
common/jamfprivileges/validate.go This package contains shared / common resource functions
|
common/jamfprivileges/validate.go This package contains shared / common resource functions |
|
common/constructobject.go
|
common/constructobject.go |
Click to show internal directories.
Click to hide internal directories.