Documentation ¶
Index ¶
- func AddKeyValToMapStringAttrType(mapStringAttrType map[string]attr.Type, key string, val attr.Type) map[string]attr.Type
- func ConvertToPrimitive(value attr.Value) interface{}
- func FloatSlicesEqual(a, b []float64) bool
- func GetStringList(values []string) types.List
- func GetStringSet(values []string) types.Set
- func IsDefined(value attr.Value) bool
- func IsNonEmptyObj(obj types.Object) bool
- func IsNonEmptyString(str types.String) bool
- func MatchStringInSets(a, b []string) *string
- func SetTypeToStringSlice(set types.Set) []string
- func StringSliceContains(slice []string, value string) bool
- func StringSlicesEqual(a, b []string) bool
- func UnderscoresToCamelCase(s string) string
- type ProviderConfiguration
- type ResourceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKeyValToMapStringAttrType ¶ added in v0.4.0
func AddKeyValToMapStringAttrType(mapStringAttrType map[string]attr.Type, key string, val attr.Type) map[string]attr.Type
Add a keyval pair to existing map[string]attr.Type, making a deep copy and not modifying the original
func ConvertToPrimitive ¶
func FloatSlicesEqual ¶ added in v0.4.0
Check if two float slices representing sets are equal
func GetStringList ¶ added in v0.2.0
Get a types.List from a slice of string
func GetStringSet ¶
Get a types.Set from a slice of string
func IsNonEmptyObj ¶
func IsNonEmptyString ¶
Return true if this types.String represents a non-empty, non-null, non-unknown string
func MatchStringInSets ¶
Compare two given sets, match string if found in both
func SetTypeToStringSlice ¶ added in v0.4.0
func StringSliceContains ¶
Check if a string slice contains a value
func StringSlicesEqual ¶ added in v0.4.0
Check if two slices representing sets are equal
func UnderscoresToCamelCase ¶
Types ¶
type ProviderConfiguration ¶
type ProviderConfiguration struct { HttpsHost string Transport *http.Transport Username *string Password *string AccessToken *string TokenUrl *string ClientId *string ClientSecret *string Scopes []string ProductVersion version.SupportedVersion }
Configuration used by the provider and resources
type ResourceConfiguration ¶
type ResourceConfiguration struct { ProviderConfig ProviderConfiguration ApiClient *client.APIClient }
Configuration passed to resources
Click to show internal directories.
Click to hide internal directories.