standard

package
v10.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeepTestInterface

type DeepTestInterface interface {
	CreateTestApp(ctx context.Context) (interface{}, []*TestError)
	ValidateTestApp(ctx context.Context, cookie interface{}) []*TestError
	ValidateCluster(ctx context.Context) []*TestError
	DeleteTestApp(ctx context.Context, cookie interface{}) []*TestError
}

type SanityChecker

type SanityChecker struct {
	Log *logrus.Entry

	Client *openshift.ClientSet
	// contains filtered or unexported fields
}

func NewSanityChecker

NewSanityChecker creates a new deep test sanity checker for OpenshiftManagedCluster resources.

func (*SanityChecker) CheckCanAccessConsole

func (sc *SanityChecker) CheckCanAccessConsole(ctx context.Context, retries int) error

func (*SanityChecker) CreateProject

func (sc *SanityChecker) CreateProject(ctx context.Context) (string, error)

func (*SanityChecker) CreateTestApp

func (sc *SanityChecker) CreateTestApp(ctx context.Context) (interface{}, []*TestError)

func (*SanityChecker) DeleteProject

func (sc *SanityChecker) DeleteProject(ctx context.Context, namespace string) error

func (*SanityChecker) DeleteTestApp

func (sc *SanityChecker) DeleteTestApp(ctx context.Context, cookie interface{}) []*TestError

func (*SanityChecker) ValidateCluster

func (sc *SanityChecker) ValidateCluster(ctx context.Context) (errs []*TestError)

func (*SanityChecker) ValidateTestApp

func (sc *SanityChecker) ValidateTestApp(ctx context.Context, cookie interface{}) (errs []*TestError)

type TestError

type TestError struct {
	Bucket string
	Err    error
}

func (*TestError) Error

func (te *TestError) Error() string

Jump to

Keyboard shortcuts

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