Documentation ¶
Index ¶
- func GetImportImageCommand(config *config.InternalConfig, image, filename string) string
- type Deployment
- type NodeDeployment
- func (deployment *NodeDeployment) Execute(name, command string) (string, error)
- func (deployment *NodeDeployment) Steps(skipRestart bool) (result int)
- func (deployment *NodeDeployment) UploadFile(from, to string) error
- func (deployment *NodeDeployment) UploadFiles(forceUpload bool, skipRestart bool) (_error error)
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImportImageCommand ¶
func GetImportImageCommand(config *config.InternalConfig, image, filename string) string
Types ¶
type Deployment ¶
type Deployment struct {
// contains filtered or unexported fields
}
func NewDeployment ¶
func NewDeployment(_config *config.InternalConfig, identityFile string, importImages, forceUpload bool, parallel bool, commandRetries uint, skipSetup, skipUpload, skipRestart, skipStorageSetup, skipMonitoringSetup, skipLoggingSetup, skipBackupSetup, skipShowcaseSetup, skipIngressSetup bool, wait uint) *Deployment
func (*Deployment) Deploy ¶
func (deployment *Deployment) Deploy() error
Deploy all files to the nodes over SSH
func (*Deployment) Steps ¶
func (deployment *Deployment) Steps() int
type NodeDeployment ¶
type NodeDeployment struct {
// contains filtered or unexported fields
}
func NewNodeDeployment ¶
func NewNodeDeployment(identityFile string, name string, node *config.Node, config *config.InternalConfig, parallel bool, localChecksums *utils.Checksums) *NodeDeployment
func (*NodeDeployment) Execute ¶
func (deployment *NodeDeployment) Execute(name, command string) (string, error)
func (*NodeDeployment) Steps ¶
func (deployment *NodeDeployment) Steps(skipRestart bool) (result int)
func (*NodeDeployment) UploadFile ¶
func (deployment *NodeDeployment) UploadFile(from, to string) error
func (*NodeDeployment) UploadFiles ¶
func (deployment *NodeDeployment) UploadFiles(forceUpload bool, skipRestart bool) (_error error)
Click to show internal directories.
Click to hide internal directories.