Documentation
¶
Index ¶
- func Queues() []string
- type BuildApplicationRequest
- type DeleteApplicationRequest
- type DeployApplicationRequest
- type DockerPushLogger
- type IngressRuleApplyRequest
- type IngressRuleDeleteRequest
- type IngressRuleHttpsRedirectRequest
- type InstallDependenciesOnServerRequest
- type Manager
- func (m Manager) BuildApplication(request BuildApplicationRequest, ctx context.Context, ...) error
- func (m Manager) DeleteApplication(request DeleteApplicationRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) DeployApplication(request DeployApplicationRequest, _ context.Context, _ context.CancelFunc) error
- func (m Manager) EnqueueBuildApplicationRequest(applicationId string, deploymentId string) error
- func (m Manager) EnqueueDeleteApplicationRequest(applicationId string) error
- func (m Manager) EnqueueDeletePersistentVolumeRequest(persistentVolumeId uint) error
- func (m Manager) EnqueueDeployApplicationRequest(applicationId string, deploymentId string) error
- func (m Manager) EnqueueDeployApplicationRequestWithNoProxyUpdate(applicationId string, deploymentId string) error
- func (m Manager) EnqueueIngressRuleApplyRequest(ingressRuleId uint) error
- func (m Manager) EnqueueIngressRuleDeleteRequest(ingressRuleId uint) error
- func (m Manager) EnqueueIngressRuleHttpsRedirectRequest(ingressRuleId uint, enabled bool) error
- func (m Manager) EnqueueInstallDependenciesOnServerRequest(serverId uint, logId uint) error
- func (m Manager) EnqueuePersistentVolumeBackupRequest(persistentVolumeBackupId uint) error
- func (m Manager) EnqueuePersistentVolumeRestoreRequest(persistentVolumeRestoreId uint) error
- func (m Manager) EnqueueRedirectRuleApplyRequest(redirectRuleId uint) error
- func (m Manager) EnqueueRedirectRuleDeleteRequest(redirectRuleId uint) error
- func (m Manager) EnqueueSSLGenerateRequest(domainId uint) error
- func (m Manager) EnqueueSSLProxyUpdateRequest(domainId uint) error
- func (m Manager) EnqueueSetupAndEnableProxyRequest(serverId uint, logId uint) error
- func (m Manager) EnqueueSetupServerRequest(serverId uint, logId uint, advertiseIP string) error
- func (m Manager) EnqueueUpdateApplicationOnServerScheduleDeploymentUpdateRequest(serverId uint) error
- func (m Manager) IngressRuleApply(request IngressRuleApplyRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) IngressRuleDelete(request IngressRuleDeleteRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) IngressRuleHttpsRedirect(request IngressRuleHttpsRedirectRequest, ctx context.Context, ...) error
- func (m Manager) InstallDependenciesOnServer(request InstallDependenciesOnServerRequest, ctx context.Context, ...) error
- func (m Manager) PersistentVolumeBackup(request PersistentVolumeBackupRequest, ctx context.Context, ...) error
- func (m Manager) PersistentVolumeDeletion(request PersistentVolumeDeletionRequest, ctx context.Context, ...) error
- func (m Manager) PersistentVolumeRestore(request PersistentVolumeRestoreRequest, ctx context.Context, ...) error
- func (m Manager) RedirectRuleApply(request RedirectRuleApplyRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) RedirectRuleDelete(request RedirectRuleDeleteRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) SSLGenerate(request SSLGenerateRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) SSLProxyUpdate(request SSLProxyUpdateRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) SetupAndEnableProxy(request SetupAndEnableProxyRequest, ctx context.Context, ...) error
- func (m Manager) SetupServer(request SetupServerRequest, ctx context.Context, _ context.CancelFunc) error
- func (m Manager) StartConsumers(nowait bool) error
- func (m Manager) UpdateApplicationOnServerScheduleDeploymentUpdate(_ UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest, ...) error
- func (m Manager) WaitForConsumers()
- type PersistentVolumeBackupRequest
- type PersistentVolumeDeletionRequest
- type PersistentVolumeRestoreRequest
- type RedirectRuleApplyRequest
- type RedirectRuleDeleteRequest
- type SSLGenerateRequest
- type SSLProxyUpdateRequest
- type SetupAndEnableProxyRequest
- type SetupServerRequest
- type UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildApplicationRequest ¶
type BuildApplicationRequest struct { AppId string `json:"app_id"` DeploymentId string `json:"deployment_id"` }
BuildApplicationRequest : request payload for deploy application
type DeleteApplicationRequest ¶
type DeleteApplicationRequest struct {
Id string `json:"id"`
}
DeleteApplicationRequest : request payload for application delete
type DeployApplicationRequest ¶
type DeployApplicationRequest struct { AppId string `json:"app_id"` DeploymentId string `json:"deployment_id"` IgnoreProxyUpdate bool `json:"ignore_proxy_update"` }
DeployApplicationRequest : request payload for deploy application
type DockerPushLogger ¶
type DockerPushLogger struct {
// contains filtered or unexported fields
}
type IngressRuleApplyRequest ¶
type IngressRuleApplyRequest struct {
Id uint `json:"id"`
}
IngressRuleApplyRequest : request payload for ingress rule apply
type IngressRuleDeleteRequest ¶
type IngressRuleDeleteRequest struct {
Id uint `json:"id"`
}
IngressRuleDeleteRequest : request payload for ingress rule delete
type IngressRuleHttpsRedirectRequest ¶
IngressRuleHttpsRedirectRequest : request payload for ingress rule https redirect
type InstallDependenciesOnServerRequest ¶
type InstallDependenciesOnServerRequest struct { ServerId uint `json:"server_id"` LogId uint `json:"log_id"` }
InstallDependenciesOnServerRequest : request payload for install dependencies on server
type Manager ¶
type Manager struct { Config *config.Config ServiceManager *service_manager.ServiceManager }
Manager : hold references to other functions of service
func NewManager ¶
func NewManager(config *config.Config, manager *service_manager.ServiceManager) *Manager
func (Manager) BuildApplication ¶
func (m Manager) BuildApplication(request BuildApplicationRequest, ctx context.Context, cancelContext context.CancelFunc) error
func (Manager) DeleteApplication ¶
func (m Manager) DeleteApplication(request DeleteApplicationRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) DeployApplication ¶
func (m Manager) DeployApplication(request DeployApplicationRequest, _ context.Context, _ context.CancelFunc) error
func (Manager) EnqueueBuildApplicationRequest ¶
func (Manager) EnqueueDeleteApplicationRequest ¶
func (Manager) EnqueueDeletePersistentVolumeRequest ¶
func (Manager) EnqueueDeployApplicationRequest ¶
func (Manager) EnqueueDeployApplicationRequestWithNoProxyUpdate ¶
func (Manager) EnqueueIngressRuleApplyRequest ¶
func (Manager) EnqueueIngressRuleDeleteRequest ¶
func (Manager) EnqueueIngressRuleHttpsRedirectRequest ¶
func (Manager) EnqueueInstallDependenciesOnServerRequest ¶
func (Manager) EnqueuePersistentVolumeBackupRequest ¶
func (Manager) EnqueuePersistentVolumeRestoreRequest ¶
func (Manager) EnqueueRedirectRuleApplyRequest ¶
func (Manager) EnqueueRedirectRuleDeleteRequest ¶
func (Manager) EnqueueSSLGenerateRequest ¶
func (Manager) EnqueueSSLProxyUpdateRequest ¶
func (Manager) EnqueueSetupAndEnableProxyRequest ¶
func (Manager) EnqueueSetupServerRequest ¶
func (Manager) EnqueueUpdateApplicationOnServerScheduleDeploymentUpdateRequest ¶
func (Manager) IngressRuleApply ¶
func (m Manager) IngressRuleApply(request IngressRuleApplyRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) IngressRuleDelete ¶
func (m Manager) IngressRuleDelete(request IngressRuleDeleteRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) IngressRuleHttpsRedirect ¶
func (m Manager) IngressRuleHttpsRedirect(request IngressRuleHttpsRedirectRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) InstallDependenciesOnServer ¶
func (m Manager) InstallDependenciesOnServer(request InstallDependenciesOnServerRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) PersistentVolumeBackup ¶
func (m Manager) PersistentVolumeBackup(request PersistentVolumeBackupRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) PersistentVolumeDeletion ¶
func (m Manager) PersistentVolumeDeletion(request PersistentVolumeDeletionRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) PersistentVolumeRestore ¶
func (m Manager) PersistentVolumeRestore(request PersistentVolumeRestoreRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) RedirectRuleApply ¶
func (m Manager) RedirectRuleApply(request RedirectRuleApplyRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) RedirectRuleDelete ¶
func (m Manager) RedirectRuleDelete(request RedirectRuleDeleteRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) SSLGenerate ¶
func (m Manager) SSLGenerate(request SSLGenerateRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) SSLProxyUpdate ¶
func (m Manager) SSLProxyUpdate(request SSLProxyUpdateRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) SetupAndEnableProxy ¶
func (m Manager) SetupAndEnableProxy(request SetupAndEnableProxyRequest, ctx context.Context, cancelCtx context.CancelFunc) error
func (Manager) SetupServer ¶
func (m Manager) SetupServer(request SetupServerRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) StartConsumers ¶
func (Manager) UpdateApplicationOnServerScheduleDeploymentUpdate ¶
func (m Manager) UpdateApplicationOnServerScheduleDeploymentUpdate(_ UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest, ctx context.Context, _ context.CancelFunc) error
func (Manager) WaitForConsumers ¶
func (m Manager) WaitForConsumers()
type PersistentVolumeBackupRequest ¶
type PersistentVolumeBackupRequest struct {
Id uint `json:"id"`
}
PersistentVolumeBackupRequest : request payload for persistent volume backup
type PersistentVolumeDeletionRequest ¶
type PersistentVolumeDeletionRequest struct {
Id uint `json:"id"`
}
PersistentVolumeDeletionRequest : request payload for delete persistent volume
type PersistentVolumeRestoreRequest ¶
type PersistentVolumeRestoreRequest struct {
Id uint `json:"id"`
}
PersistentVolumeRestoreRequest : request payload for persistent volume restore
type RedirectRuleApplyRequest ¶
type RedirectRuleApplyRequest struct {
Id uint `json:"id"`
}
RedirectRuleApplyRequest : request payload for redirect rule apply
type RedirectRuleDeleteRequest ¶
type RedirectRuleDeleteRequest struct {
Id uint `json:"id"`
}
RedirectRuleDeleteRequest : request payload for redirect rule delete
type SSLGenerateRequest ¶
type SSLGenerateRequest struct {
DomainId uint `json:"domain_id"`
}
SSLGenerateRequest : request payload for ssl generate
type SSLProxyUpdateRequest ¶
type SSLProxyUpdateRequest struct {
DomainId uint `json:"domain_id"`
}
SSLProxyUpdateRequest : request payload for updatin SSL ceritifcate on proxies
type SetupAndEnableProxyRequest ¶
type SetupAndEnableProxyRequest struct { ServerId uint `json:"server_id"` LogId uint `json:"log_id"` }
SetupAndEnableProxyRequest : request payload for setup server
type SetupServerRequest ¶
type SetupServerRequest struct { ServerId uint `json:"server_id"` AdvertiseIP string `json:"advertise_ip"` LogId uint `json:"log_id"` }
SetupServerRequest : request payload for setup server
type UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest ¶
type UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest struct {
ServerId uint `json:"server_id"`
}
UpdateApplicationOnServerScheduleDeploymentStatusUpdateRequest : request payload for update application on server deployment status update
Source Files
¶
- common.go
- docker_push_logger.go
- init.go
- process_application_build_request.go
- process_application_delete_request.go
- process_application_deploy_request.go
- process_ingress_rule_apply_request.go
- process_ingress_rule_delete_request.go
- process_ingress_rule_https_redirect.go
- process_install_dependencies_on_server_request.go
- process_pv_backup_request.go
- process_pv_deletion.go
- process_pv_restore_request.go
- process_redirect_rule_apply_request.go
- process_redirect_rule_delete_request.go
- process_setup_proxy_request.go
- process_setup_server_request.go
- process_ssl_request.go
- process_update_application_on_server_schedule_deployment_status_update.go
- publisher.go
- types.go