Documentation ¶
Index ¶
- Variables
- type ClusterService
- type CodeRepoService
- func (s *CodeRepoService) CovertCodeRepoValueToReply(codeRepo *resourcev1alpha1.CodeRepo, project *biz.Project) *coderepov1.GetReply
- func (s *CodeRepoService) DeleteCodeRepo(ctx context.Context, req *coderepov1.DeleteRequest) (*coderepov1.DeleteReply, error)
- func (s *CodeRepoService) GetCodeRepo(ctx context.Context, req *coderepov1.GetRequest) (*coderepov1.GetReply, error)
- func (s *CodeRepoService) ListCodeRepos(ctx context.Context, req *coderepov1.ListsRequest) (*coderepov1.ListsReply, error)
- func (s *CodeRepoService) SaveCodeRepo(ctx context.Context, req *coderepov1.SaveRequest) (*coderepov1.SaveReply, error)
- type DeploymentruntimeService
- func (s *DeploymentruntimeService) CovertCodeRepoValueToReply(runtime *resourcev1alpha1.DeploymentRuntime) *deploymentruntimev1.GetReply
- func (s *DeploymentruntimeService) DeleteDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.DeleteRequest) (*deploymentruntimev1.DeleteReply, error)
- func (s *DeploymentruntimeService) GetDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.GetRequest) (*deploymentruntimev1.GetReply, error)
- func (s *DeploymentruntimeService) ListDeploymentRuntimes(ctx context.Context, req *deploymentruntimev1.ListsRequest) (*deploymentruntimev1.ListsReply, error)
- func (s *DeploymentruntimeService) SaveDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.SaveRequest) (*deploymentruntimev1.SaveReply, error)
- type EnvironmentService
- func (s *EnvironmentService) CovertCodeRepoValueToReply(env *resourcev1alpha1.Environment) *environmentv1.GetReply
- func (s *EnvironmentService) DeleteEnvironment(ctx context.Context, req *environmentv1.DeleteRequest) (*environmentv1.DeleteReply, error)
- func (s *EnvironmentService) GetEnvironment(ctx context.Context, req *environmentv1.GetRequest) (*environmentv1.GetReply, error)
- func (s *EnvironmentService) ListEnvironments(ctx context.Context, req *environmentv1.ListsRequest) (*environmentv1.ListsReply, error)
- func (s *EnvironmentService) SaveEnvironment(ctx context.Context, req *environmentv1.SaveRequest) (*environmentv1.SaveReply, error)
- type ProductService
- func (s *ProductService) CovertCodeRepoValueToReply(group *biz.Group) *productv1.GetProductReply
- func (s *ProductService) DeleteProduct(ctx context.Context, req *productv1.DeleteProductRequest) (*productv1.DeleteProductReply, error)
- func (s *ProductService) GetProduct(ctx context.Context, req *productv1.GetProductRequest) (*productv1.GetProductReply, error)
- func (s *ProductService) ListProducts(ctx context.Context, req *productv1.ListProductsRequest) (*productv1.ListProductsReply, error)
- func (s *ProductService) SaveProduct(ctx context.Context, req *productv1.SaveProductRequest) (*productv1.SaveProductReply, error)
- type ProjectPipelineRuntimeService
- func (s *ProjectPipelineRuntimeService) CovertCodeRepoValueToReply(projectPipelineRuntime *resourcev1alpha1.ProjectPipelineRuntime, ...) *projectpipelineruntimev1.GetReply
- func (s *ProjectPipelineRuntimeService) DeleteProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.DeleteRequest) (*projectpipelineruntimev1.DeleteReply, error)
- func (s *ProjectPipelineRuntimeService) GetProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.GetRequest) (*projectpipelineruntimev1.GetReply, error)
- func (s *ProjectPipelineRuntimeService) ListProjectPipelineRuntimes(ctx context.Context, req *projectpipelineruntimev1.ListsRequest) (*projectpipelineruntimev1.ListsReply, error)
- func (s *ProjectPipelineRuntimeService) SaveProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.SaveRequest) (*projectpipelineruntimev1.SaveReply, error)
- type ProjectService
- func (s *ProjectService) CovertCodeRepoValueToReply(project *resourcev1alpha1.Project) *projectv1.GetReply
- func (s *ProjectService) DeleteProject(ctx context.Context, req *projectv1.DeleteRequest) (*projectv1.DeleteReply, error)
- func (s *ProjectService) GetProject(ctx context.Context, req *projectv1.GetRequest) (*projectv1.GetReply, error)
- func (s *ProjectService) ListProjects(ctx context.Context, req *projectv1.ListsRequest) (*projectv1.ListsReply, error)
- func (s *ProjectService) SaveProject(ctx context.Context, req *projectv1.SaveRequest) (*projectv1.SaveReply, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewProjectPipelineRuntimeService, NewDeploymentruntimeService, NewCodeRepoService, NewProductService, NewProjectService, NewEnvironmentService, NewClusterService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type ClusterService ¶
type ClusterService struct { clusterv1.UnimplementedClusterServer // contains filtered or unexported fields }
func NewClusterService ¶
func NewClusterService(cluster *biz.ClusterUsecase, configs *nautesconfigs.Config) *ClusterService
func (*ClusterService) DeleteCluster ¶
func (s *ClusterService) DeleteCluster(ctx context.Context, req *clusterv1.DeleteRequest) (*clusterv1.DeleteReply, error)
func (*ClusterService) SaveCluster ¶
func (s *ClusterService) SaveCluster(ctx context.Context, req *clusterv1.SaveRequest) (*clusterv1.SaveReply, error)
type CodeRepoService ¶
type CodeRepoService struct { coderepov1.UnimplementedCodeRepoServer // contains filtered or unexported fields }
func NewCodeRepoService ¶
func NewCodeRepoService(codeRepo *biz.CodeRepoUsecase, configs *nautesconfigs.Config) *CodeRepoService
func (*CodeRepoService) CovertCodeRepoValueToReply ¶
func (s *CodeRepoService) CovertCodeRepoValueToReply(codeRepo *resourcev1alpha1.CodeRepo, project *biz.Project) *coderepov1.GetReply
func (*CodeRepoService) DeleteCodeRepo ¶
func (s *CodeRepoService) DeleteCodeRepo(ctx context.Context, req *coderepov1.DeleteRequest) (*coderepov1.DeleteReply, error)
func (*CodeRepoService) GetCodeRepo ¶
func (s *CodeRepoService) GetCodeRepo(ctx context.Context, req *coderepov1.GetRequest) (*coderepov1.GetReply, error)
func (*CodeRepoService) ListCodeRepos ¶
func (s *CodeRepoService) ListCodeRepos(ctx context.Context, req *coderepov1.ListsRequest) (*coderepov1.ListsReply, error)
func (*CodeRepoService) SaveCodeRepo ¶
func (s *CodeRepoService) SaveCodeRepo(ctx context.Context, req *coderepov1.SaveRequest) (*coderepov1.SaveReply, error)
type DeploymentruntimeService ¶
type DeploymentruntimeService struct { deploymentruntimev1.UnimplementedDeploymentruntimeServer // contains filtered or unexported fields }
func NewDeploymentruntimeService ¶
func NewDeploymentruntimeService(deploymentRuntime *biz.DeploymentRuntimeUsecase) *DeploymentruntimeService
func (*DeploymentruntimeService) CovertCodeRepoValueToReply ¶
func (s *DeploymentruntimeService) CovertCodeRepoValueToReply(runtime *resourcev1alpha1.DeploymentRuntime) *deploymentruntimev1.GetReply
func (*DeploymentruntimeService) DeleteDeploymentRuntime ¶
func (s *DeploymentruntimeService) DeleteDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.DeleteRequest) (*deploymentruntimev1.DeleteReply, error)
func (*DeploymentruntimeService) GetDeploymentRuntime ¶
func (s *DeploymentruntimeService) GetDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.GetRequest) (*deploymentruntimev1.GetReply, error)
func (*DeploymentruntimeService) ListDeploymentRuntimes ¶
func (s *DeploymentruntimeService) ListDeploymentRuntimes(ctx context.Context, req *deploymentruntimev1.ListsRequest) (*deploymentruntimev1.ListsReply, error)
func (*DeploymentruntimeService) SaveDeploymentRuntime ¶
func (s *DeploymentruntimeService) SaveDeploymentRuntime(ctx context.Context, req *deploymentruntimev1.SaveRequest) (*deploymentruntimev1.SaveReply, error)
type EnvironmentService ¶
type EnvironmentService struct { environmentv1.UnimplementedEnvironmentServer // contains filtered or unexported fields }
func NewEnvironmentService ¶
func NewEnvironmentService(environment *biz.EnvironmentUsecase) *EnvironmentService
func (*EnvironmentService) CovertCodeRepoValueToReply ¶
func (s *EnvironmentService) CovertCodeRepoValueToReply(env *resourcev1alpha1.Environment) *environmentv1.GetReply
func (*EnvironmentService) DeleteEnvironment ¶
func (s *EnvironmentService) DeleteEnvironment(ctx context.Context, req *environmentv1.DeleteRequest) (*environmentv1.DeleteReply, error)
func (*EnvironmentService) GetEnvironment ¶
func (s *EnvironmentService) GetEnvironment(ctx context.Context, req *environmentv1.GetRequest) (*environmentv1.GetReply, error)
func (*EnvironmentService) ListEnvironments ¶
func (s *EnvironmentService) ListEnvironments(ctx context.Context, req *environmentv1.ListsRequest) (*environmentv1.ListsReply, error)
func (*EnvironmentService) SaveEnvironment ¶
func (s *EnvironmentService) SaveEnvironment(ctx context.Context, req *environmentv1.SaveRequest) (*environmentv1.SaveReply, error)
type ProductService ¶
type ProductService struct { productv1.UnimplementedProductServer // contains filtered or unexported fields }
func NewProductService ¶
func NewProductService(product *biz.ProductUsecase, configs *nautesconfigs.Config) *ProductService
func (*ProductService) CovertCodeRepoValueToReply ¶
func (s *ProductService) CovertCodeRepoValueToReply(group *biz.Group) *productv1.GetProductReply
func (*ProductService) DeleteProduct ¶
func (s *ProductService) DeleteProduct(ctx context.Context, req *productv1.DeleteProductRequest) (*productv1.DeleteProductReply, error)
func (*ProductService) GetProduct ¶
func (s *ProductService) GetProduct(ctx context.Context, req *productv1.GetProductRequest) (*productv1.GetProductReply, error)
func (*ProductService) ListProducts ¶
func (s *ProductService) ListProducts(ctx context.Context, req *productv1.ListProductsRequest) (*productv1.ListProductsReply, error)
func (*ProductService) SaveProduct ¶
func (s *ProductService) SaveProduct(ctx context.Context, req *productv1.SaveProductRequest) (*productv1.SaveProductReply, error)
type ProjectPipelineRuntimeService ¶
type ProjectPipelineRuntimeService struct { projectpipelineruntimev1.UnimplementedProjectPipelineRuntimeServer // contains filtered or unexported fields }
func NewProjectPipelineRuntimeService ¶
func NewProjectPipelineRuntimeService(projectPipelineRuntime *biz.ProjectPipelineRuntimeUsecase) *ProjectPipelineRuntimeService
func (*ProjectPipelineRuntimeService) CovertCodeRepoValueToReply ¶
func (s *ProjectPipelineRuntimeService) CovertCodeRepoValueToReply(projectPipelineRuntime *resourcev1alpha1.ProjectPipelineRuntime, productName string) *projectpipelineruntimev1.GetReply
func (*ProjectPipelineRuntimeService) DeleteProjectPipelineRuntime ¶
func (s *ProjectPipelineRuntimeService) DeleteProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.DeleteRequest) (*projectpipelineruntimev1.DeleteReply, error)
func (*ProjectPipelineRuntimeService) GetProjectPipelineRuntime ¶
func (s *ProjectPipelineRuntimeService) GetProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.GetRequest) (*projectpipelineruntimev1.GetReply, error)
func (*ProjectPipelineRuntimeService) ListProjectPipelineRuntimes ¶
func (s *ProjectPipelineRuntimeService) ListProjectPipelineRuntimes(ctx context.Context, req *projectpipelineruntimev1.ListsRequest) (*projectpipelineruntimev1.ListsReply, error)
func (*ProjectPipelineRuntimeService) SaveProjectPipelineRuntime ¶
func (s *ProjectPipelineRuntimeService) SaveProjectPipelineRuntime(ctx context.Context, req *projectpipelineruntimev1.SaveRequest) (*projectpipelineruntimev1.SaveReply, error)
type ProjectService ¶
type ProjectService struct { projectv1.UnimplementedProjectServer // contains filtered or unexported fields }
func NewProjectService ¶
func NewProjectService(project *biz.ProjectUsecase) *ProjectService
func (*ProjectService) CovertCodeRepoValueToReply ¶
func (s *ProjectService) CovertCodeRepoValueToReply(project *resourcev1alpha1.Project) *projectv1.GetReply
func (*ProjectService) DeleteProject ¶
func (s *ProjectService) DeleteProject(ctx context.Context, req *projectv1.DeleteRequest) (*projectv1.DeleteReply, error)
func (*ProjectService) GetProject ¶
func (s *ProjectService) GetProject(ctx context.Context, req *projectv1.GetRequest) (*projectv1.GetReply, error)
func (*ProjectService) ListProjects ¶
func (s *ProjectService) ListProjects(ctx context.Context, req *projectv1.ListsRequest) (*projectv1.ListsReply, error)
func (*ProjectService) SaveProject ¶
func (s *ProjectService) SaveProject(ctx context.Context, req *projectv1.SaveRequest) (*projectv1.SaveReply, error)
Click to show internal directories.
Click to hide internal directories.