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