deployment

package
v0.0.0-...-a849b39 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

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)

type Session

type Session struct {
	// contains filtered or unexported fields
}

func (*Session) Close

func (session *Session) Close()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL