Documentation
¶
Overview ¶
Package model contains copied GraphQL models generated by gqlgen for Botkube Cloud GraphQL API. Apart from the generated `models_gen.go` file, other files contain copied, customized models.
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 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 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 Invoice
- type InvoiceItem
- type Mattermost
- type MattermostCreateInput
- type MattermostUpdateInput
- type MsTeams
- type MsTeamsCreateInput
- type MsTeamsUpdateInput
- 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 RemoveMemberFromOrganizationInput
- type RemovePlatformFromOrganizationInput
- type RemoveSlackFromOrganizationInput
- 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 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 AllPluginType = []PluginType{ PluginTypeSource, PluginTypeExecutor, }
View Source
var AllPolicySubjectType = []PolicySubjectType{ PolicySubjectTypeStatic, PolicySubjectTypeChannelName, PolicySubjectTypeEmpty, }
View Source
var AllStripeCouponDuration = []StripeCouponDuration{ StripeCouponDurationForever, StripeCouponDurationOnce, StripeCouponDurationRepeating, StripeCouponDurationUnknown, }
Functions ¶
This section is empty.
Types ¶
type APICallEvent ¶
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 ¶
func (this APICallEvent) GetCreatedAt() string
func (APICallEvent) GetDeployment ¶
func (this APICallEvent) GetDeployment() *Deployment
func (APICallEvent) GetDeploymentID ¶
func (this APICallEvent) GetDeploymentID() string
func (APICallEvent) GetID ¶
func (this APICallEvent) GetID() string
func (APICallEvent) GetPluginName ¶
func (this APICallEvent) GetPluginName() string
func (APICallEvent) GetType ¶
func (this APICallEvent) GetType() *AuditEventType
func (APICallEvent) IsAuditEvent ¶
func (APICallEvent) IsAuditEvent()
type APICallEventQglType ¶
type APICallEventQglType string
const ( APICallEventQglTypeQuery APICallEventQglType = "QUERY" APICallEventQglTypeMutation APICallEventQglType = "MUTATION" )
func (APICallEventQglType) IsValid ¶
func (e APICallEventQglType) IsValid() bool
func (APICallEventQglType) MarshalGQL ¶
func (e APICallEventQglType) MarshalGQL(w io.Writer)
func (APICallEventQglType) String ¶
func (e APICallEventQglType) String() string
func (*APICallEventQglType) UnmarshalGQL ¶
func (e *APICallEventQglType) UnmarshalGQL(v interface{}) error
type ActionBindings ¶
type ActionCreateUpdateInput ¶
type AddPlatformToOrganizationInput ¶
type AddPlatformToOrganizationInput struct {
OrganizationID string `json:"organizationId"`
Slack *AddSlackToOrganizationInput `json:"slack"`
}
type AddSlackToOrganizationInput ¶
type AddSlackToOrganizationInput 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"`
Channel string `json:"channel"`
BotPlatform *BotPlatform `json:"botPlatform"`
Command string `json:"command"`
}
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"`
}
type ChannelBindingsByNameCreateInput ¶
type ChannelBindingsByNameCreateInput struct {
Name string `json:"name"`
Bindings *BotBindingsCreateInput `json:"bindings"`
NotificationsDisabled *bool `json:"notificationsDisabled"`
}
type ChannelBindingsByNameUpdateInput ¶
type ChannelBindingsByNameUpdateInput struct {
Name string `json:"name"`
Bindings *BotBindingsUpdateInput `json:"bindings"`
}
type CloudSlack ¶
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 ¶
type CloudSlackCreateInput struct {
Name string `json:"name"`
TeamID string `json:"teamId"`
Channels []*ChannelBindingsByNameCreateInput `json:"channels"`
}
type CloudSlackUpdateInput ¶
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"`
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 ¶
type ConnectedPlatforms struct {
Slack *SlackWorkspace `json:"slack"`
}
type Coupon ¶
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 ¶
type DeleteByIDInput struct {
ID string `json:"ID"`
}
type DeletePlatformInput ¶
type DeletePlatformInput struct {
SocketSlack *DeleteByIDInput `json:"socketSlack"`
CloudSlack *DeleteByIDInput `json:"cloudSlack"`
Discord *DeleteByIDInput `json:"discord"`
Mattermost *DeleteByIDInput `json:"mattermost"`
Webhook *DeleteByIDInput `json:"webhook"`
MsTeams *DeleteByIDInput `json:"msTeams"`
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"`
}
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"`
}
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"`
ResourceVersion int `json:"resourceVersion"`
}
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 ¶
type GroupPolicySubject struct {
Type PolicySubjectType `json:"type"`
Static *GroupStaticSubject `json:"static"`
Prefix *string `json:"prefix"`
}
type GroupPolicySubjectInput ¶
type GroupPolicySubjectInput struct {
Type PolicySubjectType `json:"type"`
Static *GroupStaticSubjectInput `json:"static"`
Prefix *string `json:"prefix"`
}
type GroupStaticSubject ¶
type GroupStaticSubject struct {
Values []string `json:"values"`
}
type GroupStaticSubjectInput ¶
type GroupStaticSubjectInput struct {
Values []string `json:"values"`
}
type HubSpotIdentificationToken ¶
type HubSpotIdentificationToken struct {
Token string `json:"token"`
}
type InstallUpgradeInstructionsForPlatform ¶
type InstallUpgradeInstructionsForPlatform struct {
PlatformName string `json:"platformName"`
Prerequisites []*InstallUpgradePrerequisite `json:"prerequisites"`
InstallUpgradeCommand string `json:"installUpgradeCommand"`
}
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 MsTeams ¶
type MsTeams struct {
ID string `json:"id"`
Name string `json:"name"`
BotName string `json:"botName"`
AppID string `json:"appId"`
AppPassword string `json:"appPassword"`
Port string `json:"port"`
MessagePath string `json:"messagePath"`
NotificationsDisabled *bool `json:"notificationsDisabled"`
Bindings *BotBindings `json:"bindings"`
}
type MsTeamsCreateInput ¶
type MsTeamsCreateInput struct {
Name string `json:"name"`
BotName string `json:"botName"`
AppID string `json:"appId"`
AppPassword string `json:"appPassword"`
Port string `json:"port"`
MessagePath string `json:"messagePath"`
NotificationsDisabled *bool `json:"notificationsDisabled"`
Bindings *BotBindingsCreateInput `json:"bindings"`
}
type MsTeamsUpdateInput ¶
type MsTeamsUpdateInput struct {
ID *string `json:"id"`
Name string `json:"name"`
BotName string `json:"botName"`
AppID string `json:"appId"`
AppPassword string `json:"appPassword"`
Port string `json:"port"`
MessagePath string `json:"messagePath"`
Bindings *BotBindingsUpdateInput `json:"bindings"`
}
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 ¶
type OrganizationConnectedPlatforms struct {
OrganizationID string `graphql:"-"`
Slacks []*SlackWorkspace `json:"slacks"`
Slack *SlackWorkspace `json:"slack"`
}
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 {
DeploymentID string `graphql:"-"`
SocketSlacks []*SocketSlack `json:"socketSlacks"`
CloudSlacks []*CloudSlack `json:"cloudSlacks"`
Discords []*Discord `json:"discords"`
Mattermosts []*Mattermost `json:"mattermosts"`
Webhooks []*Webhook `json:"webhooks"`
MsTeams []*MsTeams `json:"msTeams"`
Elasticsearches []*Elasticsearch `json:"elasticsearches"`
}
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"`
MsTeams []*MsTeamsCreateInput `json:"msTeams"`
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"`
MsTeams []*MsTeamsUpdateInput `json:"msTeams"`
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"`
}
type PluginConfigurationGroupUpdateInput ¶
type PluginConfigurationGroupUpdateInput struct {
ID *string `json:"id"`
Name string `json:"name"`
DisplayName string `json:"displayName"`
Type PluginType `json:"type"`
Configurations []*PluginConfigurationUpdateInput `json:"configurations"`
}
type PluginConfigurationUpdateInput ¶
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 PluginTemplate struct {
Name string `json:"name"`
Title string `json:"title"`
Description string `json:"description"`
Type PluginType `json:"type"`
Schema interface{} `json:"schema"`
}
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 ¶
type PolicySubjectType string
const ( PolicySubjectTypeStatic PolicySubjectType = "STATIC" PolicySubjectTypeChannelName PolicySubjectType = "CHANNEL_NAME" PolicySubjectTypeEmpty PolicySubjectType = "EMPTY" )
func (PolicySubjectType) IsValid ¶
func (e PolicySubjectType) IsValid() bool
func (PolicySubjectType) MarshalGQL ¶
func (e PolicySubjectType) MarshalGQL(w io.Writer)
func (PolicySubjectType) String ¶
func (e PolicySubjectType) String() string
func (*PolicySubjectType) UnmarshalGQL ¶
func (e *PolicySubjectType) UnmarshalGQL(v interface{}) error
type RBACInput ¶
type RBACInput struct {
User *UserPolicySubjectInput `json:"user"`
Group *GroupPolicySubjectInput `json:"group"`
}
type RBACUpdateInput ¶
type RBACUpdateInput struct {
ID string `json:"id"`
User *UserPolicySubjectInput `json:"user"`
Group *GroupPolicySubjectInput `json:"group"`
}
type Rbac ¶
type Rbac struct {
ID string `json:"id"`
User *UserPolicySubject `json:"user"`
Group *GroupPolicySubject `json:"group"`
}
type RemovePlatformFromOrganizationInput ¶
type RemovePlatformFromOrganizationInput struct {
OrganizationID string `json:"organizationId"`
Slack *RemoveSlackFromOrganizationInput `json:"slack"`
}
type RemoveSlackFromOrganizationInput ¶
type RemoveSlackFromOrganizationInput 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 ¶
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 ¶
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 ¶
type StripeCouponDuration string
const ( StripeCouponDurationForever StripeCouponDuration = "FOREVER" StripeCouponDurationOnce StripeCouponDuration = "ONCE" StripeCouponDurationRepeating StripeCouponDuration = "REPEATING" StripeCouponDurationUnknown StripeCouponDuration = "UNKNOWN" )
func (StripeCouponDuration) IsValid ¶
func (e StripeCouponDuration) IsValid() bool
func (StripeCouponDuration) MarshalGQL ¶
func (e StripeCouponDuration) MarshalGQL(w io.Writer)
func (StripeCouponDuration) String ¶
func (e StripeCouponDuration) String() string
func (*StripeCouponDuration) UnmarshalGQL ¶
func (e *StripeCouponDuration) UnmarshalGQL(v interface{}) error
type SubscriptionPlan ¶
type UpdateCurrentUserInput ¶
type UpdateCurrentUserInput struct {
FirstLoginPageVisitedIn bool `json:"firstLoginPageVisitedIn"`
}
type Usage ¶
type Usage struct {
OrganizationID string `graphql:"-"`
DeploymentCount *int `json:"deploymentCount"`
MemberCount *int `json:"memberCount"`
NodeCount *int `json:"nodeCount"`
CloudSlackUseCount *int `json:"cloudSlackUseCount"`
}
Usage describes organization usage statistics.
type UserPolicySubject ¶
type UserPolicySubject struct {
Type PolicySubjectType `json:"type"`
Static *UserStaticSubject `json:"static"`
Prefix *string `json:"prefix"`
}
type UserPolicySubjectInput ¶
type UserPolicySubjectInput struct {
Type PolicySubjectType `json:"type"`
Static *UserStaticSubjectInput `json:"static"`
Prefix *string `json:"prefix"`
}
type UserStaticSubject ¶
type UserStaticSubject struct {
Value string `json:"value"`
}
type UserStaticSubjectInput ¶
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.