Documentation ¶
Index ¶
- func ExpectResponse(ctx context.Context, endpoint string, expectedResponse string) error
- func PortIsBound(port int, timeout time.Duration) bool
- type ExoTest
- type ExoTester
- func (et ExoTester) GetStatus(ctx context.Context) (statusResult, error)
- func (et ExoTester) PS(ctx context.Context) ([]psProcessInfo, error)
- func (et ExoTester) RunCmd(ctx context.Context, program string, arguments []string) (stdout, stderr string, err error)
- func (et ExoTester) RunExo(ctx context.Context, arguments ...string) (stdout, stderr string, err error)
- func (et ExoTester) RunTest(ctx context.Context, test ExoTest) (io.Reader, error)
- func (et ExoTester) StartDaemon(ctx context.Context) error
- func (et ExoTester) StopDaemon(ctx context.Context) error
- func (et ExoTester) WaitTillProcessesReachState(ctx context.Context, state string, names []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectResponse ¶
Types ¶
type ExoTester ¶
type ExoTester struct {
// contains filtered or unexported fields
}
func MakeExoTester ¶
func (ExoTester) RunCmd ¶
func (et ExoTester) RunCmd(ctx context.Context, program string, arguments []string) (stdout, stderr string, err error)
Runs an exo CLI command and blocks until it terminates.
func (ExoTester) RunExo ¶
func (et ExoTester) RunExo(ctx context.Context, arguments ...string) (stdout, stderr string, err error)
Runs an exo CLI command and blocks until it terminates.
Click to show internal directories.
Click to hide internal directories.