Documentation ¶
Index ¶
- func BoolTypeOrNil(b *bool) types.Bool
- func Contains(slice []attr.Value, value attr.Value) bool
- func EmptySet(elementType attr.Type) types.Set
- func EmptySetDefault(elementType attr.Type) defaults.Set
- func Float64TypeOrNil(f *float64) types.Float64
- func GetInt64Set(values []int64) types.Set
- func GetStringSet(values []string) types.Set
- func Int64ToString(value types.Int64) string
- func Int64TypeOrNil(i *int64) types.Int64
- func IsDefined(value attr.Value) bool
- func IsEmptyString(str types.String) bool
- func IsNonEmptyString(str types.String) bool
- func ObjectsAttrTypes() map[string]attr.Type
- func ObjectsObjectType() types.ObjectType
- func SetsEqual(a, b []string) bool
- func StringSliceContains(slice []string, value string) bool
- func StringTypeOrNil(str *string, useEmptyStringForNil bool) types.String
- type ProviderConfiguration
- type ResourceConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolTypeOrNil ¶
Get a types.Bool from the given bool pointer, handling if the pointer is nil
func Float64TypeOrNil ¶ added in v0.2.0
Get a types.Float64 from the given float64 pointer, handling if the pointer is nil
func GetStringSet ¶
Get a types.Set from a slice of strings
func Int64TypeOrNil ¶
Get a types.Int64 from the given int64 pointer, handling if the pointer is nil
func IsEmptyString ¶
Return true if this types.String represents an empty (but non-null and non-unknown) string
func IsNonEmptyString ¶
Return true if this types.String represents a non-empty, non-null, non-unknown string
func ObjectsAttrTypes ¶ added in v0.10.0
func ObjectsObjectType ¶ added in v0.10.0
func ObjectsObjectType() types.ObjectType
func StringSliceContains ¶ added in v0.2.0
Check if a string slice contains a value
Types ¶
type ProviderConfiguration ¶
type ProviderConfiguration struct { HttpsHost string Username string Password string ProductVersion string }
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.