Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Artifacts ¶
type Artifacts struct {
Namespace string
DBName string
Client *client.K8sClient
// contains filtered or unexported fields
}
Artifacts is an artifacts dumping structure that copies logs and database dumps for all deployed pods
func NewArtifacts ¶
NewArtifacts create new artifacts instance for provided environment
type Environment ¶
type Environment struct {
Cfg *Config
Client *client.K8sClient
Artifacts *Artifacts
Fwd *client.Forwarder
Out client.ManifestOutput
URLs map[string][]string
}
func (*Environment) Deploy ¶
func (m *Environment) Deploy(app cdk8s.App, c client.ManifestOutput) error
Deploy deploy synthesized manifest and check logs for readiness
func (*Environment) DeployOrConnect ¶
func (m *Environment) DeployOrConnect(app cdk8s.App, out client.ManifestOutput) error
DeployOrConnect deploys or connects to already created environment
func (*Environment) Shutdown ¶
func (m *Environment) Shutdown() error
Shutdown shutdown environment, remove namespace
Click to show internal directories.
Click to hide internal directories.