deployment

package
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeService added in v0.0.7

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

func (*FakeService) Delete added in v0.0.7

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

func (*FakeService) Update added in v0.0.7

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

Jump to

Keyboard shortcuts

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