deploymentreservation

package
v0.0.37 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNameAlreadyReserved = core.NewValidationErrorMessage("the deployment name is already reserved in this namespace by another application")

Functions

This section is empty.

Types

type FakeService

type FakeService struct {
	EnsureReservationFn func(appId uuid.UUID, name *core.NamespacedName) (*core.DeploymentReservation, error)
}

func (*FakeService) EnsureReservation

func (f *FakeService) EnsureReservation(appId uuid.UUID, name *core.NamespacedName) (*core.DeploymentReservation, error)

type Service

type Service interface {
	EnsureReservation(appId uuid.UUID, name *core.NamespacedName) (*core.DeploymentReservation, error)
}

func NewService

func NewService(reservations core.DeploymentReservationRepository) Service

Jump to

Keyboard shortcuts

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