Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeService

type FakeService struct {
	DeleteFn        func(name *core.NamespacedName, envName string, committer state.Committer) error
	DeleteCallCount int
}

func (*FakeService) Delete

func (f *FakeService) Delete(name *core.NamespacedName, envName string, committer state.Committer) error

func (*FakeService) Update

func (f *FakeService) Update(deployment *core.DeploymentConfig, committer state.Committer, dryRun bool) (int64, error)

type Service

type Service interface {
	Update(deployment *core.DeploymentConfig, committer state.Committer, dryRun bool) (riserRevision int64, err error)
	Delete(name *core.NamespacedName, envName string, committer state.Committer) error
}

func NewService

func NewService(
	apps core.AppRepository,
	namespaceService namespace.Service,
	secrets core.SecretMetaRepository,
	environments core.EnvironmentRepository,
	deployments core.DeploymentRepository,
	reservationService deploymentreservation.Service) Service

Source Files