Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMockServer ¶
func GetMockServer(closeWS <-chan []byte) (*httptest.Server, chan<- string, <-chan string, <-chan error, error)
GetMockServer returns a mock websocket server that can be started up as TLS or not. TODO replace with gomock closeWS - send msg to this channel to close the ws connection from server side serverChan - use this channel to send messages to server, which server would in turn write on ws connection requestsChan - use this channel to confirm msgs were received on server side errChan - use this channel to receive errors. Server reads/writes message on ws connection and sends error if any on this channel.
Types ¶
type TestECSClient ¶
type TestECSClient struct {
TCSurl string
}
func (*TestECSClient) DiscoverTelemetryEndpoint ¶
func (client *TestECSClient) DiscoverTelemetryEndpoint(url string) (string, error)
Click to show internal directories.
Click to hide internal directories.