Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeService ¶
type MockNodeService struct { TestServer *utils_mocks.MockHttpServer TestTarget *target.Target TestConfig config.Config LoggedInUser *userspace.User }
func StartMockNodeServices ¶
func StartMockNodeServices() *MockNodeService
func (*MockNodeService) NewApiClient ¶
func (s *MockNodeService) NewApiClient() *mycsnode.ApiClient
func (*MockNodeService) NewServiceHandler ¶
func (s *MockNodeService) NewServiceHandler() *MockServiceHandler
func (*MockNodeService) Stop ¶
func (s *MockNodeService) Stop()
type MockServiceHandler ¶
type MockServiceHandler struct {
// contains filtered or unexported fields
}
func (*MockServiceHandler) SendAuthResponse ¶
func (h *MockServiceHandler) SendAuthResponse(w http.ResponseWriter, r *http.Request, body string) *string
func (*MockServiceHandler) ValidateEncryption ¶
func (h *MockServiceHandler) ValidateEncryption(apiClient *mycsnode.ApiClient)
Click to show internal directories.
Click to hide internal directories.