Documentation ¶
Index ¶
- func BoolValueToOptBool(b basetypes.BoolValue) contentfulManagement.OptBool
- func ErrorDetailFromContentfulManagementResponse(response interface{}, err error) string
- func JxDecodeOpaque(decoder *jx.Decoder) (interface{}, error)
- func JxEncodeOpaqueOrdered(encoder *jx.Encoder, value interface{}, options JxEncodeOpaqueOptions) error
- func JxNormalizeOpaqueBytes(bytes []byte, options JxEncodeOpaqueOptions) ([]byte, error)
- func NewEmptyListMust(elementType attr.Type) basetypes.ListValue
- func NewEmptySetMust(elementType attr.Type) basetypes.SetValue
- func NewStringListValueFromStringSlice(ctx context.Context, slice []string) (basetypes.ListValue, diag.Diagnostics)
- func OptBoolToBoolValue(b contentfulManagement.OptBool) basetypes.BoolValue
- func OptNilStringToStringValue(s contentfulManagement.OptNilString) basetypes.StringValue
- func OptStringToStringValue(s contentfulManagement.OptString) basetypes.StringValue
- func StringValueToOptNilString(value basetypes.StringValue) contentfulManagement.OptNilString
- func StringValueToOptString(s basetypes.StringValue) contentfulManagement.OptString
- type ClientWithUserAgent
- type JxEncodeOpaqueOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolValueToOptBool ¶ added in v0.0.5
func BoolValueToOptBool(b basetypes.BoolValue) contentfulManagement.OptBool
func JxDecodeOpaque ¶ added in v0.0.15
func JxEncodeOpaqueOrdered ¶ added in v0.0.15
func JxEncodeOpaqueOrdered(encoder *jx.Encoder, value interface{}, options JxEncodeOpaqueOptions) error
func JxNormalizeOpaqueBytes ¶ added in v0.0.15
func JxNormalizeOpaqueBytes(bytes []byte, options JxEncodeOpaqueOptions) ([]byte, error)
func NewEmptyListMust ¶ added in v0.0.3
func NewEmptySetMust ¶ added in v0.0.9
func NewStringListValueFromStringSlice ¶ added in v0.0.12
func OptBoolToBoolValue ¶ added in v0.0.5
func OptBoolToBoolValue(b contentfulManagement.OptBool) basetypes.BoolValue
func OptNilStringToStringValue ¶ added in v0.0.10
func OptNilStringToStringValue(s contentfulManagement.OptNilString) basetypes.StringValue
func OptStringToStringValue ¶ added in v0.0.3
func OptStringToStringValue(s contentfulManagement.OptString) basetypes.StringValue
func StringValueToOptNilString ¶ added in v0.0.10
func StringValueToOptNilString(value basetypes.StringValue) contentfulManagement.OptNilString
func StringValueToOptString ¶ added in v0.0.3
func StringValueToOptString(s basetypes.StringValue) contentfulManagement.OptString
Types ¶
type ClientWithUserAgent ¶ added in v0.0.5
type ClientWithUserAgent struct { UserAgent string // contains filtered or unexported fields }
func NewClientWithUserAgent ¶ added in v0.0.5
func NewClientWithUserAgent(client *http.Client, userAgent string) *ClientWithUserAgent
type JxEncodeOpaqueOptions ¶ added in v0.0.15
type JxEncodeOpaqueOptions struct {
EscapeStrings bool
}
Click to show internal directories.
Click to hide internal directories.