Documentation
¶
Overview ¶
Package deployer for project deployment
Package deployer for project deployment
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Deployer struct manages project deployment
func NewDeployer ¶
func NewDeployer(tfPluginClient tfplugin.TFPluginClientInterface, repoURL string, logger zerolog.Logger) (Deployer, error)
NewDeployer return new project deployer
func (*Deployer) Deploy ¶
func (d *Deployer) Deploy(ctx context.Context, vmSpec VMSpec, ports []uint, deploymentName string) (map[uint]string, error)
Deploy deploys a project and map each port to a domain
Click to show internal directories.
Click to hide internal directories.