service

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

README

Service

Documentation

Index

Constants

View Source
const (
	FieldPipelineTriggersPipeline = "pipeline_triggers.pipeline"
	FeldManifestSourceCodeRepo    = "manifest_source.code_repo"
	FieldDestination              = "destination"
	FieldPipelineSource           = "pipeline_source"
	FieldProject                  = "project"
	FieldProjectsRef              = "projects_ref.in"
	FieldCodeRepo                 = "coderepo"
	FieldProduct                  = "product"
	FiledProjectsInProject        = "projects.in"
	FieldPilelineRuntime          = "pipeline_runtime"
	FieldDeploymentRuntime        = "deployment_runtime"
	FieldCluster                  = "cluster"
	FieldEnvType                  = "env_type"
	FieldClusterType              = "cluster_type"
	FieldUsage                    = "usage"
	FieldWorkType                 = "worker_type"
)

Filter field for list api.

Variables

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 (*ClusterService) GetCluster added in v0.3.1

func (*ClusterService) ListClusters added in v0.3.1

func (*ClusterService) SaveCluster

func (*ClusterService) Validate added in v0.3.0

func (s *ClusterService) Validate(req *clusterv1.SaveRequest) error

type CodeRepoBindingService added in v0.3.0

type CodeRepoBindingService struct {
	coderepobindingv1.UnimplementedCodeRepoBindingServer
	// contains filtered or unexported fields
}

func NewCodeRepoBindingService added in v0.3.0

func NewCodeRepoBindingService(codeRepoBindingUsecase *biz.CodeRepoBindingUsecase, resourcesUsecase *biz.ResourcesUsecase) *CodeRepoBindingService

func (*CodeRepoBindingService) CovertCodeRepoBindingValueToReply added in v0.3.0

func (s *CodeRepoBindingService) CovertCodeRepoBindingValueToReply(codeRepoBinding *resourcev1alpha1.CodeRepoBinding) *coderepobindingv1.GetReply

func (*CodeRepoBindingService) DeleteCodeRepoBinding added in v0.3.0

func (*CodeRepoBindingService) GetCodeRepoBinding added in v0.3.0

func (*CodeRepoBindingService) ListCodeRepoBindings added in v0.3.0

func (*CodeRepoBindingService) SaveCodeRepoBinding added in v0.3.0

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(ctx context.Context, productName string, node *nodestree.Node) (*coderepov1.GetReply, error)

func (*CodeRepoService) DeleteCodeRepo

func (*CodeRepoService) GetCodeRepo

func (*CodeRepoService) ListCodeRepos

func (*CodeRepoService) SaveCodeRepo

type DeploymentruntimeService

type DeploymentruntimeService struct {
	deploymentruntimev1.UnimplementedDeploymentruntimeServer
	// contains filtered or unexported fields
}

func NewDeploymentruntimeService

func NewDeploymentruntimeService(deploymentRuntime *biz.DeploymentRuntimeUsecase) *DeploymentruntimeService

func (*DeploymentruntimeService) CovertDeploymentRuntimeValueToReply added in v0.3.1

func (s *DeploymentruntimeService) CovertDeploymentRuntimeValueToReply(runtime *resourcev1alpha1.DeploymentRuntime) *deploymentruntimev1.GetReply

func (*DeploymentruntimeService) DeleteDeploymentRuntime

func (*DeploymentruntimeService) GetDeploymentRuntime

func (*DeploymentruntimeService) ListDeploymentRuntimes

func (*DeploymentruntimeService) SaveDeploymentRuntime

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 (*EnvironmentService) GetEnvironment

func (*EnvironmentService) ListEnvironments

func (*EnvironmentService) SaveEnvironment

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 (*ProductService) GetProduct

func (*ProductService) ListProducts

func (*ProductService) SaveProduct

type ProjectPipelineRuntimeService

type ProjectPipelineRuntimeService struct {
	projectpipelineruntimev1.UnimplementedProjectPipelineRuntimeServer
	// contains filtered or unexported fields
}

func NewProjectPipelineRuntimeService

func NewProjectPipelineRuntimeService(projectPipelineRuntime *biz.ProjectPipelineRuntimeUsecase, resourcesUsecase *biz.ResourcesUsecase) *ProjectPipelineRuntimeService

func (*ProjectPipelineRuntimeService) ConvertCodeRepoToRepoName added in v0.3.1

func (p *ProjectPipelineRuntimeService) ConvertCodeRepoToRepoName(ctx context.Context, projectPipelineRuntime *resourcev1alpha1.ProjectPipelineRuntime) error

func (*ProjectPipelineRuntimeService) DeleteProjectPipelineRuntime

func (*ProjectPipelineRuntimeService) GetProjectPipelineRuntime

func (*ProjectPipelineRuntimeService) ListProjectPipelineRuntimes

func (*ProjectPipelineRuntimeService) SaveProjectPipelineRuntime

func (*ProjectPipelineRuntimeService) Validate added in v0.3.1

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 (*ProjectService) GetProject

func (*ProjectService) ListProjects

func (*ProjectService) SaveProject

Jump to

Keyboard shortcuts

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