Documentation ¶
Overview ¶
Package utils contains end-to-end utils.
Index ¶
Constants ¶
View Source
const (
// DefaultUser is the email contained in the test JWT.
DefaultUser = "roxbot+release-registry-e2e@redhat.com"
)
Variables ¶
View Source
var RemotePort int
RemotePort is the port of the mock server for e2e tests.
Functions ¶
func DefaultUserJwt ¶
func DefaultUserJwt() string
DefaultUserJwt returns the default user's JWT used in tests.
func GetFixturesPath ¶
GetFixturesPath constructs the absolute path to the fixtures directory.
func GetGRPCConnection ¶
GetGRPCConnection creates an authenticated GRPC client connection to a remote.
func SetupE2ETest ¶
SetupE2ETest creates a buffered listener, initializes the database and starts the server.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.