Documentation ¶
Index ¶
- func BaseTypesInt64ToString(value basetypes.Int64Value) string
- func BoolInterfaceToBoolOrNull(v interface{}) basetypes.BoolValue
- func BoolTypeOrNil(b *bool) types.Bool
- func CamelCaseToUnderscores(s string) string
- func CheckListKeyMatch(k string, list []string) bool
- func Contains(slice []attr.Value, value attr.Value) bool
- func ConvertToPrimitive(value attr.Value) interface{}
- func CreateKeysFromAttrValues(attrValues map[string]attr.Value) []string
- func Float64InterfaceToFloat64OrNull(v interface{}) basetypes.Float64Value
- func Float64TypeOrNil(f *float32) types.Float64
- func FloatSetsEqual(a, b []float64) bool
- func GetFloat64InterfaceSetOrNull(i interface{}) types.Set
- func GetInt64InterfaceSetOrNull(i interface{}) types.Set
- func GetInt64Set(values []int64) types.Set
- func GetInt64SetOrNull(values []int64) types.Set
- func GetInterfaceStringSet(i interface{}) types.Set
- func GetNestedInterfaceKeyBoolValuePointer(i interface{}, nestedKey string) *bool
- func GetNestedInterfaceKeyStringValue(i interface{}, nestedKey string) types.String
- func GetStringMap(m *string) types.Map
- func GetStringSet(values []string) types.Set
- func Int64InterfaceToInt64OrNull(v interface{}) basetypes.Int64Value
- func Int64InterfaceTypeOrNil(i interface{}) types.Int64
- func Int64PointerToString(value int64) string
- func Int64ToString(value types.Int64) string
- func Int64TypeOrNil(i *int64) types.Int64
- func InterfaceBoolPointerValue(i interface{}) *bool
- func InterfaceBoolTypeOrNull(i interface{}) types.Bool
- func InterfaceFloat64TypeOrNull(i interface{}) types.Float64
- func InterfaceFloatSetValue(values []interface{}) []float64
- func InterfaceStringOrNil(i interface{}) string
- func InterfaceStringPointerValue(i interface{}) *string
- func InterfaceStringValueOrNull(value interface{}) types.String
- func InterfaceToStringSet(i interface{}) types.Set
- func IsDefined(value attr.Value) bool
- func IsEmailFormat(s string) bool
- func IsEmptyString(str types.String) bool
- func IsNonEmptyList(l types.List) bool
- func IsNonEmptyMap(m types.Map) bool
- func IsNonEmptyObj(obj types.Object) bool
- func IsNonEmptyString(str types.String) bool
- func IsUrlFormat(s string) bool
- func IsValidHostnameOrIp(s string) bool
- func MapValuesToClientMap(mv basetypes.MapValue, con context.Context) *map[string]interface{}
- func MaptoObjValue(attributeTypes map[string]attr.Type, attributeValues map[string]attr.Value, ...) basetypes.ObjectValue
- func MatchStringInSets(a, b []string) *string
- func ObjContainsNoEmptyVals(obj types.Object) bool
- func ObjValuesToClientMap(obj types.Object) *map[string]interface{}
- func ObjValuesToMapNoPointer(obj types.Object) map[string]interface{}
- func ResourceLinkStateAttrType() map[string]attr.Type
- func SetsEqual(a, b []string) bool
- func StringInterfaceSetToFloat64SetOrNull(i interface{}) types.Set
- func StringInterfaceToStringOrNull(v interface{}) basetypes.StringValue
- func StringSliceContains(slice []string, value string) bool
- func StringToInt64Pointer(value basetypes.StringValue) *int64
- func StringToTF(v string) basetypes.StringValue
- func StringTypeOrNil(str *string, useEmptyStringForNil bool) types.String
- func ToRequestResourceLink(con context.Context, planObj basetypes.ObjectValue) *client.ResourceLink
- func ToStateResourceLink(con context.Context, resLinkVals client.ResourceLink) basetypes.ObjectValue
- func UnderscoresToCamelCase(s string) string
- type ProviderConfiguration
- type ResourceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseTypesInt64ToString ¶
func BaseTypesInt64ToString(value basetypes.Int64Value) string
func BoolTypeOrNil ¶
Get a types.Bool from the given bool pointer, handling if the pointer is nil
func CamelCaseToUnderscores ¶
func CheckListKeyMatch ¶
func ConvertToPrimitive ¶
func Float64InterfaceToFloat64OrNull ¶
func Float64InterfaceToFloat64OrNull(v interface{}) basetypes.Float64Value
func Float64TypeOrNil ¶
Get a types.Float64 from the given float32 pointer, handling if the pointer is nil
func FloatSetsEqual ¶
Check if two float slices representing sets are equal
func GetFloat64InterfaceSetOrNull ¶
Get a types.Set from a slice of float64 or null set
func GetInt64InterfaceSetOrNull ¶
Get a types.Set from a slice of int64 or null set
func GetInt64SetOrNull ¶
Get a types.Set from a slice of int64 or null set
func GetInterfaceStringSet ¶
Get a types.Set from a slice of string
func GetNestedInterfaceKeyBoolValuePointer ¶
Get a nested key value from given interface, handling if the value is nil
func GetNestedInterfaceKeyStringValue ¶
Get a nested key value from given interface, handling if the value is nil
func GetStringSet ¶
Get a types.Set from a slice of string
func Int64InterfaceToInt64OrNull ¶
func Int64InterfaceToInt64OrNull(v interface{}) basetypes.Int64Value
func Int64InterfaceTypeOrNil ¶
Get a types.Int64 from the given interface, handling if the pointer is nil
func Int64PointerToString ¶
func Int64ToString ¶
func Int64TypeOrNil ¶
Get a types.Int64 from the given int32 pointer, handling if the pointer is nil
func InterfaceBoolPointerValue ¶
func InterfaceBoolPointerValue(i interface{}) *bool
Get a types.Bool from the given interface pointer, handling if the interface is nil
func InterfaceBoolTypeOrNull ¶
Get a types.Bool from the given interface pointer, handling if the interface is nil
func InterfaceFloat64TypeOrNull ¶
Get a types.Int64 from the given interface, handling if the pointer is nil
func InterfaceFloatSetValue ¶
func InterfaceFloatSetValue(values []interface{}) []float64
func InterfaceStringOrNil ¶
func InterfaceStringOrNil(i interface{}) string
Get a types.String from the given interface pointer, handling if the interface is nil
func InterfaceStringPointerValue ¶
func InterfaceStringPointerValue(i interface{}) *string
Get a string pointer from the given interface, handling if the interface is nil
func InterfaceToStringSet ¶
func IsEmailFormat ¶
func IsEmptyString ¶
Return true if this types.String represents an empty (but non-null and non-unknown) string
func IsNonEmptyList ¶
func IsNonEmptyMap ¶
func IsNonEmptyObj ¶
func IsNonEmptyString ¶
Return true if this types.String represents a non-empty, non-null, non-unknown string
func IsUrlFormat ¶
func IsValidHostnameOrIp ¶
func MapValuesToClientMap ¶
Converts the basetypes.MapValue to map[string]interface{} required for PingFederate Client
func MaptoObjValue ¶
func MaptoObjValue(attributeTypes map[string]attr.Type, attributeValues map[string]attr.Value, diags *diag.Diagnostics) basetypes.ObjectValue
Converts the map[string]attr.Type to basetypes.ObjectValue required for Terraform
func MatchStringInSets ¶
Compare two given sets, match string if found in both
func ObjContainsNoEmptyVals ¶
func ObjValuesToClientMap ¶
Converts the types.Object to *map[string]interface{} required for PingFederate Client
func ObjValuesToMapNoPointer ¶
Converts the types.Object to map[string]interface{} required for PingFederate Client
func StringInterfaceSetToFloat64SetOrNull ¶
Get a types.Set from a slice of strings and converts values to floats or null set
func StringInterfaceToStringOrNull ¶
func StringInterfaceToStringOrNull(v interface{}) basetypes.StringValue
func StringSliceContains ¶
Check if a string slice contains a value
func StringToInt64Pointer ¶
func StringToInt64Pointer(value basetypes.StringValue) *int64
func StringToTF ¶
func StringToTF(v string) basetypes.StringValue
func StringTypeOrNil ¶
Get a types.String from the given string pointer, handling if the pointer is nil
func ToRequestResourceLink ¶
func ToRequestResourceLink(con context.Context, planObj basetypes.ObjectValue) *client.ResourceLink
func ToStateResourceLink ¶
func ToStateResourceLink(con context.Context, resLinkVals client.ResourceLink) basetypes.ObjectValue
func UnderscoresToCamelCase ¶
Types ¶
type ProviderConfiguration ¶
Configuration used by the provider and resources
type ResourceConfiguration ¶
type ResourceConfiguration struct { ProviderConfig ProviderConfiguration ApiClient *client.APIClient }
Configuration passed to resources