impl

package
v1.0.0-rc.7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2018 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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) 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) (*string, error)

func (*DeployActionsImpl) DiffDeploymentsPrevious

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

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) 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, 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

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) 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)

Jump to

Keyboard shortcuts

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