remote

package
v0.0.0-...-1298597 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckMaxMapCount

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

func NewCheckMaxMapCount

func NewCheckMaxMapCount(sshClient *ssh.SSHClient) *CheckMaxMapCount

func (*CheckMaxMapCount) Execute

func (t *CheckMaxMapCount) Execute(ctx context.Context) error

func (*CheckMaxMapCount) Name

func (t *CheckMaxMapCount) Name() string

type CheckNoFile

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

func NewCheckNoFile

func NewCheckNoFile(sshClient *ssh.SSHClient) *CheckNoFile

func (*CheckNoFile) Execute

func (t *CheckNoFile) Execute(ctx context.Context) error

func (*CheckNoFile) Name

func (t *CheckNoFile) Name() string

type ExecCmd

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

func NewExecCmd

func NewExecCmd(sshClient *ssh.SSHClient, command string, output *topologyyaml.ExecOutput) *ExecCmd

func (*ExecCmd) Execute

func (t *ExecCmd) Execute(ctx context.Context) error

func (*ExecCmd) Name

func (t *ExecCmd) Name() string

type GetRunningBeConfig

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

func NewGetRunningBeConfig

func NewGetRunningBeConfig(sshClient *ssh.SSHClient, be topologyyaml.BeInstance, output *string) *GetRunningBeConfig

func (*GetRunningBeConfig) Execute

func (t *GetRunningBeConfig) Execute(ctx context.Context) error

func (*GetRunningBeConfig) Name

func (t *GetRunningBeConfig) Name() string

type GetRunningFeConfig

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

func NewGetRunningFeConfig

func NewGetRunningFeConfig(sshClient *ssh.SSHClient, fe topologyyaml.FeInstance, output *string) *GetRunningFeConfig

func (*GetRunningFeConfig) Execute

func (t *GetRunningFeConfig) Execute(ctx context.Context) error

func (*GetRunningFeConfig) Name

func (t *GetRunningFeConfig) Name() string

type InitBe

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

func NewInitBe

func NewInitBe(sshClient *ssh.SSHClient, deployUser string, be topologyyaml.BeInstance) *InitBe

func (*InitBe) Execute

func (t *InitBe) Execute(ctx context.Context) error

func (*InitBe) Name

func (t *InitBe) Name() string

type InitBeConfig

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

func NewInitBeConfig

func NewInitBeConfig(sshClient *ssh.SSHClient, be topologyyaml.BeInstance, deployDir string, useSystemd bool) *InitBeConfig

func (*InitBeConfig) Execute

func (t *InitBeConfig) Execute(_ context.Context) error

func (*InitBeConfig) Name

func (t *InitBeConfig) Name() string

type InitFeConfig

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

func NewInitFeConfig

func NewInitFeConfig(sshClient *ssh.SSHClient, fe topologyyaml.FeInstance, deployDir string, useSystemd bool) *InitFeConfig

func (*InitFeConfig) Execute

func (t *InitFeConfig) Execute(ctx context.Context) error

func (*InitFeConfig) Name

func (t *InitFeConfig) Name() string

type InitInstanceHost

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

func NewInitInstanceHost

func NewInitInstanceHost(sshClient *ssh.SSHClient, deployUser string, deployDir string) *InitInstanceHost

func (*InitInstanceHost) Execute

func (t *InitInstanceHost) Execute(ctx context.Context) error

func (*InitInstanceHost) Name

func (t *InitInstanceHost) Name() string

type InstallPackage

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

func NewInstallPackage

func NewInstallPackage(sshClient *ssh.SSHClient, store *store.PackageStore, packageDigest digest.Digest, deployDir string, packageType topologyyaml.ComponentType) *InstallPackage

func (*InstallPackage) Execute

func (t *InstallPackage) Execute(ctx context.Context) error

func (*InstallPackage) Name

func (t *InstallPackage) Name() string

type ResetBeHost

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

func NewResetBeHost

func NewResetBeHost(sshClient *ssh.SSHClient, beInstance topologyyaml.BeInstance) *ResetBeHost

func (*ResetBeHost) Execute

func (t *ResetBeHost) Execute(ctx context.Context) error

func (*ResetBeHost) Name

func (t *ResetBeHost) Name() string

type ResetInstanceHost

type ResetInstanceHost struct {
	SystemdServicePath string
	// contains filtered or unexported fields
}

func NewResetInstanceHost

func NewResetInstanceHost(sshClient *ssh.SSHClient, deployDir string, useSystemd bool, systemdServicePath string) *ResetInstanceHost

func (*ResetInstanceHost) Execute

func (t *ResetInstanceHost) Execute(ctx context.Context) error

func (*ResetInstanceHost) Name

func (t *ResetInstanceHost) Name() string

type StartService

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

func NewStartService

func NewStartService(sshClient *ssh.SSHClient, instance topologyyaml.Instance, useSystemd bool) *StartService

func (*StartService) Execute

func (t *StartService) Execute(ctx context.Context) error

func (*StartService) Name

func (t *StartService) Name() string

type StopService

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

func NewStopService

func NewStopService(sshClient *ssh.SSHClient, instance topologyyaml.Instance, useSystemd bool) *StopService

func (*StopService) Execute

func (t *StopService) Execute(ctx context.Context) error

func (*StopService) Name

func (t *StopService) Name() string

Jump to

Keyboard shortcuts

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