Documentation ¶
Index ¶
- Constants
- func CharmClient() (*client.Client, error)
- func TavernServer(ctx context.Context, dataDir string) (*ts.Server, error)
- func TavernServerA(ctx context.Context, dataDir string, allowList ...string) (*ts.Server, error)
- func WaitForServer(addr string) bool
- func WaitForServerShutdown(addr string) bool
- type Buffer
Constants ¶
View Source
const CharmServerHost = "127.0.0.1"
Charm server for testing (docker)
View Source
const TestHost = "127.0.0.1"
Tavern testing server
View Source
const TestServerAddr = TestHost + ":8000"
View Source
const TestServerURL = "http://" + TestHost + ":8000"
View Source
const UploadsPath = "/uploads"
Variables ¶
This section is empty.
Functions ¶
func CharmClient ¶
func TavernServerA ¶
Start a Tavern server with an allowed list of Charm servers
func WaitForServer ¶
func WaitForServerShutdown ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.