Documentation ¶
Index ¶
- Variables
- func DeleteResponseBody(t *testing.T, url string) (int, string)
- func GetBase64HeaderWithoutEntitlements(orgId string) string
- func GetCompleteBase64Header(orgId string) string
- func GetResponseBody(t *testing.T, url string, auth *string) (int, string)
- func GetResponseError(url string) (*http.Response, error)
- func PostResponseBody(t *testing.T, url string, compose interface{}) (int, string)
- func PutResponseBody(t *testing.T, url string, compose interface{}) (int, string)
- type PSQLContainer
Constants ¶
This section is empty.
Variables ¶
View Source
var AuthString0 = GetCompleteBase64Header("000000")
org_id 000000
View Source
var AuthString0WithoutEntitlements = GetBase64HeaderWithoutEntitlements("000000")
View Source
var AuthString1 = GetCompleteBase64Header("000001")
org_id 000001
View Source
var FedAuth = getBase64Header(fedoraHeader, "User")
Functions ¶
func GetBase64HeaderWithoutEntitlements ¶
returns a base64 encoded string of the idHeader without the orgId
func GetCompleteBase64Header ¶
returns a base64 encoded string of the idHeader
func PostResponseBody ¶
Types ¶
type PSQLContainer ¶
type PSQLContainer struct {
// contains filtered or unexported fields
}
func NewPSQLContainer ¶
func NewPSQLContainer() (*PSQLContainer, error)
func (*PSQLContainer) Stop ¶
func (p *PSQLContainer) Stop() error
Click to show internal directories.
Click to hide internal directories.