namespace

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 4 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.10

type FakeService struct {
	ValidateDeployableFn func(string) error
}

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

Jump to

Keyboard shortcuts

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