impl

package
v1.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2018 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigMapsActionsImpl added in v1.0.4

type ConfigMapsActionsImpl struct {
	// contains filtered or unexported fields
}

func NewConfigMapsActionsImpl added in v1.0.4

func NewConfigMapsActionsImpl(mongo *db.MongoStorage, kube *clients.Kube) *ConfigMapsActionsImpl

func (*ConfigMapsActionsImpl) CreateConfigMap added in v1.0.4

func (*ConfigMapsActionsImpl) DeleteAllConfigMaps added in v1.0.4

func (ia *ConfigMapsActionsImpl) DeleteAllConfigMaps(ctx context.Context, nsID string) error

func (*ConfigMapsActionsImpl) DeleteConfigMap added in v1.0.4

func (ia *ConfigMapsActionsImpl) DeleteConfigMap(ctx context.Context, nsID, cmName string) error

func (*ConfigMapsActionsImpl) GetConfigMap added in v1.0.4

func (ia *ConfigMapsActionsImpl) GetConfigMap(ctx context.Context, nsID, cmName string) (*configmap.ResourceConfigMap, error)

func (*ConfigMapsActionsImpl) GetConfigMapsList added in v1.0.4

func (ia *ConfigMapsActionsImpl) GetConfigMapsList(ctx context.Context, nsID string) (*configmap.ConfigMapsResponse, error)

func (*ConfigMapsActionsImpl) GetSelectedConfigMapsList added in v1.0.4

func (ia *ConfigMapsActionsImpl) GetSelectedConfigMapsList(ctx context.Context, namespaces []string) (*configmap.ConfigMapsResponse, error)

func (*ConfigMapsActionsImpl) ImportConfigMap added in v1.0.4

func (ia *ConfigMapsActionsImpl) ImportConfigMap(ctx context.Context, nsID string, cm kubtypes.ConfigMap) error

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.ResourceDeploy, error)

func (*DeployActionsImpl) CreateDeployment

func (da *DeployActionsImpl) CreateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.ResourceDeploy, 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 (da *DeployActionsImpl) DiffDeployments(ctx context.Context, nsID, deplName, version1, version2 string) (*kubtypes.DeploymentDiff, error)

func (*DeployActionsImpl) DiffDeploymentsPrevious

func (da *DeployActionsImpl) DiffDeploymentsPrevious(ctx context.Context, nsID, deplName, version string) (*kubtypes.DeploymentDiff, error)

func (*DeployActionsImpl) GetDeployment

func (da *DeployActionsImpl) GetDeployment(ctx context.Context, nsID, deplName string) (*deployment.ResourceDeploy, error)

func (*DeployActionsImpl) GetDeploymentVersion

func (da *DeployActionsImpl) GetDeploymentVersion(ctx context.Context, nsID, deplName, version string) (*deployment.ResourceDeploy, error)

func (*DeployActionsImpl) GetDeploymentVersionsList

func (da *DeployActionsImpl) GetDeploymentVersionsList(ctx context.Context, nsID, deployName string) (*deployment.DeploymentsResponse, error)

func (*DeployActionsImpl) GetDeploymentsList

func (da *DeployActionsImpl) GetDeploymentsList(ctx context.Context, nsID string) (*deployment.DeploymentsResponse, error)

func (*DeployActionsImpl) ImportDeployment added in v1.0.4

func (da *DeployActionsImpl) ImportDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) error

func (*DeployActionsImpl) RenameDeploymentVersion

func (da *DeployActionsImpl) RenameDeploymentVersion(ctx context.Context, nsID, deplName, oldversion, newversion string) (*deployment.ResourceDeploy, error)

func (*DeployActionsImpl) SetDeploymentContainerImage

func (da *DeployActionsImpl) SetDeploymentContainerImage(ctx context.Context, nsID, deplName string, req kubtypes.UpdateImage) (*deployment.ResourceDeploy, error)

func (*DeployActionsImpl) SetDeploymentReplicas

func (da *DeployActionsImpl) SetDeploymentReplicas(ctx context.Context, nsID, deplName string, req kubtypes.UpdateReplicas) (*deployment.ResourceDeploy, error)

func (*DeployActionsImpl) UpdateDeployment

func (da *DeployActionsImpl) UpdateDeployment(ctx context.Context, nsID string, deploy kubtypes.Deployment) (*deployment.ResourceDeploy, error)

type DomainActionsImpl

type DomainActionsImpl struct {
	// contains filtered or unexported fields
}

func NewDomainActionsImpl

func NewDomainActionsImpl(mongo *db.MongoStorage) *DomainActionsImpl

func (*DomainActionsImpl) AddDomain

func (da *DomainActionsImpl) AddDomain(ctx context.Context, req domain.Domain) (*domain.Domain, error)

func (*DomainActionsImpl) DeleteDomain

func (da *DomainActionsImpl) DeleteDomain(ctx context.Context, domain string) error

func (*DomainActionsImpl) GetDomain

func (da *DomainActionsImpl) GetDomain(ctx context.Context, domain string) (*domain.Domain, error)

func (*DomainActionsImpl) GetDomainsList

func (da *DomainActionsImpl) GetDomainsList(ctx context.Context, page, perPage string) (*domain.DomainsResponse, error)

type IngressActionsImpl

type IngressActionsImpl struct {
	// contains filtered or unexported fields
}

func NewIngressActionsImpl

func NewIngressActionsImpl(mongo *db.MongoStorage, kube *clients.Kube, ingressSuffix string) *IngressActionsImpl

func (*IngressActionsImpl) CreateIngress

func (ia *IngressActionsImpl) CreateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.ResourceIngress, 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.ResourceIngress, error)

func (*IngressActionsImpl) GetIngressesList

func (ia *IngressActionsImpl) GetIngressesList(ctx context.Context, nsID string) (*ingress.IngressesResponse, error)

func (*IngressActionsImpl) GetSelectedIngressesList added in v1.0.4

func (ia *IngressActionsImpl) GetSelectedIngressesList(ctx context.Context, namespaces []string) (*ingress.IngressesResponse, error)

func (*IngressActionsImpl) ImportIngress added in v1.0.4

func (ia *IngressActionsImpl) ImportIngress(ctx context.Context, nsID string, ingr kubtypes.Ingress) error

func (*IngressActionsImpl) UpdateIngress

func (ia *IngressActionsImpl) UpdateIngress(ctx context.Context, nsID string, req kubtypes.Ingress) (*ingress.ResourceIngress, 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) GetAllResourcesCount added in v1.0.3

func (*ResourcesActionsImpl) GetResourcesCount

type ServiceActionsImpl

type ServiceActionsImpl struct {
	// contains filtered or unexported fields
}

func NewServiceActionsImpl

func NewServiceActionsImpl(mongo *db.MongoStorage, permissions *clients.Permissions, kube *clients.Kube, minPort, maxPort uint) *ServiceActionsImpl

func (*ServiceActionsImpl) CreateService

func (sa *ServiceActionsImpl) CreateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ResourceService, error)

func (*ServiceActionsImpl) DeleteAllServices

func (sa *ServiceActionsImpl) DeleteAllServices(ctx context.Context, nsID string) error

func (*ServiceActionsImpl) DeleteAllSolutionServices

func (sa *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.ResourceService, error)

func (*ServiceActionsImpl) GetServicesList added in v1.0.3

func (sa *ServiceActionsImpl) GetServicesList(ctx context.Context, nsID string) (*service.ServicesResponse, error)

func (*ServiceActionsImpl) ImportService added in v1.0.4

func (sa *ServiceActionsImpl) ImportService(ctx context.Context, nsID string, svc kubtypes.Service) error

func (*ServiceActionsImpl) UpdateService

func (sa *ServiceActionsImpl) UpdateService(ctx context.Context, nsID string, req kubtypes.Service) (*service.ResourceService, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL