Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeService ¶ added in v0.0.10
func (*FakeService) Create ¶ added in v0.0.10
func (fake *FakeService) Create(namespaceName string) error
func (*FakeService) EnsureDefaultNamespace ¶ added in v0.0.10
func (fake *FakeService) EnsureDefaultNamespace() error
func (*FakeService) ValidateDeployable ¶ added in v0.0.10
func (fake *FakeService) ValidateDeployable(namespaceName string) error
type Service ¶
type Service interface {
// ValidateDeployable validates that a namespace is deployable. Returns a ValidationError if it is not.
ValidateDeployable(namespaceName string) error
// EnsureDefaultNamespace ensures that the default namespace has been provisioned. Designed to be used only at server startup.
EnsureDefaultNamespace() error
Create(namespaceName string) error
}
func NewService ¶
func NewService(namespaces core.NamespaceRepository, environments core.EnvironmentRepository) Service
Click to show internal directories.
Click to hide internal directories.