client

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2022 License: MIT Imports: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetalMockClient

type MetalMockClient struct {
	// contains filtered or unexported fields
}

func NewMetalMockClient

func NewMetalMockClient(mockFns *MetalMockFns) (*MetalMockClient, metalgo.Client)

func (*MetalMockClient) AssertExpectations

func (c *MetalMockClient) AssertExpectations(t *testing.T)

func (*MetalMockClient) Filesystemlayout

func (c *MetalMockClient) Filesystemlayout() filesystemlayout.ClientService

func (*MetalMockClient) Firewall

func (c *MetalMockClient) Firewall() firewall.ClientService

func (*MetalMockClient) Firmware

func (c *MetalMockClient) Firmware() firmware.ClientService

func (*MetalMockClient) Health

func (c *MetalMockClient) Health() health.ClientService

func (*MetalMockClient) IP

func (*MetalMockClient) Image

func (c *MetalMockClient) Image() image.ClientService

func (*MetalMockClient) Machine

func (c *MetalMockClient) Machine() machine.ClientService

func (*MetalMockClient) Network

func (c *MetalMockClient) Network() network.ClientService

func (*MetalMockClient) Partition

func (c *MetalMockClient) Partition() partition.ClientService

func (*MetalMockClient) Project

func (c *MetalMockClient) Project() project.ClientService

func (*MetalMockClient) Size

func (*MetalMockClient) Sizeimageconstraint

func (c *MetalMockClient) Sizeimageconstraint() sizeimageconstraint.ClientService

func (*MetalMockClient) SwitchOperations

func (c *MetalMockClient) SwitchOperations() switch_operations.ClientService

func (*MetalMockClient) Tenant

func (c *MetalMockClient) Tenant() tenant.ClientService

func (*MetalMockClient) User

func (*MetalMockClient) VPN added in v0.20.0

func (*MetalMockClient) Version

func (c *MetalMockClient) Version() version.ClientService

type MetalMockFns

type MetalMockFns struct {
	Filesystemlayout    func(mock *mock.Mock)
	Firewall            func(mock *mock.Mock)
	Firmware            func(mock *mock.Mock)
	Health              func(mock *mock.Mock)
	Image               func(mock *mock.Mock)
	IP                  func(mock *mock.Mock)
	Machine             func(mock *mock.Mock)
	Network             func(mock *mock.Mock)
	Partition           func(mock *mock.Mock)
	Project             func(mock *mock.Mock)
	Size                func(mock *mock.Mock)
	SizeImageConstraint func(mock *mock.Mock)
	Switch              func(mock *mock.Mock)
	Tenant              func(mock *mock.Mock)
	User                func(mock *mock.Mock)
	Version             func(mock *mock.Mock)
	VPN                 func(mock *mock.Mock)
}

Jump to

Keyboard shortcuts

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