Documentation
¶
Index ¶
- func AppInstallationResourceSchema(ctx context.Context) schema.Schema
- func AttributesFromTerraformValue(ctx context.Context, attrTypes map[string]attr.Type, value tftypes.Value) (map[string]attr.Value, error)
- func ContentTypeResourceSchema(ctx context.Context) schema.Schema
- func ContentfulProviderSchema(ctx context.Context) schema.Schema
- func DeliveryApiKeyResourceSchema(ctx context.Context) schema.Schema
- func EditorInterfaceResourceSchema(ctx context.Context) schema.Schema
- func ErrorFromDiags(diags diag.Diagnostics) error
- func FieldsListToPutContentTypeReqFields(ctx context.Context, path path.Path, fieldsList types.List) ([]contentfulManagement.PutContentTypeReqFieldsItem, diag.Diagnostics)
- func GetPrivateProviderData[T interface{}](ctx context.Context, providerData PrivateProviderData, key string, value *T) diag.Diagnostics
- func ImportStatePassthroughMultipartID(ctx context.Context, attrPaths []path.Path, req resource.ImportStateRequest, ...)
- func ItemsObjectToOptPutContentTypeReqFieldsItemItems(ctx context.Context, path path.Path, itemsObject types.Object) (contentfulManagement.OptPutContentTypeReqFieldsItemItems, diag.Diagnostics)
- func New(version string) func() provider.Provider
- func NewAppInstallationResource() resource.Resource
- func NewContentTypeResource() resource.Resource
- func NewControlsListValueFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func NewControlsListValueNull(ctx context.Context) types.List
- func NewDeliveryApiKeyResource() resource.Resource
- func NewEditorInterfaceResource() resource.Resource
- func NewEditorLayoutListValueFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func NewEditorLayoutListValueNull(ctx context.Context) types.List
- func NewEmptyListMust(elementType attr.Type) basetypes.ListValue
- func NewEmptySetMust(elementType attr.Type) basetypes.SetValue
- func NewEnvironmentIDsListValueFromEnvironmentLinks(_ context.Context, _ path.Path, ...) (types.List, diag.Diagnostics)
- func NewFieldsListFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func NewGroupControlsListValueFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func NewGroupControlsListValueNull(ctx context.Context) types.List
- func NewPermissionActionsListValueFromResponse(ctx context.Context, path path.Path, ...) (basetypes.ListValue, diag.Diagnostics)
- func NewPermissionsMapValueFromResponse(ctx context.Context, path path.Path, ...) (basetypes.MapValue, diag.Diagnostics)
- func NewPersonalAccessTokenResource() resource.Resource
- func NewPoliciesListValueFromResponse(ctx context.Context, path path.Path, ...) (basetypes.ListValue, diag.Diagnostics)
- func NewPolicyActionsListValueFromResponse(ctx context.Context, path path.Path, ...) (basetypes.ListValue, diag.Diagnostics)
- func NewPreviewApiKeyDataSource() datasource.DataSource
- func NewRoleResource() resource.Resource
- func NewSidebarListValueFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func NewSidebarListValueNull(ctx context.Context) types.List
- func NewValidationsListFromResponse(_ context.Context, _ path.Path, validations []jx.Raw) (types.List, diag.Diagnostics)
- func NewWebhookResource() resource.Resource
- func PersonalAccessTokenResourceSchema(ctx context.Context) schema.Schema
- func PreviewApiKeyDataSourceSchema(ctx context.Context) schema.Schema
- func ReadHeadersListValueFromResponse(ctx context.Context, path path.Path, model types.Map, ...) (types.Map, diag.Diagnostics)
- func ReadWebhookDefinitionFilterTermString(_ context.Context, path path.Path, input jx.Raw) (types.String, diag.Diagnostics)
- func ReadWebhookDefinitionFilterTermStringArray(_ context.Context, path path.Path, input jx.Raw) (types.List, diag.Diagnostics)
- func ReadWebhookDefinitionFilterTermStringObject(_ context.Context, path path.Path, name string, input jx.Raw) (types.String, diag.Diagnostics)
- func ReadWebhookFiltersListValueFromResponse(ctx context.Context, path path.Path, ...) (types.List, diag.Diagnostics)
- func RoleResourceSchema(ctx context.Context) schema.Schema
- func SetPrivateProviderData[T interface{}](ctx context.Context, providerData PrivateProviderData, key string, value T) diag.Diagnostics
- func SetProviderDataFromDataSourceConfigureRequest[ProviderData interface{}](req datasource.ConfigureRequest, out *ProviderData) diag.Diagnostics
- func SetProviderDataFromResourceConfigureRequest[ProviderData interface{}](req resource.ConfigureRequest, out *ProviderData) diag.Diagnostics
- func ToCreateRoleReqPermissions(ctx context.Context, path path.Path, permissions types.Map) (contentfulManagement.CreateRoleReqPermissions, diag.Diagnostics)
- func ToCreateRoleReqPermissionsItem(ctx context.Context, _ path.Path, value types.List) (contentfulManagement.CreateRoleReqPermissionsItem, diag.Diagnostics)
- func ToCreateRoleReqPolicies(ctx context.Context, path path.Path, policies types.List) ([]contentfulManagement.CreateRoleReqPoliciesItem, diag.Diagnostics)
- func ToCreateRoleReqPoliciesItemActions(ctx context.Context, _ path.Path, actions types.List) (contentfulManagement.CreateRoleReqPoliciesItemActions, diag.Diagnostics)
- func ToEnvironmentLink(_ context.Context, _ path.Path, environmentID string) (contentfulManagement.EnvironmentLink, diag.Diagnostics)
- func ToEnvironmentLinks(ctx context.Context, path path.Path, value types.List) ([]contentfulManagement.EnvironmentLink, diag.Diagnostics)
- func ToOptCreateRoleReqPoliciesItemConstraint(_ context.Context, _ path.Path, constraint types.String) (jx.Raw, diag.Diagnostics)
- func ToOptNilCreateWebhookDefinitionReqTransformation(_ context.Context, _ path.Path, value TransformationValue) (contentfulManagement.OptNilCreateWebhookDefinitionReqTransformation, ...)
- func ToOptNilUpdateWebhookDefinitionReqTransformation(_ context.Context, _ path.Path, value TransformationValue) (contentfulManagement.OptNilUpdateWebhookDefinitionReqTransformation, ...)
- func ToOptNilWebhookDefinitionFilterArray(ctx context.Context, path path.Path, filterValuesList types.List) (contentfulManagement.OptNilWebhookDefinitionFilterArray, diag.Diagnostics)
- func ToOptUpdateRoleReqPoliciesItemConstraint(_ context.Context, _ path.Path, constraint types.String) (jx.Raw, diag.Diagnostics)
- func ToUpdateRoleReqPermissions(ctx context.Context, path path.Path, permissions types.Map) (contentfulManagement.UpdateRoleReqPermissions, diag.Diagnostics)
- func ToUpdateRoleReqPermissionsItem(ctx context.Context, _ path.Path, value types.List) (contentfulManagement.UpdateRoleReqPermissionsItem, diag.Diagnostics)
- func ToUpdateRoleReqPolicies(ctx context.Context, path path.Path, policies types.List) ([]contentfulManagement.UpdateRoleReqPoliciesItem, diag.Diagnostics)
- func ToUpdateRoleReqPoliciesItemActions(ctx context.Context, _ path.Path, actions types.List) (contentfulManagement.UpdateRoleReqPoliciesItemActions, diag.Diagnostics)
- func ToWebhookDefinitionFilter(ctx context.Context, path path.Path, value WebhookFilterValue) (contentfulManagement.WebhookDefinitionFilter, diag.Diagnostics)
- func ToWebhookDefinitionFilterEquals(ctx context.Context, path path.Path, value WebhookFilterEqualsValue) (contentfulManagement.WebhookDefinitionFilterEquals, diag.Diagnostics)
- func ToWebhookDefinitionFilterIn(ctx context.Context, path path.Path, value WebhookFilterInValue) (contentfulManagement.WebhookDefinitionFilterIn, diag.Diagnostics)
- func ToWebhookDefinitionFilterNot(ctx context.Context, path path.Path, value WebhookFilterNotValue) (contentfulManagement.OptWebhookDefinitionFilterNot, diag.Diagnostics)
- func ToWebhookDefinitionFilterRegexp(ctx context.Context, path path.Path, value WebhookFilterRegexpValue) (contentfulManagement.WebhookDefinitionFilterRegexp, diag.Diagnostics)
- func ToWebhookDefinitionHeaders(ctx context.Context, path path.Path, model types.Map) (contentfulManagement.WebhookDefinitionHeaders, diag.Diagnostics)
- func ValidationsListToPutContentTypeReqValidations(ctx context.Context, _ path.Path, validationsList types.List) ([]jx.Raw, diag.Diagnostics)
- func WebhookFiltersSchema(ctx context.Context, optional bool) schema.Attribute
- func WebhookResourceSchema(ctx context.Context) schema.Schema
- type AppInstallationModel
- func (model *AppInstallationModel) ReadFromResponse(appInstallation *contentfulManagement.AppInstallation) diag.Diagnostics
- func (model *AppInstallationModel) ToPutAppInstallationReq() (contentfulManagement.PutAppInstallationReq, diag.Diagnostics)
- func (model *AppInstallationModel) ToXContentfulMarketplaceHeaderValue(ctx context.Context) (contentfulManagement.OptString, diag.Diagnostics)
- func (model *AppInstallationModel) ToXContentfulMarketplaceHeaderValueElements(ctx context.Context) ([]string, diag.Diagnostics)
- type AttrTypeWithValueFromObject
- type AttrValueWithToObjectValue
- type ContentTypeModel
- type ContentfulContentTypeCounter
- type ContentfulModel
- type ContentfulProvider
- func (p *ContentfulProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *ContentfulProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *ContentfulProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
- func (p *ContentfulProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *ContentfulProvider) Schema(ctx context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
- type ContentfulProviderData
- type ControlsType
- func (t ControlsType) Equal(o attr.Type) bool
- func (t ControlsType) String() string
- func (t ControlsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ControlsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ControlsType) ValueType(ctx context.Context) attr.Value
- type ControlsValue
- func NewControlsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ControlsValue, diag.Diagnostics)
- func NewControlsValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceControlsItem) (ControlsValue, diag.Diagnostics)
- func NewControlsValueKnown() ControlsValue
- func NewControlsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ControlsValue
- func NewControlsValueNull() ControlsValue
- func NewControlsValueUnknown() ControlsValue
- func (v ControlsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ControlsValue) Equal(o attr.Value) bool
- func (v ControlsValue) IsNull() bool
- func (v ControlsValue) IsUnknown() bool
- func (v ControlsValue) String() string
- func (v ControlsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *ControlsValue) ToPutEditorInterfaceReqControlsItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqControlsItem, diag.Diagnostics)
- func (v ControlsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ControlsValue) Type(ctx context.Context) attr.Type
- type DeliveryApiKeyModel
- func (model *DeliveryApiKeyModel) ReadFromResponse(ctx context.Context, apiKey *contentfulManagement.ApiKey) diag.Diagnostics
- func (model *DeliveryApiKeyModel) ToCreateDeliveryAPIKeyReq(ctx context.Context) (contentfulManagement.CreateDeliveryApiKeyReq, diag.Diagnostics)
- func (model *DeliveryApiKeyModel) ToUpdateDeliveryAPIKeyReq(ctx context.Context) (contentfulManagement.UpdateDeliveryApiKeyReq, diag.Diagnostics)
- type EditorInterfaceModel
- type EditorLayoutType
- func (t EditorLayoutType) Equal(o attr.Type) bool
- func (t EditorLayoutType) String() string
- func (t EditorLayoutType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t EditorLayoutType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t EditorLayoutType) ValueType(ctx context.Context) attr.Value
- type EditorLayoutValue
- func NewEditorLayoutValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EditorLayoutValue, diag.Diagnostics)
- func NewEditorLayoutValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceEditorLayoutItem) (EditorLayoutValue, diag.Diagnostics)
- func NewEditorLayoutValueKnown() EditorLayoutValue
- func NewEditorLayoutValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) EditorLayoutValue
- func NewEditorLayoutValueNull() EditorLayoutValue
- func NewEditorLayoutValueUnknown() EditorLayoutValue
- func (v EditorLayoutValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v EditorLayoutValue) Equal(o attr.Value) bool
- func (v EditorLayoutValue) IsNull() bool
- func (v EditorLayoutValue) IsUnknown() bool
- func (v EditorLayoutValue) String() string
- func (v EditorLayoutValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *EditorLayoutValue) ToPutEditorInterfaceReqEditorLayoutItem(ctx context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqEditorLayoutItem, diag.Diagnostics)
- func (v EditorLayoutValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v EditorLayoutValue) Type(ctx context.Context) attr.Type
- type FieldsType
- func (t FieldsType) Equal(o attr.Type) bool
- func (t FieldsType) String() string
- func (t FieldsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t FieldsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t FieldsType) ValueType(ctx context.Context) attr.Value
- type FieldsValue
- func NewFieldsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FieldsValue, diag.Diagnostics)
- func NewFieldsValueFromResponse(ctx context.Context, path path.Path, ...) (FieldsValue, diag.Diagnostics)
- func NewFieldsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) FieldsValue
- func NewFieldsValueNull() FieldsValue
- func NewFieldsValueUnknown() FieldsValue
- func (v FieldsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v FieldsValue) Equal(o attr.Value) bool
- func (v FieldsValue) IsNull() bool
- func (v FieldsValue) IsUnknown() bool
- func (v FieldsValue) String() string
- func (v FieldsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *FieldsValue) ToPutContentTypeReqFieldsItem(ctx context.Context, path path.Path) (contentfulManagement.PutContentTypeReqFieldsItem, diag.Diagnostics)
- func (v FieldsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v FieldsValue) Type(ctx context.Context) attr.Type
- type GroupControlsType
- func (t GroupControlsType) Equal(o attr.Type) bool
- func (t GroupControlsType) String() string
- func (t GroupControlsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t GroupControlsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t GroupControlsType) ValueType(ctx context.Context) attr.Value
- type GroupControlsValue
- func NewGroupControlsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GroupControlsValue, diag.Diagnostics)
- func NewGroupControlsValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceGroupControlsItem) (GroupControlsValue, diag.Diagnostics)
- func NewGroupControlsValueKnown() GroupControlsValue
- func NewGroupControlsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) GroupControlsValue
- func NewGroupControlsValueNull() GroupControlsValue
- func NewGroupControlsValueUnknown() GroupControlsValue
- func (v GroupControlsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v GroupControlsValue) Equal(o attr.Value) bool
- func (v GroupControlsValue) IsNull() bool
- func (v GroupControlsValue) IsUnknown() bool
- func (v GroupControlsValue) String() string
- func (v GroupControlsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *GroupControlsValue) ToPutEditorInterfaceReqGroupControlsItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqGroupControlsItem, diag.Diagnostics)
- func (v GroupControlsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v GroupControlsValue) Type(ctx context.Context) attr.Type
- type HeadersType
- func (t HeadersType) Equal(o attr.Type) bool
- func (t HeadersType) String() string
- func (t HeadersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t HeadersType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t HeadersType) ValueType(ctx context.Context) attr.Value
- type HeadersValue
- func NewHeadersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
- func NewHeadersValueKnown() HeadersValue
- func NewHeadersValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
- func NewHeadersValueKnownFromAttributesMust(ctx context.Context, attributes map[string]attr.Value) HeadersValue
- func NewHeadersValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) HeadersValue
- func NewHeadersValueNull() HeadersValue
- func NewHeadersValueUnknown() HeadersValue
- func (v HeadersValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v HeadersValue) Equal(o attr.Value) bool
- func (v HeadersValue) IsNull() bool
- func (v HeadersValue) IsUnknown() bool
- func (model *HeadersValue) ReadFromResponse(_ context.Context, _ path.Path, ...) diag.Diagnostics
- func (v HeadersValue) String() string
- func (v HeadersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v HeadersValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (model *HeadersValue) ToWebhookDefinitionHeader(_ context.Context, path path.Path, key string) (contentfulManagement.WebhookDefinitionHeader, diag.Diagnostics)
- func (v HeadersValue) Type(ctx context.Context) attr.Type
- type ItemsType
- func (t ItemsType) Equal(o attr.Type) bool
- func (t ItemsType) String() string
- func (t ItemsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t ItemsType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t ItemsType) ValueType(ctx context.Context) attr.Value
- type ItemsValue
- func NewItemsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ItemsValue, diag.Diagnostics)
- func NewItemsValueFromResponse(ctx context.Context, path path.Path, ...) (ItemsValue, diag.Diagnostics)
- func NewItemsValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) ItemsValue
- func NewItemsValueNull() ItemsValue
- func NewItemsValueUnknown() ItemsValue
- func (v ItemsValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v ItemsValue) Equal(o attr.Value) bool
- func (v ItemsValue) IsNull() bool
- func (v ItemsValue) IsUnknown() bool
- func (v ItemsValue) String() string
- func (v ItemsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *ItemsValue) ToPutContentTypeReqFieldsItemItems(ctx context.Context, path path.Path) (contentfulManagement.PutContentTypeReqFieldsItemItems, diag.Diagnostics)
- func (v ItemsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v ItemsValue) Type(ctx context.Context) attr.Type
- type PersonalAccessTokenModel
- type PoliciesType
- func (t PoliciesType) Equal(o attr.Type) bool
- func (t PoliciesType) String() string
- func (t PoliciesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t PoliciesType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t PoliciesType) ValueType(ctx context.Context) attr.Value
- type PoliciesValue
- func NewPoliciesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PoliciesValue, diag.Diagnostics)
- func NewPoliciesValueFromResponse(ctx context.Context, path path.Path, ...) (PoliciesValue, diag.Diagnostics)
- func NewPoliciesValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) PoliciesValue
- func NewPoliciesValueNull() PoliciesValue
- func NewPoliciesValueUnknown() PoliciesValue
- func (v PoliciesValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v PoliciesValue) Equal(o attr.Value) bool
- func (v PoliciesValue) IsNull() bool
- func (v PoliciesValue) IsUnknown() bool
- func (v PoliciesValue) String() string
- func (m *PoliciesValue) ToCreateRoleReqPoliciesItem(ctx context.Context, path path.Path) (contentfulManagement.CreateRoleReqPoliciesItem, diag.Diagnostics)
- func (v PoliciesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v PoliciesValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (m *PoliciesValue) ToUpdateRoleReqPoliciesItem(ctx context.Context, path path.Path) (contentfulManagement.UpdateRoleReqPoliciesItem, diag.Diagnostics)
- func (v PoliciesValue) Type(ctx context.Context) attr.Type
- type PreviewApiKeyModel
- type PrivateProviderData
- type RoleModel
- func (model *RoleModel) ReadFromResponse(ctx context.Context, role *contentfulManagement.Role) diag.Diagnostics
- func (model *RoleModel) ToCreateRoleReq(ctx context.Context) (contentfulManagement.CreateRoleReq, diag.Diagnostics)
- func (model *RoleModel) ToUpdateRoleReq(ctx context.Context) (contentfulManagement.UpdateRoleReq, diag.Diagnostics)
- type SidebarType
- func (t SidebarType) Equal(o attr.Type) bool
- func (t SidebarType) String() string
- func (t SidebarType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t SidebarType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t SidebarType) ValueType(ctx context.Context) attr.Value
- type SidebarValue
- func NewSidebarValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SidebarValue, diag.Diagnostics)
- func NewSidebarValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceSidebarItem) (SidebarValue, diag.Diagnostics)
- func NewSidebarValueKnown() SidebarValue
- func NewSidebarValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) SidebarValue
- func NewSidebarValueNull() SidebarValue
- func NewSidebarValueUnknown() SidebarValue
- func (v SidebarValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v SidebarValue) Equal(o attr.Value) bool
- func (v SidebarValue) IsNull() bool
- func (v SidebarValue) IsUnknown() bool
- func (v SidebarValue) String() string
- func (v SidebarValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (model *SidebarValue) ToPutEditorInterfaceReqSidebarItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqSidebarItem, diag.Diagnostics)
- func (v SidebarValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v SidebarValue) Type(ctx context.Context) attr.Type
- type TransformationType
- func (t TransformationType) Equal(o attr.Type) bool
- func (t TransformationType) String() string
- func (t TransformationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t TransformationType) ValueFromTerraform(ctx context.Context, in tftypes.Value) (attr.Value, error)
- func (t TransformationType) ValueType(ctx context.Context) attr.Value
- type TransformationValue
- func NewTransformationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TransformationValue, diag.Diagnostics)
- func NewTransformationValueMust(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) TransformationValue
- func NewTransformationValueNull() TransformationValue
- func NewTransformationValueUnknown() TransformationValue
- func ReadWebhookTransformationValueFromResponse(ctx context.Context, _ path.Path, ...) (TransformationValue, diag.Diagnostics)
- func (v TransformationValue) AttributeTypes(ctx context.Context) map[string]attr.Type
- func (v TransformationValue) Equal(o attr.Value) bool
- func (v TransformationValue) IsNull() bool
- func (v TransformationValue) IsUnknown() bool
- func (v TransformationValue) String() string
- func (v TransformationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v TransformationValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v TransformationValue) Type(ctx context.Context) attr.Type
- type UnexpectedTerraformTypeError
- type WebhookFilterEqualsType
- func (t WebhookFilterEqualsType) Equal(o attr.Type) bool
- func (t WebhookFilterEqualsType) String() string
- func (t WebhookFilterEqualsType) TerraformAttributeTypes(_ context.Context) map[string]tftypes.Type
- func (t WebhookFilterEqualsType) TerraformType(ctx context.Context) tftypes.Type
- func (t WebhookFilterEqualsType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t WebhookFilterEqualsType) ValueFromTerraform(ctx context.Context, value tftypes.Value) (attr.Value, error)
- func (t WebhookFilterEqualsType) ValueType(_ context.Context) attr.Value
- type WebhookFilterEqualsValue
- func NewWebhookFilterEqualsValueKnown() WebhookFilterEqualsValue
- func NewWebhookFilterEqualsValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterEqualsValue, diag.Diagnostics)
- func NewWebhookFilterEqualsValueNull() WebhookFilterEqualsValue
- func NewWebhookFilterEqualsValueUnknown() WebhookFilterEqualsValue
- func ReadWebhookFilterEqualsValueFromResponse(ctx context.Context, path path.Path, ...) (WebhookFilterEqualsValue, diag.Diagnostics)
- func (v WebhookFilterEqualsValue) CustomType(ctx context.Context) basetypes.ObjectTypable
- func (v WebhookFilterEqualsValue) Equal(o attr.Value) bool
- func (v WebhookFilterEqualsValue) IsNull() bool
- func (v WebhookFilterEqualsValue) IsUnknown() bool
- func (v WebhookFilterEqualsValue) ObjectAttrTypes(_ context.Context) map[string]attr.Type
- func (v WebhookFilterEqualsValue) ObjectType(ctx context.Context) basetypes.ObjectType
- func (v WebhookFilterEqualsValue) SchemaAttributes(_ context.Context) map[string]schema.Attribute
- func (v WebhookFilterEqualsValue) String() string
- func (v WebhookFilterEqualsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v WebhookFilterEqualsValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v WebhookFilterEqualsValue) Type(ctx context.Context) attr.Type
- type WebhookFilterInType
- func (t WebhookFilterInType) Equal(o attr.Type) bool
- func (t WebhookFilterInType) String() string
- func (t WebhookFilterInType) TerraformAttributeTypes(_ context.Context) map[string]tftypes.Type
- func (t WebhookFilterInType) TerraformType(ctx context.Context) tftypes.Type
- func (t WebhookFilterInType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t WebhookFilterInType) ValueFromTerraform(ctx context.Context, value tftypes.Value) (attr.Value, error)
- func (t WebhookFilterInType) ValueType(_ context.Context) attr.Value
- type WebhookFilterInValue
- func NewWebhookFilterInValueKnown() WebhookFilterInValue
- func NewWebhookFilterInValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterInValue, diag.Diagnostics)
- func NewWebhookFilterInValueNull() WebhookFilterInValue
- func NewWebhookFilterInValueUnknown() WebhookFilterInValue
- func ReadWebhookFilterInValueFromResponse(ctx context.Context, path path.Path, ...) (WebhookFilterInValue, diag.Diagnostics)
- func (v WebhookFilterInValue) CustomType(ctx context.Context) basetypes.ObjectTypable
- func (v WebhookFilterInValue) Equal(o attr.Value) bool
- func (v WebhookFilterInValue) IsNull() bool
- func (v WebhookFilterInValue) IsUnknown() bool
- func (v WebhookFilterInValue) ObjectAttrTypes(_ context.Context) map[string]attr.Type
- func (v WebhookFilterInValue) ObjectType(ctx context.Context) basetypes.ObjectType
- func (v WebhookFilterInValue) SchemaAttributes(_ context.Context) map[string]schema.Attribute
- func (v WebhookFilterInValue) String() string
- func (v WebhookFilterInValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v WebhookFilterInValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v WebhookFilterInValue) Type(ctx context.Context) attr.Type
- type WebhookFilterNotType
- func (t WebhookFilterNotType) Equal(o attr.Type) bool
- func (t WebhookFilterNotType) String() string
- func (t WebhookFilterNotType) TerraformAttributeTypes(ctx context.Context) map[string]tftypes.Type
- func (t WebhookFilterNotType) TerraformType(ctx context.Context) tftypes.Type
- func (t WebhookFilterNotType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t WebhookFilterNotType) ValueFromTerraform(ctx context.Context, value tftypes.Value) (attr.Value, error)
- func (t WebhookFilterNotType) ValueType(_ context.Context) attr.Value
- type WebhookFilterNotValue
- func NewWebhookFilterNotValueKnown() WebhookFilterNotValue
- func NewWebhookFilterNotValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterNotValue, diag.Diagnostics)
- func NewWebhookFilterNotValueNull() WebhookFilterNotValue
- func NewWebhookFilterNotValueUnknown() WebhookFilterNotValue
- func ReadWebhookFilterNotValueFromResponse(ctx context.Context, path path.Path, ...) (WebhookFilterNotValue, diag.Diagnostics)
- func (v WebhookFilterNotValue) CustomType(ctx context.Context) basetypes.ObjectTypable
- func (v WebhookFilterNotValue) Equal(o attr.Value) bool
- func (v WebhookFilterNotValue) IsNull() bool
- func (v WebhookFilterNotValue) IsUnknown() bool
- func (v WebhookFilterNotValue) ObjectAttrTypes(ctx context.Context) map[string]attr.Type
- func (v WebhookFilterNotValue) ObjectType(ctx context.Context) basetypes.ObjectType
- func (v WebhookFilterNotValue) SchemaAttributes(ctx context.Context) map[string]schema.Attribute
- func (v WebhookFilterNotValue) String() string
- func (v WebhookFilterNotValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v WebhookFilterNotValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v WebhookFilterNotValue) Type(ctx context.Context) attr.Type
- type WebhookFilterRegexpType
- func (t WebhookFilterRegexpType) Equal(o attr.Type) bool
- func (t WebhookFilterRegexpType) String() string
- func (t WebhookFilterRegexpType) TerraformAttributeTypes(_ context.Context) map[string]tftypes.Type
- func (t WebhookFilterRegexpType) TerraformType(ctx context.Context) tftypes.Type
- func (t WebhookFilterRegexpType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t WebhookFilterRegexpType) ValueFromTerraform(ctx context.Context, value tftypes.Value) (attr.Value, error)
- func (t WebhookFilterRegexpType) ValueType(_ context.Context) attr.Value
- type WebhookFilterRegexpValue
- func NewWebhookFilterRegexpValueKnown() WebhookFilterRegexpValue
- func NewWebhookFilterRegexpValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterRegexpValue, diag.Diagnostics)
- func NewWebhookFilterRegexpValueNull() WebhookFilterRegexpValue
- func NewWebhookFilterRegexpValueUnknown() WebhookFilterRegexpValue
- func ReadWebhookFilterRegexpValueFromResponse(ctx context.Context, path path.Path, ...) (WebhookFilterRegexpValue, diag.Diagnostics)
- func (v WebhookFilterRegexpValue) CustomType(ctx context.Context) basetypes.ObjectTypable
- func (v WebhookFilterRegexpValue) Equal(o attr.Value) bool
- func (v WebhookFilterRegexpValue) IsNull() bool
- func (v WebhookFilterRegexpValue) IsUnknown() bool
- func (v WebhookFilterRegexpValue) ObjectAttrTypes(_ context.Context) map[string]attr.Type
- func (v WebhookFilterRegexpValue) ObjectType(ctx context.Context) basetypes.ObjectType
- func (v WebhookFilterRegexpValue) SchemaAttributes(_ context.Context) map[string]schema.Attribute
- func (v WebhookFilterRegexpValue) String() string
- func (v WebhookFilterRegexpValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v WebhookFilterRegexpValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v WebhookFilterRegexpValue) Type(ctx context.Context) attr.Type
- type WebhookFilterType
- func (t WebhookFilterType) Equal(o attr.Type) bool
- func (t WebhookFilterType) String() string
- func (t WebhookFilterType) TerraformAttributeTypes(ctx context.Context) map[string]tftypes.Type
- func (t WebhookFilterType) TerraformType(ctx context.Context) tftypes.Type
- func (t WebhookFilterType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
- func (t WebhookFilterType) ValueFromTerraform(ctx context.Context, value tftypes.Value) (attr.Value, error)
- func (t WebhookFilterType) ValueType(_ context.Context) attr.Value
- type WebhookFilterValue
- func NewWebhookFilterValueKnown() WebhookFilterValue
- func NewWebhookFilterValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterValue, diag.Diagnostics)
- func NewWebhookFilterValueNull() WebhookFilterValue
- func NewWebhookFilterValueUnknown() WebhookFilterValue
- func ReadWebhookFilterValueFromResponse(ctx context.Context, path path.Path, ...) (WebhookFilterValue, diag.Diagnostics)
- func (v WebhookFilterValue) CustomType(ctx context.Context) basetypes.ObjectTypable
- func (v WebhookFilterValue) Equal(o attr.Value) bool
- func (v WebhookFilterValue) IsNull() bool
- func (v WebhookFilterValue) IsUnknown() bool
- func (v WebhookFilterValue) ObjectAttrTypes(ctx context.Context) map[string]attr.Type
- func (v WebhookFilterValue) ObjectType(ctx context.Context) basetypes.ObjectType
- func (v WebhookFilterValue) SchemaAttributes(ctx context.Context) map[string]schema.Attribute
- func (v WebhookFilterValue) String() string
- func (v WebhookFilterValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
- func (v WebhookFilterValue) ToTerraformValue(ctx context.Context) (tftypes.Value, error)
- func (v WebhookFilterValue) Type(ctx context.Context) attr.Type
- type WebhookModel
- func (model *WebhookModel) ReadFromResponse(ctx context.Context, webhookDefinition *contentfulManagement.WebhookDefinition) diag.Diagnostics
- func (model *WebhookModel) ToCreateWebhookDefinitionReq(ctx context.Context, path path.Path) (contentfulManagement.CreateWebhookDefinitionReq, diag.Diagnostics)
- func (model *WebhookModel) ToUpdateWebhookDefinitionReq(ctx context.Context, path path.Path) (contentfulManagement.UpdateWebhookDefinitionReq, diag.Diagnostics)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppInstallationResourceSchema ¶ added in v0.0.8
func AttributesFromTerraformValue ¶ added in v0.0.17
func ContentTypeResourceSchema ¶ added in v0.0.8
func ContentfulProviderSchema ¶ added in v0.0.8
func DeliveryApiKeyResourceSchema ¶ added in v0.0.10
func EditorInterfaceResourceSchema ¶ added in v0.0.8
func ErrorFromDiags ¶ added in v0.0.17
func ErrorFromDiags(diags diag.Diagnostics) error
func FieldsListToPutContentTypeReqFields ¶ added in v0.0.8
func FieldsListToPutContentTypeReqFields(ctx context.Context, path path.Path, fieldsList types.List) ([]contentfulManagement.PutContentTypeReqFieldsItem, diag.Diagnostics)
func GetPrivateProviderData ¶ added in v0.0.8
func GetPrivateProviderData[T interface{}](ctx context.Context, providerData PrivateProviderData, key string, value *T) diag.Diagnostics
func ImportStatePassthroughMultipartID ¶ added in v0.0.8
func ImportStatePassthroughMultipartID(ctx context.Context, attrPaths []path.Path, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func ItemsObjectToOptPutContentTypeReqFieldsItemItems ¶ added in v0.0.8
func ItemsObjectToOptPutContentTypeReqFieldsItemItems(ctx context.Context, path path.Path, itemsObject types.Object) (contentfulManagement.OptPutContentTypeReqFieldsItemItems, diag.Diagnostics)
func NewContentTypeResource ¶ added in v0.0.5
func NewControlsListValueFromResponse ¶ added in v0.0.8
func NewControlsListValueFromResponse(ctx context.Context, path path.Path, controlsItems []contentfulManagement.EditorInterfaceControlsItem) (types.List, diag.Diagnostics)
func NewControlsListValueNull ¶ added in v0.0.8
func NewDeliveryApiKeyResource ¶ added in v0.0.10
func NewEditorInterfaceResource ¶ added in v0.0.3
func NewEditorLayoutListValueFromResponse ¶ added in v0.0.16
func NewEditorLayoutListValueFromResponse(ctx context.Context, path path.Path, controlsItems []contentfulManagement.EditorInterfaceEditorLayoutItem) (types.List, diag.Diagnostics)
func NewEditorLayoutListValueNull ¶ added in v0.0.16
func NewEmptyListMust ¶ added in v0.0.17
func NewEmptySetMust ¶ added in v0.0.17
func NewEnvironmentIDsListValueFromEnvironmentLinks ¶ added in v0.0.10
func NewEnvironmentIDsListValueFromEnvironmentLinks(_ context.Context, _ path.Path, environmentLinks []contentfulManagement.EnvironmentLink) (types.List, diag.Diagnostics)
func NewFieldsListFromResponse ¶ added in v0.0.8
func NewFieldsListFromResponse(ctx context.Context, path path.Path, items []contentfulManagement.ContentTypeFieldsItem) (types.List, diag.Diagnostics)
func NewGroupControlsListValueFromResponse ¶ added in v0.0.16
func NewGroupControlsListValueFromResponse(ctx context.Context, path path.Path, groupControlsItems []contentfulManagement.EditorInterfaceGroupControlsItem) (types.List, diag.Diagnostics)
func NewGroupControlsListValueNull ¶ added in v0.0.16
func NewPermissionActionsListValueFromResponse ¶ added in v0.0.15
func NewPermissionActionsListValueFromResponse(ctx context.Context, path path.Path, item contentfulManagement.RolePermissionsItem) (basetypes.ListValue, diag.Diagnostics)
func NewPermissionsMapValueFromResponse ¶ added in v0.0.15
func NewPermissionsMapValueFromResponse(ctx context.Context, path path.Path, permissions contentfulManagement.RolePermissions) (basetypes.MapValue, diag.Diagnostics)
func NewPersonalAccessTokenResource ¶ added in v0.0.12
func NewPoliciesListValueFromResponse ¶ added in v0.0.15
func NewPoliciesListValueFromResponse(ctx context.Context, path path.Path, policies []contentfulManagement.RolePoliciesItem) (basetypes.ListValue, diag.Diagnostics)
func NewPolicyActionsListValueFromResponse ¶ added in v0.0.15
func NewPolicyActionsListValueFromResponse(ctx context.Context, path path.Path, actions contentfulManagement.RolePoliciesItemActions) (basetypes.ListValue, diag.Diagnostics)
func NewPreviewApiKeyDataSource ¶ added in v0.0.10
func NewPreviewApiKeyDataSource() datasource.DataSource
func NewRoleResource ¶ added in v0.0.15
func NewSidebarListValueFromResponse ¶ added in v0.0.8
func NewSidebarListValueFromResponse(ctx context.Context, path path.Path, sidebarItems []contentfulManagement.EditorInterfaceSidebarItem) (types.List, diag.Diagnostics)
func NewSidebarListValueNull ¶ added in v0.0.8
func NewValidationsListFromResponse ¶ added in v0.0.8
func NewWebhookResource ¶ added in v0.0.17
func PersonalAccessTokenResourceSchema ¶ added in v0.0.12
func PreviewApiKeyDataSourceSchema ¶ added in v0.0.10
func ReadHeadersListValueFromResponse ¶ added in v0.0.17
func ReadHeadersListValueFromResponse(ctx context.Context, path path.Path, model types.Map, headers []contentfulManagement.WebhookDefinitionHeader) (types.Map, diag.Diagnostics)
func ReadWebhookDefinitionFilterTermString ¶ added in v0.0.17
func ReadWebhookDefinitionFilterTermStringArray ¶ added in v0.0.17
func ReadWebhookDefinitionFilterTermStringObject ¶ added in v0.0.17
func ReadWebhookFiltersListValueFromResponse ¶ added in v0.0.17
func ReadWebhookFiltersListValueFromResponse(ctx context.Context, path path.Path, optNilFilters contentfulManagement.OptNilWebhookDefinitionFilterArray) (types.List, diag.Diagnostics)
func RoleResourceSchema ¶ added in v0.0.15
func SetPrivateProviderData ¶ added in v0.0.8
func SetPrivateProviderData[T interface{}](ctx context.Context, providerData PrivateProviderData, key string, value T) diag.Diagnostics
func SetProviderDataFromDataSourceConfigureRequest ¶ added in v0.0.8
func SetProviderDataFromDataSourceConfigureRequest[ProviderData interface{}](req datasource.ConfigureRequest, out *ProviderData) diag.Diagnostics
func SetProviderDataFromResourceConfigureRequest ¶ added in v0.0.8
func SetProviderDataFromResourceConfigureRequest[ProviderData interface{}](req resource.ConfigureRequest, out *ProviderData) diag.Diagnostics
func ToCreateRoleReqPermissions ¶ added in v0.0.15
func ToCreateRoleReqPermissions(ctx context.Context, path path.Path, permissions types.Map) (contentfulManagement.CreateRoleReqPermissions, diag.Diagnostics)
func ToCreateRoleReqPermissionsItem ¶ added in v0.0.15
func ToCreateRoleReqPermissionsItem(ctx context.Context, _ path.Path, value types.List) (contentfulManagement.CreateRoleReqPermissionsItem, diag.Diagnostics)
func ToCreateRoleReqPolicies ¶ added in v0.0.15
func ToCreateRoleReqPolicies(ctx context.Context, path path.Path, policies types.List) ([]contentfulManagement.CreateRoleReqPoliciesItem, diag.Diagnostics)
func ToCreateRoleReqPoliciesItemActions ¶ added in v0.0.15
func ToCreateRoleReqPoliciesItemActions(ctx context.Context, _ path.Path, actions types.List) (contentfulManagement.CreateRoleReqPoliciesItemActions, diag.Diagnostics)
func ToEnvironmentLink ¶ added in v0.0.10
func ToEnvironmentLink(_ context.Context, _ path.Path, environmentID string) (contentfulManagement.EnvironmentLink, diag.Diagnostics)
func ToEnvironmentLinks ¶ added in v0.0.10
func ToEnvironmentLinks(ctx context.Context, path path.Path, value types.List) ([]contentfulManagement.EnvironmentLink, diag.Diagnostics)
func ToOptCreateRoleReqPoliciesItemConstraint ¶ added in v0.0.15
func ToOptNilCreateWebhookDefinitionReqTransformation ¶ added in v0.0.17
func ToOptNilCreateWebhookDefinitionReqTransformation(_ context.Context, _ path.Path, value TransformationValue) (contentfulManagement.OptNilCreateWebhookDefinitionReqTransformation, diag.Diagnostics)
func ToOptNilUpdateWebhookDefinitionReqTransformation ¶ added in v0.0.17
func ToOptNilUpdateWebhookDefinitionReqTransformation(_ context.Context, _ path.Path, value TransformationValue) (contentfulManagement.OptNilUpdateWebhookDefinitionReqTransformation, diag.Diagnostics)
func ToOptNilWebhookDefinitionFilterArray ¶ added in v0.0.17
func ToOptNilWebhookDefinitionFilterArray(ctx context.Context, path path.Path, filterValuesList types.List) (contentfulManagement.OptNilWebhookDefinitionFilterArray, diag.Diagnostics)
func ToOptUpdateRoleReqPoliciesItemConstraint ¶ added in v0.0.15
func ToUpdateRoleReqPermissions ¶ added in v0.0.15
func ToUpdateRoleReqPermissions(ctx context.Context, path path.Path, permissions types.Map) (contentfulManagement.UpdateRoleReqPermissions, diag.Diagnostics)
func ToUpdateRoleReqPermissionsItem ¶ added in v0.0.15
func ToUpdateRoleReqPermissionsItem(ctx context.Context, _ path.Path, value types.List) (contentfulManagement.UpdateRoleReqPermissionsItem, diag.Diagnostics)
func ToUpdateRoleReqPolicies ¶ added in v0.0.15
func ToUpdateRoleReqPolicies(ctx context.Context, path path.Path, policies types.List) ([]contentfulManagement.UpdateRoleReqPoliciesItem, diag.Diagnostics)
func ToUpdateRoleReqPoliciesItemActions ¶ added in v0.0.15
func ToUpdateRoleReqPoliciesItemActions(ctx context.Context, _ path.Path, actions types.List) (contentfulManagement.UpdateRoleReqPoliciesItemActions, diag.Diagnostics)
func ToWebhookDefinitionFilter ¶ added in v0.0.17
func ToWebhookDefinitionFilter(ctx context.Context, path path.Path, value WebhookFilterValue) (contentfulManagement.WebhookDefinitionFilter, diag.Diagnostics)
func ToWebhookDefinitionFilterEquals ¶ added in v0.0.17
func ToWebhookDefinitionFilterEquals(ctx context.Context, path path.Path, value WebhookFilterEqualsValue) (contentfulManagement.WebhookDefinitionFilterEquals, diag.Diagnostics)
func ToWebhookDefinitionFilterIn ¶ added in v0.0.17
func ToWebhookDefinitionFilterIn(ctx context.Context, path path.Path, value WebhookFilterInValue) (contentfulManagement.WebhookDefinitionFilterIn, diag.Diagnostics)
func ToWebhookDefinitionFilterNot ¶ added in v0.0.17
func ToWebhookDefinitionFilterNot(ctx context.Context, path path.Path, value WebhookFilterNotValue) (contentfulManagement.OptWebhookDefinitionFilterNot, diag.Diagnostics)
func ToWebhookDefinitionFilterRegexp ¶ added in v0.0.17
func ToWebhookDefinitionFilterRegexp(ctx context.Context, path path.Path, value WebhookFilterRegexpValue) (contentfulManagement.WebhookDefinitionFilterRegexp, diag.Diagnostics)
func ToWebhookDefinitionHeaders ¶ added in v0.0.17
func ToWebhookDefinitionHeaders(ctx context.Context, path path.Path, model types.Map) (contentfulManagement.WebhookDefinitionHeaders, diag.Diagnostics)
func ValidationsListToPutContentTypeReqValidations ¶ added in v0.0.8
func WebhookFiltersSchema ¶ added in v0.0.17
Types ¶
type AppInstallationModel ¶ added in v0.0.8
type AppInstallationModel struct { AppDefinitionId types.String `tfsdk:"app_definition_id"` EnvironmentId types.String `tfsdk:"environment_id"` Marketplace types.Set `tfsdk:"marketplace"` Parameters jsontypes.Normalized `tfsdk:"parameters"` SpaceId types.String `tfsdk:"space_id"` }
func (*AppInstallationModel) ReadFromResponse ¶ added in v0.0.8
func (model *AppInstallationModel) ReadFromResponse(appInstallation *contentfulManagement.AppInstallation) diag.Diagnostics
func (*AppInstallationModel) ToPutAppInstallationReq ¶ added in v0.0.8
func (model *AppInstallationModel) ToPutAppInstallationReq() (contentfulManagement.PutAppInstallationReq, diag.Diagnostics)
func (*AppInstallationModel) ToXContentfulMarketplaceHeaderValue ¶ added in v0.0.9
func (model *AppInstallationModel) ToXContentfulMarketplaceHeaderValue(ctx context.Context) (contentfulManagement.OptString, diag.Diagnostics)
func (*AppInstallationModel) ToXContentfulMarketplaceHeaderValueElements ¶ added in v0.0.9
func (model *AppInstallationModel) ToXContentfulMarketplaceHeaderValueElements(ctx context.Context) ([]string, diag.Diagnostics)
type AttrTypeWithValueFromObject ¶ added in v0.0.17
type AttrTypeWithValueFromObject interface { attr.Type ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics) }
type AttrValueWithToObjectValue ¶ added in v0.0.17
type AttrValueWithToObjectValue interface { attr.Value ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics) }
type ContentTypeModel ¶ added in v0.0.8
type ContentTypeModel struct { ContentTypeId types.String `tfsdk:"content_type_id"` Description types.String `tfsdk:"description"` DisplayField types.String `tfsdk:"display_field"` EnvironmentId types.String `tfsdk:"environment_id"` Fields types.List `tfsdk:"fields"` Name types.String `tfsdk:"name"` SpaceId types.String `tfsdk:"space_id"` }
func (*ContentTypeModel) ReadFromResponse ¶ added in v0.0.8
func (m *ContentTypeModel) ReadFromResponse(ctx context.Context, contentType *contentfulManagement.ContentType) diag.Diagnostics
func (*ContentTypeModel) ToPutContentTypeReq ¶ added in v0.0.8
func (m *ContentTypeModel) ToPutContentTypeReq(ctx context.Context) (contentfulManagement.PutContentTypeReq, diag.Diagnostics)
type ContentfulContentTypeCounter ¶ added in v0.0.6
type ContentfulContentTypeCounter struct {
// contains filtered or unexported fields
}
func (*ContentfulContentTypeCounter) Get ¶ added in v0.0.6
func (c *ContentfulContentTypeCounter) Get(contentTypeID string) int
func (*ContentfulContentTypeCounter) Increment ¶ added in v0.0.6
func (c *ContentfulContentTypeCounter) Increment(contentTypeID string)
func (*ContentfulContentTypeCounter) Reset ¶ added in v0.0.6
func (c *ContentfulContentTypeCounter) Reset(contentTypeID string)
type ContentfulModel ¶ added in v0.0.8
type ContentfulProvider ¶
type ContentfulProvider struct {
// contains filtered or unexported fields
}
func (*ContentfulProvider) Configure ¶
func (p *ContentfulProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*ContentfulProvider) DataSources ¶
func (p *ContentfulProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*ContentfulProvider) Metadata ¶
func (p *ContentfulProvider) Metadata(_ context.Context, _ provider.MetadataRequest, resp *provider.MetadataResponse)
func (*ContentfulProvider) Resources ¶
func (p *ContentfulProvider) Resources(_ context.Context) []func() resource.Resource
func (*ContentfulProvider) Schema ¶
func (p *ContentfulProvider) Schema(ctx context.Context, _ provider.SchemaRequest, resp *provider.SchemaResponse)
type ContentfulProviderData ¶
type ContentfulProviderData struct {
// contains filtered or unexported fields
}
type ControlsType ¶ added in v0.0.8
type ControlsType struct {
basetypes.ObjectType
}
func (ControlsType) String ¶ added in v0.0.8
func (t ControlsType) String() string
func (ControlsType) ValueFromObject ¶ added in v0.0.8
func (t ControlsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ControlsType) ValueFromTerraform ¶ added in v0.0.8
type ControlsValue ¶ added in v0.0.8
type ControlsValue struct { FieldId basetypes.StringValue `tfsdk:"field_id"` Settings basetypes.StringValue `tfsdk:"settings"` WidgetId basetypes.StringValue `tfsdk:"widget_id"` WidgetNamespace basetypes.StringValue `tfsdk:"widget_namespace"` // contains filtered or unexported fields }
func NewControlsValue ¶ added in v0.0.8
func NewControlsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ControlsValue, diag.Diagnostics)
func NewControlsValueFromResponse ¶ added in v0.0.8
func NewControlsValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceControlsItem) (ControlsValue, diag.Diagnostics)
func NewControlsValueKnown ¶ added in v0.0.8
func NewControlsValueKnown() ControlsValue
func NewControlsValueMust ¶ added in v0.0.8
func NewControlsValueNull ¶ added in v0.0.8
func NewControlsValueNull() ControlsValue
func NewControlsValueUnknown ¶ added in v0.0.8
func NewControlsValueUnknown() ControlsValue
func (ControlsValue) AttributeTypes ¶ added in v0.0.8
func (ControlsValue) IsNull ¶ added in v0.0.8
func (v ControlsValue) IsNull() bool
func (ControlsValue) IsUnknown ¶ added in v0.0.8
func (v ControlsValue) IsUnknown() bool
func (ControlsValue) String ¶ added in v0.0.8
func (v ControlsValue) String() string
func (ControlsValue) ToObjectValue ¶ added in v0.0.8
func (v ControlsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*ControlsValue) ToPutEditorInterfaceReqControlsItem ¶ added in v0.0.8
func (model *ControlsValue) ToPutEditorInterfaceReqControlsItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqControlsItem, diag.Diagnostics)
func (ControlsValue) ToTerraformValue ¶ added in v0.0.8
type DeliveryApiKeyModel ¶ added in v0.0.10
type DeliveryApiKeyModel struct { AccessToken types.String `tfsdk:"access_token"` ApiKeyId types.String `tfsdk:"api_key_id"` Description types.String `tfsdk:"description"` Environments types.List `tfsdk:"environments"` Name types.String `tfsdk:"name"` PreviewApiKeyId types.String `tfsdk:"preview_api_key_id"` SpaceId types.String `tfsdk:"space_id"` }
func (*DeliveryApiKeyModel) ReadFromResponse ¶ added in v0.0.10
func (model *DeliveryApiKeyModel) ReadFromResponse(ctx context.Context, apiKey *contentfulManagement.ApiKey) diag.Diagnostics
func (*DeliveryApiKeyModel) ToCreateDeliveryAPIKeyReq ¶ added in v0.0.12
func (model *DeliveryApiKeyModel) ToCreateDeliveryAPIKeyReq(ctx context.Context) (contentfulManagement.CreateDeliveryApiKeyReq, diag.Diagnostics)
func (*DeliveryApiKeyModel) ToUpdateDeliveryAPIKeyReq ¶ added in v0.0.12
func (model *DeliveryApiKeyModel) ToUpdateDeliveryAPIKeyReq(ctx context.Context) (contentfulManagement.UpdateDeliveryApiKeyReq, diag.Diagnostics)
type EditorInterfaceModel ¶ added in v0.0.8
type EditorInterfaceModel struct { ContentTypeId types.String `tfsdk:"content_type_id"` Controls types.List `tfsdk:"controls"` EditorLayout types.List `tfsdk:"editor_layout"` EnvironmentId types.String `tfsdk:"environment_id"` GroupControls types.List `tfsdk:"group_controls"` Sidebar types.List `tfsdk:"sidebar"` SpaceId types.String `tfsdk:"space_id"` }
func (*EditorInterfaceModel) ReadFromResponse ¶ added in v0.0.8
func (model *EditorInterfaceModel) ReadFromResponse(ctx context.Context, editorInterface *contentfulManagement.EditorInterface) diag.Diagnostics
func (*EditorInterfaceModel) ToPutEditorInterfaceReq ¶ added in v0.0.8
func (model *EditorInterfaceModel) ToPutEditorInterfaceReq(ctx context.Context) (contentfulManagement.PutEditorInterfaceReq, diag.Diagnostics)
type EditorLayoutType ¶ added in v0.0.16
type EditorLayoutType struct {
basetypes.ObjectType
}
func (EditorLayoutType) String ¶ added in v0.0.16
func (t EditorLayoutType) String() string
func (EditorLayoutType) ValueFromObject ¶ added in v0.0.16
func (t EditorLayoutType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (EditorLayoutType) ValueFromTerraform ¶ added in v0.0.16
type EditorLayoutValue ¶ added in v0.0.16
type EditorLayoutValue struct { GroupId basetypes.StringValue `tfsdk:"group_id"` Items basetypes.ListValue `tfsdk:"items"` Name basetypes.StringValue `tfsdk:"name"` // contains filtered or unexported fields }
func NewEditorLayoutValue ¶ added in v0.0.16
func NewEditorLayoutValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (EditorLayoutValue, diag.Diagnostics)
func NewEditorLayoutValueFromResponse ¶ added in v0.0.16
func NewEditorLayoutValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceEditorLayoutItem) (EditorLayoutValue, diag.Diagnostics)
func NewEditorLayoutValueKnown ¶ added in v0.0.16
func NewEditorLayoutValueKnown() EditorLayoutValue
func NewEditorLayoutValueMust ¶ added in v0.0.16
func NewEditorLayoutValueNull ¶ added in v0.0.16
func NewEditorLayoutValueNull() EditorLayoutValue
func NewEditorLayoutValueUnknown ¶ added in v0.0.16
func NewEditorLayoutValueUnknown() EditorLayoutValue
func (EditorLayoutValue) AttributeTypes ¶ added in v0.0.16
func (EditorLayoutValue) Equal ¶ added in v0.0.16
func (v EditorLayoutValue) Equal(o attr.Value) bool
func (EditorLayoutValue) IsNull ¶ added in v0.0.16
func (v EditorLayoutValue) IsNull() bool
func (EditorLayoutValue) IsUnknown ¶ added in v0.0.16
func (v EditorLayoutValue) IsUnknown() bool
func (EditorLayoutValue) String ¶ added in v0.0.16
func (v EditorLayoutValue) String() string
func (EditorLayoutValue) ToObjectValue ¶ added in v0.0.16
func (v EditorLayoutValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*EditorLayoutValue) ToPutEditorInterfaceReqEditorLayoutItem ¶ added in v0.0.16
func (model *EditorLayoutValue) ToPutEditorInterfaceReqEditorLayoutItem(ctx context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqEditorLayoutItem, diag.Diagnostics)
func (EditorLayoutValue) ToTerraformValue ¶ added in v0.0.16
type FieldsType ¶ added in v0.0.8
type FieldsType struct {
basetypes.ObjectType
}
func (FieldsType) String ¶ added in v0.0.8
func (t FieldsType) String() string
func (FieldsType) ValueFromObject ¶ added in v0.0.8
func (t FieldsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (FieldsType) ValueFromTerraform ¶ added in v0.0.8
type FieldsValue ¶ added in v0.0.8
type FieldsValue struct { DefaultValue basetypes.StringValue `tfsdk:"default_value"` Disabled basetypes.BoolValue `tfsdk:"disabled"` Id basetypes.StringValue `tfsdk:"id"` Items basetypes.ObjectValue `tfsdk:"items"` LinkType basetypes.StringValue `tfsdk:"link_type"` Localized basetypes.BoolValue `tfsdk:"localized"` Name basetypes.StringValue `tfsdk:"name"` Omitted basetypes.BoolValue `tfsdk:"omitted"` Required basetypes.BoolValue `tfsdk:"required"` FieldsType basetypes.StringValue `tfsdk:"type"` Validations basetypes.ListValue `tfsdk:"validations"` // contains filtered or unexported fields }
func NewFieldsValue ¶ added in v0.0.8
func NewFieldsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (FieldsValue, diag.Diagnostics)
func NewFieldsValueFromResponse ¶ added in v0.0.8
func NewFieldsValueFromResponse(ctx context.Context, path path.Path, item contentfulManagement.ContentTypeFieldsItem) (FieldsValue, diag.Diagnostics)
func NewFieldsValueMust ¶ added in v0.0.8
func NewFieldsValueNull ¶ added in v0.0.8
func NewFieldsValueNull() FieldsValue
func NewFieldsValueUnknown ¶ added in v0.0.8
func NewFieldsValueUnknown() FieldsValue
func (FieldsValue) AttributeTypes ¶ added in v0.0.8
func (FieldsValue) IsNull ¶ added in v0.0.8
func (v FieldsValue) IsNull() bool
func (FieldsValue) IsUnknown ¶ added in v0.0.8
func (v FieldsValue) IsUnknown() bool
func (FieldsValue) String ¶ added in v0.0.8
func (v FieldsValue) String() string
func (FieldsValue) ToObjectValue ¶ added in v0.0.8
func (v FieldsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*FieldsValue) ToPutContentTypeReqFieldsItem ¶ added in v0.0.8
func (model *FieldsValue) ToPutContentTypeReqFieldsItem(ctx context.Context, path path.Path) (contentfulManagement.PutContentTypeReqFieldsItem, diag.Diagnostics)
func (FieldsValue) ToTerraformValue ¶ added in v0.0.8
type GroupControlsType ¶ added in v0.0.16
type GroupControlsType struct {
basetypes.ObjectType
}
func (GroupControlsType) Equal ¶ added in v0.0.16
func (t GroupControlsType) Equal(o attr.Type) bool
func (GroupControlsType) String ¶ added in v0.0.16
func (t GroupControlsType) String() string
func (GroupControlsType) ValueFromObject ¶ added in v0.0.16
func (t GroupControlsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (GroupControlsType) ValueFromTerraform ¶ added in v0.0.16
type GroupControlsValue ¶ added in v0.0.16
type GroupControlsValue struct { GroupId basetypes.StringValue `tfsdk:"group_id"` Settings basetypes.StringValue `tfsdk:"settings"` WidgetId basetypes.StringValue `tfsdk:"widget_id"` WidgetNamespace basetypes.StringValue `tfsdk:"widget_namespace"` // contains filtered or unexported fields }
func NewGroupControlsValue ¶ added in v0.0.16
func NewGroupControlsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (GroupControlsValue, diag.Diagnostics)
func NewGroupControlsValueFromResponse ¶ added in v0.0.16
func NewGroupControlsValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceGroupControlsItem) (GroupControlsValue, diag.Diagnostics)
func NewGroupControlsValueKnown ¶ added in v0.0.16
func NewGroupControlsValueKnown() GroupControlsValue
func NewGroupControlsValueMust ¶ added in v0.0.16
func NewGroupControlsValueNull ¶ added in v0.0.16
func NewGroupControlsValueNull() GroupControlsValue
func NewGroupControlsValueUnknown ¶ added in v0.0.16
func NewGroupControlsValueUnknown() GroupControlsValue
func (GroupControlsValue) AttributeTypes ¶ added in v0.0.16
func (GroupControlsValue) Equal ¶ added in v0.0.16
func (v GroupControlsValue) Equal(o attr.Value) bool
func (GroupControlsValue) IsNull ¶ added in v0.0.16
func (v GroupControlsValue) IsNull() bool
func (GroupControlsValue) IsUnknown ¶ added in v0.0.16
func (v GroupControlsValue) IsUnknown() bool
func (GroupControlsValue) String ¶ added in v0.0.16
func (v GroupControlsValue) String() string
func (GroupControlsValue) ToObjectValue ¶ added in v0.0.16
func (v GroupControlsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*GroupControlsValue) ToPutEditorInterfaceReqGroupControlsItem ¶ added in v0.0.16
func (model *GroupControlsValue) ToPutEditorInterfaceReqGroupControlsItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqGroupControlsItem, diag.Diagnostics)
func (GroupControlsValue) ToTerraformValue ¶ added in v0.0.16
type HeadersType ¶ added in v0.0.17
type HeadersType struct {
basetypes.ObjectType
}
func (HeadersType) String ¶ added in v0.0.17
func (t HeadersType) String() string
func (HeadersType) ValueFromObject ¶ added in v0.0.17
func (t HeadersType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (HeadersType) ValueFromTerraform ¶ added in v0.0.17
type HeadersValue ¶ added in v0.0.17
type HeadersValue struct { Secret basetypes.BoolValue `tfsdk:"secret"` Value basetypes.StringValue `tfsdk:"value"` // contains filtered or unexported fields }
func NewHeadersValue ¶ added in v0.0.17
func NewHeadersValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
func NewHeadersValueKnown ¶ added in v0.0.17
func NewHeadersValueKnown() HeadersValue
func NewHeadersValueKnownFromAttributes ¶ added in v0.0.17
func NewHeadersValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (HeadersValue, diag.Diagnostics)
func NewHeadersValueKnownFromAttributesMust ¶ added in v0.0.17
func NewHeadersValueMust ¶ added in v0.0.17
func NewHeadersValueNull ¶ added in v0.0.17
func NewHeadersValueNull() HeadersValue
func NewHeadersValueUnknown ¶ added in v0.0.17
func NewHeadersValueUnknown() HeadersValue
func (HeadersValue) AttributeTypes ¶ added in v0.0.17
func (HeadersValue) IsNull ¶ added in v0.0.17
func (v HeadersValue) IsNull() bool
func (HeadersValue) IsUnknown ¶ added in v0.0.17
func (v HeadersValue) IsUnknown() bool
func (*HeadersValue) ReadFromResponse ¶ added in v0.0.17
func (model *HeadersValue) ReadFromResponse(_ context.Context, _ path.Path, header contentfulManagement.WebhookDefinitionHeader) diag.Diagnostics
func (HeadersValue) String ¶ added in v0.0.17
func (v HeadersValue) String() string
func (HeadersValue) ToObjectValue ¶ added in v0.0.17
func (v HeadersValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (HeadersValue) ToTerraformValue ¶ added in v0.0.17
func (*HeadersValue) ToWebhookDefinitionHeader ¶ added in v0.0.17
func (model *HeadersValue) ToWebhookDefinitionHeader(_ context.Context, path path.Path, key string) (contentfulManagement.WebhookDefinitionHeader, diag.Diagnostics)
type ItemsType ¶ added in v0.0.8
type ItemsType struct {
basetypes.ObjectType
}
func (ItemsType) ValueFromObject ¶ added in v0.0.8
func (t ItemsType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (ItemsType) ValueFromTerraform ¶ added in v0.0.8
type ItemsValue ¶ added in v0.0.8
type ItemsValue struct { LinkType basetypes.StringValue `tfsdk:"link_type"` ItemsType basetypes.StringValue `tfsdk:"type"` Validations basetypes.ListValue `tfsdk:"validations"` // contains filtered or unexported fields }
func NewItemsValue ¶ added in v0.0.8
func NewItemsValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (ItemsValue, diag.Diagnostics)
func NewItemsValueFromResponse ¶ added in v0.0.8
func NewItemsValueFromResponse(ctx context.Context, path path.Path, item contentfulManagement.OptContentTypeFieldsItemItems) (ItemsValue, diag.Diagnostics)
func NewItemsValueMust ¶ added in v0.0.8
func NewItemsValueNull ¶ added in v0.0.8
func NewItemsValueNull() ItemsValue
func NewItemsValueUnknown ¶ added in v0.0.8
func NewItemsValueUnknown() ItemsValue
func (ItemsValue) AttributeTypes ¶ added in v0.0.8
func (ItemsValue) IsNull ¶ added in v0.0.8
func (v ItemsValue) IsNull() bool
func (ItemsValue) IsUnknown ¶ added in v0.0.8
func (v ItemsValue) IsUnknown() bool
func (ItemsValue) String ¶ added in v0.0.8
func (v ItemsValue) String() string
func (ItemsValue) ToObjectValue ¶ added in v0.0.8
func (v ItemsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*ItemsValue) ToPutContentTypeReqFieldsItemItems ¶ added in v0.0.8
func (model *ItemsValue) ToPutContentTypeReqFieldsItemItems(ctx context.Context, path path.Path) (contentfulManagement.PutContentTypeReqFieldsItemItems, diag.Diagnostics)
func (ItemsValue) ToTerraformValue ¶ added in v0.0.8
type PersonalAccessTokenModel ¶ added in v0.0.12
type PersonalAccessTokenModel struct { ExpiresAt timetypes.RFC3339 `tfsdk:"expires_at"` ExpiresIn types.Int64 `tfsdk:"expires_in"` Id types.String `tfsdk:"id"` Name types.String `tfsdk:"name"` RevokedAt timetypes.RFC3339 `tfsdk:"revoked_at"` Scopes types.List `tfsdk:"scopes"` Token types.String `tfsdk:"token"` }
func (*PersonalAccessTokenModel) ReadFromResponse ¶ added in v0.0.12
func (model *PersonalAccessTokenModel) ReadFromResponse(ctx context.Context, personalAccessToken *contentfulManagement.PersonalAccessToken) diag.Diagnostics
func (*PersonalAccessTokenModel) ToCreatePersonalAccessTokenReq ¶ added in v0.0.12
func (model *PersonalAccessTokenModel) ToCreatePersonalAccessTokenReq(ctx context.Context) (contentfulManagement.CreatePersonalAccessTokenReq, diag.Diagnostics)
type PoliciesType ¶ added in v0.0.15
type PoliciesType struct {
basetypes.ObjectType
}
func (PoliciesType) String ¶ added in v0.0.15
func (t PoliciesType) String() string
func (PoliciesType) ValueFromObject ¶ added in v0.0.15
func (t PoliciesType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (PoliciesType) ValueFromTerraform ¶ added in v0.0.15
type PoliciesValue ¶ added in v0.0.15
type PoliciesValue struct { Actions basetypes.ListValue `tfsdk:"actions"` Constraint basetypes.StringValue `tfsdk:"constraint"` Effect basetypes.StringValue `tfsdk:"effect"` // contains filtered or unexported fields }
func NewPoliciesValue ¶ added in v0.0.15
func NewPoliciesValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (PoliciesValue, diag.Diagnostics)
func NewPoliciesValueFromResponse ¶ added in v0.0.15
func NewPoliciesValueFromResponse(ctx context.Context, path path.Path, item contentfulManagement.RolePoliciesItem) (PoliciesValue, diag.Diagnostics)
func NewPoliciesValueMust ¶ added in v0.0.15
func NewPoliciesValueNull ¶ added in v0.0.15
func NewPoliciesValueNull() PoliciesValue
func NewPoliciesValueUnknown ¶ added in v0.0.15
func NewPoliciesValueUnknown() PoliciesValue
func (PoliciesValue) AttributeTypes ¶ added in v0.0.15
func (PoliciesValue) IsNull ¶ added in v0.0.15
func (v PoliciesValue) IsNull() bool
func (PoliciesValue) IsUnknown ¶ added in v0.0.15
func (v PoliciesValue) IsUnknown() bool
func (PoliciesValue) String ¶ added in v0.0.15
func (v PoliciesValue) String() string
func (*PoliciesValue) ToCreateRoleReqPoliciesItem ¶ added in v0.0.15
func (m *PoliciesValue) ToCreateRoleReqPoliciesItem(ctx context.Context, path path.Path) (contentfulManagement.CreateRoleReqPoliciesItem, diag.Diagnostics)
func (PoliciesValue) ToObjectValue ¶ added in v0.0.15
func (v PoliciesValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (PoliciesValue) ToTerraformValue ¶ added in v0.0.15
func (*PoliciesValue) ToUpdateRoleReqPoliciesItem ¶ added in v0.0.15
func (m *PoliciesValue) ToUpdateRoleReqPoliciesItem(ctx context.Context, path path.Path) (contentfulManagement.UpdateRoleReqPoliciesItem, diag.Diagnostics)
type PreviewApiKeyModel ¶ added in v0.0.10
type PreviewApiKeyModel struct { AccessToken types.String `tfsdk:"access_token"` Description types.String `tfsdk:"description"` Environments types.List `tfsdk:"environments"` Name types.String `tfsdk:"name"` PreviewApiKeyId types.String `tfsdk:"preview_api_key_id"` SpaceId types.String `tfsdk:"space_id"` }
func (*PreviewApiKeyModel) ReadFromResponse ¶ added in v0.0.10
func (model *PreviewApiKeyModel) ReadFromResponse(ctx context.Context, previewAPIKey *contentfulManagement.PreviewApiKey) diag.Diagnostics
type PrivateProviderData ¶ added in v0.0.8
type RoleModel ¶ added in v0.0.15
type RoleModel struct { Description types.String `tfsdk:"description"` Name types.String `tfsdk:"name"` Permissions types.Map `tfsdk:"permissions"` Policies types.List `tfsdk:"policies"` RoleId types.String `tfsdk:"role_id"` SpaceId types.String `tfsdk:"space_id"` }
func (*RoleModel) ReadFromResponse ¶ added in v0.0.15
func (model *RoleModel) ReadFromResponse(ctx context.Context, role *contentfulManagement.Role) diag.Diagnostics
func (*RoleModel) ToCreateRoleReq ¶ added in v0.0.15
func (model *RoleModel) ToCreateRoleReq(ctx context.Context) (contentfulManagement.CreateRoleReq, diag.Diagnostics)
func (*RoleModel) ToUpdateRoleReq ¶ added in v0.0.15
func (model *RoleModel) ToUpdateRoleReq(ctx context.Context) (contentfulManagement.UpdateRoleReq, diag.Diagnostics)
type SidebarType ¶ added in v0.0.8
type SidebarType struct {
basetypes.ObjectType
}
func (SidebarType) String ¶ added in v0.0.8
func (t SidebarType) String() string
func (SidebarType) ValueFromObject ¶ added in v0.0.8
func (t SidebarType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (SidebarType) ValueFromTerraform ¶ added in v0.0.8
type SidebarValue ¶ added in v0.0.8
type SidebarValue struct { Disabled basetypes.BoolValue `tfsdk:"disabled"` Settings basetypes.StringValue `tfsdk:"settings"` WidgetId basetypes.StringValue `tfsdk:"widget_id"` WidgetNamespace basetypes.StringValue `tfsdk:"widget_namespace"` // contains filtered or unexported fields }
func NewSidebarValue ¶ added in v0.0.8
func NewSidebarValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (SidebarValue, diag.Diagnostics)
func NewSidebarValueFromResponse ¶ added in v0.0.8
func NewSidebarValueFromResponse(path path.Path, item contentfulManagement.EditorInterfaceSidebarItem) (SidebarValue, diag.Diagnostics)
func NewSidebarValueKnown ¶ added in v0.0.8
func NewSidebarValueKnown() SidebarValue
func NewSidebarValueMust ¶ added in v0.0.8
func NewSidebarValueNull ¶ added in v0.0.8
func NewSidebarValueNull() SidebarValue
func NewSidebarValueUnknown ¶ added in v0.0.8
func NewSidebarValueUnknown() SidebarValue
func (SidebarValue) AttributeTypes ¶ added in v0.0.8
func (SidebarValue) IsNull ¶ added in v0.0.8
func (v SidebarValue) IsNull() bool
func (SidebarValue) IsUnknown ¶ added in v0.0.8
func (v SidebarValue) IsUnknown() bool
func (SidebarValue) String ¶ added in v0.0.8
func (v SidebarValue) String() string
func (SidebarValue) ToObjectValue ¶ added in v0.0.8
func (v SidebarValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (*SidebarValue) ToPutEditorInterfaceReqSidebarItem ¶ added in v0.0.8
func (model *SidebarValue) ToPutEditorInterfaceReqSidebarItem(_ context.Context, _ path.Path) (contentfulManagement.PutEditorInterfaceReqSidebarItem, diag.Diagnostics)
func (SidebarValue) ToTerraformValue ¶ added in v0.0.8
type TransformationType ¶ added in v0.0.17
type TransformationType struct {
basetypes.ObjectType
}
func (TransformationType) Equal ¶ added in v0.0.17
func (t TransformationType) Equal(o attr.Type) bool
func (TransformationType) String ¶ added in v0.0.17
func (t TransformationType) String() string
func (TransformationType) ValueFromObject ¶ added in v0.0.17
func (t TransformationType) ValueFromObject(ctx context.Context, in basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (TransformationType) ValueFromTerraform ¶ added in v0.0.17
type TransformationValue ¶ added in v0.0.17
type TransformationValue struct { Body basetypes.StringValue `tfsdk:"body"` ContentType basetypes.StringValue `tfsdk:"content_type"` IncludeContentLength basetypes.BoolValue `tfsdk:"include_content_length"` Method basetypes.StringValue `tfsdk:"method"` // contains filtered or unexported fields }
func NewTransformationValue ¶ added in v0.0.17
func NewTransformationValue(attributeTypes map[string]attr.Type, attributes map[string]attr.Value) (TransformationValue, diag.Diagnostics)
func NewTransformationValueMust ¶ added in v0.0.17
func NewTransformationValueNull ¶ added in v0.0.17
func NewTransformationValueNull() TransformationValue
func NewTransformationValueUnknown ¶ added in v0.0.17
func NewTransformationValueUnknown() TransformationValue
func ReadWebhookTransformationValueFromResponse ¶ added in v0.0.17
func ReadWebhookTransformationValueFromResponse(ctx context.Context, _ path.Path, optNilTransformation contentfulManagement.OptNilWebhookDefinitionTransformation) (TransformationValue, diag.Diagnostics)
func (TransformationValue) AttributeTypes ¶ added in v0.0.17
func (TransformationValue) Equal ¶ added in v0.0.17
func (v TransformationValue) Equal(o attr.Value) bool
func (TransformationValue) IsNull ¶ added in v0.0.17
func (v TransformationValue) IsNull() bool
func (TransformationValue) IsUnknown ¶ added in v0.0.17
func (v TransformationValue) IsUnknown() bool
func (TransformationValue) String ¶ added in v0.0.17
func (v TransformationValue) String() string
func (TransformationValue) ToObjectValue ¶ added in v0.0.17
func (v TransformationValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (TransformationValue) ToTerraformValue ¶ added in v0.0.17
type UnexpectedTerraformTypeError ¶ added in v0.0.17
func (UnexpectedTerraformTypeError) Error ¶ added in v0.0.17
func (e UnexpectedTerraformTypeError) Error() string
type WebhookFilterEqualsType ¶ added in v0.0.17
type WebhookFilterEqualsType struct {
basetypes.ObjectType
}
func (WebhookFilterEqualsType) Equal ¶ added in v0.0.17
func (t WebhookFilterEqualsType) Equal(o attr.Type) bool
func (WebhookFilterEqualsType) String ¶ added in v0.0.17
func (t WebhookFilterEqualsType) String() string
func (WebhookFilterEqualsType) TerraformAttributeTypes ¶ added in v0.0.17
func (WebhookFilterEqualsType) TerraformType ¶ added in v0.0.17
func (t WebhookFilterEqualsType) TerraformType(ctx context.Context) tftypes.Type
func (WebhookFilterEqualsType) ValueFromObject ¶ added in v0.0.17
func (t WebhookFilterEqualsType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (WebhookFilterEqualsType) ValueFromTerraform ¶ added in v0.0.17
type WebhookFilterEqualsValue ¶ added in v0.0.17
type WebhookFilterEqualsValue struct { Doc basetypes.StringValue `tfsdk:"doc"` Value basetypes.StringValue `tfsdk:"value"` // contains filtered or unexported fields }
func NewWebhookFilterEqualsValueKnown ¶ added in v0.0.17
func NewWebhookFilterEqualsValueKnown() WebhookFilterEqualsValue
func NewWebhookFilterEqualsValueKnownFromAttributes ¶ added in v0.0.17
func NewWebhookFilterEqualsValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterEqualsValue, diag.Diagnostics)
func NewWebhookFilterEqualsValueNull ¶ added in v0.0.17
func NewWebhookFilterEqualsValueNull() WebhookFilterEqualsValue
func NewWebhookFilterEqualsValueUnknown ¶ added in v0.0.17
func NewWebhookFilterEqualsValueUnknown() WebhookFilterEqualsValue
func ReadWebhookFilterEqualsValueFromResponse ¶ added in v0.0.17
func ReadWebhookFilterEqualsValueFromResponse(ctx context.Context, path path.Path, input contentfulManagement.WebhookDefinitionFilterEquals) (WebhookFilterEqualsValue, diag.Diagnostics)
func (WebhookFilterEqualsValue) CustomType ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) CustomType(ctx context.Context) basetypes.ObjectTypable
func (WebhookFilterEqualsValue) Equal ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) Equal(o attr.Value) bool
func (WebhookFilterEqualsValue) IsNull ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) IsNull() bool
func (WebhookFilterEqualsValue) IsUnknown ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) IsUnknown() bool
func (WebhookFilterEqualsValue) ObjectAttrTypes ¶ added in v0.0.17
func (WebhookFilterEqualsValue) ObjectType ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) ObjectType(ctx context.Context) basetypes.ObjectType
func (WebhookFilterEqualsValue) SchemaAttributes ¶ added in v0.0.17
func (WebhookFilterEqualsValue) String ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) String() string
func (WebhookFilterEqualsValue) ToObjectValue ¶ added in v0.0.17
func (v WebhookFilterEqualsValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (WebhookFilterEqualsValue) ToTerraformValue ¶ added in v0.0.17
type WebhookFilterInType ¶ added in v0.0.17
type WebhookFilterInType struct {
basetypes.ObjectType
}
func (WebhookFilterInType) Equal ¶ added in v0.0.17
func (t WebhookFilterInType) Equal(o attr.Type) bool
func (WebhookFilterInType) String ¶ added in v0.0.17
func (t WebhookFilterInType) String() string
func (WebhookFilterInType) TerraformAttributeTypes ¶ added in v0.0.17
func (WebhookFilterInType) TerraformType ¶ added in v0.0.17
func (t WebhookFilterInType) TerraformType(ctx context.Context) tftypes.Type
func (WebhookFilterInType) ValueFromObject ¶ added in v0.0.17
func (t WebhookFilterInType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (WebhookFilterInType) ValueFromTerraform ¶ added in v0.0.17
type WebhookFilterInValue ¶ added in v0.0.17
type WebhookFilterInValue struct { Doc types.String `tfsdk:"doc"` Values types.List `tfsdk:"values"` // contains filtered or unexported fields }
func NewWebhookFilterInValueKnown ¶ added in v0.0.17
func NewWebhookFilterInValueKnown() WebhookFilterInValue
func NewWebhookFilterInValueKnownFromAttributes ¶ added in v0.0.17
func NewWebhookFilterInValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterInValue, diag.Diagnostics)
func NewWebhookFilterInValueNull ¶ added in v0.0.17
func NewWebhookFilterInValueNull() WebhookFilterInValue
func NewWebhookFilterInValueUnknown ¶ added in v0.0.17
func NewWebhookFilterInValueUnknown() WebhookFilterInValue
func ReadWebhookFilterInValueFromResponse ¶ added in v0.0.17
func ReadWebhookFilterInValueFromResponse(ctx context.Context, path path.Path, input contentfulManagement.WebhookDefinitionFilterIn) (WebhookFilterInValue, diag.Diagnostics)
func (WebhookFilterInValue) CustomType ¶ added in v0.0.17
func (v WebhookFilterInValue) CustomType(ctx context.Context) basetypes.ObjectTypable
func (WebhookFilterInValue) Equal ¶ added in v0.0.17
func (v WebhookFilterInValue) Equal(o attr.Value) bool
func (WebhookFilterInValue) IsNull ¶ added in v0.0.17
func (v WebhookFilterInValue) IsNull() bool
func (WebhookFilterInValue) IsUnknown ¶ added in v0.0.17
func (v WebhookFilterInValue) IsUnknown() bool
func (WebhookFilterInValue) ObjectAttrTypes ¶ added in v0.0.17
func (WebhookFilterInValue) ObjectType ¶ added in v0.0.17
func (v WebhookFilterInValue) ObjectType(ctx context.Context) basetypes.ObjectType
func (WebhookFilterInValue) SchemaAttributes ¶ added in v0.0.17
func (WebhookFilterInValue) String ¶ added in v0.0.17
func (v WebhookFilterInValue) String() string
func (WebhookFilterInValue) ToObjectValue ¶ added in v0.0.17
func (v WebhookFilterInValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (WebhookFilterInValue) ToTerraformValue ¶ added in v0.0.17
type WebhookFilterNotType ¶ added in v0.0.17
type WebhookFilterNotType struct {
basetypes.ObjectType
}
func (WebhookFilterNotType) Equal ¶ added in v0.0.17
func (t WebhookFilterNotType) Equal(o attr.Type) bool
func (WebhookFilterNotType) String ¶ added in v0.0.17
func (t WebhookFilterNotType) String() string
func (WebhookFilterNotType) TerraformAttributeTypes ¶ added in v0.0.17
func (WebhookFilterNotType) TerraformType ¶ added in v0.0.17
func (t WebhookFilterNotType) TerraformType(ctx context.Context) tftypes.Type
func (WebhookFilterNotType) ValueFromObject ¶ added in v0.0.17
func (t WebhookFilterNotType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (WebhookFilterNotType) ValueFromTerraform ¶ added in v0.0.17
type WebhookFilterNotValue ¶ added in v0.0.17
type WebhookFilterNotValue struct { Equals WebhookFilterEqualsValue `tfsdk:"equals"` In WebhookFilterInValue `tfsdk:"in"` Regexp WebhookFilterRegexpValue `tfsdk:"regexp"` // contains filtered or unexported fields }
func NewWebhookFilterNotValueKnown ¶ added in v0.0.17
func NewWebhookFilterNotValueKnown() WebhookFilterNotValue
func NewWebhookFilterNotValueKnownFromAttributes ¶ added in v0.0.17
func NewWebhookFilterNotValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterNotValue, diag.Diagnostics)
func NewWebhookFilterNotValueNull ¶ added in v0.0.17
func NewWebhookFilterNotValueNull() WebhookFilterNotValue
func NewWebhookFilterNotValueUnknown ¶ added in v0.0.17
func NewWebhookFilterNotValueUnknown() WebhookFilterNotValue
func ReadWebhookFilterNotValueFromResponse ¶ added in v0.0.17
func ReadWebhookFilterNotValueFromResponse(ctx context.Context, path path.Path, input contentfulManagement.WebhookDefinitionFilterNot) (WebhookFilterNotValue, diag.Diagnostics)
func (WebhookFilterNotValue) CustomType ¶ added in v0.0.17
func (v WebhookFilterNotValue) CustomType(ctx context.Context) basetypes.ObjectTypable
func (WebhookFilterNotValue) Equal ¶ added in v0.0.17
func (v WebhookFilterNotValue) Equal(o attr.Value) bool
func (WebhookFilterNotValue) IsNull ¶ added in v0.0.17
func (v WebhookFilterNotValue) IsNull() bool
func (WebhookFilterNotValue) IsUnknown ¶ added in v0.0.17
func (v WebhookFilterNotValue) IsUnknown() bool
func (WebhookFilterNotValue) ObjectAttrTypes ¶ added in v0.0.17
func (WebhookFilterNotValue) ObjectType ¶ added in v0.0.17
func (v WebhookFilterNotValue) ObjectType(ctx context.Context) basetypes.ObjectType
func (WebhookFilterNotValue) SchemaAttributes ¶ added in v0.0.17
func (WebhookFilterNotValue) String ¶ added in v0.0.17
func (v WebhookFilterNotValue) String() string
func (WebhookFilterNotValue) ToObjectValue ¶ added in v0.0.17
func (v WebhookFilterNotValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (WebhookFilterNotValue) ToTerraformValue ¶ added in v0.0.17
type WebhookFilterRegexpType ¶ added in v0.0.17
type WebhookFilterRegexpType struct {
basetypes.ObjectType
}
func (WebhookFilterRegexpType) Equal ¶ added in v0.0.17
func (t WebhookFilterRegexpType) Equal(o attr.Type) bool
func (WebhookFilterRegexpType) String ¶ added in v0.0.17
func (t WebhookFilterRegexpType) String() string
func (WebhookFilterRegexpType) TerraformAttributeTypes ¶ added in v0.0.17
func (WebhookFilterRegexpType) TerraformType ¶ added in v0.0.17
func (t WebhookFilterRegexpType) TerraformType(ctx context.Context) tftypes.Type
func (WebhookFilterRegexpType) ValueFromObject ¶ added in v0.0.17
func (t WebhookFilterRegexpType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (WebhookFilterRegexpType) ValueFromTerraform ¶ added in v0.0.17
type WebhookFilterRegexpValue ¶ added in v0.0.17
type WebhookFilterRegexpValue struct { Doc basetypes.StringValue `tfsdk:"doc"` Pattern basetypes.StringValue `tfsdk:"pattern"` // contains filtered or unexported fields }
func NewWebhookFilterRegexpValueKnown ¶ added in v0.0.17
func NewWebhookFilterRegexpValueKnown() WebhookFilterRegexpValue
func NewWebhookFilterRegexpValueKnownFromAttributes ¶ added in v0.0.17
func NewWebhookFilterRegexpValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterRegexpValue, diag.Diagnostics)
func NewWebhookFilterRegexpValueNull ¶ added in v0.0.17
func NewWebhookFilterRegexpValueNull() WebhookFilterRegexpValue
func NewWebhookFilterRegexpValueUnknown ¶ added in v0.0.17
func NewWebhookFilterRegexpValueUnknown() WebhookFilterRegexpValue
func ReadWebhookFilterRegexpValueFromResponse ¶ added in v0.0.17
func ReadWebhookFilterRegexpValueFromResponse(ctx context.Context, path path.Path, input contentfulManagement.WebhookDefinitionFilterRegexp) (WebhookFilterRegexpValue, diag.Diagnostics)
func (WebhookFilterRegexpValue) CustomType ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) CustomType(ctx context.Context) basetypes.ObjectTypable
func (WebhookFilterRegexpValue) Equal ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) Equal(o attr.Value) bool
func (WebhookFilterRegexpValue) IsNull ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) IsNull() bool
func (WebhookFilterRegexpValue) IsUnknown ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) IsUnknown() bool
func (WebhookFilterRegexpValue) ObjectAttrTypes ¶ added in v0.0.17
func (WebhookFilterRegexpValue) ObjectType ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) ObjectType(ctx context.Context) basetypes.ObjectType
func (WebhookFilterRegexpValue) SchemaAttributes ¶ added in v0.0.17
func (WebhookFilterRegexpValue) String ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) String() string
func (WebhookFilterRegexpValue) ToObjectValue ¶ added in v0.0.17
func (v WebhookFilterRegexpValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (WebhookFilterRegexpValue) ToTerraformValue ¶ added in v0.0.17
type WebhookFilterType ¶ added in v0.0.17
type WebhookFilterType struct {
basetypes.ObjectType
}
func (WebhookFilterType) Equal ¶ added in v0.0.17
func (t WebhookFilterType) Equal(o attr.Type) bool
func (WebhookFilterType) String ¶ added in v0.0.17
func (t WebhookFilterType) String() string
func (WebhookFilterType) TerraformAttributeTypes ¶ added in v0.0.17
func (WebhookFilterType) TerraformType ¶ added in v0.0.17
func (t WebhookFilterType) TerraformType(ctx context.Context) tftypes.Type
func (WebhookFilterType) ValueFromObject ¶ added in v0.0.17
func (t WebhookFilterType) ValueFromObject(ctx context.Context, value basetypes.ObjectValue) (basetypes.ObjectValuable, diag.Diagnostics)
func (WebhookFilterType) ValueFromTerraform ¶ added in v0.0.17
type WebhookFilterValue ¶ added in v0.0.17
type WebhookFilterValue struct { Not WebhookFilterNotValue `tfsdk:"not"` Equals WebhookFilterEqualsValue `tfsdk:"equals"` In WebhookFilterInValue `tfsdk:"in"` Regexp WebhookFilterRegexpValue `tfsdk:"regexp"` // contains filtered or unexported fields }
func NewWebhookFilterValueKnown ¶ added in v0.0.17
func NewWebhookFilterValueKnown() WebhookFilterValue
func NewWebhookFilterValueKnownFromAttributes ¶ added in v0.0.17
func NewWebhookFilterValueKnownFromAttributes(_ context.Context, attributes map[string]attr.Value) (WebhookFilterValue, diag.Diagnostics)
func NewWebhookFilterValueNull ¶ added in v0.0.17
func NewWebhookFilterValueNull() WebhookFilterValue
func NewWebhookFilterValueUnknown ¶ added in v0.0.17
func NewWebhookFilterValueUnknown() WebhookFilterValue
func ReadWebhookFilterValueFromResponse ¶ added in v0.0.17
func ReadWebhookFilterValueFromResponse(ctx context.Context, path path.Path, input contentfulManagement.WebhookDefinitionFilter) (WebhookFilterValue, diag.Diagnostics)
func (WebhookFilterValue) CustomType ¶ added in v0.0.17
func (v WebhookFilterValue) CustomType(ctx context.Context) basetypes.ObjectTypable
func (WebhookFilterValue) Equal ¶ added in v0.0.17
func (v WebhookFilterValue) Equal(o attr.Value) bool
func (WebhookFilterValue) IsNull ¶ added in v0.0.17
func (v WebhookFilterValue) IsNull() bool
func (WebhookFilterValue) IsUnknown ¶ added in v0.0.17
func (v WebhookFilterValue) IsUnknown() bool
func (WebhookFilterValue) ObjectAttrTypes ¶ added in v0.0.17
func (WebhookFilterValue) ObjectType ¶ added in v0.0.17
func (v WebhookFilterValue) ObjectType(ctx context.Context) basetypes.ObjectType
func (WebhookFilterValue) SchemaAttributes ¶ added in v0.0.17
func (WebhookFilterValue) String ¶ added in v0.0.17
func (v WebhookFilterValue) String() string
func (WebhookFilterValue) ToObjectValue ¶ added in v0.0.17
func (v WebhookFilterValue) ToObjectValue(ctx context.Context) (basetypes.ObjectValue, diag.Diagnostics)
func (WebhookFilterValue) ToTerraformValue ¶ added in v0.0.17
type WebhookModel ¶ added in v0.0.17
type WebhookModel struct { Active types.Bool `tfsdk:"active"` Filters types.List `tfsdk:"filters"` Headers types.Map `tfsdk:"headers"` HttpBasicPassword types.String `tfsdk:"http_basic_password"` HttpBasicUsername types.String `tfsdk:"http_basic_username"` Name types.String `tfsdk:"name"` SpaceId types.String `tfsdk:"space_id"` Topics types.List `tfsdk:"topics"` Transformation TransformationValue `tfsdk:"transformation"` Url types.String `tfsdk:"url"` WebhookId types.String `tfsdk:"webhook_id"` }
func (*WebhookModel) ReadFromResponse ¶ added in v0.0.17
func (model *WebhookModel) ReadFromResponse(ctx context.Context, webhookDefinition *contentfulManagement.WebhookDefinition) diag.Diagnostics
func (*WebhookModel) ToCreateWebhookDefinitionReq ¶ added in v0.0.17
func (model *WebhookModel) ToCreateWebhookDefinitionReq(ctx context.Context, path path.Path) (contentfulManagement.CreateWebhookDefinitionReq, diag.Diagnostics)
func (*WebhookModel) ToUpdateWebhookDefinitionReq ¶ added in v0.0.17
func (model *WebhookModel) ToUpdateWebhookDefinitionReq(ctx context.Context, path path.Path) (contentfulManagement.UpdateWebhookDefinitionReq, diag.Diagnostics)
Source Files
¶
- app_installation_model.go
- app_installation_resource.go
- app_installation_resource_gen.go
- attr_values.go
- attrs.go
- content_type_counter.go
- content_type_model.go
- content_type_model_fields.go
- content_type_resource.go
- content_type_resource_gen.go
- contentful_provider.go
- contentful_provider_data.go
- contentful_provider_gen.go
- delivery_api_key_model.go
- delivery_api_key_resource.go
- delivery_api_key_resource_gen.go
- editor_interface_model.go
- editor_interface_model_controls.go
- editor_interface_model_editor_layout.go
- editor_interface_model_group_controls.go
- editor_interface_model_sidebar.go
- editor_interface_resource.go
- editor_interface_resource_gen.go
- environment_links.go
- error_diags.go
- import_state.go
- personal_access_token_model.go
- personal_access_token_resource.go
- personal_access_token_resource_gen.go
- preview_api_key_data_source.go
- preview_api_key_data_source_gen.go
- preview_api_key_model.go
- private_provider_data.go
- provider_data.go
- role_model_permissions_create.go
- role_model_permissions_response.go
- role_model_permissions_update.go
- role_model_policies_create.go
- role_model_policies_response.go
- role_model_policies_update.go
- role_model_request_create.go
- role_model_request_update.go
- role_model_response.go
- role_resource.go
- role_resource_gen.go
- webhook_filter_equals_type.go
- webhook_filter_equals_value.go
- webhook_filter_in_type.go
- webhook_filter_in_value.go
- webhook_filter_not_type.go
- webhook_filter_not_value.go
- webhook_filter_regexp_type.go
- webhook_filter_regexp_value.go
- webhook_filter_type.go
- webhook_filter_value.go
- webhook_filters_request.go
- webhook_filters_response.go
- webhook_filters_schema.go
- webhook_model_create.go
- webhook_model_headers.go
- webhook_model_response.go
- webhook_model_update.go
- webhook_resource.go
- webhook_resource_gen.go
Click to show internal directories.
Click to hide internal directories.