common

package
v0.63.0-devel Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package common implements utilities shared across the e2e tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context interface {
	T() *testing.T
}

Context defines an interface that allows to get information about current test context

type Initializable

type Initializable interface {
	Init(Context) error
}

Initializable defines the interface for an object that needs to be initialized

type InternalError

type InternalError struct {
	Err error
}

InternalError is an error type used to wrap internal errors

func (InternalError) Error

func (i InternalError) Error() string

Error returns a printable InternalError

func (InternalError) Is

func (i InternalError) Is(target error) bool

Is returns true if the target error is an InternalError

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL