Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type INamespaceManager ¶
type INamespaceManager interface { CreateNamespaceIfNotExists(nsName string) error InjectIstio(project string, stage string) error }
INamespaceManager defines operations for initializing and configuring namespaces
type NamespaceManager ¶
type NamespaceManager struct {
// contains filtered or unexported fields
}
NamespaceManager is an implementation of INamespaceManager
func NewNamespaceManager ¶
func NewNamespaceManager(logger keptn.LoggerInterface) *NamespaceManager
NewNamespaceManager creates a new instance of a NamespaceManager
func (*NamespaceManager) CreateNamespaceIfNotExists ¶
func (p *NamespaceManager) CreateNamespaceIfNotExists(nsName string) error
InitNamespaces initializes namespaces if they do not exist yet
func (*NamespaceManager) InjectIstio ¶
func (p *NamespaceManager) InjectIstio(project string, stage string) error
InjectIstio injects Istio into the namespace used for the project and stage by adding the label istio-injection
Click to show internal directories.
Click to hide internal directories.