Documentation
¶
Index ¶
- type IPv4Client
- func (that *IPv4Client) Close() error
- func (that *IPv4Client) Connect() error
- func (that *IPv4Client) ExecuteMultiCommands(commands []*command.Command) ([]string, []error, error)
- func (that *IPv4Client) ExecuteMultiParallelCommands(commands []*command.Command) ([]string, []error, error)
- func (that *IPv4Client) ExecuteSingleCommand(c *command.Command) (string, error, error)
- func (that *IPv4Client) GetIPv4AddressAsString() string
- func (that *IPv4Client) GetSftpConnect() (*sftp.Client, error)
- type SavedIPv4Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPv4Client ¶
type IPv4Client struct {
// contains filtered or unexported fields
}
func (*IPv4Client) Close ¶
func (that *IPv4Client) Close() error
func (*IPv4Client) Connect ¶
func (that *IPv4Client) Connect() error
func (*IPv4Client) ExecuteMultiCommands ¶
func (*IPv4Client) ExecuteMultiParallelCommands ¶
func (*IPv4Client) ExecuteSingleCommand ¶
func (*IPv4Client) GetIPv4AddressAsString ¶
func (that *IPv4Client) GetIPv4AddressAsString() string
func (*IPv4Client) GetSftpConnect ¶
func (that *IPv4Client) GetSftpConnect() (*sftp.Client, error)
type SavedIPv4Client ¶
type SavedIPv4Client struct { Ipv4 string `yaml:"ipv4"` Port uint `yaml:"port"` User string `yaml:"user"` Pwd string `yaml:"pwd"` Puk string `yaml:"puk"` }
func ReadPwdClientFromYaml ¶
func ReadPwdClientFromYaml(yamlPath string) (*SavedIPv4Client, error)
func (*SavedIPv4Client) CreateClient ¶
func (that *SavedIPv4Client) CreateClient() *IPv4Client
Click to show internal directories.
Click to hide internal directories.