Documentation
¶
Index ¶
- func CallSet(err ...error) (d diag.Diagnostics)
- func ExtractBool(d *schema.ResourceData, key string) bool
- func ExtractFloat64(d *schema.ResourceData, key string) float64
- func ExtractInt(d *schema.ResourceData, key string) int
- func ExtractInt64(d *schema.ResourceData, key string) int64
- func ExtractMap(d *schema.ResourceData, key string) map[string]interface{}
- func ExtractMapSlice(d *schema.ResourceData, key string) []map[string]interface{}
- func ExtractString(d *schema.ResourceData, key string) string
- func ExtractStringSlice(d *schema.ResourceData, key string) []string
- func NonZeroFloat64(value interface{}) *float64
- func NonZeroInt64(value interface{}) *int64
- func NonZeroString(value interface{}) *string
- func Provider() *schema.Provider
- func ToBool(value interface{}) bool
- func ToFloat64(value interface{}) float64
- func ToInt(value interface{}) int
- func ToInt64(value interface{}) int64
- func ToMap(value interface{}) map[string]interface{}
- func ToMapSlice(value interface{}) []map[string]interface{}
- func ToSlice(value interface{}) []interface{}
- func ToString(value interface{}) string
- func ToStringSlice(value interface{}) []string
- func UpdateMetadata(d *schema.ResourceData, adder MetadataAdder)
- type MetadataAdder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallSet ¶
func CallSet(err ...error) (d diag.Diagnostics)
func ExtractBool ¶
func ExtractBool(d *schema.ResourceData, key string) bool
func ExtractFloat64 ¶
func ExtractFloat64(d *schema.ResourceData, key string) float64
func ExtractInt ¶
func ExtractInt(d *schema.ResourceData, key string) int
func ExtractInt64 ¶ added in v1.2.0
func ExtractInt64(d *schema.ResourceData, key string) int64
func ExtractMap ¶ added in v0.0.4
func ExtractMap(d *schema.ResourceData, key string) map[string]interface{}
func ExtractMapSlice ¶ added in v1.6.4
func ExtractMapSlice(d *schema.ResourceData, key string) []map[string]interface{}
func ExtractString ¶
func ExtractString(d *schema.ResourceData, key string) string
func ExtractStringSlice ¶
func ExtractStringSlice(d *schema.ResourceData, key string) []string
func NonZeroFloat64 ¶ added in v1.7.0
func NonZeroFloat64(value interface{}) *float64
func NonZeroInt64 ¶ added in v1.7.0
func NonZeroInt64(value interface{}) *int64
func NonZeroString ¶ added in v1.7.0
func NonZeroString(value interface{}) *string
func ToMapSlice ¶
func ToMapSlice(value interface{}) []map[string]interface{}
func ToStringSlice ¶
func ToStringSlice(value interface{}) []string
func UpdateMetadata ¶ added in v1.6.3
func UpdateMetadata(d *schema.ResourceData, adder MetadataAdder)
Types ¶
type MetadataAdder ¶ added in v1.6.3
type MetadataAdder interface {
AddMetadata(key, value string)
}
Source Files
¶
- provider.go
- resource_shipping_rate.go
- resource_stripe_card.go
- resource_stripe_coupon.go
- resource_stripe_customer.go
- resource_stripe_file.go
- resource_stripe_portal_configuration.go
- resource_stripe_price.go
- resource_stripe_product.go
- resource_stripe_promotion_code.go
- resource_stripe_tax_rate.go
- resource_stripe_webhook_endpoint.go
- utils.go
Click to show internal directories.
Click to hide internal directories.