Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...option) types.Environment
func WithLabels ¶
func WithLabels(labels Labels) option
func WithLabelsFromEnv ¶
func WithLabelsFromEnv(env string) option
Types ¶
type ClaimedPort ¶
type ClaimedPort struct { Free func() Port int }
type ErrTestSkipped ¶
func (*ErrTestSkipped) Error ¶
func (e *ErrTestSkipped) Error() string
type PortAllocator ¶
type PortAllocator struct {
// contains filtered or unexported fields
}
func NewPortAllocator ¶
func NewPortAllocator() *PortAllocator
func (*PortAllocator) Allocate ¶
func (p *PortAllocator) Allocate() (*ClaimedPort, error)
Click to show internal directories.
Click to hide internal directories.