test

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClusterListType     ListType = "ClusterDevfileRegistriesList"
	NamespaceListType   ListType = "DevfileRegistriesList"
	DevfileRegistryType ListType = "DevfileRegistry"
	ApiVersion                   = "registry.devfile.io/v1alpha1"
	Timeout                      = time.Second * 10
	Interval                     = time.Millisecond * 250
)

Variables

This section is empty.

Functions

func GetNewUnstartedTestServer

func GetNewUnstartedTestServer() *httptest.Server

GetNewUnstartedTestServer is a mock test index server that supports just the v2 index schema

Types

type ListType

type ListType string

ListType is used in common test functions to distinguish the flow of logic between the Cluster and Namespace CRs

Jump to

Keyboard shortcuts

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