Documentation
¶
Index ¶
- Constants
- func Cooldown()
- func GetDeviceType1Name() string
- func GetDeviceType2Name() string
- func GetDeviceType3Name() string
- func PickNodeIndex(nodes []corev1.Node) (int, bool)
- func PopNodeName(nodeNames sets.String) (string, bool)
- func RandomizeName(baseName string) string
- func Skip(ft *Fixture, message string)
- func Skipf(ft *Fixture, format string, args ...interface{})
- func Teardown(ft *Fixture) error
- func WaitForPaddingPodsRunning(fxt *Fixture, paddingPods []*corev1.Pod) []string
- type Fixture
- type Options
Constants ¶
View Source
const ( OptionNone = 0 OptionRandomizeName = 1 << iota )
Variables ¶
This section is empty.
Functions ¶
func GetDeviceType1Name ¶
func GetDeviceType1Name() string
func GetDeviceType2Name ¶
func GetDeviceType2Name() string
func GetDeviceType3Name ¶
func GetDeviceType3Name() string
func RandomizeName ¶
Types ¶
type Fixture ¶
type Fixture struct {
// Client defines the API client to run CRUD operations, that will be used for testing
Client client.Client
// K8sClient defines k8s client to run subresource operations, for example you should use it to get pod logs
K8sClient *kubernetes.Clientset
Namespace corev1.Namespace
Skipped bool
}
Click to show internal directories.
Click to hide internal directories.