Documentation ¶
Index ¶
- func DialWithDeadline(network string, addr string, config *ssh.ClientConfig, timeout bool) (*ssh.Client, error)
- type SUT
- func (s *SUT) Command(cmd string) (string, error)
- func (s *SUT) EventuallyConnects(t ...int)
- func (s SUT) GatherAllLogs(services []string, logFiles []string)
- func (s SUT) GatherLog(logPath string)
- func (s *SUT) HasRunningPodByAppLabel(namespace string, applabel string) bool
- func (s *SUT) SendFile(src, dst, permission string) error
- func (s *SUT) WriteInlineFile(content, path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialWithDeadline ¶
func DialWithDeadline(network string, addr string, config *ssh.ClientConfig, timeout bool) (*ssh.Client, error)
DialWithDeadline Dials SSH with a deadline to avoid Read timeouts
Types ¶
type SUT ¶
func (*SUT) EventuallyConnects ¶
func (SUT) GatherAllLogs ¶
GatherAllLogs will try to gather as much info from the system as possible, including services, dmesg and os related info
func (*SUT) HasRunningPodByAppLabel ¶
func (*SUT) WriteInlineFile ¶
Click to show internal directories.
Click to hide internal directories.