Documentation ¶
Index ¶
- type MetalMockClient
- func (c *MetalMockClient) AssertExpectations(t *testing.T)
- func (c *MetalMockClient) Filesystemlayout() filesystemlayout.ClientService
- func (c *MetalMockClient) Firewall() firewall.ClientService
- func (c *MetalMockClient) Firmware() firmware.ClientService
- func (c *MetalMockClient) Health() health.ClientService
- func (c *MetalMockClient) IP() ip.ClientService
- func (c *MetalMockClient) Image() image.ClientService
- func (c *MetalMockClient) Machine() machine.ClientService
- func (c *MetalMockClient) Network() network.ClientService
- func (c *MetalMockClient) Partition() partition.ClientService
- func (c *MetalMockClient) Project() project.ClientService
- func (c *MetalMockClient) Size() size.ClientService
- func (c *MetalMockClient) Sizeimageconstraint() sizeimageconstraint.ClientService
- func (c *MetalMockClient) SwitchOperations() switch_operations.ClientService
- func (c *MetalMockClient) Tenant() tenant.ClientService
- func (c *MetalMockClient) User() user.ClientService
- func (c *MetalMockClient) VPN() vpn.ClientService
- func (c *MetalMockClient) Version() version.ClientService
- type MetalMockFns
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 (c *MetalMockClient) IP() ip.ClientService
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 (c *MetalMockClient) Size() size.ClientService
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 (c *MetalMockClient) User() user.ClientService
func (*MetalMockClient) VPN ¶ added in v0.20.0
func (c *MetalMockClient) VPN() vpn.ClientService
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) }
Click to show internal directories.
Click to hide internal directories.