Documentation
¶
Index ¶
- func AssertStreamingRPCError(t *testing.T, s StreamingRPC, tc StreamingRPCErrorTestCase)
- func CgroupCompatible(t *testing.T)
- func DockerCompatible(t *testing.T)
- func DockerIsConnected(t *testing.T) bool
- func ExecCompatible(t *testing.T)
- func JavaCompatible(t *testing.T)
- func MountCompatible(t *testing.T)
- func QemuCompatible(t *testing.T)
- func RequireConsul(t *testing.T)
- func RequireRoot(t *testing.T)
- func RktCompatible(t *testing.T)
- type StreamingRPC
- type StreamingRPCErrorTestCase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertStreamingRPCError ¶ added in v0.10.9
func AssertStreamingRPCError(t *testing.T, s StreamingRPC, tc StreamingRPCErrorTestCase)
AssertStreamingRPCError asserts a streaming RPC's error matches the given assertion in the test case.
func CgroupCompatible ¶ added in v0.9.3
func DockerCompatible ¶ added in v0.9.3
DockerCompatible skips tests if docker is not present
func DockerIsConnected ¶ added in v0.5.5
DockerIsConnected checks to see if a docker daemon is available (local or remote)
func ExecCompatible ¶
func JavaCompatible ¶
func MountCompatible ¶
func QemuCompatible ¶
func RequireConsul ¶ added in v0.10.9
RequireConsul skips tests unless a Consul binary is available on $PATH.
func RequireRoot ¶ added in v0.9.3
RequireRoot skips tests unless running on a Unix as root.
func RktCompatible ¶
Types ¶
type StreamingRPC ¶ added in v0.10.9
type StreamingRPC interface {
StreamingRpcHandler(method string) (structs.StreamingRpcHandler, error)
}
StreamingRPC may be satisfied by client.Client or server.Server.
Click to show internal directories.
Click to hide internal directories.