 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type AppBasicAuthAccessControlList
- type AppBasicAuthAccessControlListInput
- type AppBasicAuthAccessControlUser
- type AppBasicAuthAccessControlUserInput
- type Application
- type ApplicationCustomHealthCheck
- type ApplicationCustomHealthCheckInput
- type ApplicationDeployResult
- type ApplicationGroup
- type ApplicationGroupInput
- type ApplicationInput
- type ApplicationResourceAnalytics
- type ApplicationResourceAnalyticsTimeframe
- type BuildArg
- type BuildArgInput
- type CIFSConfig
- type CIFSConfigInput
- type ConfigMount
- type ConfigMountInput
- type CustomSSLInput
- type Dependency
- type Deployment
- type DeploymentLog
- type DeploymentMode
- type DeploymentStatus
- type DockerConfigBuildArg
- type DockerConfigGeneratorInput
- type DockerConfigGeneratorOutput
- type DockerConfigSourceType
- type DockerProxyConfig
- type DockerProxyConfigInput
- type DockerProxyPermission
- type DockerProxyPermissionInput
- type DockerProxyPermissionType
- type Domain
- type DomainInput
- type DomainSSLStatus
- type EnvironmentVariable
- type EnvironmentVariableInput
- type FileInfo
- type GitBranchesQueryInput
- type GitCredential
- type GitCredentialInput
- type GitCredentialRepositoryAccessInput
- type GitType
- type HealthStatus
- type ImageRegistryCredential
- type ImageRegistryCredentialInput
- type IngressRule
- type IngressRuleAuthenticationType
- type IngressRuleInput
- type IngressRuleStatus
- type IngressRuleTargetType
- type IngressRuleValidationInput
- type Mutation
- type NFSConfig
- type NFSConfigInput
- type NetworkInterface
- type NewServerInput
- type PasswordUpdateInput
- type PersistentVolume
- type PersistentVolumeBackup
- type PersistentVolumeBackupInput
- type PersistentVolumeBackupStatus
- type PersistentVolumeBackupType
- type PersistentVolumeBinding
- type PersistentVolumeBindingInput
- type PersistentVolumeInput
- type PersistentVolumeRestore
- type PersistentVolumeRestoreInput
- type PersistentVolumeRestoreStatus
- type PersistentVolumeRestoreType
- type PersistentVolumeType
- type ProtocolType
- type ProxyType
- type Query
- type RealtimeInfo
- type RedirectRule
- type RedirectRuleInput
- type RedirectRuleStatus
- type RequestTotpEnable
- type ReservedResource
- type ReservedResourceInput
- type ResourceLimit
- type ResourceLimitInput
- type RuntimeLog
- type RuntimeLogTimeframe
- type Server
- type ServerDiskUsage
- type ServerDisksUsage
- type ServerLog
- type ServerResourceAnalytics
- type ServerResourceAnalyticsTimeframe
- type ServerSetupInput
- type ServerStatus
- type StackInput
- type StackVariableType
- type StackVerifyResult
- type Subscription
- type SwarmMode
- type UpstreamType
- type User
- type UserInput
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var AllApplicationResourceAnalyticsTimeframe = []ApplicationResourceAnalyticsTimeframe{ ApplicationResourceAnalyticsTimeframeLast1Hour, ApplicationResourceAnalyticsTimeframeLast3Hours, ApplicationResourceAnalyticsTimeframeLast6Hours, ApplicationResourceAnalyticsTimeframeLast12Hours, ApplicationResourceAnalyticsTimeframeLast24Hours, ApplicationResourceAnalyticsTimeframeLast7Days, ApplicationResourceAnalyticsTimeframeLast30Days, }
      View Source
      
  
    var AllDeploymentMode = []DeploymentMode{ DeploymentModeReplicated, DeploymentModeGlobal, }
      View Source
      
  
    var AllDeploymentStatus = []DeploymentStatus{ DeploymentStatusPending, DeploymentStatusDeployPending, DeploymentStatusDeploying, DeploymentStatusDeployed, DeploymentStatusStopped, DeploymentStatusFailed, DeploymentStatusStalled, }
      View Source
      
  
    var AllDockerConfigSourceType = []DockerConfigSourceType{ DockerConfigSourceTypeGit, DockerConfigSourceTypeSourceCode, DockerConfigSourceTypeCustom, }
      View Source
      
  
    var AllDockerProxyPermissionType = []DockerProxyPermissionType{ DockerProxyPermissionTypeNone, DockerProxyPermissionTypeRead, DockerProxyPermissionTypeReadWrite, }
      View Source
      
  
    var AllDomainSSLStatus = []DomainSSLStatus{ DomainSSLStatusNone, DomainSSLStatusPending, DomainSSLStatusIssued, DomainSSLStatusFailed, }
      View Source
      
  
    var AllGitType = []GitType{ GitTypeHTTP, GitTypeSSH, }
      View Source
      
  
    var AllHealthStatus = []HealthStatus{ HealthStatusHealthy, HealthStatusUnhealthy, HealthStatusUnknown, }
      View Source
      
  
    var AllIngressRuleAuthenticationType = []IngressRuleAuthenticationType{ IngressRuleAuthenticationTypeNone, IngressRuleAuthenticationTypeBasic, }
      View Source
      
  
    var AllIngressRuleStatus = []IngressRuleStatus{ IngressRuleStatusPending, IngressRuleStatusApplied, IngressRuleStatusDeleting, IngressRuleStatusFailed, }
      View Source
      
  
    var AllIngressRuleTargetType = []IngressRuleTargetType{ IngressRuleTargetTypeApplication, IngressRuleTargetTypeExternalService, }
      View Source
      
  
    var AllPersistentVolumeBackupStatus = []PersistentVolumeBackupStatus{ PersistentVolumeBackupStatusPending, PersistentVolumeBackupStatusFailed, PersistentVolumeBackupStatusSuccess, }
      View Source
      
  
    var AllPersistentVolumeBackupType = []PersistentVolumeBackupType{ PersistentVolumeBackupTypeLocal, PersistentVolumeBackupTypeS3, }
      View Source
      
  
    var AllPersistentVolumeRestoreStatus = []PersistentVolumeRestoreStatus{ PersistentVolumeRestoreStatusPending, PersistentVolumeRestoreStatusFailed, PersistentVolumeRestoreStatusSuccess, }
      View Source
      
  
    var AllPersistentVolumeRestoreType = []PersistentVolumeRestoreType{ PersistentVolumeRestoreTypeLocal, }
      View Source
      
  
    var AllPersistentVolumeType = []PersistentVolumeType{ PersistentVolumeTypeLocal, PersistentVolumeTypeNfs, PersistentVolumeTypeCifs, }
      View Source
      
  
    var AllProtocolType = []ProtocolType{ ProtocolTypeHTTP, ProtocolTypeHTTPS, ProtocolTypeTCP, ProtocolTypeUDP, }
      View Source
      
  
    var AllProxyType = []ProxyType{ ProxyTypeBackup, ProxyTypeActive, }
      View Source
      
  
    var AllRedirectRuleStatus = []RedirectRuleStatus{ RedirectRuleStatusPending, RedirectRuleStatusApplied, RedirectRuleStatusFailed, RedirectRuleStatusDeleting, }
      View Source
      
  
    var AllRuntimeLogTimeframe = []RuntimeLogTimeframe{ RuntimeLogTimeframeLive, RuntimeLogTimeframeLast1Hour, RuntimeLogTimeframeLast3Hours, RuntimeLogTimeframeLast6Hours, RuntimeLogTimeframeLast12Hours, RuntimeLogTimeframeLast24Hours, RuntimeLogTimeframeLifetime, }
      View Source
      
  
    var AllServerResourceAnalyticsTimeframe = []ServerResourceAnalyticsTimeframe{ ServerResourceAnalyticsTimeframeLast1Hour, ServerResourceAnalyticsTimeframeLast3Hours, ServerResourceAnalyticsTimeframeLast6Hours, ServerResourceAnalyticsTimeframeLast12Hours, ServerResourceAnalyticsTimeframeLast24Hours, ServerResourceAnalyticsTimeframeLast7Days, ServerResourceAnalyticsTimeframeLast30Days, }
      View Source
      
  
    var AllServerStatus = []ServerStatus{ ServerStatusNeedsSetup, ServerStatusPreparing, ServerStatusOnline, ServerStatusOffline, }
      View Source
      
  
    var AllSwarmMode = []SwarmMode{ SwarmModeManager, SwarmModeWorker, }
      View Source
      
  
var AllUpstreamType = []UpstreamType{ UpstreamTypeGit, UpstreamTypeSourceCode, UpstreamTypeImage, }
Functions ¶
This section is empty.
Types ¶
type AppBasicAuthAccessControlList ¶
type AppBasicAuthAccessControlList struct {
	ID            uint                             `json:"id"`
	Name          string                           `json:"name"`
	GeneratedName string                           `json:"generatedName"`
	Users         []*AppBasicAuthAccessControlUser `json:"users"`
}
    type AppBasicAuthAccessControlListInput ¶
type AppBasicAuthAccessControlListInput struct {
	Name string `json:"name"`
}
    type Application ¶
type Application struct {
	ID                       string                        `json:"id"`
	Name                     string                        `json:"name"`
	EnvironmentVariables     []*EnvironmentVariable        `json:"environmentVariables"`
	PersistentVolumeBindings []*PersistentVolumeBinding    `json:"persistentVolumeBindings"`
	ConfigMounts             []*ConfigMount                `json:"configMounts"`
	Capabilities             []string                      `json:"capabilities"`
	Sysctls                  []string                      `json:"sysctls"`
	ResourceLimit            *ResourceLimit                `json:"resourceLimit"`
	ReservedResource         *ReservedResource             `json:"reservedResource"`
	RealtimeInfo             *RealtimeInfo                 `json:"realtimeInfo"`
	LatestDeployment         *Deployment                   `json:"latestDeployment"`
	Deployments              []*Deployment                 `json:"deployments"`
	DeploymentMode           DeploymentMode                `json:"deploymentMode"`
	Replicas                 uint                          `json:"replicas"`
	IngressRules             []*IngressRule                `json:"ingressRules"`
	IsDeleted                bool                          `json:"isDeleted"`
	WebhookToken             string                        `json:"webhookToken"`
	IsSleeping               bool                          `json:"isSleeping"`
	Command                  string                        `json:"command"`
	Hostname                 string                        `json:"hostname"`
	ApplicationGroupID       *string                       `json:"applicationGroupID,omitempty"`
	ApplicationGroup         *ApplicationGroup             `json:"applicationGroup,omitempty"`
	PreferredServerHostnames []string                      `json:"preferredServerHostnames"`
	DockerProxyHost          string                        `json:"dockerProxyHost"`
	DockerProxyConfig        *DockerProxyConfig            `json:"dockerProxyConfig"`
	CustomHealthCheck        *ApplicationCustomHealthCheck `json:"customHealthCheck"`
}
    type ApplicationCustomHealthCheck ¶
type ApplicationCustomHealthCheck struct {
	Enabled              bool   `json:"enabled"`
	TestCommand          string `json:"test_command"`
	IntervalSeconds      uint64 `json:"interval_seconds"`
	TimeoutSeconds       uint64 `json:"timeout_seconds"`
	StartPeriodSeconds   uint64 `json:"start_period_seconds"`
	StartIntervalSeconds uint64 `json:"start_interval_seconds"`
	Retries              uint64 `json:"retries"`
}
    type ApplicationCustomHealthCheckInput ¶
type ApplicationCustomHealthCheckInput struct {
	Enabled              bool   `json:"enabled"`
	TestCommand          string `json:"test_command"`
	IntervalSeconds      uint64 `json:"interval_seconds"`
	TimeoutSeconds       uint64 `json:"timeout_seconds"`
	StartPeriodSeconds   uint64 `json:"start_period_seconds"`
	StartIntervalSeconds uint64 `json:"start_interval_seconds"`
	Retries              uint64 `json:"retries"`
}
    type ApplicationDeployResult ¶
type ApplicationDeployResult struct {
	Success     bool         `json:"success"`
	Message     string       `json:"message"`
	Application *Application `json:"application,omitempty"`
}
    type ApplicationGroup ¶
type ApplicationGroup struct {
	ID           string         `json:"id"`
	Name         string         `json:"name"`
	Logo         string         `json:"logo"`
	Applications []*Application `json:"applications"`
}
    type ApplicationGroupInput ¶
type ApplicationGroupInput struct {
	Name string `json:"name"`
}
    type ApplicationInput ¶
type ApplicationInput struct {
	Name                         string                             `json:"name"`
	EnvironmentVariables         []*EnvironmentVariableInput        `json:"environmentVariables"`
	PersistentVolumeBindings     []*PersistentVolumeBindingInput    `json:"persistentVolumeBindings"`
	ConfigMounts                 []*ConfigMountInput                `json:"configMounts"`
	Capabilities                 []string                           `json:"capabilities"`
	Sysctls                      []string                           `json:"sysctls"`
	Dockerfile                   *string                            `json:"dockerfile,omitempty"`
	BuildArgs                    []*BuildArgInput                   `json:"buildArgs"`
	DeploymentMode               DeploymentMode                     `json:"deploymentMode"`
	Replicas                     *uint                              `json:"replicas,omitempty"`
	ResourceLimit                *ResourceLimitInput                `json:"resourceLimit"`
	ReservedResource             *ReservedResourceInput             `json:"reservedResource"`
	UpstreamType                 UpstreamType                       `json:"upstreamType"`
	Command                      string                             `json:"command"`
	GitCredentialID              *uint                              `json:"gitCredentialID,omitempty"`
	RepositoryURL                *string                            `json:"repositoryUrl,omitempty"`
	RepositoryBranch             *string                            `json:"repositoryBranch,omitempty"`
	CodePath                     *string                            `json:"codePath,omitempty"`
	SourceCodeCompressedFileName *string                            `json:"sourceCodeCompressedFileName,omitempty"`
	DockerImage                  *string                            `json:"dockerImage,omitempty"`
	Hostname                     string                             `json:"hostname"`
	ImageRegistryCredentialID    *uint                              `json:"imageRegistryCredentialID,omitempty"`
	ApplicationGroupID           *string                            `json:"applicationGroupID,omitempty"`
	PreferredServerHostnames     []string                           `json:"preferredServerHostnames"`
	DockerProxyConfig            *DockerProxyConfigInput            `json:"dockerProxyConfig"`
	CustomHealthCheck            *ApplicationCustomHealthCheckInput `json:"customHealthCheck"`
}
    type ApplicationResourceAnalytics ¶
type ApplicationResourceAnalytics struct {
	CPUUsagePercent      int       `json:"cpu_usage_percent"`
	ServiceCPUTime       uint64    `json:"service_cpu_time"`
	SystemCPUTime        uint64    `json:"system_cpu_time"`
	ReportingServerCount int       `json:"reporting_server_count"`
	MemoryUsedMb         uint64    `json:"memory_used_mb"`
	NetworkSentKb        uint64    `json:"network_sent_kb"`
	NetworkRecvKb        uint64    `json:"network_recv_kb"`
	NetworkSentKbps      uint64    `json:"network_sent_kbps"`
	NetworkRecvKbps      uint64    `json:"network_recv_kbps"`
	Timestamp            time.Time `json:"timestamp"`
}
    type ApplicationResourceAnalyticsTimeframe ¶
type ApplicationResourceAnalyticsTimeframe string
const ( ApplicationResourceAnalyticsTimeframeLast1Hour ApplicationResourceAnalyticsTimeframe = "last_1_hour" ApplicationResourceAnalyticsTimeframeLast3Hours ApplicationResourceAnalyticsTimeframe = "last_3_hours" ApplicationResourceAnalyticsTimeframeLast6Hours ApplicationResourceAnalyticsTimeframe = "last_6_hours" ApplicationResourceAnalyticsTimeframeLast12Hours ApplicationResourceAnalyticsTimeframe = "last_12_hours" ApplicationResourceAnalyticsTimeframeLast24Hours ApplicationResourceAnalyticsTimeframe = "last_24_hours" ApplicationResourceAnalyticsTimeframeLast7Days ApplicationResourceAnalyticsTimeframe = "last_7_days" ApplicationResourceAnalyticsTimeframeLast30Days ApplicationResourceAnalyticsTimeframe = "last_30_days" )
func (ApplicationResourceAnalyticsTimeframe) IsValid ¶
func (e ApplicationResourceAnalyticsTimeframe) IsValid() bool
func (ApplicationResourceAnalyticsTimeframe) MarshalGQL ¶
func (e ApplicationResourceAnalyticsTimeframe) MarshalGQL(w io.Writer)
func (ApplicationResourceAnalyticsTimeframe) String ¶
func (e ApplicationResourceAnalyticsTimeframe) String() string
func (*ApplicationResourceAnalyticsTimeframe) UnmarshalGQL ¶
func (e *ApplicationResourceAnalyticsTimeframe) UnmarshalGQL(v interface{}) error
type BuildArgInput ¶
type CIFSConfig ¶
type CIFSConfigInput ¶
type ConfigMount ¶
type ConfigMountInput ¶
type CustomSSLInput ¶
type Dependency ¶
type Deployment ¶
type Deployment struct {
	ID                           string                   `json:"id"`
	ApplicationID                string                   `json:"applicationID"`
	Application                  *Application             `json:"application"`
	UpstreamType                 UpstreamType             `json:"upstreamType"`
	GitCredentialID              uint                     `json:"gitCredentialID"`
	GitCredential                *GitCredential           `json:"gitCredential"`
	GitType                      GitType                  `json:"gitType"`
	GitProvider                  string                   `json:"gitProvider"`
	GitEndpoint                  string                   `json:"gitEndpoint"`
	GitSSHUser                   string                   `json:"gitSshUser"`
	RepositoryOwner              string                   `json:"repositoryOwner"`
	RepositoryName               string                   `json:"repositoryName"`
	RepositoryBranch             string                   `json:"repositoryBranch"`
	RepositoryURL                string                   `json:"repositoryUrl"`
	CommitHash                   string                   `json:"commitHash"`
	CommitMessage                string                   `json:"commitMessage"`
	CodePath                     string                   `json:"codePath"`
	SourceCodeCompressedFileName string                   `json:"sourceCodeCompressedFileName"`
	DockerImage                  string                   `json:"dockerImage"`
	ImageRegistryCredentialID    uint                     `json:"imageRegistryCredentialID"`
	ImageRegistryCredential      *ImageRegistryCredential `json:"imageRegistryCredential"`
	BuildArgs                    []*BuildArg              `json:"buildArgs"`
	Dockerfile                   string                   `json:"dockerfile"`
	Status                       DeploymentStatus         `json:"status"`
	CreatedAt                    time.Time                `json:"createdAt"`
}
    type DeploymentLog ¶
type DeploymentMode ¶
type DeploymentMode string
const ( DeploymentModeReplicated DeploymentMode = "replicated" DeploymentModeGlobal DeploymentMode = "global" )
func (DeploymentMode) IsValid ¶
func (e DeploymentMode) IsValid() bool
func (DeploymentMode) MarshalGQL ¶
func (e DeploymentMode) MarshalGQL(w io.Writer)
func (DeploymentMode) String ¶
func (e DeploymentMode) String() string
func (*DeploymentMode) UnmarshalGQL ¶
func (e *DeploymentMode) UnmarshalGQL(v interface{}) error
type DeploymentStatus ¶
type DeploymentStatus string
const ( DeploymentStatusPending DeploymentStatus = "pending" DeploymentStatusDeployPending DeploymentStatus = "deployPending" DeploymentStatusDeploying DeploymentStatus = "deploying" DeploymentStatusDeployed DeploymentStatus = "deployed" DeploymentStatusStopped DeploymentStatus = "stopped" DeploymentStatusFailed DeploymentStatus = "failed" DeploymentStatusStalled DeploymentStatus = "stalled" )
func (DeploymentStatus) IsValid ¶
func (e DeploymentStatus) IsValid() bool
func (DeploymentStatus) MarshalGQL ¶
func (e DeploymentStatus) MarshalGQL(w io.Writer)
func (DeploymentStatus) String ¶
func (e DeploymentStatus) String() string
func (*DeploymentStatus) UnmarshalGQL ¶
func (e *DeploymentStatus) UnmarshalGQL(v interface{}) error
type DockerConfigBuildArg ¶
type DockerConfigGeneratorInput ¶
type DockerConfigGeneratorInput struct {
	SourceType                   DockerConfigSourceType `json:"sourceType"`
	GitCredentialID              *uint                  `json:"gitCredentialID,omitempty"`
	RepositoryURL                *string                `json:"repositoryUrl,omitempty"`
	RepositoryBranch             *string                `json:"repositoryBranch,omitempty"`
	CodePath                     *string                `json:"codePath,omitempty"`
	SourceCodeCompressedFileName *string                `json:"sourceCodeCompressedFileName,omitempty"`
	CustomDockerFile             *string                `json:"customDockerFile,omitempty"`
}
    type DockerConfigGeneratorOutput ¶
type DockerConfigGeneratorOutput struct {
	DetectedServiceName *string                 `json:"detectedServiceName,omitempty"`
	DockerFile          *string                 `json:"dockerFile,omitempty"`
	DockerBuildArgs     []*DockerConfigBuildArg `json:"dockerBuildArgs,omitempty"`
}
    type DockerConfigSourceType ¶
type DockerConfigSourceType string
const ( DockerConfigSourceTypeGit DockerConfigSourceType = "git" DockerConfigSourceTypeSourceCode DockerConfigSourceType = "sourceCode" DockerConfigSourceTypeCustom DockerConfigSourceType = "custom" )
func (DockerConfigSourceType) IsValid ¶
func (e DockerConfigSourceType) IsValid() bool
func (DockerConfigSourceType) MarshalGQL ¶
func (e DockerConfigSourceType) MarshalGQL(w io.Writer)
func (DockerConfigSourceType) String ¶
func (e DockerConfigSourceType) String() string
func (*DockerConfigSourceType) UnmarshalGQL ¶
func (e *DockerConfigSourceType) UnmarshalGQL(v interface{}) error
type DockerProxyConfig ¶
type DockerProxyConfig struct {
	Enabled    bool                   `json:"enabled"`
	Permission *DockerProxyPermission `json:"permission"`
}
    type DockerProxyConfigInput ¶
type DockerProxyConfigInput struct {
	Enabled    bool                        `json:"enabled"`
	Permission *DockerProxyPermissionInput `json:"permission"`
}
    type DockerProxyPermission ¶
type DockerProxyPermission struct {
	Ping         DockerProxyPermissionType `json:"ping"`
	Version      DockerProxyPermissionType `json:"version"`
	Info         DockerProxyPermissionType `json:"info"`
	Events       DockerProxyPermissionType `json:"events"`
	Auth         DockerProxyPermissionType `json:"auth"`
	Secrets      DockerProxyPermissionType `json:"secrets"`
	Build        DockerProxyPermissionType `json:"build"`
	Commit       DockerProxyPermissionType `json:"commit"`
	Configs      DockerProxyPermissionType `json:"configs"`
	Containers   DockerProxyPermissionType `json:"containers"`
	Distribution DockerProxyPermissionType `json:"distribution"`
	Exec         DockerProxyPermissionType `json:"exec"`
	Grpc         DockerProxyPermissionType `json:"grpc"`
	Images       DockerProxyPermissionType `json:"images"`
	Networks     DockerProxyPermissionType `json:"networks"`
	Nodes        DockerProxyPermissionType `json:"nodes"`
	Plugins      DockerProxyPermissionType `json:"plugins"`
	Services     DockerProxyPermissionType `json:"services"`
	Session      DockerProxyPermissionType `json:"session"`
	Swarm        DockerProxyPermissionType `json:"swarm"`
	System       DockerProxyPermissionType `json:"system"`
	Tasks        DockerProxyPermissionType `json:"tasks"`
	Volumes      DockerProxyPermissionType `json:"volumes"`
}
    type DockerProxyPermissionInput ¶
type DockerProxyPermissionInput struct {
	Ping         DockerProxyPermissionType `json:"ping"`
	Version      DockerProxyPermissionType `json:"version"`
	Info         DockerProxyPermissionType `json:"info"`
	Events       DockerProxyPermissionType `json:"events"`
	Auth         DockerProxyPermissionType `json:"auth"`
	Secrets      DockerProxyPermissionType `json:"secrets"`
	Build        DockerProxyPermissionType `json:"build"`
	Commit       DockerProxyPermissionType `json:"commit"`
	Configs      DockerProxyPermissionType `json:"configs"`
	Containers   DockerProxyPermissionType `json:"containers"`
	Distribution DockerProxyPermissionType `json:"distribution"`
	Exec         DockerProxyPermissionType `json:"exec"`
	Grpc         DockerProxyPermissionType `json:"grpc"`
	Images       DockerProxyPermissionType `json:"images"`
	Networks     DockerProxyPermissionType `json:"networks"`
	Nodes        DockerProxyPermissionType `json:"nodes"`
	Plugins      DockerProxyPermissionType `json:"plugins"`
	Services     DockerProxyPermissionType `json:"services"`
	Session      DockerProxyPermissionType `json:"session"`
	Swarm        DockerProxyPermissionType `json:"swarm"`
	System       DockerProxyPermissionType `json:"system"`
	Tasks        DockerProxyPermissionType `json:"tasks"`
	Volumes      DockerProxyPermissionType `json:"volumes"`
}
    type DockerProxyPermissionType ¶
type DockerProxyPermissionType string
const ( DockerProxyPermissionTypeNone DockerProxyPermissionType = "none" DockerProxyPermissionTypeRead DockerProxyPermissionType = "read" DockerProxyPermissionTypeReadWrite DockerProxyPermissionType = "read_write" )
func (DockerProxyPermissionType) IsValid ¶
func (e DockerProxyPermissionType) IsValid() bool
func (DockerProxyPermissionType) MarshalGQL ¶
func (e DockerProxyPermissionType) MarshalGQL(w io.Writer)
func (DockerProxyPermissionType) String ¶
func (e DockerProxyPermissionType) String() string
func (*DockerProxyPermissionType) UnmarshalGQL ¶
func (e *DockerProxyPermissionType) UnmarshalGQL(v interface{}) error
type Domain ¶
type Domain struct {
	ID            uint            `json:"id"`
	Name          string          `json:"name"`
	SslStatus     DomainSSLStatus `json:"sslStatus"`
	SslFullChain  string          `json:"sslFullChain"`
	SslPrivateKey string          `json:"sslPrivateKey"`
	SslIssuedAt   time.Time       `json:"sslIssuedAt"`
	SslIssuer     string          `json:"sslIssuer"`
	SslAutoRenew  bool            `json:"sslAutoRenew"`
	IngressRules  []*IngressRule  `json:"ingressRules"`
	RedirectRules []*RedirectRule `json:"redirectRules"`
}
    type DomainInput ¶
type DomainInput struct {
	Name string `json:"name"`
}
    type DomainSSLStatus ¶
type DomainSSLStatus string
const ( DomainSSLStatusNone DomainSSLStatus = "none" DomainSSLStatusPending DomainSSLStatus = "pending" DomainSSLStatusIssued DomainSSLStatus = "issued" DomainSSLStatusFailed DomainSSLStatus = "failed" )
func (DomainSSLStatus) IsValid ¶
func (e DomainSSLStatus) IsValid() bool
func (DomainSSLStatus) MarshalGQL ¶
func (e DomainSSLStatus) MarshalGQL(w io.Writer)
func (DomainSSLStatus) String ¶
func (e DomainSSLStatus) String() string
func (*DomainSSLStatus) UnmarshalGQL ¶
func (e *DomainSSLStatus) UnmarshalGQL(v interface{}) error
type EnvironmentVariable ¶
type GitBranchesQueryInput ¶
type GitCredential ¶
type GitCredentialInput ¶
type HealthStatus ¶
type HealthStatus string
const ( HealthStatusHealthy HealthStatus = "healthy" HealthStatusUnhealthy HealthStatus = "unhealthy" HealthStatusUnknown HealthStatus = "unknown" )
func (HealthStatus) IsValid ¶
func (e HealthStatus) IsValid() bool
func (HealthStatus) MarshalGQL ¶
func (e HealthStatus) MarshalGQL(w io.Writer)
func (HealthStatus) String ¶
func (e HealthStatus) String() string
func (*HealthStatus) UnmarshalGQL ¶
func (e *HealthStatus) UnmarshalGQL(v interface{}) error
type ImageRegistryCredential ¶
type ImageRegistryCredential struct {
	ID          uint          `json:"id"`
	URL         string        `json:"url"`
	Username    string        `json:"username"`
	Password    string        `json:"password"`
	Deployments []*Deployment `json:"deployments"`
}
    type IngressRule ¶
type IngressRule struct {
	ID                             uint                          `json:"id"`
	TargetType                     IngressRuleTargetType         `json:"targetType"`
	DomainID                       *uint                         `json:"domainId,omitempty"`
	Domain                         *Domain                       `json:"domain,omitempty"`
	Protocol                       ProtocolType                  `json:"protocol"`
	Port                           uint                          `json:"port"`
	ApplicationID                  string                        `json:"applicationId"`
	Application                    *Application                  `json:"application"`
	ExternalService                string                        `json:"externalService"`
	TargetPort                     uint                          `json:"targetPort"`
	HTTPSRedirect                  bool                          `json:"httpsRedirect"`
	AuthenticationType             IngressRuleAuthenticationType `json:"authenticationType"`
	BasicAuthAccessControlListID   *uint                         `json:"basicAuthAccessControlListID,omitempty"`
	BasicAuthAccessControlListName string                        `json:"basicAuthAccessControlListName"`
	Status                         IngressRuleStatus             `json:"status"`
	CreatedAt                      time.Time                     `json:"createdAt"`
	UpdatedAt                      time.Time                     `json:"updatedAt"`
}
    type IngressRuleAuthenticationType ¶
type IngressRuleAuthenticationType string
const ( IngressRuleAuthenticationTypeNone IngressRuleAuthenticationType = "none" IngressRuleAuthenticationTypeBasic IngressRuleAuthenticationType = "basic" )
func (IngressRuleAuthenticationType) IsValid ¶
func (e IngressRuleAuthenticationType) IsValid() bool
func (IngressRuleAuthenticationType) MarshalGQL ¶
func (e IngressRuleAuthenticationType) MarshalGQL(w io.Writer)
func (IngressRuleAuthenticationType) String ¶
func (e IngressRuleAuthenticationType) String() string
func (*IngressRuleAuthenticationType) UnmarshalGQL ¶
func (e *IngressRuleAuthenticationType) UnmarshalGQL(v interface{}) error
type IngressRuleInput ¶
type IngressRuleInput struct {
	DomainID        *uint                 `json:"domainId,omitempty"`
	TargetType      IngressRuleTargetType `json:"targetType"`
	ApplicationID   string                `json:"applicationId"`
	ExternalService string                `json:"externalService"`
	Protocol        ProtocolType          `json:"protocol"`
	Port            uint                  `json:"port"`
	TargetPort      uint                  `json:"targetPort"`
}
    type IngressRuleStatus ¶
type IngressRuleStatus string
const ( IngressRuleStatusPending IngressRuleStatus = "pending" IngressRuleStatusApplied IngressRuleStatus = "applied" IngressRuleStatusDeleting IngressRuleStatus = "deleting" IngressRuleStatusFailed IngressRuleStatus = "failed" )
func (IngressRuleStatus) IsValid ¶
func (e IngressRuleStatus) IsValid() bool
func (IngressRuleStatus) MarshalGQL ¶
func (e IngressRuleStatus) MarshalGQL(w io.Writer)
func (IngressRuleStatus) String ¶
func (e IngressRuleStatus) String() string
func (*IngressRuleStatus) UnmarshalGQL ¶
func (e *IngressRuleStatus) UnmarshalGQL(v interface{}) error
type IngressRuleTargetType ¶
type IngressRuleTargetType string
const ( IngressRuleTargetTypeApplication IngressRuleTargetType = "application" IngressRuleTargetTypeExternalService IngressRuleTargetType = "externalService" )
func (IngressRuleTargetType) IsValid ¶
func (e IngressRuleTargetType) IsValid() bool
func (IngressRuleTargetType) MarshalGQL ¶
func (e IngressRuleTargetType) MarshalGQL(w io.Writer)
func (IngressRuleTargetType) String ¶
func (e IngressRuleTargetType) String() string
func (*IngressRuleTargetType) UnmarshalGQL ¶
func (e *IngressRuleTargetType) UnmarshalGQL(v interface{}) error
type IngressRuleValidationInput ¶
type IngressRuleValidationInput struct {
	DomainID *uint        `json:"domainId,omitempty"`
	Protocol ProtocolType `json:"protocol"`
	Port     uint         `json:"port"`
}
    type NFSConfigInput ¶
type NetworkInterface ¶
type NewServerInput ¶
type PasswordUpdateInput ¶
type PersistentVolume ¶
type PersistentVolume struct {
	ID                       uint                       `json:"id"`
	Name                     string                     `json:"name"`
	Type                     PersistentVolumeType       `json:"type"`
	NfsConfig                *NFSConfig                 `json:"nfsConfig"`
	CifsConfig               *CIFSConfig                `json:"cifsConfig"`
	PersistentVolumeBindings []*PersistentVolumeBinding `json:"persistentVolumeBindings"`
	Backups                  []*PersistentVolumeBackup  `json:"backups"`
	Restores                 []*PersistentVolumeRestore `json:"restores"`
}
    type PersistentVolumeBackup ¶
type PersistentVolumeBackup struct {
	ID          uint                         `json:"id"`
	Type        PersistentVolumeBackupType   `json:"type"`
	Status      PersistentVolumeBackupStatus `json:"status"`
	SizeMb      float64                      `json:"sizeMb"`
	CreatedAt   time.Time                    `json:"createdAt"`
	CompletedAt time.Time                    `json:"completedAt"`
}
    type PersistentVolumeBackupInput ¶
type PersistentVolumeBackupInput struct {
	PersistentVolumeID uint                       `json:"persistentVolumeId"`
	Type               PersistentVolumeBackupType `json:"type"`
}
    type PersistentVolumeBackupStatus ¶
type PersistentVolumeBackupStatus string
const ( PersistentVolumeBackupStatusPending PersistentVolumeBackupStatus = "pending" PersistentVolumeBackupStatusFailed PersistentVolumeBackupStatus = "failed" PersistentVolumeBackupStatusSuccess PersistentVolumeBackupStatus = "success" )
func (PersistentVolumeBackupStatus) IsValid ¶
func (e PersistentVolumeBackupStatus) IsValid() bool
func (PersistentVolumeBackupStatus) MarshalGQL ¶
func (e PersistentVolumeBackupStatus) MarshalGQL(w io.Writer)
func (PersistentVolumeBackupStatus) String ¶
func (e PersistentVolumeBackupStatus) String() string
func (*PersistentVolumeBackupStatus) UnmarshalGQL ¶
func (e *PersistentVolumeBackupStatus) UnmarshalGQL(v interface{}) error
type PersistentVolumeBackupType ¶
type PersistentVolumeBackupType string
const ( PersistentVolumeBackupTypeLocal PersistentVolumeBackupType = "local" PersistentVolumeBackupTypeS3 PersistentVolumeBackupType = "s3" )
func (PersistentVolumeBackupType) IsValid ¶
func (e PersistentVolumeBackupType) IsValid() bool
func (PersistentVolumeBackupType) MarshalGQL ¶
func (e PersistentVolumeBackupType) MarshalGQL(w io.Writer)
func (PersistentVolumeBackupType) String ¶
func (e PersistentVolumeBackupType) String() string
func (*PersistentVolumeBackupType) UnmarshalGQL ¶
func (e *PersistentVolumeBackupType) UnmarshalGQL(v interface{}) error
type PersistentVolumeBinding ¶
type PersistentVolumeBinding struct {
	ID                 uint              `json:"id"`
	PersistentVolumeID uint              `json:"persistentVolumeID"`
	PersistentVolume   *PersistentVolume `json:"persistentVolume"`
	ApplicationID      string            `json:"applicationID"`
	Application        *Application      `json:"application"`
	MountingPath       string            `json:"mountingPath"`
}
    type PersistentVolumeInput ¶
type PersistentVolumeInput struct {
	Name       string               `json:"name"`
	Type       PersistentVolumeType `json:"type"`
	NfsConfig  *NFSConfigInput      `json:"nfsConfig"`
	CifsConfig *CIFSConfigInput     `json:"cifsConfig"`
}
    type PersistentVolumeRestore ¶
type PersistentVolumeRestore struct {
	ID          uint                          `json:"id"`
	Type        PersistentVolumeRestoreType   `json:"type"`
	Status      PersistentVolumeRestoreStatus `json:"status"`
	CreatedAt   time.Time                     `json:"createdAt"`
	CompletedAt time.Time                     `json:"completedAt"`
}
    type PersistentVolumeRestoreInput ¶
type PersistentVolumeRestoreInput struct {
	PersistentVolumeID uint                        `json:"persistentVolumeId"`
	Type               PersistentVolumeRestoreType `json:"type"`
}
    type PersistentVolumeRestoreStatus ¶
type PersistentVolumeRestoreStatus string
const ( PersistentVolumeRestoreStatusPending PersistentVolumeRestoreStatus = "pending" PersistentVolumeRestoreStatusFailed PersistentVolumeRestoreStatus = "failed" PersistentVolumeRestoreStatusSuccess PersistentVolumeRestoreStatus = "success" )
func (PersistentVolumeRestoreStatus) IsValid ¶
func (e PersistentVolumeRestoreStatus) IsValid() bool
func (PersistentVolumeRestoreStatus) MarshalGQL ¶
func (e PersistentVolumeRestoreStatus) MarshalGQL(w io.Writer)
func (PersistentVolumeRestoreStatus) String ¶
func (e PersistentVolumeRestoreStatus) String() string
func (*PersistentVolumeRestoreStatus) UnmarshalGQL ¶
func (e *PersistentVolumeRestoreStatus) UnmarshalGQL(v interface{}) error
type PersistentVolumeRestoreType ¶
type PersistentVolumeRestoreType string
const (
	PersistentVolumeRestoreTypeLocal PersistentVolumeRestoreType = "local"
)
    func (PersistentVolumeRestoreType) IsValid ¶
func (e PersistentVolumeRestoreType) IsValid() bool
func (PersistentVolumeRestoreType) MarshalGQL ¶
func (e PersistentVolumeRestoreType) MarshalGQL(w io.Writer)
func (PersistentVolumeRestoreType) String ¶
func (e PersistentVolumeRestoreType) String() string
func (*PersistentVolumeRestoreType) UnmarshalGQL ¶
func (e *PersistentVolumeRestoreType) UnmarshalGQL(v interface{}) error
type PersistentVolumeType ¶
type PersistentVolumeType string
const ( PersistentVolumeTypeLocal PersistentVolumeType = "local" PersistentVolumeTypeNfs PersistentVolumeType = "nfs" PersistentVolumeTypeCifs PersistentVolumeType = "cifs" )
func (PersistentVolumeType) IsValid ¶
func (e PersistentVolumeType) IsValid() bool
func (PersistentVolumeType) MarshalGQL ¶
func (e PersistentVolumeType) MarshalGQL(w io.Writer)
func (PersistentVolumeType) String ¶
func (e PersistentVolumeType) String() string
func (*PersistentVolumeType) UnmarshalGQL ¶
func (e *PersistentVolumeType) UnmarshalGQL(v interface{}) error
type ProtocolType ¶
type ProtocolType string
const ( ProtocolTypeHTTP ProtocolType = "http" ProtocolTypeHTTPS ProtocolType = "https" ProtocolTypeTCP ProtocolType = "tcp" ProtocolTypeUDP ProtocolType = "udp" )
func (ProtocolType) IsValid ¶
func (e ProtocolType) IsValid() bool
func (ProtocolType) MarshalGQL ¶
func (e ProtocolType) MarshalGQL(w io.Writer)
func (ProtocolType) String ¶
func (e ProtocolType) String() string
func (*ProtocolType) UnmarshalGQL ¶
func (e *ProtocolType) UnmarshalGQL(v interface{}) error
type ProxyType ¶
type ProxyType string
func (ProxyType) MarshalGQL ¶
func (*ProxyType) UnmarshalGQL ¶
type RealtimeInfo ¶
type RealtimeInfo struct {
	InfoFound       bool           `json:"InfoFound"`
	DesiredReplicas int            `json:"DesiredReplicas"`
	RunningReplicas int            `json:"RunningReplicas"`
	DeploymentMode  DeploymentMode `json:"DeploymentMode"`
	HealthStatus    HealthStatus   `json:"HealthStatus"`
}
    type RedirectRule ¶
type RedirectRule struct {
	ID          uint               `json:"id"`
	DomainID    uint               `json:"domainId"`
	Domain      *Domain            `json:"domain"`
	Protocol    ProtocolType       `json:"protocol"`
	RedirectURL string             `json:"redirectURL"`
	Status      RedirectRuleStatus `json:"status"`
	CreatedAt   time.Time          `json:"createdAt"`
	UpdatedAt   time.Time          `json:"updatedAt"`
}
    type RedirectRuleInput ¶
type RedirectRuleInput struct {
	DomainID    uint         `json:"domainId"`
	Protocol    ProtocolType `json:"protocol"`
	RedirectURL string       `json:"redirectURL"`
}
    type RedirectRuleStatus ¶
type RedirectRuleStatus string
const ( RedirectRuleStatusPending RedirectRuleStatus = "pending" RedirectRuleStatusApplied RedirectRuleStatus = "applied" RedirectRuleStatusFailed RedirectRuleStatus = "failed" RedirectRuleStatusDeleting RedirectRuleStatus = "deleting" )
func (RedirectRuleStatus) IsValid ¶
func (e RedirectRuleStatus) IsValid() bool
func (RedirectRuleStatus) MarshalGQL ¶
func (e RedirectRuleStatus) MarshalGQL(w io.Writer)
func (RedirectRuleStatus) String ¶
func (e RedirectRuleStatus) String() string
func (*RedirectRuleStatus) UnmarshalGQL ¶
func (e *RedirectRuleStatus) UnmarshalGQL(v interface{}) error
type RequestTotpEnable ¶
type ReservedResource ¶
type ReservedResource struct {
	MemoryMb int `json:"memoryMb"`
}
    type ReservedResourceInput ¶
type ReservedResourceInput struct {
	MemoryMb int `json:"memoryMb"`
}
    type ResourceLimit ¶
type ResourceLimit struct {
	MemoryMb int `json:"memoryMb"`
}
    type ResourceLimitInput ¶
type ResourceLimitInput struct {
	MemoryMb int `json:"memoryMb"`
}
    type RuntimeLog ¶
type RuntimeLogTimeframe ¶
type RuntimeLogTimeframe string
const ( RuntimeLogTimeframeLive RuntimeLogTimeframe = "live" RuntimeLogTimeframeLast1Hour RuntimeLogTimeframe = "last_1_hour" RuntimeLogTimeframeLast3Hours RuntimeLogTimeframe = "last_3_hours" RuntimeLogTimeframeLast6Hours RuntimeLogTimeframe = "last_6_hours" RuntimeLogTimeframeLast12Hours RuntimeLogTimeframe = "last_12_hours" RuntimeLogTimeframeLast24Hours RuntimeLogTimeframe = "last_24_hours" RuntimeLogTimeframeLifetime RuntimeLogTimeframe = "lifetime" )
func (RuntimeLogTimeframe) IsValid ¶
func (e RuntimeLogTimeframe) IsValid() bool
func (RuntimeLogTimeframe) MarshalGQL ¶
func (e RuntimeLogTimeframe) MarshalGQL(w io.Writer)
func (RuntimeLogTimeframe) String ¶
func (e RuntimeLogTimeframe) String() string
func (*RuntimeLogTimeframe) UnmarshalGQL ¶
func (e *RuntimeLogTimeframe) UnmarshalGQL(v interface{}) error
type Server ¶
type Server struct {
	ID                   uint         `json:"id"`
	IP                   string       `json:"ip"`
	Hostname             string       `json:"hostname"`
	User                 string       `json:"user"`
	SSHPort              int          `json:"ssh_port"`
	SwarmMode            SwarmMode    `json:"swarmMode"`
	SwarmNodeStatus      string       `json:"swarmNodeStatus"`
	ScheduleDeployments  bool         `json:"scheduleDeployments"`
	MaintenanceMode      bool         `json:"maintenanceMode"`
	DockerUnixSocketPath string       `json:"dockerUnixSocketPath"`
	ProxyEnabled         bool         `json:"proxyEnabled"`
	ProxyType            ProxyType    `json:"proxyType"`
	Status               ServerStatus `json:"status"`
	Logs                 []*ServerLog `json:"logs"`
}
    type ServerDiskUsage ¶
type ServerDisksUsage ¶
type ServerDisksUsage struct {
	Disks     []*ServerDiskUsage `json:"disks"`
	Timestamp time.Time          `json:"timestamp"`
}
    type ServerResourceAnalytics ¶
type ServerResourceAnalytics struct {
	CPUUsagePercent int       `json:"cpu_usage_percent"`
	MemoryTotalGb   float64   `json:"memory_total_gb"`
	MemoryUsedGb    float64   `json:"memory_used_gb"`
	MemoryCachedGb  float64   `json:"memory_cached_gb"`
	NetworkSentKb   uint64    `json:"network_sent_kb"`
	NetworkRecvKb   uint64    `json:"network_recv_kb"`
	NetworkSentKbps uint64    `json:"network_sent_kbps"`
	NetworkRecvKbps uint64    `json:"network_recv_kbps"`
	Timestamp       time.Time `json:"timestamp"`
}
    type ServerResourceAnalyticsTimeframe ¶
type ServerResourceAnalyticsTimeframe string
const ( ServerResourceAnalyticsTimeframeLast1Hour ServerResourceAnalyticsTimeframe = "last_1_hour" ServerResourceAnalyticsTimeframeLast3Hours ServerResourceAnalyticsTimeframe = "last_3_hours" ServerResourceAnalyticsTimeframeLast6Hours ServerResourceAnalyticsTimeframe = "last_6_hours" ServerResourceAnalyticsTimeframeLast12Hours ServerResourceAnalyticsTimeframe = "last_12_hours" ServerResourceAnalyticsTimeframeLast24Hours ServerResourceAnalyticsTimeframe = "last_24_hours" ServerResourceAnalyticsTimeframeLast7Days ServerResourceAnalyticsTimeframe = "last_7_days" ServerResourceAnalyticsTimeframeLast30Days ServerResourceAnalyticsTimeframe = "last_30_days" )
func (ServerResourceAnalyticsTimeframe) IsValid ¶
func (e ServerResourceAnalyticsTimeframe) IsValid() bool
func (ServerResourceAnalyticsTimeframe) MarshalGQL ¶
func (e ServerResourceAnalyticsTimeframe) MarshalGQL(w io.Writer)
func (ServerResourceAnalyticsTimeframe) String ¶
func (e ServerResourceAnalyticsTimeframe) String() string
func (*ServerResourceAnalyticsTimeframe) UnmarshalGQL ¶
func (e *ServerResourceAnalyticsTimeframe) UnmarshalGQL(v interface{}) error
type ServerSetupInput ¶
type ServerStatus ¶
type ServerStatus string
const ( ServerStatusNeedsSetup ServerStatus = "needs_setup" ServerStatusPreparing ServerStatus = "preparing" ServerStatusOnline ServerStatus = "online" ServerStatusOffline ServerStatus = "offline" )
func (ServerStatus) IsValid ¶
func (e ServerStatus) IsValid() bool
func (ServerStatus) MarshalGQL ¶
func (e ServerStatus) MarshalGQL(w io.Writer)
func (ServerStatus) String ¶
func (e ServerStatus) String() string
func (*ServerStatus) UnmarshalGQL ¶
func (e *ServerStatus) UnmarshalGQL(v interface{}) error
type StackInput ¶
type StackInput struct {
	Content   string               `json:"content"`
	Variables []*StackVariableType `json:"variables"`
}
    type StackVariableType ¶
type StackVerifyResult ¶
type StackVerifyResult struct {
	Success                 bool     `json:"success"`
	Message                 string   `json:"message"`
	Error                   string   `json:"error"`
	ValidVolumes            []string `json:"validVolumes"`
	InvalidVolumes          []string `json:"invalidVolumes"`
	ValidServices           []string `json:"validServices"`
	InvalidServices         []string `json:"invalidServices"`
	ValidPreferredServers   []string `json:"validPreferredServers"`
	InvalidPreferredServers []string `json:"invalidPreferredServers"`
}
    type Subscription ¶
type Subscription struct {
}
    type SwarmMode ¶
type SwarmMode string
func (SwarmMode) MarshalGQL ¶
func (*SwarmMode) UnmarshalGQL ¶
type UpstreamType ¶
type UpstreamType string
const ( UpstreamTypeGit UpstreamType = "git" UpstreamTypeSourceCode UpstreamType = "sourceCode" UpstreamTypeImage UpstreamType = "image" )
func (UpstreamType) IsValid ¶
func (e UpstreamType) IsValid() bool
func (UpstreamType) MarshalGQL ¶
func (e UpstreamType) MarshalGQL(w io.Writer)
func (UpstreamType) String ¶
func (e UpstreamType) String() string
func (*UpstreamType) UnmarshalGQL ¶
func (e *UpstreamType) UnmarshalGQL(v interface{}) error
 Click to show internal directories. 
   Click to hide internal directories.