Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailAccount ¶
type EmailAccount struct {
// address
// Example: example@example.com
Address string `json:"address,omitempty"`
// password
Password string `json:"password,omitempty"`
}
EmailAccount email account
swagger:model EmailAccount
func (*EmailAccount) ContextValidate ¶
ContextValidate validates this email account based on context it is used
func (*EmailAccount) MarshalBinary ¶
func (m *EmailAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailAccount) UnmarshalBinary ¶
func (m *EmailAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmailAccountListItem ¶
type EmailAccountListItem struct {
// address
// Example: example@example.com
Address string `json:"address,omitempty"`
// aliases
Aliases []string `json:"aliases"`
// quota
Quota *Quota `json:"quota,omitempty"`
}
EmailAccountListItem email account list item
swagger:model EmailAccountListItem
func (*EmailAccountListItem) ContextValidate ¶
ContextValidate validate this email account list item based on the context it is used
func (*EmailAccountListItem) MarshalBinary ¶
func (m *EmailAccountListItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EmailAccountListItem) UnmarshalBinary ¶
func (m *EmailAccountListItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Fail2banListItem ¶
type Fail2banListItem struct {
// banned in dovecot
BannedInDovecot []string `json:"bannedInDovecot"`
// banned in postfix
BannedInPostfix []string `json:"bannedInPostfix"`
// banned in postfix sasl
BannedInPostfixSasl []string `json:"bannedInPostfixSasl"`
}
Fail2banListItem fail2ban list item
swagger:model Fail2banListItem
func (*Fail2banListItem) ContextValidate ¶
ContextValidate validates this fail2ban list item based on context it is used
func (*Fail2banListItem) MarshalBinary ¶
func (m *Fail2banListItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Fail2banListItem) UnmarshalBinary ¶
func (m *Fail2banListItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Principal ¶
type Principal string
Principal principal
swagger:model principal
func (Principal) ContextValidate ¶
ContextValidate validates this principal based on context it is used
type Quota ¶
type Quota struct {
// limit
Limit string `json:"limit,omitempty"`
// usage
Usage string `json:"usage,omitempty"`
// usage percentage
UsagePercentage string `json:"usagePercentage,omitempty"`
}
Quota quota
swagger:model Quota
func (*Quota) ContextValidate ¶
ContextValidate validates this quota based on context it is used
func (*Quota) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quota) UnmarshalBinary ¶
UnmarshalBinary interface implementation