Documentation ¶
Index ¶
- Variables
- 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 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 AllAuditEventType = []AuditEventType{ AuditEventTypeCommandExecuted, AuditEventTypeSourceEventEmitted, }
View Source
var AllBotPlatform = []BotPlatform{ BotPlatformSLACk, BotPlatformDiscord, BotPlatformMattermost, BotPlatformMsTeams, BotPlatformUnknown, }
View Source
var AllDeploymentStatusPhase = []DeploymentStatusPhase{ 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 ActionBindings ¶
type ActionCreateUpdateInput ¶
type AddPlatformToOrganizationInput ¶ added in v1.3.0
type AddPlatformToOrganizationInput struct { OrganizationID string `json:"organizationId"` Slack *AddSlackToOrganizationInput `json:"slack"` }
type AddSlackToOrganizationInput ¶ added in v1.3.0
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" )
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 ¶ 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"` 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"`
}
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"` 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 ( 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 ¶ 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"` Prerequisites []*InstallUpgradePrerequisite `json:"prerequisites"` InstallUpgradeCommand string `json:"installUpgradeCommand"` }
type InstallUpgradePrerequisite ¶ added in v1.3.0
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 ¶ added in v1.3.0
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 ¶ 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 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 ¶ 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 RemovePlatformFromOrganizationInput ¶ added in v1.3.0
type RemovePlatformFromOrganizationInput struct { OrganizationID string `json:"organizationId"` Slack *RemoveSlackFromOrganizationInput `json:"slack"` }
type RemoveSlackFromOrganizationInput ¶ added in v1.3.0
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 ¶ 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 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 ¶ 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.