Documentation ¶
Index ¶
- func IsNotFoundError(e error) bool
- func MergeContentType(out *ContentTypeData, in *ContentTypeData)
- func MergeGlobalField(out *GlobalFieldData, in *GlobalFieldData)
- func MergeLocaleResponse(out *LocaleData, in *LocaleData) diag.Diagnostics
- func New(version string) func() tfsdk.Provider
- func NewContentTypeInput(field *ContentTypeData) *management.ContentTypeInput
- func NewGlobalFieldInput(field *GlobalFieldData) *management.GlobalFieldInput
- func NewLocaleInput(field *LocaleData) *management.LocaleInput
- func NewWebhookInput(webhook *WebhookData) *management.WebHookInput
- type ContentTypeData
- type GlobalFieldData
- type LocaleData
- type WebhookCustomHeaderData
- type WebhookData
- type WebhookDestinationData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFoundError ¶
func MergeContentType ¶ added in v0.2.0
func MergeContentType(out *ContentTypeData, in *ContentTypeData)
func MergeGlobalField ¶ added in v0.2.0
func MergeGlobalField(out *GlobalFieldData, in *GlobalFieldData)
func MergeLocaleResponse ¶ added in v0.2.0
func MergeLocaleResponse(out *LocaleData, in *LocaleData) diag.Diagnostics
func NewContentTypeInput ¶ added in v0.2.0
func NewContentTypeInput(field *ContentTypeData) *management.ContentTypeInput
func NewGlobalFieldInput ¶ added in v0.1.1
func NewGlobalFieldInput(field *GlobalFieldData) *management.GlobalFieldInput
func NewLocaleInput ¶ added in v0.2.0
func NewLocaleInput(field *LocaleData) *management.LocaleInput
func NewWebhookInput ¶
func NewWebhookInput(webhook *WebhookData) *management.WebHookInput
Types ¶
type ContentTypeData ¶ added in v0.2.0
type ContentTypeData struct { UID types.String `tfsdk:"uid"` Title types.String `tfsdk:"title"` Description types.String `tfsdk:"description"` Schema types.String `tfsdk:"schema"` }
func NewContentTypeData ¶ added in v0.2.0
func NewContentTypeData(field *management.ContentType) *ContentTypeData
type GlobalFieldData ¶ added in v0.1.1
type GlobalFieldData struct { UID types.String `tfsdk:"uid"` Title types.String `tfsdk:"title"` Description types.String `tfsdk:"description"` MaintainRevisions types.Bool `tfsdk:"maintain_revisions"` Schema types.String `tfsdk:"schema"` }
func NewGlobalFieldData ¶ added in v0.1.1
func NewGlobalFieldData(field *management.GlobalField) *GlobalFieldData
type LocaleData ¶ added in v0.2.0
type LocaleData struct { UID types.String `tfsdk:"uid"` Name types.String `tfsdk:"name"` Code types.String `tfsdk:"code"` FallbackLocale types.String `tfsdk:"fallback_locale"` }
func NewLocaleData ¶ added in v0.2.0
func NewLocaleData(field *management.Locale) *LocaleData
type WebhookCustomHeaderData ¶
type WebhookData ¶
type WebhookData struct { UID types.String `tfsdk:"uid"` Name types.String `tfsdk:"name"` Branches []types.String `tfsdk:"branches"` Channels []types.String `tfsdk:"channels"` RetryPolicy types.String `tfsdk:"retry_policy"` ConcisePayload types.Bool `tfsdk:"concise_payload"` Disabled types.Bool `tfsdk:"disabled"` Destinations []WebhookDestinationData `tfsdk:"destination"` }
func NewWebhookData ¶
func NewWebhookData(webhook *management.WebHook) *WebhookData
type WebhookDestinationData ¶
Click to show internal directories.
Click to hide internal directories.