Documentation ¶
Index ¶
- Variables
- type APICallEvent
- func (this APICallEvent) GetCreatedAt() string
- func (this APICallEvent) GetDeployment() *Deployment
- func (this APICallEvent) GetDeploymentID() string
- func (this APICallEvent) GetID() string
- func (this APICallEvent) GetPluginName() string
- func (this APICallEvent) GetType() *AuditEventType
- func (APICallEvent) IsAuditEvent()
- type APICallEventQglType
- type APIKey
- type Action
- type ActionBindings
- type ActionCreateUpdateInput
- type ActionCreateUpdateInputBindings
- type ActionPatchDeploymentConfigInput
- type AddMemberForOrganizationInput
- type AddPlatformToOrganizationInput
- type AddSlackToOrganizationInput
- type AddTeamsToOrganizationInput
- type Alias
- type AliasCreateInput
- type AliasPage
- type AliasUpdateInput
- type AuditEvent
- type AuditEventCommandCreateInput
- type AuditEventCreateInput
- type AuditEventFilter
- type AuditEventPage
- type AuditEventSourceCreateInput
- type AuditEventSourceDetailsInput
- type AuditEventType
- type BotBindings
- type BotBindingsCreateInput
- type BotBindingsUpdateInput
- type BotPlatform
- type ChannelBindingsByID
- type ChannelBindingsByIDCreateInput
- type ChannelBindingsByIDUpdateInput
- type ChannelBindingsByName
- type ChannelBindingsByNameCreateInput
- type ChannelBindingsByNameUpdateInput
- type CloudMsTeams
- type CloudMsTeamsAttachmentStorage
- type CloudMsTeamsAttachmentStorageCreateInput
- type CloudMsTeamsAttachmentStorageUpdateInput
- type CloudMsTeamsUpdateInput
- type CloudSlack
- type CloudSlackCreateInput
- type CloudSlackUpdateInput
- type CommandExecutedEvent
- func (this CommandExecutedEvent) GetCreatedAt() string
- func (this CommandExecutedEvent) GetDeployment() *Deployment
- func (this CommandExecutedEvent) GetDeploymentID() string
- func (this CommandExecutedEvent) GetID() string
- func (this CommandExecutedEvent) GetPluginName() string
- func (this CommandExecutedEvent) GetType() *AuditEventType
- func (CommandExecutedEvent) IsAuditEvent()
- type ConnectedPlatforms
- type Coupon
- type DeleteByIDInput
- type DeletePlatformInput
- type Deployment
- type DeploymentConfig
- type DeploymentCreateInput
- type DeploymentFailureInput
- type DeploymentHeartbeatInput
- type DeploymentInfo
- type DeploymentPage
- type DeploymentStatus
- type DeploymentStatusInput
- type DeploymentStatusPhase
- type DeploymentUpdateInput
- type DeploymentUpgradeStatus
- type Discord
- type DiscordCreateInput
- type DiscordUpdateInput
- type Elasticsearch
- type ElasticsearchCreateInput
- type ElasticsearchIndex
- type ElasticsearchIndexCreateInput
- type ElasticsearchIndexUpdateInput
- type ElasticsearchUpdateInput
- type GroupPolicySubject
- type GroupPolicySubjectInput
- type GroupStaticSubject
- type GroupStaticSubjectInput
- type Heartbeat
- type HubSpotIdentificationToken
- type HubspotIdentificationTokenInput
- type InstallUpgradeInstructionsForPlatform
- type InstallUpgradePrerequisite
- type InstallationType
- type Invoice
- type InvoiceItem
- type Mattermost
- type MattermostCreateInput
- type MattermostUpdateInput
- type NotificationPatchDeploymentConfigInput
- type Organization
- type OrganizationConnectedPlatforms
- type OrganizationCreateInput
- type OrganizationSubscription
- type OrganizationUpdateInput
- type OrganizationUpdateOperations
- type PageInfo
- type Pageable
- type PatchDeploymentConfigInput
- type Platforms
- type PlatformsCreateInput
- type PlatformsUpdateInput
- type Plugin
- type PluginConfigurationGroupInput
- type PluginConfigurationGroupUpdateInput
- type PluginConfigurationInput
- type PluginConfigurationUpdateInput
- type PluginPage
- type PluginTemplate
- type PluginTemplatePage
- type PluginType
- type PluginsCreateInput
- type PluginsUpdateInput
- type PolicySubjectType
- type Quota
- type RBACInput
- type RBACUpdateInput
- type Rbac
- type RegexConstraints
- type RegexConstraintsInput
- type RemoveMemberFromOrganizationInput
- type RemovePlatformFromOrganizationInput
- type RemoveSlackFromOrganizationInput
- type RemoveTeamsFromOrganizationInput
- type SinkBindings
- type SinkBindingsCreateInput
- type SinkBindingsUpdateInput
- type SlackWorkspace
- type SlackWorkspaceChannel
- type SlackWorkspaceConnectedOrganizations
- type SocketSlack
- type SocketSlackCreateInput
- type SocketSlackUpdateInput
- type SourceBindingPatchDeploymentConfigInput
- type SourceEventDetails
- type SourceEventEmittedEvent
- func (this SourceEventEmittedEvent) GetCreatedAt() string
- func (this SourceEventEmittedEvent) GetDeployment() *Deployment
- func (this SourceEventEmittedEvent) GetDeploymentID() string
- func (this SourceEventEmittedEvent) GetID() string
- func (this SourceEventEmittedEvent) GetPluginName() string
- func (this SourceEventEmittedEvent) GetType() *AuditEventType
- func (SourceEventEmittedEvent) IsAuditEvent()
- type StripeCouponDuration
- type SubscriptionPlan
- type TeamsOrganization
- type TeamsOrganizationConnectedOrganizations
- type TeamsOrganizationTeam
- type TeamsOrganizationTeamChannel
- type TextMessageTriggerEvent
- type TextMessageTriggers
- type TextMessageTriggersInput
- type UpdateCurrentUserInput
- type Usage
- type User
- type UserPolicySubject
- type UserPolicySubjectInput
- type UserStaticSubject
- type UserStaticSubjectInput
- type Webhook
- type WebhookCreateInput
- type WebhookUpdateInput
Constants ¶
This section is empty.
Variables ¶
View Source
var AllAPICallEventQglType = []APICallEventQglType{ APICallEventQglTypeQuery, APICallEventQglTypeMutation, }
View Source
var AllAuditEventType = []AuditEventType{ AuditEventTypeCommandExecuted, AuditEventTypeSourceEventEmitted, AuditEventTypeAPICall, }
View Source
var AllBotPlatform = []BotPlatform{ BotPlatformSLACk, BotPlatformDiscord, BotPlatformMattermost, BotPlatformMsTeams, BotPlatformUnknown, }
View Source
var AllDeploymentStatusPhase = []DeploymentStatusPhase{ DeploymentStatusPhaseConnecting, DeploymentStatusPhaseConnected, DeploymentStatusPhaseDisconnected, DeploymentStatusPhaseFailed, DeploymentStatusPhaseCreating, DeploymentStatusPhaseUpdating, DeploymentStatusPhaseDeleted, }
View Source
var AllInstallationType = []InstallationType{ InstallationTypeCli, InstallationTypeGitOps, }
View Source
var AllPluginType = []PluginType{ PluginTypeSource, PluginTypeExecutor, }
View Source
var AllPolicySubjectType = []PolicySubjectType{ PolicySubjectTypeStatic, PolicySubjectTypeChannelName, PolicySubjectTypeEmpty, }
View Source
var AllStripeCouponDuration = []StripeCouponDuration{ StripeCouponDurationForever, StripeCouponDurationOnce, StripeCouponDurationRepeating, StripeCouponDurationUnknown, }
View Source
var AllTextMessageTriggerEvent = []TextMessageTriggerEvent{ TextMessageTriggerEventChannelMessage, }
Functions ¶
This section is empty.
Types ¶
type APICallEvent ¶ added in v1.6.0
type APICallEvent struct { ID string `json:"id"` Type *AuditEventType `json:"type"` DeploymentID string `json:"deploymentId"` CreatedAt string `json:"createdAt"` PluginName string `json:"pluginName"` Deployment *Deployment `json:"deployment"` User string `json:"user"` GqlType APICallEventQglType `json:"gqlType"` GqlName string `json:"gqlName"` RequestBody string `json:"requestBody"` ResponseBody string `json:"responseBody"` }
func (APICallEvent) GetCreatedAt ¶ added in v1.6.0
func (this APICallEvent) GetCreatedAt() string
func (APICallEvent) GetDeployment ¶ added in v1.6.0
func (this APICallEvent) GetDeployment() *Deployment
func (APICallEvent) GetDeploymentID ¶ added in v1.6.0
func (this APICallEvent) GetDeploymentID() string
func (APICallEvent) GetID ¶ added in v1.6.0
func (this APICallEvent) GetID() string
func (APICallEvent) GetPluginName ¶ added in v1.6.0
func (this APICallEvent) GetPluginName() string
func (APICallEvent) GetType ¶ added in v1.6.0
func (this APICallEvent) GetType() *AuditEventType
func (APICallEvent) IsAuditEvent ¶ added in v1.6.0
func (APICallEvent) IsAuditEvent()
type APICallEventQglType ¶ added in v1.6.0
type APICallEventQglType string
const ( APICallEventQglTypeQuery APICallEventQglType = "QUERY" APICallEventQglTypeMutation APICallEventQglType = "MUTATION" )
func (APICallEventQglType) IsValid ¶ added in v1.6.0
func (e APICallEventQglType) IsValid() bool
func (APICallEventQglType) MarshalGQL ¶ added in v1.6.0
func (e APICallEventQglType) MarshalGQL(w io.Writer)
func (APICallEventQglType) String ¶ added in v1.6.0
func (e APICallEventQglType) String() string
func (*APICallEventQglType) UnmarshalGQL ¶ added in v1.6.0
func (e *APICallEventQglType) UnmarshalGQL(v interface{}) error
type ActionBindings ¶
type ActionCreateUpdateInput ¶
type AddPlatformToOrganizationInput ¶ added in v1.3.0
type AddPlatformToOrganizationInput struct { OrganizationID string `json:"organizationId"` Slack *AddSlackToOrganizationInput `json:"slack"` Teams *AddTeamsToOrganizationInput `json:"teams"` }
type AddSlackToOrganizationInput ¶ added in v1.3.0
type AddSlackToOrganizationInput struct {
Token string `json:"token"`
}
type AddTeamsToOrganizationInput ¶ added in v1.6.0
type AddTeamsToOrganizationInput struct {
Token string `json:"token"`
}
type Alias ¶
type Alias struct { ID string `json:"id"` Name string `json:"name"` DisplayName string `json:"displayName"` Command string `json:"command"` Deployments []*DeploymentInfo `json:"deployments"` }
type AliasCreateInput ¶
type AliasPage ¶
type AliasPage struct { Data []*Alias `json:"data"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` TotalPages int `json:"totalPages"` }
func (AliasPage) GetPageInfo ¶
func (AliasPage) GetTotalCount ¶
func (AliasPage) IsPageable ¶
func (AliasPage) IsPageable()
type AliasUpdateInput ¶
type AuditEvent ¶
type AuditEvent interface { IsAuditEvent() GetID() string GetType() *AuditEventType GetDeploymentID() string GetCreatedAt() string GetPluginName() string GetDeployment() *Deployment }
type AuditEventCommandCreateInput ¶
type AuditEventCommandCreateInput struct { PlatformUser string `json:"platformUser"` ConversationGroup *string `json:"conversationGroup"` Channel string `json:"channel"` BotPlatform *BotPlatform `json:"botPlatform"` Command string `json:"command"` AdditionalCreateContext interface{} `json:"additionalCreateContext"` }
type AuditEventCreateInput ¶
type AuditEventCreateInput struct { Type AuditEventType `json:"type"` CreatedAt string `json:"createdAt"` DeploymentID string `json:"deploymentId"` PluginName string `json:"pluginName"` SourceEventEmitted *AuditEventSourceCreateInput `json:"sourceEventEmitted"` CommandExecuted *AuditEventCommandCreateInput `json:"commandExecuted"` }
type AuditEventFilter ¶
type AuditEventPage ¶
type AuditEventPage struct { Data []AuditEvent `json:"data"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` TotalPages int `json:"totalPages"` }
func (AuditEventPage) GetPageInfo ¶
func (this AuditEventPage) GetPageInfo() *PageInfo
func (AuditEventPage) GetTotalCount ¶
func (this AuditEventPage) GetTotalCount() int
func (AuditEventPage) IsPageable ¶
func (AuditEventPage) IsPageable()
type AuditEventSourceCreateInput ¶
type AuditEventSourceCreateInput struct { Event string `json:"event"` Source *AuditEventSourceDetailsInput `json:"source"` }
type AuditEventType ¶
type AuditEventType string
const ( AuditEventTypeCommandExecuted AuditEventType = "COMMAND_EXECUTED" AuditEventTypeSourceEventEmitted AuditEventType = "SOURCE_EVENT_EMITTED" AuditEventTypeAPICall AuditEventType = "API_CALL" )
func (AuditEventType) IsValid ¶
func (e AuditEventType) IsValid() bool
func (AuditEventType) MarshalGQL ¶
func (e AuditEventType) MarshalGQL(w io.Writer)
func (AuditEventType) String ¶
func (e AuditEventType) String() string
func (*AuditEventType) UnmarshalGQL ¶
func (e *AuditEventType) UnmarshalGQL(v interface{}) error
type BotBindings ¶
type BotBindingsCreateInput ¶
type BotBindingsUpdateInput ¶
type BotPlatform ¶
type BotPlatform string
const ( BotPlatformSLACk BotPlatform = "SLACK" BotPlatformDiscord BotPlatform = "DISCORD" BotPlatformMattermost BotPlatform = "MATTERMOST" BotPlatformMsTeams BotPlatform = "MS_TEAMS" BotPlatformUnknown BotPlatform = "UNKNOWN" )
func (BotPlatform) IsValid ¶
func (e BotPlatform) IsValid() bool
func (BotPlatform) MarshalGQL ¶
func (e BotPlatform) MarshalGQL(w io.Writer)
func (BotPlatform) String ¶
func (e BotPlatform) String() string
func (*BotPlatform) UnmarshalGQL ¶
func (e *BotPlatform) UnmarshalGQL(v interface{}) error
type ChannelBindingsByID ¶
type ChannelBindingsByID struct { ID string `json:"id"` Bindings *BotBindings `json:"bindings"` NotificationsDisabled *bool `json:"notificationsDisabled"` }
type ChannelBindingsByIDCreateInput ¶
type ChannelBindingsByIDCreateInput struct { ID string `json:"id"` Bindings *BotBindingsCreateInput `json:"bindings"` NotificationsDisabled *bool `json:"notificationsDisabled"` }
type ChannelBindingsByIDUpdateInput ¶
type ChannelBindingsByIDUpdateInput struct { ID string `json:"id"` Bindings *BotBindingsUpdateInput `json:"bindings"` }
type ChannelBindingsByName ¶
type ChannelBindingsByName struct { Name string `json:"name"` Bindings *BotBindings `json:"bindings"` NotificationsDisabled *bool `json:"notificationsDisabled"` MessageTriggers []*TextMessageTriggers `json:"messageTriggers"` }
type ChannelBindingsByNameCreateInput ¶
type ChannelBindingsByNameCreateInput struct { Name string `json:"name"` Bindings *BotBindingsCreateInput `json:"bindings"` NotificationsDisabled *bool `json:"notificationsDisabled"` MessageTriggers []*TextMessageTriggersInput `json:"messageTriggers"` }
type ChannelBindingsByNameUpdateInput ¶
type ChannelBindingsByNameUpdateInput struct { Name string `json:"name"` Bindings *BotBindingsUpdateInput `json:"bindings"` MessageTriggers []*TextMessageTriggersInput `json:"messageTriggers"` }
type CloudMsTeams ¶ added in v1.6.0
type CloudMsTeams struct { ID string `json:"id"` Name string `json:"name"` AadGroupID string `json:"aadGroupId"` AttachmentStorage *CloudMsTeamsAttachmentStorage `json:"attachmentStorage"` NotificationsDisabled *bool `json:"notificationsDisabled"` Channels []*ChannelBindingsByID `json:"channels"` }
type CloudMsTeamsAttachmentStorage ¶ added in v1.6.0
type CloudMsTeamsAttachmentStorage struct {
}type CloudMsTeamsAttachmentStorageCreateInput ¶ added in v1.6.0
type CloudMsTeamsAttachmentStorageCreateInput struct {
}type CloudMsTeamsAttachmentStorageUpdateInput ¶ added in v1.6.0
type CloudMsTeamsAttachmentStorageUpdateInput struct {
}type CloudMsTeamsUpdateInput ¶ added in v1.6.0
type CloudMsTeamsUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` AadGroupID string `json:"aadGroupId"` AttachmentStorage *CloudMsTeamsAttachmentStorageUpdateInput `json:"attachmentStorage"` NotificationsDisabled *bool `json:"notificationsDisabled"` Channels []*ChannelBindingsByIDUpdateInput `json:"channels"` }
type CloudSlack ¶ added in v1.3.0
type CloudSlack struct { ID string `json:"id"` Name string `json:"name"` TeamID string `json:"teamId"` BotToken string `json:"botToken"` Channels []*ChannelBindingsByName `json:"channels"` }
type CloudSlackCreateInput ¶ added in v1.3.0
type CloudSlackCreateInput struct { Name string `json:"name"` TeamID string `json:"teamId"` Channels []*ChannelBindingsByNameCreateInput `json:"channels"` }
type CloudSlackUpdateInput ¶ added in v1.3.0
type CloudSlackUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` TeamID string `json:"teamId"` Channels []*ChannelBindingsByNameUpdateInput `json:"channels"` }
type CommandExecutedEvent ¶
type CommandExecutedEvent struct { ID string `json:"id"` Type *AuditEventType `json:"type"` PlatformUser *string `json:"platformUser"` DeploymentID string `json:"deploymentId"` Deployment *Deployment `json:"deployment"` CreatedAt string `json:"createdAt"` Command string `json:"command"` BotPlatform *BotPlatform `json:"botPlatform"` ConversationGroup *string `json:"conversationGroup"` Channel string `json:"channel"` PluginName string `json:"pluginName"` }
func (CommandExecutedEvent) GetCreatedAt ¶
func (this CommandExecutedEvent) GetCreatedAt() string
func (CommandExecutedEvent) GetDeployment ¶
func (this CommandExecutedEvent) GetDeployment() *Deployment
func (CommandExecutedEvent) GetDeploymentID ¶
func (this CommandExecutedEvent) GetDeploymentID() string
func (CommandExecutedEvent) GetID ¶
func (this CommandExecutedEvent) GetID() string
func (CommandExecutedEvent) GetPluginName ¶
func (this CommandExecutedEvent) GetPluginName() string
func (CommandExecutedEvent) GetType ¶
func (this CommandExecutedEvent) GetType() *AuditEventType
func (CommandExecutedEvent) IsAuditEvent ¶
func (CommandExecutedEvent) IsAuditEvent()
type ConnectedPlatforms ¶ added in v1.3.0
type ConnectedPlatforms struct { Slack *SlackWorkspace `json:"slack"` Teams *TeamsOrganization `json:"teams"` }
type Coupon ¶ added in v1.3.0
type Coupon struct { Name string `json:"name"` AmountOff *int `json:"amountOff"` PercentOff *float64 `json:"percentOff"` Duration StripeCouponDuration `json:"duration"` DurationInMonths *int `json:"durationInMonths"` }
type DeleteByIDInput ¶ added in v1.3.0
type DeleteByIDInput struct {
ID string `json:"ID"`
}
type DeletePlatformInput ¶ added in v1.3.0
type DeletePlatformInput struct { SocketSlack *DeleteByIDInput `json:"socketSlack"` CloudSlack *DeleteByIDInput `json:"cloudSlack"` Discord *DeleteByIDInput `json:"discord"` Mattermost *DeleteByIDInput `json:"mattermost"` Webhook *DeleteByIDInput `json:"webhook"` CloudMsTeams *DeleteByIDInput `json:"cloudMsTeams"` Elasticsearch *DeleteByIDInput `json:"elasticsearch"` }
type Deployment ¶
type Deployment struct { ID string `json:"id"` Name string `json:"name"` Actions []*Action `json:"actions"` Plugins []*Plugin `json:"plugins"` Platforms *Platforms `json:"platforms"` Status *DeploymentStatus `json:"status"` APIKey *APIKey `json:"apiKey"` YamlConfig *string `json:"yamlConfig"` Aliases []*Alias `json:"aliases"` HelmCommand *string `json:"helmCommand"` ResourceVersion int `json:"resourceVersion"` Heartbeat *Heartbeat `json:"heartbeat"` InstallUpgradeInstructions []*InstallUpgradeInstructionsForPlatform `json:"installUpgradeInstructions"` Draft *bool `json:"draft"` }
type DeploymentConfig ¶
type DeploymentConfig struct { ResourceVersion int `json:"resourceVersion"` Value interface{} `json:"value"` }
type DeploymentCreateInput ¶
type DeploymentCreateInput struct { Name string `json:"name"` Plugins []*PluginsCreateInput `json:"plugins"` Platforms *PlatformsCreateInput `json:"platforms"` Actions []*ActionCreateUpdateInput `json:"actions"` AttachDefaultAliases *bool `json:"attachDefaultAliases"` AttachDefaultActions *bool `json:"attachDefaultActions"` Draft *bool `json:"draft"` }
type DeploymentFailureInput ¶
type DeploymentHeartbeatInput ¶
type DeploymentHeartbeatInput struct {
NodeCount int `json:"nodeCount"`
}
type DeploymentInfo ¶
type DeploymentPage ¶
type DeploymentPage struct { Data []*Deployment `json:"data"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
func (DeploymentPage) GetPageInfo ¶
func (this DeploymentPage) GetPageInfo() *PageInfo
func (DeploymentPage) GetTotalCount ¶
func (this DeploymentPage) GetTotalCount() int
func (DeploymentPage) IsPageable ¶
func (DeploymentPage) IsPageable()
type DeploymentStatus ¶
type DeploymentStatus struct { Phase DeploymentStatusPhase `json:"phase"` Message *string `json:"message"` BotkubeVersion *string `json:"botkubeVersion"` Upgrade *DeploymentUpgradeStatus `json:"upgrade"` LastTransitionTime *string `json:"lastTransitionTime"` }
type DeploymentStatusInput ¶
type DeploymentStatusInput struct { Message *string `json:"message"` Phase *DeploymentStatusPhase `json:"phase"` }
type DeploymentStatusPhase ¶
type DeploymentStatusPhase string
const ( DeploymentStatusPhaseConnecting DeploymentStatusPhase = "CONNECTING" DeploymentStatusPhaseConnected DeploymentStatusPhase = "CONNECTED" DeploymentStatusPhaseDisconnected DeploymentStatusPhase = "DISCONNECTED" DeploymentStatusPhaseFailed DeploymentStatusPhase = "FAILED" DeploymentStatusPhaseCreating DeploymentStatusPhase = "CREATING" DeploymentStatusPhaseUpdating DeploymentStatusPhase = "UPDATING" DeploymentStatusPhaseDeleted DeploymentStatusPhase = "DELETED" )
func (DeploymentStatusPhase) IsValid ¶
func (e DeploymentStatusPhase) IsValid() bool
func (DeploymentStatusPhase) MarshalGQL ¶
func (e DeploymentStatusPhase) MarshalGQL(w io.Writer)
func (DeploymentStatusPhase) String ¶
func (e DeploymentStatusPhase) String() string
func (*DeploymentStatusPhase) UnmarshalGQL ¶
func (e *DeploymentStatusPhase) UnmarshalGQL(v interface{}) error
type DeploymentUpdateInput ¶
type DeploymentUpdateInput struct { Name string `json:"name"` Platforms *PlatformsUpdateInput `json:"platforms"` Plugins []*PluginsUpdateInput `json:"plugins"` Actions []*ActionCreateUpdateInput `json:"actions"` AttachDefaultAliases *bool `json:"attachDefaultAliases"` AttachDefaultActions *bool `json:"attachDefaultActions"` ResourceVersion int `json:"resourceVersion"` Draft *bool `json:"draft"` }
type DeploymentUpgradeStatus ¶
type Discord ¶
type Discord struct { ID string `json:"id"` Name string `json:"name"` Token string `json:"token"` BotID string `json:"botId"` Channels []*ChannelBindingsByID `json:"channels"` }
type DiscordCreateInput ¶
type DiscordCreateInput struct { Name string `json:"name"` Token string `json:"token"` BotID string `json:"botId"` Channels []*ChannelBindingsByIDCreateInput `json:"channels"` }
type DiscordUpdateInput ¶
type DiscordUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` Token string `json:"token"` BotID string `json:"botId"` Channels []*ChannelBindingsByIDUpdateInput `json:"channels"` }
type Elasticsearch ¶
type Elasticsearch struct { ID string `json:"id"` Name string `json:"name"` Username string `json:"username"` Password string `json:"password"` Server string `json:"server"` SkipTLSVerify bool `json:"skipTlsVerify"` AwsSigningRegion *string `json:"awsSigningRegion"` AwsSigningRoleArn *string `json:"awsSigningRoleArn"` Indices []*ElasticsearchIndex `json:"indices"` }
type ElasticsearchCreateInput ¶
type ElasticsearchCreateInput struct { Name string `json:"name"` Username string `json:"username"` Password string `json:"password"` Server string `json:"server"` SkipTLSVerify bool `json:"skipTlsVerify"` AwsSigningRegion *string `json:"awsSigningRegion"` AwsSigningRoleArn *string `json:"awsSigningRoleArn"` Indices []*ElasticsearchIndexCreateInput `json:"indices"` }
type ElasticsearchIndex ¶
type ElasticsearchIndexCreateInput ¶
type ElasticsearchIndexCreateInput struct { Name string `json:"name"` Type string `json:"type"` Shards int `json:"shards"` Replicas int `json:"replicas"` Bindings *SinkBindingsCreateInput `json:"bindings"` }
type ElasticsearchIndexUpdateInput ¶
type ElasticsearchIndexUpdateInput struct { Name string `json:"name"` Type string `json:"type"` Shards int `json:"shards"` Replicas int `json:"replicas"` Bindings *SinkBindingsUpdateInput `json:"bindings"` }
type ElasticsearchUpdateInput ¶
type ElasticsearchUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` Username string `json:"username"` Password string `json:"password"` Server string `json:"server"` SkipTLSVerify bool `json:"skipTlsVerify"` AwsSigningRegion *string `json:"awsSigningRegion"` AwsSigningRoleArn *string `json:"awsSigningRoleArn"` Indices []*ElasticsearchIndexUpdateInput `json:"indices"` }
type GroupPolicySubject ¶ added in v1.3.0
type GroupPolicySubject struct { Type PolicySubjectType `json:"type"` Static *GroupStaticSubject `json:"static"` Prefix *string `json:"prefix"` }
type GroupPolicySubjectInput ¶ added in v1.3.0
type GroupPolicySubjectInput struct { Type PolicySubjectType `json:"type"` Static *GroupStaticSubjectInput `json:"static"` Prefix *string `json:"prefix"` }
type GroupStaticSubject ¶ added in v1.3.0
type GroupStaticSubject struct {
Values []string `json:"values"`
}
type GroupStaticSubjectInput ¶ added in v1.3.0
type GroupStaticSubjectInput struct {
Values []string `json:"values"`
}
type HubSpotIdentificationToken ¶ added in v1.3.0
type HubSpotIdentificationToken struct {
Token string `json:"token"`
}
type HubspotIdentificationTokenInput ¶ added in v1.3.0
type InstallUpgradeInstructionsForPlatform ¶ added in v1.3.0
type InstallUpgradeInstructionsForPlatform struct { PlatformName string `json:"platformName"` InstallationType InstallationType `json:"installationType"` Prerequisites []*InstallUpgradePrerequisite `json:"prerequisites"` InstallUpgradeCommand string `json:"installUpgradeCommand"` }
type InstallUpgradePrerequisite ¶ added in v1.3.0
type InstallationType ¶ added in v1.6.0
type InstallationType string
const ( InstallationTypeCli InstallationType = "CLI" InstallationTypeGitOps InstallationType = "GIT_OPS" )
func (InstallationType) IsValid ¶ added in v1.6.0
func (e InstallationType) IsValid() bool
func (InstallationType) MarshalGQL ¶ added in v1.6.0
func (e InstallationType) MarshalGQL(w io.Writer)
func (InstallationType) String ¶ added in v1.6.0
func (e InstallationType) String() string
func (*InstallationType) UnmarshalGQL ¶ added in v1.6.0
func (e *InstallationType) UnmarshalGQL(v interface{}) error
type Invoice ¶
type Invoice struct { IsOnTrial bool `json:"isOnTrial"` UpcomingAmount int `json:"upcomingAmount"` Currency string `json:"currency"` EndOfBillingCycleDate *string `json:"endOfBillingCycleDate"` EndOfTrialDate *string `json:"endOfTrialDate"` Items []*InvoiceItem `json:"items"` Coupon *Coupon `json:"coupon"` }
type InvoiceItem ¶
type Mattermost ¶
type MattermostCreateInput ¶
type MattermostUpdateInput ¶
type NotificationPatchDeploymentConfigInput ¶
type NotificationPatchDeploymentConfigInput struct { CommunicationGroupName string `json:"communicationGroupName"` Platform BotPlatform `json:"platform"` ChannelAlias string `json:"channelAlias"` Disabled bool `json:"disabled"` }
type Organization ¶
type Organization struct { ID string `json:"id"` DisplayName string `json:"displayName"` Subscription *OrganizationSubscription `json:"subscription"` ConnectedPlatforms *OrganizationConnectedPlatforms `json:"connectedPlatforms"` OwnerID string `json:"ownerId"` Owner *User `json:"owner"` Members []*User `json:"members"` Quota *Quota `json:"quota"` BillingHistoryAvailable bool `json:"billingHistoryAvailable"` UpdateOperations *OrganizationUpdateOperations `json:"updateOperations"` Usage *Usage `json:"usage"` }
type OrganizationConnectedPlatforms ¶ added in v1.3.0
type OrganizationConnectedPlatforms struct { Slacks []*SlackWorkspace `json:"slacks"` Slack *SlackWorkspace `json:"slack"` TeamsOrganizations []*TeamsOrganization `json:"teamsOrganizations"` TeamsOrganization *TeamsOrganization `json:"teamsOrganization"` }
OrganizationConnectedPlatforms represents connected platforms.
type OrganizationCreateInput ¶
type OrganizationCreateInput struct {
DisplayName string `json:"displayName"`
}
type OrganizationSubscription ¶
type OrganizationSubscription struct { PlanName string `json:"planName"` CustomerID *string `json:"customerId"` SubscriptionID *string `json:"subscriptionId"` PlanDisplayName *string `json:"planDisplayName"` IsDefaultPlan *bool `json:"isDefaultPlan"` TrialConsumed bool `json:"trialConsumed"` Invoice *Invoice `json:"invoice"` }
type OrganizationUpdateInput ¶
type OrganizationUpdateInput struct {
DisplayName string `json:"displayName"`
}
type PatchDeploymentConfigInput ¶
type PatchDeploymentConfigInput struct { ResourceVersion int `json:"resourceVersion"` Notification *NotificationPatchDeploymentConfigInput `json:"notification"` SourceBinding *SourceBindingPatchDeploymentConfigInput `json:"sourceBinding"` Action *ActionPatchDeploymentConfigInput `json:"action"` }
type Platforms ¶
type Platforms struct { SocketSlacks []*SocketSlack `json:"socketSlacks"` CloudSlacks []*CloudSlack `json:"cloudSlacks"` Discords []*Discord `json:"discords"` Mattermosts []*Mattermost `json:"mattermosts"` Webhooks []*Webhook `json:"webhooks"` Elasticsearches []*Elasticsearch `json:"elasticsearches"` CloudMsTeams []*CloudMsTeams `json:"cloudTeams"` }
Platforms is used by a specific platform field resolvers to return only those that are connected with a given deployment ID.
type PlatformsCreateInput ¶
type PlatformsCreateInput struct { Discords []*DiscordCreateInput `json:"discords"` SocketSlacks []*SocketSlackCreateInput `json:"socketSlacks"` CloudSlacks []*CloudSlackCreateInput `json:"cloudSlacks"` Mattermosts []*MattermostCreateInput `json:"mattermosts"` Webhooks []*WebhookCreateInput `json:"webhooks"` Elasticsearches []*ElasticsearchCreateInput `json:"elasticsearches"` }
type PlatformsUpdateInput ¶
type PlatformsUpdateInput struct { SocketSlacks []*SocketSlackUpdateInput `json:"socketSlacks"` CloudSlacks []*CloudSlackUpdateInput `json:"cloudSlacks"` Discords []*DiscordUpdateInput `json:"discords"` Mattermosts []*MattermostUpdateInput `json:"mattermosts"` Webhooks []*WebhookUpdateInput `json:"webhooks"` CloudMsTeams []*CloudMsTeamsUpdateInput `json:"cloudMsTeams"` Elasticsearches []*ElasticsearchUpdateInput `json:"elasticsearches"` }
type PluginConfigurationGroupInput ¶
type PluginConfigurationGroupInput struct { Name string `json:"name"` DisplayName string `json:"displayName"` Type PluginType `json:"type"` Configurations []*PluginConfigurationInput `json:"configurations"` Enabled bool `json:"enabled"` }
type PluginConfigurationGroupUpdateInput ¶
type PluginConfigurationGroupUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` DisplayName string `json:"displayName"` Type PluginType `json:"type"` Enabled bool `json:"enabled"` Configurations []*PluginConfigurationUpdateInput `json:"configurations"` }
type PluginConfigurationUpdateInput ¶ added in v1.3.0
type PluginConfigurationUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` Configuration string `json:"configuration"` Rbac *RBACUpdateInput `json:"rbac"` }
type PluginPage ¶
type PluginPage struct { Data []*Plugin `json:"data"` PageInfo *PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
func (PluginPage) GetPageInfo ¶
func (this PluginPage) GetPageInfo() *PageInfo
func (PluginPage) GetTotalCount ¶
func (this PluginPage) GetTotalCount() int
func (PluginPage) IsPageable ¶
func (PluginPage) IsPageable()
type PluginTemplate ¶
type PluginTemplatePage ¶
type PluginTemplatePage struct {
Data []*PluginTemplate `json:"data"`
}
type PluginType ¶
type PluginType string
const ( PluginTypeSource PluginType = "SOURCE" PluginTypeExecutor PluginType = "EXECUTOR" )
func (PluginType) IsValid ¶
func (e PluginType) IsValid() bool
func (PluginType) MarshalGQL ¶
func (e PluginType) MarshalGQL(w io.Writer)
func (PluginType) String ¶
func (e PluginType) String() string
func (*PluginType) UnmarshalGQL ¶
func (e *PluginType) UnmarshalGQL(v interface{}) error
type PluginsCreateInput ¶
type PluginsCreateInput struct {
Groups []*PluginConfigurationGroupInput `json:"groups"`
}
type PluginsUpdateInput ¶
type PluginsUpdateInput struct {
Groups []*PluginConfigurationGroupUpdateInput `json:"groups"`
}
type PolicySubjectType ¶ added in v1.3.0
type PolicySubjectType string
const ( PolicySubjectTypeStatic PolicySubjectType = "STATIC" PolicySubjectTypeChannelName PolicySubjectType = "CHANNEL_NAME" PolicySubjectTypeEmpty PolicySubjectType = "EMPTY" )
func (PolicySubjectType) IsValid ¶ added in v1.3.0
func (e PolicySubjectType) IsValid() bool
func (PolicySubjectType) MarshalGQL ¶ added in v1.3.0
func (e PolicySubjectType) MarshalGQL(w io.Writer)
func (PolicySubjectType) String ¶ added in v1.3.0
func (e PolicySubjectType) String() string
func (*PolicySubjectType) UnmarshalGQL ¶ added in v1.3.0
func (e *PolicySubjectType) UnmarshalGQL(v interface{}) error
type RBACInput ¶ added in v1.3.0
type RBACInput struct { User *UserPolicySubjectInput `json:"user"` Group *GroupPolicySubjectInput `json:"group"` }
type RBACUpdateInput ¶ added in v1.3.0
type RBACUpdateInput struct { ID string `json:"id"` User *UserPolicySubjectInput `json:"user"` Group *GroupPolicySubjectInput `json:"group"` }
type Rbac ¶ added in v1.3.0
type Rbac struct { ID string `json:"id"` User *UserPolicySubject `json:"user"` Group *GroupPolicySubject `json:"group"` }
type RegexConstraints ¶ added in v1.6.0
type RegexConstraintsInput ¶ added in v1.6.0
type RemovePlatformFromOrganizationInput ¶ added in v1.3.0
type RemovePlatformFromOrganizationInput struct { OrganizationID string `json:"organizationId"` Slack *RemoveSlackFromOrganizationInput `json:"slack"` Teams *RemoveTeamsFromOrganizationInput `json:"teams"` }
type RemoveSlackFromOrganizationInput ¶ added in v1.3.0
type RemoveSlackFromOrganizationInput struct {
ID string `json:"ID"`
}
type RemoveTeamsFromOrganizationInput ¶ added in v1.6.0
type RemoveTeamsFromOrganizationInput struct {
ID string `json:"ID"`
}
type SinkBindings ¶
type SinkBindings struct {
Sources []string `json:"sources"`
}
type SinkBindingsCreateInput ¶
type SinkBindingsCreateInput struct {
Sources []*string `json:"sources"`
}
type SinkBindingsUpdateInput ¶
type SinkBindingsUpdateInput struct {
Sources []*string `json:"sources"`
}
type SlackWorkspace ¶ added in v1.3.0
type SlackWorkspace struct { ID string `json:"id"` Name string `json:"name"` TeamID string `json:"teamId"` URL string `json:"url"` Channels []*SlackWorkspaceChannel `json:"channels"` IsReinstallRequired bool `json:"isReinstallRequired"` ConnectedOrganizations []*SlackWorkspaceConnectedOrganizations `json:"connectedOrganizations"` }
type SlackWorkspaceChannel ¶ added in v1.3.0
type SlackWorkspaceConnectedOrganizations ¶ added in v1.3.0
type SocketSlack ¶
type SocketSlack struct { ID string `json:"id"` Name string `json:"name"` AppToken string `json:"appToken"` BotToken string `json:"botToken"` Channels []*ChannelBindingsByName `json:"channels"` }
type SocketSlackCreateInput ¶
type SocketSlackCreateInput struct { Name string `json:"name"` AppToken string `json:"appToken"` BotToken string `json:"botToken"` Channels []*ChannelBindingsByNameCreateInput `json:"channels"` }
type SocketSlackUpdateInput ¶
type SocketSlackUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` AppToken string `json:"appToken"` BotToken string `json:"botToken"` Channels []*ChannelBindingsByNameUpdateInput `json:"channels"` }
type SourceBindingPatchDeploymentConfigInput ¶
type SourceBindingPatchDeploymentConfigInput struct { CommunicationGroupName string `json:"communicationGroupName"` Platform BotPlatform `json:"platform"` ChannelAlias string `json:"channelAlias"` SourceBindings []string `json:"sourceBindings"` }
type SourceEventDetails ¶
type SourceEventEmittedEvent ¶
type SourceEventEmittedEvent struct { ID string `json:"id"` Type AuditEventType `json:"type"` DeploymentID string `json:"deploymentId"` Deployment *Deployment `json:"deployment"` CreatedAt string `json:"createdAt"` Event interface{} `json:"event"` Source *SourceEventDetails `json:"source"` PluginName string `json:"pluginName"` }
func (SourceEventEmittedEvent) GetCreatedAt ¶
func (this SourceEventEmittedEvent) GetCreatedAt() string
func (SourceEventEmittedEvent) GetDeployment ¶
func (this SourceEventEmittedEvent) GetDeployment() *Deployment
func (SourceEventEmittedEvent) GetDeploymentID ¶
func (this SourceEventEmittedEvent) GetDeploymentID() string
func (SourceEventEmittedEvent) GetID ¶
func (this SourceEventEmittedEvent) GetID() string
func (SourceEventEmittedEvent) GetPluginName ¶
func (this SourceEventEmittedEvent) GetPluginName() string
func (SourceEventEmittedEvent) GetType ¶
func (this SourceEventEmittedEvent) GetType() *AuditEventType
func (SourceEventEmittedEvent) IsAuditEvent ¶
func (SourceEventEmittedEvent) IsAuditEvent()
type StripeCouponDuration ¶ added in v1.3.0
type StripeCouponDuration string
const ( StripeCouponDurationForever StripeCouponDuration = "FOREVER" StripeCouponDurationOnce StripeCouponDuration = "ONCE" StripeCouponDurationRepeating StripeCouponDuration = "REPEATING" StripeCouponDurationUnknown StripeCouponDuration = "UNKNOWN" )
func (StripeCouponDuration) IsValid ¶ added in v1.3.0
func (e StripeCouponDuration) IsValid() bool
func (StripeCouponDuration) MarshalGQL ¶ added in v1.3.0
func (e StripeCouponDuration) MarshalGQL(w io.Writer)
func (StripeCouponDuration) String ¶ added in v1.3.0
func (e StripeCouponDuration) String() string
func (*StripeCouponDuration) UnmarshalGQL ¶ added in v1.3.0
func (e *StripeCouponDuration) UnmarshalGQL(v interface{}) error
type SubscriptionPlan ¶
type TeamsOrganization ¶ added in v1.6.0
type TeamsOrganizationConnectedOrganizations ¶ added in v1.6.0
type TeamsOrganizationTeam ¶ added in v1.6.0
type TeamsOrganizationTeamChannel ¶ added in v1.6.0
type TextMessageTriggerEvent ¶ added in v1.6.0
type TextMessageTriggerEvent string
const (
TextMessageTriggerEventChannelMessage TextMessageTriggerEvent = "CHANNEL_MESSAGE"
)
func (TextMessageTriggerEvent) IsValid ¶ added in v1.6.0
func (e TextMessageTriggerEvent) IsValid() bool
func (TextMessageTriggerEvent) MarshalGQL ¶ added in v1.6.0
func (e TextMessageTriggerEvent) MarshalGQL(w io.Writer)
func (TextMessageTriggerEvent) String ¶ added in v1.6.0
func (e TextMessageTriggerEvent) String() string
func (*TextMessageTriggerEvent) UnmarshalGQL ¶ added in v1.6.0
func (e *TextMessageTriggerEvent) UnmarshalGQL(v interface{}) error
type TextMessageTriggers ¶ added in v1.6.0
type TextMessageTriggers struct { Event TextMessageTriggerEvent `json:"event"` Text *RegexConstraints `json:"text"` Users *RegexConstraints `json:"users"` Command *string `json:"command"` Executors []string `json:"executors"` ProcessedEmojiIndicator *string `json:"processedEmojiIndicator"` }
type TextMessageTriggersInput ¶ added in v1.6.0
type TextMessageTriggersInput struct { Event TextMessageTriggerEvent `json:"event"` Text *RegexConstraintsInput `json:"text"` Users *RegexConstraintsInput `json:"users"` Command *string `json:"command"` Executors []string `json:"executors"` ProcessedEmojiIndicator *string `json:"processedEmojiIndicator"` }
type UpdateCurrentUserInput ¶ added in v1.6.0
type UpdateCurrentUserInput struct {
FirstLoginPageVisitedIn bool `json:"firstLoginPageVisitedIn"`
}
type Usage ¶
type Usage struct { DeploymentCount *int `json:"deploymentCount"` MemberCount *int `json:"memberCount"` NodeCount *int `json:"nodeCount"` CloudSlackUseCount *int `json:"cloudSlackUseCount"` }
Usage describes organization usage statistics.
type UserPolicySubject ¶ added in v1.3.0
type UserPolicySubject struct { Type PolicySubjectType `json:"type"` Static *UserStaticSubject `json:"static"` Prefix *string `json:"prefix"` }
type UserPolicySubjectInput ¶ added in v1.3.0
type UserPolicySubjectInput struct { Type PolicySubjectType `json:"type"` Static *UserStaticSubjectInput `json:"static"` Prefix *string `json:"prefix"` }
type UserStaticSubject ¶ added in v1.3.0
type UserStaticSubject struct {
Value string `json:"value"`
}
type UserStaticSubjectInput ¶ added in v1.3.0
type UserStaticSubjectInput struct {
Value string `json:"value"`
}
type Webhook ¶
type Webhook struct { ID string `json:"id"` Name string `json:"name"` URL string `json:"url"` Bindings *SinkBindings `json:"bindings"` }
type WebhookCreateInput ¶
type WebhookCreateInput struct { Name string `json:"name"` URL string `json:"url"` Bindings *SinkBindingsCreateInput `json:"bindings"` }
type WebhookUpdateInput ¶
type WebhookUpdateInput struct { ID *string `json:"id"` Name string `json:"name"` URL string `json:"url"` Bindings *SinkBindingsUpdateInput `json:"bindings"` }
Click to show internal directories.
Click to hide internal directories.