Documentation ¶
Index ¶
- func AliasCreateError(err error) diag.Diagnostic
- func AliasDeleteError(err error) diag.Diagnostic
- func AliasImportError(id string) diag.Diagnostic
- func AliasReadError(err error) diag.Diagnostic
- func AliasUpdateError(err error) diag.Diagnostic
- func CreateAliasID(localPart types.String, domainName custom_types.DomainNameValue) string
- func CreateAliasIDString(localPart string, domainName string) string
- func CreateIdentityID(localPart types.String, domainName custom_types.DomainNameValue, ...) string
- func CreateIdentityIDString(localPart, domainName, identity string) string
- func CreateMailboxID(localPart types.String, domainName custom_types.DomainNameValue) string
- func CreateMailboxIDString(localPart, domainName string) string
- func CreateRewriteRuleID(domainName custom_types.DomainNameValue, name types.String) string
- func CreateRewriteRuleIDString(domainName, name string) string
- func IdentityCreateError(err error) diag.Diagnostic
- func IdentityDeleteError(err error) diag.Diagnostic
- func IdentityImportError(id string) diag.Diagnostic
- func IdentityReadError(err error) diag.Diagnostic
- func IdentityUpdateError(err error) diag.Diagnostic
- func MailboxCreateError(err error) diag.Diagnostic
- func MailboxDeleteError(err error) diag.Diagnostic
- func MailboxImportError(id string) diag.Diagnostic
- func MailboxReadError(err error) diag.Diagnostic
- func MailboxUpdateError(err error) diag.Diagnostic
- func New() provider.Provider
- func NewAliasDataSource() datasource.DataSource
- func NewAliasResource() resource.Resource
- func NewAliasesDataSource() datasource.DataSource
- func NewIdentitiesDataSource() datasource.DataSource
- func NewIdentityDataSource() datasource.DataSource
- func NewIdentityResource() resource.Resource
- func NewMailboxDataSource() datasource.DataSource
- func NewMailboxResource() resource.Resource
- func NewMailboxesDataSource() datasource.DataSource
- func NewRewriteRuleDataSource() datasource.DataSource
- func NewRewriteRuleResource() resource.Resource
- func NewRewriteRulesDataSource() datasource.DataSource
- func RewriteRuleCreateError(err error) diag.Diagnostic
- func RewriteRuleDeleteError(err error) diag.Diagnostic
- func RewriteRuleImportError(id string) diag.Diagnostic
- func RewriteRuleReadError(err error) diag.Diagnostic
- func RewriteRuleUpdateError(err error) diag.Diagnostic
- type AliasDataSource
- func (d *AliasDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *AliasDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *AliasDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *AliasDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type AliasDataSourceModel
- type AliasModel
- type AliasResource
- func (r *AliasResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (r *AliasResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *AliasResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *AliasResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *AliasResource) Metadata(_ context.Context, request resource.MetadataRequest, ...)
- func (r *AliasResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *AliasResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
- func (r *AliasResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type AliasResourceModel
- type AliasesDataSource
- func (d *AliasesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *AliasesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *AliasesDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *AliasesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type AliasesDataSourceModel
- type IdentitiesDataSource
- func (d *IdentitiesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *IdentitiesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *IdentitiesDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *IdentitiesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type IdentitiesDataSourceModel
- type IdentityDataSource
- func (d *IdentityDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *IdentityDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *IdentityDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *IdentityDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type IdentityDataSourceModel
- type IdentityModel
- type IdentityResource
- func (r *IdentityResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (r *IdentityResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *IdentityResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *IdentityResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *IdentityResource) Metadata(_ context.Context, request resource.MetadataRequest, ...)
- func (r *IdentityResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *IdentityResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
- func (r *IdentityResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type IdentityResourceModel
- type MailboxDataSource
- func (d *MailboxDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *MailboxDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *MailboxDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *MailboxDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MailboxDataSourceModel
- type MailboxModel
- type MailboxResource
- func (r *MailboxResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (r *MailboxResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *MailboxResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *MailboxResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *MailboxResource) Metadata(_ context.Context, request resource.MetadataRequest, ...)
- func (r *MailboxResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *MailboxResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
- func (r *MailboxResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type MailboxResourceModel
- type MailboxesDataSource
- func (d *MailboxesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *MailboxesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *MailboxesDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *MailboxesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type MailboxesDataSourceModel
- type MigaduProvider
- func (p *MigaduProvider) Configure(ctx context.Context, request provider.ConfigureRequest, ...)
- func (p *MigaduProvider) DataSources(_ context.Context) []func() datasource.DataSource
- func (p *MigaduProvider) Metadata(_ context.Context, _ provider.MetadataRequest, ...)
- func (p *MigaduProvider) Resources(_ context.Context) []func() resource.Resource
- func (p *MigaduProvider) Schema(_ context.Context, _ provider.SchemaRequest, response *provider.SchemaResponse)
- type MigaduProviderModel
- type RewriteRuleDataSource
- func (d *RewriteRuleDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *RewriteRuleDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *RewriteRuleDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *RewriteRuleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type RewriteRuleDataSourceModel
- type RewriteRuleModel
- type RewriteRuleResource
- func (r *RewriteRuleResource) Configure(_ context.Context, request resource.ConfigureRequest, ...)
- func (r *RewriteRuleResource) Create(ctx context.Context, request resource.CreateRequest, ...)
- func (r *RewriteRuleResource) Delete(ctx context.Context, request resource.DeleteRequest, ...)
- func (r *RewriteRuleResource) ImportState(ctx context.Context, request resource.ImportStateRequest, ...)
- func (r *RewriteRuleResource) Metadata(_ context.Context, request resource.MetadataRequest, ...)
- func (r *RewriteRuleResource) Read(ctx context.Context, request resource.ReadRequest, ...)
- func (r *RewriteRuleResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
- func (r *RewriteRuleResource) Update(ctx context.Context, request resource.UpdateRequest, ...)
- type RewriteRuleResourceModel
- type RewriteRulesDataSource
- func (d *RewriteRulesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, ...)
- func (d *RewriteRulesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, ...)
- func (d *RewriteRulesDataSource) Read(ctx context.Context, request datasource.ReadRequest, ...)
- func (d *RewriteRulesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, ...)
- type RewriteRulesDataSourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AliasCreateError ¶
func AliasCreateError(err error) diag.Diagnostic
func AliasDeleteError ¶
func AliasDeleteError(err error) diag.Diagnostic
func AliasImportError ¶
func AliasImportError(id string) diag.Diagnostic
func AliasReadError ¶
func AliasReadError(err error) diag.Diagnostic
func AliasUpdateError ¶
func AliasUpdateError(err error) diag.Diagnostic
func CreateAliasID ¶
func CreateAliasID(localPart types.String, domainName custom_types.DomainNameValue) string
func CreateAliasIDString ¶
func CreateIdentityID ¶
func CreateIdentityID(localPart types.String, domainName custom_types.DomainNameValue, identity types.String) string
func CreateIdentityIDString ¶
func CreateMailboxID ¶
func CreateMailboxID(localPart types.String, domainName custom_types.DomainNameValue) string
func CreateMailboxIDString ¶
func CreateRewriteRuleID ¶
func CreateRewriteRuleID(domainName custom_types.DomainNameValue, name types.String) string
func IdentityCreateError ¶
func IdentityCreateError(err error) diag.Diagnostic
func IdentityDeleteError ¶
func IdentityDeleteError(err error) diag.Diagnostic
func IdentityImportError ¶
func IdentityImportError(id string) diag.Diagnostic
func IdentityReadError ¶
func IdentityReadError(err error) diag.Diagnostic
func IdentityUpdateError ¶
func IdentityUpdateError(err error) diag.Diagnostic
func MailboxCreateError ¶
func MailboxCreateError(err error) diag.Diagnostic
func MailboxDeleteError ¶
func MailboxDeleteError(err error) diag.Diagnostic
func MailboxImportError ¶
func MailboxImportError(id string) diag.Diagnostic
func MailboxReadError ¶
func MailboxReadError(err error) diag.Diagnostic
func MailboxUpdateError ¶
func MailboxUpdateError(err error) diag.Diagnostic
func NewAliasDataSource ¶
func NewAliasDataSource() datasource.DataSource
func NewAliasResource ¶
func NewAliasesDataSource ¶
func NewAliasesDataSource() datasource.DataSource
func NewIdentitiesDataSource ¶
func NewIdentitiesDataSource() datasource.DataSource
func NewIdentityDataSource ¶
func NewIdentityDataSource() datasource.DataSource
func NewIdentityResource ¶
func NewMailboxDataSource ¶
func NewMailboxDataSource() datasource.DataSource
func NewMailboxResource ¶
func NewMailboxesDataSource ¶
func NewMailboxesDataSource() datasource.DataSource
func NewRewriteRuleDataSource ¶
func NewRewriteRuleDataSource() datasource.DataSource
func NewRewriteRuleResource ¶
func NewRewriteRulesDataSource ¶
func NewRewriteRulesDataSource() datasource.DataSource
func RewriteRuleCreateError ¶
func RewriteRuleCreateError(err error) diag.Diagnostic
func RewriteRuleDeleteError ¶
func RewriteRuleDeleteError(err error) diag.Diagnostic
func RewriteRuleImportError ¶
func RewriteRuleImportError(id string) diag.Diagnostic
func RewriteRuleReadError ¶
func RewriteRuleReadError(err error) diag.Diagnostic
func RewriteRuleUpdateError ¶
func RewriteRuleUpdateError(err error) diag.Diagnostic
Types ¶
type AliasDataSource ¶
type AliasDataSource struct {
// contains filtered or unexported fields
}
func (*AliasDataSource) Configure ¶
func (d *AliasDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*AliasDataSource) Metadata ¶
func (d *AliasDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*AliasDataSource) Read ¶
func (d *AliasDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*AliasDataSource) Schema ¶
func (d *AliasDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type AliasDataSourceModel ¶
type AliasDataSourceModel struct { ID custom_types.EmailAddressValue `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` IsInternal types.Bool `tfsdk:"is_internal"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` }
type AliasModel ¶
type AliasModel struct { LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` IsInternal types.Bool `tfsdk:"is_internal"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` }
type AliasResource ¶
type AliasResource struct {
MigaduClient *client.MigaduClient
}
func (*AliasResource) Configure ¶
func (r *AliasResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*AliasResource) Create ¶
func (r *AliasResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*AliasResource) Delete ¶
func (r *AliasResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*AliasResource) ImportState ¶
func (r *AliasResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*AliasResource) Metadata ¶
func (r *AliasResource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*AliasResource) Read ¶
func (r *AliasResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*AliasResource) Schema ¶
func (r *AliasResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
func (*AliasResource) Update ¶
func (r *AliasResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type AliasResourceModel ¶
type AliasResourceModel struct { ID custom_types.EmailAddressValue `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` IsInternal types.Bool `tfsdk:"is_internal"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` }
type AliasesDataSource ¶
type AliasesDataSource struct {
MigaduClient *client.MigaduClient
}
func (*AliasesDataSource) Configure ¶
func (d *AliasesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*AliasesDataSource) Metadata ¶
func (d *AliasesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*AliasesDataSource) Read ¶
func (d *AliasesDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*AliasesDataSource) Schema ¶
func (d *AliasesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type AliasesDataSourceModel ¶
type AliasesDataSourceModel struct { ID custom_types.DomainNameValue `tfsdk:"id"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Aliases []AliasModel `tfsdk:"aliases"` }
type IdentitiesDataSource ¶
type IdentitiesDataSource struct {
MigaduClient *client.MigaduClient
}
func (*IdentitiesDataSource) Configure ¶
func (d *IdentitiesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*IdentitiesDataSource) Metadata ¶
func (d *IdentitiesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*IdentitiesDataSource) Read ¶
func (d *IdentitiesDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*IdentitiesDataSource) Schema ¶
func (d *IdentitiesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type IdentitiesDataSourceModel ¶
type IdentitiesDataSourceModel struct { ID custom_types.EmailAddressValue `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Identities []IdentityModel `tfsdk:"identities"` }
type IdentityDataSource ¶
type IdentityDataSource struct {
MigaduClient *client.MigaduClient
}
func (*IdentityDataSource) Configure ¶
func (d *IdentityDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*IdentityDataSource) Metadata ¶
func (d *IdentityDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*IdentityDataSource) Read ¶
func (d *IdentityDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*IdentityDataSource) Schema ¶
func (d *IdentityDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type IdentityDataSourceModel ¶
type IdentityDataSourceModel struct { ID types.String `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Identity types.String `tfsdk:"identity"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` }
type IdentityModel ¶
type IdentityModel struct { LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` }
type IdentityResource ¶
type IdentityResource struct {
MigaduClient *client.MigaduClient
}
func (*IdentityResource) Configure ¶
func (r *IdentityResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*IdentityResource) Create ¶
func (r *IdentityResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*IdentityResource) Delete ¶
func (r *IdentityResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*IdentityResource) ImportState ¶
func (r *IdentityResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*IdentityResource) Metadata ¶
func (r *IdentityResource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*IdentityResource) Read ¶
func (r *IdentityResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*IdentityResource) Schema ¶
func (r *IdentityResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
func (*IdentityResource) Update ¶
func (r *IdentityResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type IdentityResourceModel ¶
type IdentityResourceModel struct { ID types.String `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Identity types.String `tfsdk:"identity"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` Password types.String `tfsdk:"password"` PasswordUse types.String `tfsdk:"password_use"` }
type MailboxDataSource ¶
type MailboxDataSource struct {
MigaduClient *client.MigaduClient
}
func (*MailboxDataSource) Configure ¶
func (d *MailboxDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*MailboxDataSource) Metadata ¶
func (d *MailboxDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MailboxDataSource) Read ¶
func (d *MailboxDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MailboxDataSource) Schema ¶
func (d *MailboxDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MailboxDataSourceModel ¶
type MailboxDataSourceModel struct { ID custom_types.EmailAddressValue `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` IsInternal types.Bool `tfsdk:"is_internal"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` PasswordRecoveryEmail custom_types.EmailAddressValue `tfsdk:"password_recovery_email"` SpamAction types.String `tfsdk:"spam_action"` SpamAggressiveness types.String `tfsdk:"spam_aggressiveness"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` SenderDenyList custom_types.EmailAddressSetValue `tfsdk:"sender_denylist"` SenderAllowList custom_types.EmailAddressSetValue `tfsdk:"sender_allowlist"` RecipientDenyList custom_types.EmailAddressSetValue `tfsdk:"recipient_denylist"` AutoRespondActive types.Bool `tfsdk:"auto_respond_active"` AutoRespondSubject types.String `tfsdk:"auto_respond_subject"` AutoRespondBody types.String `tfsdk:"auto_respond_body"` AutoRespondExpiresOn types.String `tfsdk:"auto_respond_expires_on"` Delegations custom_types.EmailAddressSetValue `tfsdk:"delegations"` }
type MailboxModel ¶
type MailboxModel struct { LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` IsInternal types.Bool `tfsdk:"is_internal"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` PasswordRecoveryEmail custom_types.EmailAddressValue `tfsdk:"password_recovery_email"` SpamAction types.String `tfsdk:"spam_action"` SpamAggressiveness types.String `tfsdk:"spam_aggressiveness"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` SenderDenyList custom_types.EmailAddressSetValue `tfsdk:"sender_denylist"` SenderAllowList custom_types.EmailAddressSetValue `tfsdk:"sender_allowlist"` RecipientDenyList custom_types.EmailAddressSetValue `tfsdk:"recipient_denylist"` AutoRespondActive types.Bool `tfsdk:"auto_respond_active"` AutoRespondSubject types.String `tfsdk:"auto_respond_subject"` AutoRespondBody types.String `tfsdk:"auto_respond_body"` AutoRespondExpiresOn types.String `tfsdk:"auto_respond_expires_on"` Delegations custom_types.EmailAddressSetValue `tfsdk:"delegations"` }
type MailboxResource ¶
type MailboxResource struct {
MigaduClient *client.MigaduClient
}
func (*MailboxResource) Configure ¶
func (r *MailboxResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*MailboxResource) Create ¶
func (r *MailboxResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*MailboxResource) Delete ¶
func (r *MailboxResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*MailboxResource) ImportState ¶
func (r *MailboxResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*MailboxResource) Metadata ¶
func (r *MailboxResource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*MailboxResource) Read ¶
func (r *MailboxResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*MailboxResource) Schema ¶
func (r *MailboxResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
func (*MailboxResource) Update ¶
func (r *MailboxResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type MailboxResourceModel ¶
type MailboxResourceModel struct { ID custom_types.EmailAddressValue `tfsdk:"id"` LocalPart types.String `tfsdk:"local_part"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Address custom_types.EmailAddressValue `tfsdk:"address"` Name types.String `tfsdk:"name"` IsInternal types.Bool `tfsdk:"is_internal"` MaySend types.Bool `tfsdk:"may_send"` MayReceive types.Bool `tfsdk:"may_receive"` MayAccessImap types.Bool `tfsdk:"may_access_imap"` MayAccessPop3 types.Bool `tfsdk:"may_access_pop3"` MayAccessManageSieve types.Bool `tfsdk:"may_access_manage_sieve"` Password types.String `tfsdk:"password"` PasswordRecoveryEmail custom_types.EmailAddressValue `tfsdk:"password_recovery_email"` PasswordMethod types.String `tfsdk:"password_method"` SpamAction types.String `tfsdk:"spam_action"` SpamAggressiveness types.String `tfsdk:"spam_aggressiveness"` Expirable types.Bool `tfsdk:"expirable"` ExpiresOn types.String `tfsdk:"expires_on"` RemoveUponExpiry types.Bool `tfsdk:"remove_upon_expiry"` SenderDenyList custom_types.EmailAddressSetValue `tfsdk:"sender_denylist"` SenderAllowList custom_types.EmailAddressSetValue `tfsdk:"sender_allowlist"` RecipientDenyList custom_types.EmailAddressSetValue `tfsdk:"recipient_denylist"` Delegations custom_types.EmailAddressSetValue `tfsdk:"delegations"` AutoRespondActive types.Bool `tfsdk:"auto_respond_active"` AutoRespondSubject types.String `tfsdk:"auto_respond_subject"` AutoRespondBody types.String `tfsdk:"auto_respond_body"` AutoRespondExpiresOn types.String `tfsdk:"auto_respond_expires_on"` }
type MailboxesDataSource ¶
type MailboxesDataSource struct {
// contains filtered or unexported fields
}
func (*MailboxesDataSource) Configure ¶
func (d *MailboxesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*MailboxesDataSource) Metadata ¶
func (d *MailboxesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*MailboxesDataSource) Read ¶
func (d *MailboxesDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*MailboxesDataSource) Schema ¶
func (d *MailboxesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type MailboxesDataSourceModel ¶
type MailboxesDataSourceModel struct { ID custom_types.DomainNameValue `tfsdk:"id"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Mailboxes []MailboxModel `tfsdk:"mailboxes"` }
type MigaduProvider ¶
type MigaduProvider struct{}
func (*MigaduProvider) Configure ¶
func (p *MigaduProvider) Configure(ctx context.Context, request provider.ConfigureRequest, response *provider.ConfigureResponse)
func (*MigaduProvider) DataSources ¶
func (p *MigaduProvider) DataSources(_ context.Context) []func() datasource.DataSource
func (*MigaduProvider) Metadata ¶
func (p *MigaduProvider) Metadata(_ context.Context, _ provider.MetadataRequest, response *provider.MetadataResponse)
func (*MigaduProvider) Resources ¶
func (p *MigaduProvider) Resources(_ context.Context) []func() resource.Resource
func (*MigaduProvider) Schema ¶
func (p *MigaduProvider) Schema(_ context.Context, _ provider.SchemaRequest, response *provider.SchemaResponse)
type MigaduProviderModel ¶
type RewriteRuleDataSource ¶
type RewriteRuleDataSource struct {
MigaduClient *client.MigaduClient
}
func (*RewriteRuleDataSource) Configure ¶
func (d *RewriteRuleDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*RewriteRuleDataSource) Metadata ¶
func (d *RewriteRuleDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*RewriteRuleDataSource) Read ¶
func (d *RewriteRuleDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*RewriteRuleDataSource) Schema ¶
func (d *RewriteRuleDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type RewriteRuleDataSourceModel ¶
type RewriteRuleDataSourceModel struct { ID types.String `tfsdk:"id"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Name types.String `tfsdk:"name"` LocalPartRule types.String `tfsdk:"local_part_rule"` OrderNum types.Int64 `tfsdk:"order_num"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` }
type RewriteRuleModel ¶
type RewriteRuleModel struct { DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Name types.String `tfsdk:"name"` LocalPartRule types.String `tfsdk:"local_part_rule"` OrderNum types.Int64 `tfsdk:"order_num"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` }
type RewriteRuleResource ¶
type RewriteRuleResource struct {
MigaduClient *client.MigaduClient
}
func (*RewriteRuleResource) Configure ¶
func (r *RewriteRuleResource) Configure(_ context.Context, request resource.ConfigureRequest, response *resource.ConfigureResponse)
func (*RewriteRuleResource) Create ¶
func (r *RewriteRuleResource) Create(ctx context.Context, request resource.CreateRequest, response *resource.CreateResponse)
func (*RewriteRuleResource) Delete ¶
func (r *RewriteRuleResource) Delete(ctx context.Context, request resource.DeleteRequest, response *resource.DeleteResponse)
func (*RewriteRuleResource) ImportState ¶
func (r *RewriteRuleResource) ImportState(ctx context.Context, request resource.ImportStateRequest, response *resource.ImportStateResponse)
func (*RewriteRuleResource) Metadata ¶
func (r *RewriteRuleResource) Metadata(_ context.Context, request resource.MetadataRequest, response *resource.MetadataResponse)
func (*RewriteRuleResource) Read ¶
func (r *RewriteRuleResource) Read(ctx context.Context, request resource.ReadRequest, response *resource.ReadResponse)
func (*RewriteRuleResource) Schema ¶
func (r *RewriteRuleResource) Schema(_ context.Context, _ resource.SchemaRequest, response *resource.SchemaResponse)
func (*RewriteRuleResource) Update ¶
func (r *RewriteRuleResource) Update(ctx context.Context, request resource.UpdateRequest, response *resource.UpdateResponse)
type RewriteRuleResourceModel ¶
type RewriteRuleResourceModel struct { ID types.String `tfsdk:"id"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Name types.String `tfsdk:"name"` LocalPartRule types.String `tfsdk:"local_part_rule"` OrderNum types.Int64 `tfsdk:"order_num"` Destinations custom_types.EmailAddressSetValue `tfsdk:"destinations"` }
type RewriteRulesDataSource ¶
type RewriteRulesDataSource struct {
MigaduClient *client.MigaduClient
}
func (*RewriteRulesDataSource) Configure ¶
func (d *RewriteRulesDataSource) Configure(_ context.Context, request datasource.ConfigureRequest, response *datasource.ConfigureResponse)
func (*RewriteRulesDataSource) Metadata ¶
func (d *RewriteRulesDataSource) Metadata(_ context.Context, request datasource.MetadataRequest, response *datasource.MetadataResponse)
func (*RewriteRulesDataSource) Read ¶
func (d *RewriteRulesDataSource) Read(ctx context.Context, request datasource.ReadRequest, response *datasource.ReadResponse)
func (*RewriteRulesDataSource) Schema ¶
func (d *RewriteRulesDataSource) Schema(_ context.Context, _ datasource.SchemaRequest, response *datasource.SchemaResponse)
type RewriteRulesDataSourceModel ¶
type RewriteRulesDataSourceModel struct { ID custom_types.DomainNameValue `tfsdk:"id"` DomainName custom_types.DomainNameValue `tfsdk:"domain_name"` Rewrites []RewriteRuleModel `tfsdk:"rewrites"` }
Source Files ¶
- alias.go
- alias_data_source.go
- alias_resource.go
- aliases_data_source.go
- errors.go
- identities_data_source.go
- identity.go
- identity_data_source.go
- identity_resource.go
- mailbox.go
- mailbox_data_source.go
- mailbox_resource.go
- mailboxes_data_source.go
- provider.go
- rewrite_rule.go
- rewrite_rule_data_source.go
- rewrite_rule_resource.go
- rewrite_rules_data_source.go
Click to show internal directories.
Click to hide internal directories.