Documentation ¶
Index ¶
- type Deployer
- func (d *Deployer) AddComponent(kind api.ComponentType, obj api.DeployableComponentInterface)
- func (d *Deployer) AddController(name string, c api.DeployerControllerInterface)
- func (d *Deployer) Export() map[string]string
- func (d *Deployer) Run() error
- func (d *Deployer) StartControllers(stopCh chan struct{}) map[string][]error
- func (d *Deployer) Undeploy() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
Deployer handles deploying the components to a cluster
func NewDeployer ¶
NewDeployer creates a Deployer object
func NewDeployerExporter ¶
func NewDeployerExporter() *Deployer
NewDeployerExporter creates a Deployer object that only supports exporting
func (*Deployer) AddComponent ¶
func (d *Deployer) AddComponent(kind api.ComponentType, obj api.DeployableComponentInterface)
AddComponent will add a component to be deployed
func (*Deployer) AddController ¶
func (d *Deployer) AddController(name string, c api.DeployerControllerInterface)
AddController will add a custom controller that will be run after all components have been deployed.
func (*Deployer) StartControllers ¶
StartControllers will start all the configured controllers
Click to show internal directories.
Click to hide internal directories.