Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignedTenant ¶
type AssignedTenant struct { State string `json:"state"` AssignmentID string `json:"uclAssignmentId"` DeploymentRegion string `json:"deploymentRegion"` ApplicationNamespace string `json:"applicationNamespace"` ApplicationURL string `json:"applicationUrl"` ApplicationTenantID string `json:"applicationTenantId"` SubaccountID string `json:"subaccountId"` Subdomain string `json:"subdomain"` SystemName string `json:"uclSystemName"` SystemTenantID string `json:"uclSystemTenantId"` }
AssignedTenant contains metadata for the assigned tenant - the tenant that the notification is about
type Context ¶
type Context struct { Platform string `json:"platform"` CrmID string `json:"crmId"` AccountID string `json:"accountId"` FormationID string `json:"uclFormationId"` FormationName string `json:"uclFormationName"` FormationTypeID string `json:"uclFormationTypeId"` Operation string `json:"operation"` }
Context contains common data for the tenant mapping notification
type ReceiverTenant ¶
type ReceiverTenant struct { State string `json:"state"` AssignmentID string `json:"uclAssignmentId"` DeploymentRegion string `json:"deploymentRegion"` ApplicationNamespace string `json:"applicationNamespace"` ApplicationURL string `json:"applicationUrl"` ApplicationTenantID string `json:"applicationTenantId"` SubaccountID string `json:"subaccountId"` Subdomain string `json:"subdomain"` SystemName string `json:"uclSystemName"` SystemTenantID string `json:"uclSystemTenantId"` }
ReceiverTenant contains metadata for the receiver tenant - the tenant that receives the notification
type SuccessResponse ¶
type SuccessResponse struct {
State string `json:"state,omitempty"`
}
SuccessResponse structure used for JSON encoded success response
type TenantMapping ¶
type TenantMapping struct { ReceiverTenant ReceiverTenant `json:"receiverTenant"` AssignedTenant AssignedTenant `json:"assignedTenant"` Context Context `json:"context"` }
TenantMapping represents the tenant mapping notification data
func (*TenantMapping) String ¶
func (tm *TenantMapping) String() string
String prints the data in the tenant mapping notifications excepts the configuration part because it could have sensitive data. We should NOT include the configuration in this method.
Click to show internal directories.
Click to hide internal directories.