Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleRequest ¶
type ClusterRoleRequest struct {
Name string
}
ClusterRoleRequest is the structure for the cluster role request
type Content ¶
type Content struct { Cluster string User string FirstName string LastName string Subject string Recipient []string RoleRequest *RoleRequest TenantRequest *TenantRequest ClusterRoleRequest *ClusterRoleRequest }
Content is the structure for the notification content
func (*Content) SendNotification ¶
SendNotification is the function to send notification via email and slack
type RoleRequest ¶
RoleRequest is the structure for the role request
type TenantRequest ¶
type TenantRequest struct {
Tenant string
}
TenantRequest is the structure for the tenant request
Click to show internal directories.
Click to hide internal directories.