Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultBucket = "personal"
View Source
var MirrorBucket = "personal_mirror"
Functions ¶
func DialGrpcClient ¶
func DialGrpcClient(targetAddr string, a *RunAppCtx) (*grpc.ClientConn, error)
func GetTestConfig ¶
GetTestConfig returns a ConfigMap instance instantiated using the env variables
func RandomPathName ¶
func RandomPathName() string
RandomPathName create a valid path segment name. Usually 10 characters in length
Types ¶
type RunAppCtx ¶
type RunAppCtx struct { App *app.App ClientAppToken string ClientMnemonic string // contains filtered or unexported fields }
func RunAppWithClientAppToken ¶
RunAppWithClientAppToken creates an instance of RunAppCtx for test but with the ClientAppToken already set
func (*RunAppCtx) ClearMasterAppToken ¶
func (a *RunAppCtx) ClearMasterAppToken()
func (*RunAppCtx) Client ¶
func (a *RunAppCtx) Client() pb.SpaceApiClient
Click to show internal directories.
Click to hide internal directories.