Documentation
¶
Index ¶
- type DeployActionsImpl
- func (da *DeployActionsImpl) ChangeActiveDeployment(ctx context.Context, nsID, deplName, version string) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) CreateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) DeleteAllDeployments(ctx context.Context, nsID string) error
- func (da *DeployActionsImpl) DeleteAllSolutionDeployments(ctx context.Context, nsID, solutionName string) error
- func (da *DeployActionsImpl) DeleteDeployment(ctx context.Context, nsID, deplName string) error
- func (da *DeployActionsImpl) DeleteDeploymentVersion(ctx context.Context, nsID, deplName, version string) error
- func (da *DeployActionsImpl) DiffDeployments(ctx context.Context, nsID, deplName, version1, version2 string) (*string, error)
- func (da *DeployActionsImpl) DiffDeploymentsPrevious(ctx context.Context, nsID, deplName, version string) (*string, error)
- func (da *DeployActionsImpl) GetDeployment(ctx context.Context, nsID, deplName string) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) GetDeploymentVersion(ctx context.Context, nsID, deplName, version string) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) GetDeploymentVersionsList(ctx context.Context, nsID, deployName string) (deployment.DeploymentList, error)
- func (da *DeployActionsImpl) GetDeploymentsList(ctx context.Context, nsID string) (deployment.DeploymentList, error)
- func (da *DeployActionsImpl) RenameDeploymentVersion(ctx context.Context, nsID, deplName, oldversion, newversion string) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) SetDeploymentContainerImage(ctx context.Context, nsID, deplName string, req kubtypes.UpdateImage) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) SetDeploymentReplicas(ctx context.Context, nsID, deplName string, req kubtypes.UpdateReplicas) (*deployment.DeploymentResource, error)
- func (da *DeployActionsImpl) UpdateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.DeploymentResource, error)
- type DomainActionsImpl
- func (da *DomainActionsImpl) AddDomain(ctx context.Context, req domain.Domain) (*domain.Domain, error)
- func (da *DomainActionsImpl) DeleteDomain(ctx context.Context, domain string) error
- func (da *DomainActionsImpl) GetDomain(ctx context.Context, domain string) (*domain.Domain, error)
- func (da *DomainActionsImpl) GetDomainsList(ctx context.Context, page, per_page string) (domain.DomainList, error)
- type IngressActionsImpl
- func (ia *IngressActionsImpl) CreateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.IngressResource, error)
- func (ia *IngressActionsImpl) DeleteAllIngresses(ctx context.Context, nsID string) error
- func (ia *IngressActionsImpl) DeleteIngress(ctx context.Context, nsID, ingressName string) error
- func (ia *IngressActionsImpl) GetIngress(ctx context.Context, nsID, ingressName string) (*ingress.IngressResource, error)
- func (ia *IngressActionsImpl) GetIngressesList(ctx context.Context, nsID string) (ingress.IngressList, error)
- func (ia *IngressActionsImpl) UpdateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.IngressResource, error)
- type ResourcesActionsImpl
- func (rs *ResourcesActionsImpl) DeleteAllResourcesInNamespace(ctx context.Context, nsID string) error
- func (rs *ResourcesActionsImpl) DeleteAllUserResources(ctx context.Context) error
- func (rs *ResourcesActionsImpl) GetResourcesCount(ctx context.Context) (*resources.GetResourcesCountResponse, error)
- type ServiceActionsImpl
- func (sa *ServiceActionsImpl) CreateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ServiceResource, error)
- func (sa *ServiceActionsImpl) DeleteAllServices(ctx context.Context, nsID string) error
- func (da *ServiceActionsImpl) DeleteAllSolutionServices(ctx context.Context, nsID, solutionName string) error
- func (sa *ServiceActionsImpl) DeleteService(ctx context.Context, nsID, serviceName string) error
- func (sa *ServiceActionsImpl) GetService(ctx context.Context, nsID, serviceName string) (*service.ServiceResource, error)
- func (sa *ServiceActionsImpl) GetServices(ctx context.Context, nsID string) (service.ServiceList, error)
- func (sa *ServiceActionsImpl) UpdateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ServiceResource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployActionsImpl ¶
type DeployActionsImpl struct {
// contains filtered or unexported fields
}
func NewDeployActionsImpl ¶
func NewDeployActionsImpl(mongo *db.MongoStorage, permissions *clients.Permissions, kube *clients.Kube) *DeployActionsImpl
func (*DeployActionsImpl) ChangeActiveDeployment ¶
func (da *DeployActionsImpl) ChangeActiveDeployment(ctx context.Context, nsID, deplName, version string) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) CreateDeployment ¶
func (da *DeployActionsImpl) CreateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) DeleteAllDeployments ¶
func (da *DeployActionsImpl) DeleteAllDeployments(ctx context.Context, nsID string) error
func (*DeployActionsImpl) DeleteAllSolutionDeployments ¶
func (da *DeployActionsImpl) DeleteAllSolutionDeployments(ctx context.Context, nsID, solutionName string) error
func (*DeployActionsImpl) DeleteDeployment ¶
func (da *DeployActionsImpl) DeleteDeployment(ctx context.Context, nsID, deplName string) error
func (*DeployActionsImpl) DeleteDeploymentVersion ¶
func (da *DeployActionsImpl) DeleteDeploymentVersion(ctx context.Context, nsID, deplName, version string) error
func (*DeployActionsImpl) DiffDeployments ¶
func (*DeployActionsImpl) DiffDeploymentsPrevious ¶
func (*DeployActionsImpl) GetDeployment ¶
func (da *DeployActionsImpl) GetDeployment(ctx context.Context, nsID, deplName string) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) GetDeploymentVersion ¶
func (da *DeployActionsImpl) GetDeploymentVersion(ctx context.Context, nsID, deplName, version string) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) GetDeploymentVersionsList ¶
func (da *DeployActionsImpl) GetDeploymentVersionsList(ctx context.Context, nsID, deployName string) (deployment.DeploymentList, error)
func (*DeployActionsImpl) GetDeploymentsList ¶
func (da *DeployActionsImpl) GetDeploymentsList(ctx context.Context, nsID string) (deployment.DeploymentList, error)
func (*DeployActionsImpl) RenameDeploymentVersion ¶
func (da *DeployActionsImpl) RenameDeploymentVersion(ctx context.Context, nsID, deplName, oldversion, newversion string) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) SetDeploymentContainerImage ¶
func (da *DeployActionsImpl) SetDeploymentContainerImage(ctx context.Context, nsID, deplName string, req kubtypes.UpdateImage) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) SetDeploymentReplicas ¶
func (da *DeployActionsImpl) SetDeploymentReplicas(ctx context.Context, nsID, deplName string, req kubtypes.UpdateReplicas) (*deployment.DeploymentResource, error)
func (*DeployActionsImpl) UpdateDeployment ¶
func (da *DeployActionsImpl) UpdateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.DeploymentResource, error)
type DomainActionsImpl ¶
type DomainActionsImpl struct {
// contains filtered or unexported fields
}
func NewDomainActionsImpl ¶
func NewDomainActionsImpl(mongo *db.MongoStorage) *DomainActionsImpl
func (*DomainActionsImpl) DeleteDomain ¶
func (da *DomainActionsImpl) DeleteDomain(ctx context.Context, domain string) error
func (*DomainActionsImpl) GetDomainsList ¶
func (da *DomainActionsImpl) GetDomainsList(ctx context.Context, page, per_page string) (domain.DomainList, error)
type IngressActionsImpl ¶
type IngressActionsImpl struct {
// contains filtered or unexported fields
}
func NewIngressActionsImpl ¶
func NewIngressActionsImpl(mongo *db.MongoStorage, kube *clients.Kube) *IngressActionsImpl
func (*IngressActionsImpl) CreateIngress ¶
func (ia *IngressActionsImpl) CreateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.IngressResource, error)
func (*IngressActionsImpl) DeleteAllIngresses ¶
func (ia *IngressActionsImpl) DeleteAllIngresses(ctx context.Context, nsID string) error
func (*IngressActionsImpl) DeleteIngress ¶
func (ia *IngressActionsImpl) DeleteIngress(ctx context.Context, nsID, ingressName string) error
func (*IngressActionsImpl) GetIngress ¶
func (ia *IngressActionsImpl) GetIngress(ctx context.Context, nsID, ingressName string) (*ingress.IngressResource, error)
func (*IngressActionsImpl) GetIngressesList ¶
func (ia *IngressActionsImpl) GetIngressesList(ctx context.Context, nsID string) (ingress.IngressList, error)
func (*IngressActionsImpl) UpdateIngress ¶
func (ia *IngressActionsImpl) UpdateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.IngressResource, error)
type ResourcesActionsImpl ¶
type ResourcesActionsImpl struct {
// contains filtered or unexported fields
}
func NewResourcesActionsImpl ¶
func NewResourcesActionsImpl(mongo *db.MongoStorage) *ResourcesActionsImpl
func (*ResourcesActionsImpl) DeleteAllResourcesInNamespace ¶
func (rs *ResourcesActionsImpl) DeleteAllResourcesInNamespace(ctx context.Context, nsID string) error
func (*ResourcesActionsImpl) DeleteAllUserResources ¶
func (rs *ResourcesActionsImpl) DeleteAllUserResources(ctx context.Context) error
func (*ResourcesActionsImpl) GetResourcesCount ¶
func (rs *ResourcesActionsImpl) GetResourcesCount(ctx context.Context) (*resources.GetResourcesCountResponse, error)
type ServiceActionsImpl ¶
type ServiceActionsImpl struct {
// contains filtered or unexported fields
}
func NewServiceActionsImpl ¶
func NewServiceActionsImpl(mongo *db.MongoStorage, permissions *clients.Permissions, kube *clients.Kube) *ServiceActionsImpl
func (*ServiceActionsImpl) CreateService ¶
func (sa *ServiceActionsImpl) CreateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ServiceResource, error)
func (*ServiceActionsImpl) DeleteAllServices ¶
func (sa *ServiceActionsImpl) DeleteAllServices(ctx context.Context, nsID string) error
func (*ServiceActionsImpl) DeleteAllSolutionServices ¶
func (da *ServiceActionsImpl) DeleteAllSolutionServices(ctx context.Context, nsID, solutionName string) error
func (*ServiceActionsImpl) DeleteService ¶
func (sa *ServiceActionsImpl) DeleteService(ctx context.Context, nsID, serviceName string) error
func (*ServiceActionsImpl) GetService ¶
func (sa *ServiceActionsImpl) GetService(ctx context.Context, nsID, serviceName string) (*service.ServiceResource, error)
func (*ServiceActionsImpl) GetServices ¶
func (sa *ServiceActionsImpl) GetServices(ctx context.Context, nsID string) (service.ServiceList, error)
func (*ServiceActionsImpl) UpdateService ¶
func (sa *ServiceActionsImpl) UpdateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ServiceResource, error)
Click to show internal directories.
Click to hide internal directories.