Documentation ¶
Index ¶
- type EmailSink
- type MinioServer
- type Suite
- func (suite *Suite) AfterTest(suiteName, testName string)
- func (suite *Suite) BeforeTest(suiteName, testName string)
- func (suite *Suite) DaemonRequest(d *daemon.Daemon, appName string, method string, url string, body string) (_ *http.Response, respBody string, err error)
- func (suite *Suite) DaemonURL(d *daemon.Daemon, paths ...string) string
- func (suite *Suite) LoadExampleScript(name string) string
- func (suite *Suite) MinioServerS3Config() daemon.S3Config
- func (suite *Suite) NewDaemon(opts ...daemon.DaemonOption) (d *daemon.Daemon, dir string)
- func (suite *Suite) NewDaemonClient(addr string) *daemon.Client
- func (suite *Suite) NewLB() *loadbalancer.LB
- func (suite *Suite) NewSteadyServer() (*EmailSink, http.Handler)
- func (suite *Suite) NewWebServer() (*EmailSink, string)
- func (suite *Suite) SetupSuite()
- func (suite *Suite) StartMinioServer()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioServer ¶
type MinioServer struct { Username string Password string Address string BucketName string // contains filtered or unexported fields }
func NewMinioServer ¶
func NewMinioServer(ctx context.Context, dir string) (*MinioServer, error)
func (*MinioServer) CycleBucket ¶
func (server *MinioServer) CycleBucket() error
func (*MinioServer) DataDir ¶
func (server *MinioServer) DataDir() string
func (*MinioServer) S3Config ¶
func (server *MinioServer) S3Config() *aws.Config
func (*MinioServer) Stop ¶
func (server *MinioServer) Stop() error
func (*MinioServer) Wait ¶
func (server *MinioServer) Wait() error
type Suite ¶
func (*Suite) BeforeTest ¶
func (*Suite) DaemonRequest ¶
func (*Suite) LoadExampleScript ¶
func (*Suite) MinioServerS3Config ¶
func (*Suite) NewDaemon ¶
NewDaemon creates a daemon with the provided options. If you've called StartMinioServer, that server will be associated with the created Daemon.
func (*Suite) NewLB ¶
func (suite *Suite) NewLB() *loadbalancer.LB
func (*Suite) NewWebServer ¶
func (*Suite) SetupSuite ¶
func (suite *Suite) SetupSuite()
func (*Suite) StartMinioServer ¶
func (suite *Suite) StartMinioServer()
Click to show internal directories.
Click to hide internal directories.