Documentation ¶
Index ¶
- type DeepTestInterface
- type SanityChecker
- func (sc *SanityChecker) CheckCanAccessConsole(ctx context.Context, retries int) error
- func (sc *SanityChecker) CreateProject(ctx context.Context) (string, error)
- func (sc *SanityChecker) CreateTestApp(ctx context.Context) (interface{}, []*TestError)
- func (sc *SanityChecker) DeleteProject(ctx context.Context, namespace string) error
- func (sc *SanityChecker) DeleteTestApp(ctx context.Context, cookie interface{}) []*TestError
- func (sc *SanityChecker) ValidateCluster(ctx context.Context) (errs []*TestError)
- func (sc *SanityChecker) ValidateTestApp(ctx context.Context, cookie interface{}) (errs []*TestError)
- type TestError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeepTestInterface ¶
type SanityChecker ¶
type SanityChecker struct { Log *logrus.Entry Client *openshift.ClientSet // contains filtered or unexported fields }
func NewSanityChecker ¶
func NewSanityChecker(ctx context.Context, log *logrus.Entry, cs *internalapi.OpenShiftManagedCluster) (*SanityChecker, error)
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)
Click to show internal directories.
Click to hide internal directories.