service

package
v0.0.0-...-acbd0ad Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceOperationImpl

type ServiceOperationImpl struct {
	Tables *db.Tables
	*ServiceVersionManager
	K8SManager *k8s.K8SManager
}

func (*ServiceOperationImpl) CreateService

CreateService Create Service. CreateService will only create service, not create service version. To Deploy and expose version, user should create service version first, and then call UpdateServiceVersion function.

func (*ServiceOperationImpl) DeleteService

DeleteService Delete Service.

func (*ServiceOperationImpl) ListService

ListService List Service by project ID, service ID, service name.

func (*ServiceOperationImpl) ListServicePod

ListServicePod List Service Pod by service ID.

func (*ServiceOperationImpl) UpdateServiceDescription

func (s *ServiceOperationImpl) UpdateServiceDescription(params serviceop.UpdateServiceDescriptionParams, principal *models.AuthInfo) middleware.Responder

UpdateServiceDescription Update Service Description

func (*ServiceOperationImpl) UpdateServiceVersion

func (s *ServiceOperationImpl) UpdateServiceVersion(params serviceop.UpdateServiceVersionParams, principal *models.AuthInfo) middleware.Responder

UpdateServiceVersion Update Service Version You Can Call this api to re deploy/ expose this service.

type ServiceVersionManager

type ServiceVersionManager struct {
	Tables *db.Tables
}

func (*ServiceVersionManager) CreateServiceVersion

CreateServiceVersion Create Service Version

func (*ServiceVersionManager) GetServiceVersion

ListServiceVersion List Service Version by service ID.

func (*ServiceVersionManager) ListServiceVersion

ListServiceVersion List Service Version by service ID.

Jump to

Keyboard shortcuts

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