Documentation ¶
Index ¶
Constants ¶
View Source
const ( NodePrepareResourceMethod = "/v1alpha1.Node/NodePrepareResource" NodeUnprepareResourceMethod = "/v1alpha1.Node/NodeUnprepareResource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
type Driver struct { NameSuffix string Controller *app.ExampleController Name string Nodes map[string]*app.ExamplePlugin // contains filtered or unexported fields }
func NewDriver ¶
func NewDriver(f *framework.Framework, nodes *Nodes, configureResources func() app.Resources) *Driver
NewDriver sets up controller (as client of the cluster) and kubelet plugin (via proxy) before the test runs. It cleans up after the test.
func (*Driver) CallCount ¶
func (d *Driver) CallCount(m MethodInstance) int64
func (*Driver) Fail ¶
func (d *Driver) Fail(m MethodInstance, injectError bool)
type MethodInstance ¶
Click to show internal directories.
Click to hide internal directories.