Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateRoute ¶
AuthenticateRoute will setup a route with token authentification
func CreateContainerServer ¶
func CreateContainerServer(content []container.ContainerCreateCreatedBody) *httptest.Server
CreateContainerServer returns allows container creation and container running to be mocked
func GetMockToken ¶
GetMockToken setups an test environment for mocking auth api calls
Types ¶
Click to show internal directories.
Click to hide internal directories.