planner

package
v0.49.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PredefinedStageK8sSync  = "K8sSync"
	PredefinedStageRollback = "Rollback"
)

Variables

This section is empty.

Functions

func GetPredefinedStage

func GetPredefinedStage(id string) (config.PipelineStage, bool)

GetPredefinedStage finds and returns the predefined stage for the given id.

func MakeInitialStageMetadata

func MakeInitialStageMetadata(cfg config.PipelineStage) map[string]string

MakeInitialStageMetadata makes the initial metadata for the given state configuration.

Types

type PlannerService

type PlannerService struct {
	deployment.UnimplementedDeploymentServiceServer

	Decrypter secretDecrypter
	RegexPool *regexpool.Pool
	Logger    *zap.Logger
}

func NewPlannerService

func NewPlannerService(
	decrypter secretDecrypter,
	logger *zap.Logger,
) *PlannerService

NewPlannerService creates a new planService.

func (*PlannerService) Register

func (a *PlannerService) Register(server *grpc.Server)

Register registers all handling of this service into the specified gRPC server.

Jump to

Keyboard shortcuts

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