cdservice

package
v0.14.3 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppDeployHelper

type AppDeployHelper struct {
	// contains filtered or unexported fields
}

type ContainerStateMutator

type ContainerStateMutator struct {
	// contains filtered or unexported fields
}

func NewContainerStateMutator

func NewContainerStateMutator(
	appRepo domain.ApplicationRepository,
	backend domain.Backend,
) *ContainerStateMutator

type Service

type Service interface {
	Run()
	RegisterBuild(appID string)
	SyncDeployments()
	Stop(ctx context.Context) error
}

func NewService

func NewService(
	appRepo domain.ApplicationRepository,
	buildRepo domain.BuildRepository,
	backend domain.Backend,
	builder domain.ControllerBuilderService,
	deployer *AppDeployHelper,
	mutator *ContainerStateMutator,
) (Service, error)

Jump to

Keyboard shortcuts

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