Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Enterprise grid system roles. AnalyticsAdmin = "Rl0L" AuditLogsAdmin = "Rl0C" ChannelAdmin = "Rl01" ChannelManager = "Rl0A" ConversationAdmin = "Rl05" DLPAdmin = "Rl09" ExportsAdmin = "Rl0F" IntegrationsManager = "Rl0D" MessageActivityManager = "Rl04" RoleAdmin = "Rl02" SalesAdmin = "Rl0G" SalesUser = "Rl0H" SecurityAdmin = "Rl0J" SlackPlatformDeveloper = "Rl0B" UserAdmin = "Rl03" WorkflowAdmin = "Rl0K" // Enterprise grid organization roles. OrganizationPrimaryOwnerID = "organization_primary_owner" OrganizationOwnerID = "organization_owner" OrganizationAdminID = "organization_admin" )
View Source
const ( PrimaryOwnerRoleID = "primary_owner" OwnerRoleID = "owner" AdminRoleID = "admin" MultiChannelGuestRoleID = "multi_channel_guest" SingleChannelGuestRoleID = "single_channel_guest" InvitedMemberRoleID = "invited_member" BotRoleID = "bot" MemberRoleID = "member" RoleAssignmentEntitlement = "assigned" )
View Source
const StartingOffset = 1
TODO(marcos): Is this actually a bug?
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Slack ¶
type Slack struct {
// contains filtered or unexported fields
}
func (*Slack) ResourceSyncers ¶
func (s *Slack) ResourceSyncers(ctx context.Context) []connectorbuilder.ResourceSyncer
func (*Slack) Validate ¶
func (s *Slack) Validate(ctx context.Context) (annotations.Annotations, error)
Validate hits the Slack API to validate that the authenticated user has needed permissions.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.