Documentation ¶
Index ¶
- type Suite
- func (suite *Suite) AddProject(ctx context.Context, project *proModels.Project) (int64, error)
- func (suite *Suite) Context() context.Context
- func (suite *Suite) DeleteProject(ctx context.Context, projectName string, projectID int64) error
- func (suite *Suite) Digest() digest.Digest
- func (suite *Suite) DigestString() string
- func (suite *Suite) ExecSQL(query string, args ...interface{})
- func (suite *Suite) IsNotFoundErr(err error) bool
- func (suite *Suite) NewRequest(method, target string, body io.Reader, queries ...map[string]string) *http.Request
- func (suite *Suite) NextHandler(statusCode int, headers map[string]string) http.Handler
- func (suite *Suite) RandString(n int, letters ...string) string
- func (suite *Suite) SetupSuite()
- func (suite *Suite) TearDownSuite()
- func (suite *Suite) WithProject(f func(int64, string), projectNames ...string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Suite ¶
Suite ...
func (*Suite) AddProject ¶
AddProject put here is to avoid import cycle
func (*Suite) DeleteProject ¶
DeleteProject put here is to avoid import cycle
func (*Suite) NewRequest ¶
func (suite *Suite) NewRequest(method, target string, body io.Reader, queries ...map[string]string) *http.Request
NewRequest ...
func (*Suite) NextHandler ¶
NextHandler ...
func (*Suite) RandString ¶
RandString ...
Click to show internal directories.
Click to hide internal directories.