Documentation ¶
Index ¶
- Constants
- func ConfirmEmail(t util.TestingTWithCleanup, gurl string, secret string)
- func DefaultBillingConfig(t util.TestingTWithCleanup) billing.Config
- func DefaultTextileConfig(t util.TestingTWithCleanup) core.Config
- func GetIPFSApiAddr() ma.Multiaddr
- func GetMongoUri() string
- func MakeBillingWithConfig(t util.TestingTWithCleanup, conf billing.Config)
- func MakeTextile(t *testing.T) core.Config
- func MakeTextileWithConfig(t util.TestingTWithCleanup, conf core.Config, opts ...Option) func()
- func NewEmail() string
- func NewUsername() string
- func Signin(t *testing.T, client *client.Client, conf core.Config, usernameOrEmail string) *pb.SigninResponse
- func Signup(t util.TestingTWithCleanup, client *client.Client, conf core.Config, ...) *pb.SignupResponse
- func StartServices() (cleanup func())
- type Option
- type Options
Constants ¶
View Source
const SessionSecret = "hubsession"
Variables ¶
This section is empty.
Functions ¶
func ConfirmEmail ¶
func ConfirmEmail(t util.TestingTWithCleanup, gurl string, secret string)
func DefaultBillingConfig ¶ added in v2.3.0
func DefaultBillingConfig(t util.TestingTWithCleanup) billing.Config
func DefaultTextileConfig ¶
func DefaultTextileConfig(t util.TestingTWithCleanup) core.Config
func GetIPFSApiAddr ¶ added in v2.4.0
GetIPFSApiAddr returns env value or default.
func GetMongoUri ¶ added in v2.4.0
func GetMongoUri() string
GetMongoUri returns env value or default.
func MakeBillingWithConfig ¶ added in v2.3.0
func MakeBillingWithConfig(t util.TestingTWithCleanup, conf billing.Config)
func MakeTextileWithConfig ¶
func MakeTextileWithConfig(t util.TestingTWithCleanup, conf core.Config, opts ...Option) func()
func NewUsername ¶
func NewUsername() string
func Signup ¶
func Signup(t util.TestingTWithCleanup, client *client.Client, conf core.Config, username, email string) *pb.SignupResponse
func StartServices ¶ added in v2.3.0
func StartServices() (cleanup func())
StartServices starts local mongodb and ipfs services.
Types ¶
type Option ¶ added in v2.3.0
type Option func(*Options)
func WithRepoPath ¶ added in v2.3.0
func WithoutAutoShutdown ¶ added in v2.3.0
func WithoutAutoShutdown() Option
Click to show internal directories.
Click to hide internal directories.