util

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IssueAllRequests

func IssueAllRequests(t *testing.T, client cmclient.Interface, namespace string, stopCh <-chan struct{}, cert, ca []byte)

func IssueOneRequest

func IssueOneRequest(t *testing.T, client cmclient.Interface, namespace string, stopCh <-chan struct{}, cert, ca []byte)

Types

type DriverOptions

type DriverOptions struct {
	Clock   clock.Clock
	Store   storage.Interface
	Log     *logr.Logger
	Client  cmclient.Interface
	Mounter mount.Interface

	NodeID               string
	MaxRequestsPerVolume int
	ContinueOnNotReady   bool

	GeneratePrivateKey manager.GeneratePrivateKeyFunc
	GenerateRequest    manager.GenerateRequestFunc
	SignRequest        manager.SignRequestFunc
	WriteKeypair       manager.WriteKeypairFunc
	ReadyToRequest     manager.ReadyToRequestFunc
}

func RunTestDriver

func RunTestDriver(t *testing.T, opts DriverOptions) (DriverOptions, csi.NodeClient, func())

Jump to

Keyboard shortcuts

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