Documentation ¶
Index ¶
- func SetSSHClientCreator(creator SSHClientCreator)
- func ValidateHostName(name string) bool
- type Host
- func (h *Host) AuthOptions() *auth.Options
- func (h *Host) ConfigureAllAuth() error
- func (h *Host) ConfigureAuth() error
- func (h *Host) CreateExternalRootSSHClient() (*ssh.ExternalClient, error)
- func (h *Host) CreateExternalSSHClient() (*ssh.ExternalClient, error)
- func (h *Host) CreateSSHClient() (ssh.Client, error)
- func (h *Host) Kill() error
- func (h *Host) Provision() error
- func (h *Host) Restart() error
- func (h *Host) RunSSHCommand(command string) (string, error)
- func (h *Host) Start() error
- func (h *Host) Stop() error
- func (h *Host) URL() (string, error)
- func (h *Host) Upgrade() error
- func (h *Host) WaitForPodman() error
- type Metadata
- type Options
- type RawDataDriver
- type SSHClientCreator
- type StandardSSHClientCreator
- func (creator *StandardSSHClientCreator) CreateExternalRootSSHClient(d drivers.Driver) (*ssh.ExternalClient, error)
- func (creator *StandardSSHClientCreator) CreateExternalSSHClient(d drivers.Driver) (*ssh.ExternalClient, error)
- func (creator *StandardSSHClientCreator) CreateSSHClient(d drivers.Driver) (ssh.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetSSHClientCreator ¶
func SetSSHClientCreator(creator SSHClientCreator)
func ValidateHostName ¶
Types ¶
type Host ¶
type Host struct { ConfigVersion int Driver drivers.Driver DriverName string HostOptions *Options Name string RawDriver []byte `json:"-"` }
func (*Host) AuthOptions ¶
func (*Host) ConfigureAllAuth ¶
func (*Host) ConfigureAuth ¶
func (*Host) CreateExternalRootSSHClient ¶
func (h *Host) CreateExternalRootSSHClient() (*ssh.ExternalClient, error)
func (*Host) CreateExternalSSHClient ¶
func (h *Host) CreateExternalSSHClient() (*ssh.ExternalClient, error)
func (*Host) WaitForPodman ¶
type RawDataDriver ¶
type RawDataDriver struct { *none.Driver Data []byte // passed directly back when invoking json.Marshal on this type }
func (*RawDataDriver) MarshalJSON ¶
func (r *RawDataDriver) MarshalJSON() ([]byte, error)
func (*RawDataDriver) UnmarshalJSON ¶
func (r *RawDataDriver) UnmarshalJSON(data []byte) error
type SSHClientCreator ¶
type StandardSSHClientCreator ¶
func (*StandardSSHClientCreator) CreateExternalRootSSHClient ¶
func (creator *StandardSSHClientCreator) CreateExternalRootSSHClient(d drivers.Driver) (*ssh.ExternalClient, error)
func (*StandardSSHClientCreator) CreateExternalSSHClient ¶
func (creator *StandardSSHClientCreator) CreateExternalSSHClient(d drivers.Driver) (*ssh.ExternalClient, error)
func (*StandardSSHClientCreator) CreateSSHClient ¶
Click to show internal directories.
Click to hide internal directories.