Documentation
¶
Index ¶
Constants ¶
View Source
const ( AUTH_TOKEN_IDENTIFIER = "SLACK_AUTH_TOKEN" CHANNEL_ID_IDENTIFIER = "SLACK_CHANNEL_ID" )
View Source
const ( CLUSTER_ROLE_REQUEST_MADE = "" /* 162-byte string literal not displayed */ ROLE_REQUEST_MADE = "" /* 161-byte string literal not displayed */ TENANT_REQUEST_MADE = "" /* 144-byte string literal not displayed */ )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterRoleRequest ¶
type ClusterRoleRequest struct {
Name string
}
type Content ¶
type Content struct {
Cluster string
User string
FirstName string
LastName string
Subject string
AuthToken string
ChannelId string
// There are not recipient since this the notification will only be sent to a channel.
// If requested this may be changed to support multiple Slack channels.
// Recipient []string
ClusterRolerequest *ClusterRoleRequest
RoleRequest *RoleRequest
TenantRequest *TenantRequest
}
type RoleRequest ¶
type TenantRequest ¶
type TenantRequest struct {
Tenant string
}
Click to show internal directories.
Click to hide internal directories.