client

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Adminv2

type Adminv2 struct {
	mock.Mock
}

Adminv2 is an autogenerated mock type for the Adminv2 type

func NewAdminv2

func NewAdminv2(t interface {
	mock.TestingT
	Cleanup(func())
}) *Adminv2

NewAdminv2 creates a new instance of Adminv2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Adminv2) Filesystem

Filesystem provides a mock function with no fields

func (*Adminv2) IP

IP provides a mock function with no fields

func (*Adminv2) Image

Image provides a mock function with no fields

func (*Adminv2) Machine added in v0.0.12

Machine provides a mock function with no fields

func (*Adminv2) Network

Network provides a mock function with no fields

func (*Adminv2) Partition

Partition provides a mock function with no fields

func (*Adminv2) Size added in v0.0.2

Size provides a mock function with no fields

func (*Adminv2) Tenant

Tenant provides a mock function with no fields

func (*Adminv2) Token

Token provides a mock function with no fields

type Apiv2

type Apiv2 struct {
	mock.Mock
}

Apiv2 is an autogenerated mock type for the Apiv2 type

func NewApiv2

func NewApiv2(t interface {
	mock.TestingT
	Cleanup(func())
}) *Apiv2

NewApiv2 creates a new instance of Apiv2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Apiv2) Filesystem

func (_m *Apiv2) Filesystem() apiv2connect.FilesystemServiceClient

Filesystem provides a mock function with no fields

func (*Apiv2) Health

func (_m *Apiv2) Health() apiv2connect.HealthServiceClient

Health provides a mock function with no fields

func (*Apiv2) IP

IP provides a mock function with no fields

func (*Apiv2) Image

Image provides a mock function with no fields

func (*Apiv2) Machine added in v0.0.9

func (_m *Apiv2) Machine() apiv2connect.MachineServiceClient

Machine provides a mock function with no fields

func (*Apiv2) Method

func (_m *Apiv2) Method() apiv2connect.MethodServiceClient

Method provides a mock function with no fields

func (*Apiv2) Network

func (_m *Apiv2) Network() apiv2connect.NetworkServiceClient

Network provides a mock function with no fields

func (*Apiv2) Partition

func (_m *Apiv2) Partition() apiv2connect.PartitionServiceClient

Partition provides a mock function with no fields

func (*Apiv2) Project

func (_m *Apiv2) Project() apiv2connect.ProjectServiceClient

Project provides a mock function with no fields

func (*Apiv2) Size added in v0.0.2

Size provides a mock function with no fields

func (*Apiv2) Tenant

func (_m *Apiv2) Tenant() apiv2connect.TenantServiceClient

Tenant provides a mock function with no fields

func (*Apiv2) Token

Token provides a mock function with no fields

func (*Apiv2) User

User provides a mock function with no fields

func (*Apiv2) Version

func (_m *Apiv2) Version() apiv2connect.VersionServiceClient

Version provides a mock function with no fields

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Client) Adminv2

func (_m *Client) Adminv2() goclient.Adminv2

Adminv2 provides a mock function with no fields

func (*Client) Apiv2

func (_m *Client) Apiv2() goclient.Apiv2

Apiv2 provides a mock function with no fields

func (*Client) Infrav2

func (_m *Client) Infrav2() goclient.Infrav2

Infrav2 provides a mock function with no fields

type Infrav2

type Infrav2 struct {
	mock.Mock
}

Infrav2 is an autogenerated mock type for the Infrav2 type

func NewInfrav2

func NewInfrav2(t interface {
	mock.TestingT
	Cleanup(func())
}) *Infrav2

NewInfrav2 creates a new instance of Infrav2. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Infrav2) BMC

BMC provides a mock function with no fields

func (*Infrav2) Switch added in v0.0.8

Switch provides a mock function with no fields

type PersistTokenFn added in v0.0.4

type PersistTokenFn struct {
	mock.Mock
}

PersistTokenFn is an autogenerated mock type for the PersistTokenFn type

func NewPersistTokenFn added in v0.0.4

func NewPersistTokenFn(t interface {
	mock.TestingT
	Cleanup(func())
}) *PersistTokenFn

NewPersistTokenFn creates a new instance of PersistTokenFn. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PersistTokenFn) Execute added in v0.0.4

func (_m *PersistTokenFn) Execute(token string) error

Execute provides a mock function with given fields: token

Jump to

Keyboard shortcuts

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