drivercoretest

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package drivercoretest provides utilities for driver testing. It should be used only by driver developers, and only in tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TestDriver

func TestDriver(t *testing.T, drivername string, k8sversion string)

TestDriver runs a set of tests on any driver. It first tests for the presence of the specified driver. Then, it calls UpateImageList on the driver. Then it checks if an image exists for the specified version. If so, and the image is already downloaded, then it is purged. Thereafer, Fetch is called on the image to download it. Then TestDriver creates a network, and a machine connected to it. The machine will be created with the specified k8sversuon. It then tries to start the machine, forward and unforward ports, and finally stop and delete the machine and network.

Types

This section is empty.

Directories

Path Synopsis
Package drivermock implements a mock driver.
Package drivermock implements a mock driver.

Jump to

Keyboard shortcuts

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