Documentation
¶
Index ¶
- Constants
- type MockServerState
- type Server
- func (s *Server) GetMockServerStates() map[string]*MockServerState
- func (s *Server) GetMockServerURLs() []string
- func (s *Server) NewMockServer(ctx context.Context, mo *mock.Mock) (*MockServerState, error)
- func (s *Server) NewMockServerByID(ctx context.Context, id string) (*MockServerState, error)
- func (s *Server) StopAllServers()
- func (s *Server) StopMockServer(mockID string) (*MockServerState, error)
Constants ¶
View Source
const ( Running = "running" Stopped = "stopped" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockServerState ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetMockServerStates ¶
func (s *Server) GetMockServerStates() map[string]*MockServerState
func (*Server) GetMockServerURLs ¶
func (*Server) NewMockServer ¶
func (*Server) NewMockServerByID ¶
func (*Server) StopAllServers ¶
func (s *Server) StopAllServers()
func (*Server) StopMockServer ¶
func (s *Server) StopMockServer(mockID string) (*MockServerState, error)
Click to show internal directories.
Click to hide internal directories.