Documentation
¶
Overview ¶
Package sshbootstrap installs and enrolls a per-user Jobman agent through the user's OpenSSH client. SSH is never used for steady-state execution.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecRunner ¶
type ExecRunner struct{}
ExecRunner invokes the installed OpenSSH client without changing its config, host-key policy, authentication agent, or jump-host behavior.
type Options ¶
type Options struct {
Host string
AgentBinary string
SSHExecutable string
RemoteBinary string
RemoteStateDirectory string
ServerURL string
ServerCAFile string
TargetGenerationID string
EnrollmentToken string
ExpectedVersion string
PollInterval time.Duration
ArtifactStoreName string
ArtifactStoreVersion int64
ArtifactRoot string
ArtifactS3Bucket string
ArtifactS3Prefix string
ArtifactS3Region string
ArtifactS3Owner string
AWSExecutable string
ContainerEngine string
ContainerExecutable string
ContainerHostNetwork bool
MaximumLogBytes int64
MaximumArtifactBytes int64
Slurm bool
SlurmRoot string
SlurmRunner string
Runner Runner
// contains filtered or unexported fields
}
Options configures one bounded, noninteractive bootstrap operation.
type Result ¶
type Result struct {
Host string `json:"host"`
AgentID string `json:"agentId"`
TargetGenerationID string `json:"targetGenerationId"`
AgentVersion string `json:"agentVersion"`
ReusedEnrollment bool `json:"reusedEnrollment"`
}
Result identifies the enrolled installation without exposing credentials.
Click to show internal directories.
Click to hide internal directories.