hcapi2_mock

package
v1.43.1 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Package hcapi2_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActionClient added in v1.42.0

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

MockActionClient is a mock of ActionClient interface.

func NewMockActionClient added in v1.42.0

func NewMockActionClient(ctrl *gomock.Controller) *MockActionClient

NewMockActionClient creates a new mock instance.

func (*MockActionClient) All added in v1.42.0

func (m *MockActionClient) All(arg0 context.Context) ([]*hcloud.Action, error)

All mocks base method.

func (*MockActionClient) AllWithOpts added in v1.42.0

func (m *MockActionClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ActionListOpts) ([]*hcloud.Action, error)

AllWithOpts mocks base method.

func (*MockActionClient) EXPECT added in v1.42.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockActionClient) GetByID added in v1.42.0

func (m *MockActionClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Action, *hcloud.Response, error)

GetByID mocks base method.

func (*MockActionClient) List added in v1.42.0

List mocks base method.

func (*MockActionClient) WatchOverallProgress added in v1.42.0

func (m *MockActionClient) WatchOverallProgress(arg0 context.Context, arg1 []*hcloud.Action) (<-chan int, <-chan error)

WatchOverallProgress mocks base method.

func (*MockActionClient) WatchProgress added in v1.42.0

func (m *MockActionClient) WatchProgress(arg0 context.Context, arg1 *hcloud.Action) (<-chan int, <-chan error)

WatchProgress mocks base method.

type MockActionClientMockRecorder added in v1.42.0

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

MockActionClientMockRecorder is the mock recorder for MockActionClient.

func (*MockActionClientMockRecorder) All added in v1.42.0

func (mr *MockActionClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockActionClientMockRecorder) AllWithOpts added in v1.42.0

func (mr *MockActionClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockActionClientMockRecorder) GetByID added in v1.42.0

func (mr *MockActionClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockActionClientMockRecorder) List added in v1.42.0

func (mr *MockActionClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockActionClientMockRecorder) WatchOverallProgress added in v1.42.0

func (mr *MockActionClientMockRecorder) WatchOverallProgress(arg0, arg1 interface{}) *gomock.Call

WatchOverallProgress indicates an expected call of WatchOverallProgress.

func (*MockActionClientMockRecorder) WatchProgress added in v1.42.0

func (mr *MockActionClientMockRecorder) WatchProgress(arg0, arg1 interface{}) *gomock.Call

WatchProgress indicates an expected call of WatchProgress.

type MockCertificateClient

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

MockCertificateClient is a mock of CertificateClient interface.

func NewMockCertificateClient

func NewMockCertificateClient(ctrl *gomock.Controller) *MockCertificateClient

NewMockCertificateClient creates a new mock instance.

func (*MockCertificateClient) All

All mocks base method.

func (*MockCertificateClient) AllWithOpts

AllWithOpts mocks base method.

func (*MockCertificateClient) Create

Create mocks base method.

func (*MockCertificateClient) CreateCertificate

CreateCertificate mocks base method.

func (*MockCertificateClient) Delete

Delete mocks base method.

func (*MockCertificateClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockCertificateClient) Get

Get mocks base method.

func (*MockCertificateClient) GetByID

GetByID mocks base method.

func (*MockCertificateClient) GetByName

GetByName mocks base method.

func (*MockCertificateClient) LabelKeys

func (m *MockCertificateClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockCertificateClient) List

List mocks base method.

func (*MockCertificateClient) Names

func (m *MockCertificateClient) Names() []string

Names mocks base method.

func (*MockCertificateClient) RetryIssuance

RetryIssuance mocks base method.

func (*MockCertificateClient) Update

Update mocks base method.

type MockCertificateClientMockRecorder

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

MockCertificateClientMockRecorder is the mock recorder for MockCertificateClient.

func (*MockCertificateClientMockRecorder) All

func (mr *MockCertificateClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockCertificateClientMockRecorder) AllWithOpts

func (mr *MockCertificateClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockCertificateClientMockRecorder) Create

func (mr *MockCertificateClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockCertificateClientMockRecorder) CreateCertificate

func (mr *MockCertificateClientMockRecorder) CreateCertificate(arg0, arg1 interface{}) *gomock.Call

CreateCertificate indicates an expected call of CreateCertificate.

func (*MockCertificateClientMockRecorder) Delete

func (mr *MockCertificateClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockCertificateClientMockRecorder) Get

func (mr *MockCertificateClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockCertificateClientMockRecorder) GetByID

func (mr *MockCertificateClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockCertificateClientMockRecorder) GetByName

func (mr *MockCertificateClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockCertificateClientMockRecorder) LabelKeys

func (mr *MockCertificateClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockCertificateClientMockRecorder) List

func (mr *MockCertificateClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockCertificateClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockCertificateClientMockRecorder) RetryIssuance

func (mr *MockCertificateClientMockRecorder) RetryIssuance(arg0, arg1 interface{}) *gomock.Call

RetryIssuance indicates an expected call of RetryIssuance.

func (*MockCertificateClientMockRecorder) Update

func (mr *MockCertificateClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockClient

type MockClient struct {
	ActionClient           *MockActionClient
	CertificateClient      *MockCertificateClient
	DatacenterClient       *MockDatacenterClient
	FirewallClient         *MockFirewallClient
	FloatingIPClient       *MockFloatingIPClient
	PrimaryIPClient        *MockPrimaryIPClient
	ImageClient            *MockImageClient
	LocationClient         *MockLocationClient
	LoadBalancerClient     *MockLoadBalancerClient
	LoadBalancerTypeClient *MockLoadBalancerTypeClient
	NetworkClient          *MockNetworkClient
	ServerClient           *MockServerClient
	ServerTypeClient       *MockServerTypeClient
	SSHKeyClient           *MockSSHKeyClient
	VolumeClient           *MockVolumeClient
	ISOClient              *MockISOClient
	PlacementGroupClient   *MockPlacementGroupClient
	RDNSClient             *MockRDNSClient
}

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

func (*MockClient) Action added in v1.42.0

func (c *MockClient) Action() hcapi2.ActionClient

func (*MockClient) Certificate

func (c *MockClient) Certificate() hcapi2.CertificateClient

func (*MockClient) Datacenter

func (c *MockClient) Datacenter() hcapi2.DatacenterClient

func (*MockClient) Firewall

func (c *MockClient) Firewall() hcapi2.FirewallClient

func (*MockClient) FloatingIP

func (c *MockClient) FloatingIP() hcapi2.FloatingIPClient

func (*MockClient) ISO

func (c *MockClient) ISO() hcapi2.ISOClient

func (*MockClient) Image

func (c *MockClient) Image() hcapi2.ImageClient

func (*MockClient) LoadBalancer

func (c *MockClient) LoadBalancer() hcapi2.LoadBalancerClient

func (*MockClient) LoadBalancerType

func (c *MockClient) LoadBalancerType() hcapi2.LoadBalancerTypeClient

func (*MockClient) Location

func (c *MockClient) Location() hcapi2.LocationClient

func (*MockClient) Network

func (c *MockClient) Network() hcapi2.NetworkClient

func (*MockClient) PlacementGroup

func (c *MockClient) PlacementGroup() hcapi2.PlacementGroupClient

func (*MockClient) PrimaryIP

func (c *MockClient) PrimaryIP() hcapi2.PrimaryIPClient

func (*MockClient) RDNS

func (c *MockClient) RDNS() hcapi2.RDNSClient

func (*MockClient) SSHKey

func (c *MockClient) SSHKey() hcapi2.SSHKeyClient

func (*MockClient) Server

func (c *MockClient) Server() hcapi2.ServerClient

func (*MockClient) ServerType

func (c *MockClient) ServerType() hcapi2.ServerTypeClient

func (*MockClient) Volume

func (c *MockClient) Volume() hcapi2.VolumeClient

func (*MockClient) WithOpts added in v1.42.0

func (*MockClient) WithOpts(...hcloud.ClientOption)

type MockDatacenterClient

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

MockDatacenterClient is a mock of DatacenterClient interface.

func NewMockDatacenterClient

func NewMockDatacenterClient(ctrl *gomock.Controller) *MockDatacenterClient

NewMockDatacenterClient creates a new mock instance.

func (*MockDatacenterClient) All

All mocks base method.

func (*MockDatacenterClient) AllWithOpts added in v1.37.0

AllWithOpts mocks base method.

func (*MockDatacenterClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDatacenterClient) Get

Get mocks base method.

func (*MockDatacenterClient) GetByID

GetByID mocks base method.

func (*MockDatacenterClient) GetByName

GetByName mocks base method.

func (*MockDatacenterClient) List

List mocks base method.

func (*MockDatacenterClient) Names

func (m *MockDatacenterClient) Names() []string

Names mocks base method.

type MockDatacenterClientMockRecorder

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

MockDatacenterClientMockRecorder is the mock recorder for MockDatacenterClient.

func (*MockDatacenterClientMockRecorder) All

func (mr *MockDatacenterClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockDatacenterClientMockRecorder) AllWithOpts added in v1.37.0

func (mr *MockDatacenterClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockDatacenterClientMockRecorder) Get

func (mr *MockDatacenterClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockDatacenterClientMockRecorder) GetByID

func (mr *MockDatacenterClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockDatacenterClientMockRecorder) GetByName

func (mr *MockDatacenterClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockDatacenterClientMockRecorder) List

func (mr *MockDatacenterClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockDatacenterClientMockRecorder) Names

Names indicates an expected call of Names.

type MockFirewallClient

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

MockFirewallClient is a mock of FirewallClient interface.

func NewMockFirewallClient

func NewMockFirewallClient(ctrl *gomock.Controller) *MockFirewallClient

NewMockFirewallClient creates a new mock instance.

func (*MockFirewallClient) All

All mocks base method.

func (*MockFirewallClient) AllWithOpts

func (m *MockFirewallClient) AllWithOpts(arg0 context.Context, arg1 hcloud.FirewallListOpts) ([]*hcloud.Firewall, error)

AllWithOpts mocks base method.

func (*MockFirewallClient) ApplyResources

func (m *MockFirewallClient) ApplyResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)

ApplyResources mocks base method.

func (*MockFirewallClient) Create

Create mocks base method.

func (*MockFirewallClient) Delete

Delete mocks base method.

func (*MockFirewallClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFirewallClient) Get

Get mocks base method.

func (*MockFirewallClient) GetByID

GetByID mocks base method.

func (*MockFirewallClient) GetByName

func (m *MockFirewallClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Firewall, *hcloud.Response, error)

GetByName mocks base method.

func (*MockFirewallClient) LabelKeys

func (m *MockFirewallClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockFirewallClient) List

List mocks base method.

func (*MockFirewallClient) Names

func (m *MockFirewallClient) Names() []string

Names mocks base method.

func (*MockFirewallClient) RemoveResources

func (m *MockFirewallClient) RemoveResources(arg0 context.Context, arg1 *hcloud.Firewall, arg2 []hcloud.FirewallResource) ([]*hcloud.Action, *hcloud.Response, error)

RemoveResources mocks base method.

func (*MockFirewallClient) SetRules

SetRules mocks base method.

func (*MockFirewallClient) Update

Update mocks base method.

type MockFirewallClientMockRecorder

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

MockFirewallClientMockRecorder is the mock recorder for MockFirewallClient.

func (*MockFirewallClientMockRecorder) All

func (mr *MockFirewallClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockFirewallClientMockRecorder) AllWithOpts

func (mr *MockFirewallClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockFirewallClientMockRecorder) ApplyResources

func (mr *MockFirewallClientMockRecorder) ApplyResources(arg0, arg1, arg2 interface{}) *gomock.Call

ApplyResources indicates an expected call of ApplyResources.

func (*MockFirewallClientMockRecorder) Create

func (mr *MockFirewallClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFirewallClientMockRecorder) Delete

func (mr *MockFirewallClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFirewallClientMockRecorder) Get

func (mr *MockFirewallClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFirewallClientMockRecorder) GetByID

func (mr *MockFirewallClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockFirewallClientMockRecorder) GetByName

func (mr *MockFirewallClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockFirewallClientMockRecorder) LabelKeys

func (mr *MockFirewallClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockFirewallClientMockRecorder) List

func (mr *MockFirewallClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockFirewallClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockFirewallClientMockRecorder) RemoveResources

func (mr *MockFirewallClientMockRecorder) RemoveResources(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveResources indicates an expected call of RemoveResources.

func (*MockFirewallClientMockRecorder) SetRules

func (mr *MockFirewallClientMockRecorder) SetRules(arg0, arg1, arg2 interface{}) *gomock.Call

SetRules indicates an expected call of SetRules.

func (*MockFirewallClientMockRecorder) Update

func (mr *MockFirewallClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockFloatingIPClient

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

MockFloatingIPClient is a mock of FloatingIPClient interface.

func NewMockFloatingIPClient

func NewMockFloatingIPClient(ctrl *gomock.Controller) *MockFloatingIPClient

NewMockFloatingIPClient creates a new mock instance.

func (*MockFloatingIPClient) All

All mocks base method.

func (*MockFloatingIPClient) AllWithOpts

AllWithOpts mocks base method.

func (*MockFloatingIPClient) Assign

Assign mocks base method.

func (*MockFloatingIPClient) ChangeDNSPtr

func (m *MockFloatingIPClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.FloatingIP, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)

ChangeDNSPtr mocks base method.

func (*MockFloatingIPClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockFloatingIPClient) Create

Create mocks base method.

func (*MockFloatingIPClient) Delete

Delete mocks base method.

func (*MockFloatingIPClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFloatingIPClient) Get

Get mocks base method.

func (*MockFloatingIPClient) GetByID

GetByID mocks base method.

func (*MockFloatingIPClient) GetByName

GetByName mocks base method.

func (*MockFloatingIPClient) LabelKeys

func (m *MockFloatingIPClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockFloatingIPClient) List

List mocks base method.

func (*MockFloatingIPClient) Names

func (m *MockFloatingIPClient) Names() []string

Names mocks base method.

func (*MockFloatingIPClient) Unassign

Unassign mocks base method.

func (*MockFloatingIPClient) Update

Update mocks base method.

type MockFloatingIPClientMockRecorder

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

MockFloatingIPClientMockRecorder is the mock recorder for MockFloatingIPClient.

func (*MockFloatingIPClientMockRecorder) All

func (mr *MockFloatingIPClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockFloatingIPClientMockRecorder) AllWithOpts

func (mr *MockFloatingIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockFloatingIPClientMockRecorder) Assign

func (mr *MockFloatingIPClientMockRecorder) Assign(arg0, arg1, arg2 interface{}) *gomock.Call

Assign indicates an expected call of Assign.

func (*MockFloatingIPClientMockRecorder) ChangeDNSPtr

func (mr *MockFloatingIPClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ChangeDNSPtr indicates an expected call of ChangeDNSPtr.

func (*MockFloatingIPClientMockRecorder) ChangeProtection

func (mr *MockFloatingIPClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockFloatingIPClientMockRecorder) Create

func (mr *MockFloatingIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFloatingIPClientMockRecorder) Delete

func (mr *MockFloatingIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockFloatingIPClientMockRecorder) Get

func (mr *MockFloatingIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockFloatingIPClientMockRecorder) GetByID

func (mr *MockFloatingIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockFloatingIPClientMockRecorder) GetByName

func (mr *MockFloatingIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockFloatingIPClientMockRecorder) LabelKeys

func (mr *MockFloatingIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockFloatingIPClientMockRecorder) List

func (mr *MockFloatingIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockFloatingIPClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockFloatingIPClientMockRecorder) Unassign

func (mr *MockFloatingIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call

Unassign indicates an expected call of Unassign.

func (*MockFloatingIPClientMockRecorder) Update

func (mr *MockFloatingIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockISOClient

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

MockISOClient is a mock of ISOClient interface.

func NewMockISOClient

func NewMockISOClient(ctrl *gomock.Controller) *MockISOClient

NewMockISOClient creates a new mock instance.

func (*MockISOClient) All

func (m *MockISOClient) All(arg0 context.Context) ([]*hcloud.ISO, error)

All mocks base method.

func (*MockISOClient) AllWithOpts added in v1.33.2

func (m *MockISOClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ISOListOpts) ([]*hcloud.ISO, error)

AllWithOpts mocks base method.

func (*MockISOClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockISOClient) Get

func (m *MockISOClient) Get(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)

Get mocks base method.

func (*MockISOClient) GetByID

func (m *MockISOClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.ISO, *hcloud.Response, error)

GetByID mocks base method.

func (*MockISOClient) GetByName

func (m *MockISOClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.ISO, *hcloud.Response, error)

GetByName mocks base method.

func (*MockISOClient) List

List mocks base method.

func (*MockISOClient) Names

func (m *MockISOClient) Names() []string

Names mocks base method.

type MockISOClientMockRecorder

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

MockISOClientMockRecorder is the mock recorder for MockISOClient.

func (*MockISOClientMockRecorder) All

func (mr *MockISOClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockISOClientMockRecorder) AllWithOpts added in v1.33.2

func (mr *MockISOClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockISOClientMockRecorder) Get

func (mr *MockISOClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockISOClientMockRecorder) GetByID

func (mr *MockISOClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockISOClientMockRecorder) GetByName

func (mr *MockISOClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockISOClientMockRecorder) List

func (mr *MockISOClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockISOClientMockRecorder) Names

func (mr *MockISOClientMockRecorder) Names() *gomock.Call

Names indicates an expected call of Names.

type MockImageClient

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

MockImageClient is a mock of ImageClient interface.

func NewMockImageClient

func NewMockImageClient(ctrl *gomock.Controller) *MockImageClient

NewMockImageClient creates a new mock instance.

func (*MockImageClient) All

func (m *MockImageClient) All(arg0 context.Context) ([]*hcloud.Image, error)

All mocks base method.

func (*MockImageClient) AllWithOpts

func (m *MockImageClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ImageListOpts) ([]*hcloud.Image, error)

AllWithOpts mocks base method.

func (*MockImageClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockImageClient) Delete

func (m *MockImageClient) Delete(arg0 context.Context, arg1 *hcloud.Image) (*hcloud.Response, error)

Delete mocks base method.

func (*MockImageClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockImageClient) Get

Get mocks base method.

func (*MockImageClient) GetByID

func (m *MockImageClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Image, *hcloud.Response, error)

GetByID mocks base method.

func (*MockImageClient) GetByName

func (m *MockImageClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Image, *hcloud.Response, error)

GetByName mocks base method.

func (*MockImageClient) GetByNameAndArchitecture added in v1.33.0

func (m *MockImageClient) GetByNameAndArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)

GetByNameAndArchitecture mocks base method.

func (*MockImageClient) GetForArchitecture added in v1.33.0

func (m *MockImageClient) GetForArchitecture(arg0 context.Context, arg1 string, arg2 hcloud.Architecture) (*hcloud.Image, *hcloud.Response, error)

GetForArchitecture mocks base method.

func (*MockImageClient) LabelKeys

func (m *MockImageClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockImageClient) List

List mocks base method.

func (*MockImageClient) Names

func (m *MockImageClient) Names() []string

Names mocks base method.

func (*MockImageClient) Update

Update mocks base method.

type MockImageClientMockRecorder

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

MockImageClientMockRecorder is the mock recorder for MockImageClient.

func (*MockImageClientMockRecorder) All

func (mr *MockImageClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockImageClientMockRecorder) AllWithOpts

func (mr *MockImageClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockImageClientMockRecorder) ChangeProtection

func (mr *MockImageClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockImageClientMockRecorder) Delete

func (mr *MockImageClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockImageClientMockRecorder) Get

func (mr *MockImageClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockImageClientMockRecorder) GetByID

func (mr *MockImageClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockImageClientMockRecorder) GetByName

func (mr *MockImageClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockImageClientMockRecorder) GetByNameAndArchitecture added in v1.33.0

func (mr *MockImageClientMockRecorder) GetByNameAndArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call

GetByNameAndArchitecture indicates an expected call of GetByNameAndArchitecture.

func (*MockImageClientMockRecorder) GetForArchitecture added in v1.33.0

func (mr *MockImageClientMockRecorder) GetForArchitecture(arg0, arg1, arg2 interface{}) *gomock.Call

GetForArchitecture indicates an expected call of GetForArchitecture.

func (*MockImageClientMockRecorder) LabelKeys

func (mr *MockImageClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockImageClientMockRecorder) List

func (mr *MockImageClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockImageClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockImageClientMockRecorder) Update

func (mr *MockImageClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockLoadBalancerClient

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

MockLoadBalancerClient is a mock of LoadBalancerClient interface.

func NewMockLoadBalancerClient

func NewMockLoadBalancerClient(ctrl *gomock.Controller) *MockLoadBalancerClient

NewMockLoadBalancerClient creates a new mock instance.

func (*MockLoadBalancerClient) AddIPTarget

AddIPTarget mocks base method.

func (*MockLoadBalancerClient) AddLabelSelectorTarget

AddLabelSelectorTarget mocks base method.

func (*MockLoadBalancerClient) AddServerTarget

AddServerTarget mocks base method.

func (*MockLoadBalancerClient) AddService

AddService mocks base method.

func (*MockLoadBalancerClient) All

All mocks base method.

func (*MockLoadBalancerClient) AllWithOpts

AllWithOpts mocks base method.

func (*MockLoadBalancerClient) AttachToNetwork

AttachToNetwork mocks base method.

func (*MockLoadBalancerClient) ChangeAlgorithm

ChangeAlgorithm mocks base method.

func (*MockLoadBalancerClient) ChangeDNSPtr

func (m *MockLoadBalancerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)

ChangeDNSPtr mocks base method.

func (*MockLoadBalancerClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockLoadBalancerClient) ChangeType

ChangeType mocks base method.

func (*MockLoadBalancerClient) Create

Create mocks base method.

func (*MockLoadBalancerClient) Delete

Delete mocks base method.

func (*MockLoadBalancerClient) DeleteService

func (m *MockLoadBalancerClient) DeleteService(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 int) (*hcloud.Action, *hcloud.Response, error)

DeleteService mocks base method.

func (*MockLoadBalancerClient) DetachFromNetwork

DetachFromNetwork mocks base method.

func (*MockLoadBalancerClient) DisablePublicInterface

func (m *MockLoadBalancerClient) DisablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)

DisablePublicInterface mocks base method.

func (*MockLoadBalancerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoadBalancerClient) EnablePublicInterface

func (m *MockLoadBalancerClient) EnablePublicInterface(arg0 context.Context, arg1 *hcloud.LoadBalancer) (*hcloud.Action, *hcloud.Response, error)

EnablePublicInterface mocks base method.

func (*MockLoadBalancerClient) Get

Get mocks base method.

func (*MockLoadBalancerClient) GetByID

GetByID mocks base method.

func (*MockLoadBalancerClient) GetByName

GetByName mocks base method.

func (*MockLoadBalancerClient) GetMetrics

GetMetrics mocks base method.

func (*MockLoadBalancerClient) LabelKeys

func (m *MockLoadBalancerClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockLoadBalancerClient) List

List mocks base method.

func (*MockLoadBalancerClient) LoadBalancerName

func (m *MockLoadBalancerClient) LoadBalancerName(arg0 int64) string

LoadBalancerName mocks base method.

func (*MockLoadBalancerClient) Names

func (m *MockLoadBalancerClient) Names() []string

Names mocks base method.

func (*MockLoadBalancerClient) RemoveIPTarget

func (m *MockLoadBalancerClient) RemoveIPTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 net.IP) (*hcloud.Action, *hcloud.Response, error)

RemoveIPTarget mocks base method.

func (*MockLoadBalancerClient) RemoveLabelSelectorTarget

func (m *MockLoadBalancerClient) RemoveLabelSelectorTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 string) (*hcloud.Action, *hcloud.Response, error)

RemoveLabelSelectorTarget mocks base method.

func (*MockLoadBalancerClient) RemoveServerTarget

func (m *MockLoadBalancerClient) RemoveServerTarget(arg0 context.Context, arg1 *hcloud.LoadBalancer, arg2 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

RemoveServerTarget mocks base method.

func (*MockLoadBalancerClient) Update

Update mocks base method.

func (*MockLoadBalancerClient) UpdateService

UpdateService mocks base method.

type MockLoadBalancerClientMockRecorder

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

MockLoadBalancerClientMockRecorder is the mock recorder for MockLoadBalancerClient.

func (*MockLoadBalancerClientMockRecorder) AddIPTarget

func (mr *MockLoadBalancerClientMockRecorder) AddIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call

AddIPTarget indicates an expected call of AddIPTarget.

func (*MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget

func (mr *MockLoadBalancerClientMockRecorder) AddLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call

AddLabelSelectorTarget indicates an expected call of AddLabelSelectorTarget.

func (*MockLoadBalancerClientMockRecorder) AddServerTarget

func (mr *MockLoadBalancerClientMockRecorder) AddServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call

AddServerTarget indicates an expected call of AddServerTarget.

func (*MockLoadBalancerClientMockRecorder) AddService

func (mr *MockLoadBalancerClientMockRecorder) AddService(arg0, arg1, arg2 interface{}) *gomock.Call

AddService indicates an expected call of AddService.

func (*MockLoadBalancerClientMockRecorder) All

func (mr *MockLoadBalancerClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockLoadBalancerClientMockRecorder) AllWithOpts

func (mr *MockLoadBalancerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockLoadBalancerClientMockRecorder) AttachToNetwork

func (mr *MockLoadBalancerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call

AttachToNetwork indicates an expected call of AttachToNetwork.

func (*MockLoadBalancerClientMockRecorder) ChangeAlgorithm

func (mr *MockLoadBalancerClientMockRecorder) ChangeAlgorithm(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeAlgorithm indicates an expected call of ChangeAlgorithm.

func (*MockLoadBalancerClientMockRecorder) ChangeDNSPtr

func (mr *MockLoadBalancerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ChangeDNSPtr indicates an expected call of ChangeDNSPtr.

func (*MockLoadBalancerClientMockRecorder) ChangeProtection

func (mr *MockLoadBalancerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockLoadBalancerClientMockRecorder) ChangeType

func (mr *MockLoadBalancerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeType indicates an expected call of ChangeType.

func (*MockLoadBalancerClientMockRecorder) Create

func (mr *MockLoadBalancerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockLoadBalancerClientMockRecorder) Delete

func (mr *MockLoadBalancerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockLoadBalancerClientMockRecorder) DeleteService

func (mr *MockLoadBalancerClientMockRecorder) DeleteService(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteService indicates an expected call of DeleteService.

func (*MockLoadBalancerClientMockRecorder) DetachFromNetwork

func (mr *MockLoadBalancerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call

DetachFromNetwork indicates an expected call of DetachFromNetwork.

func (*MockLoadBalancerClientMockRecorder) DisablePublicInterface

func (mr *MockLoadBalancerClientMockRecorder) DisablePublicInterface(arg0, arg1 interface{}) *gomock.Call

DisablePublicInterface indicates an expected call of DisablePublicInterface.

func (*MockLoadBalancerClientMockRecorder) EnablePublicInterface

func (mr *MockLoadBalancerClientMockRecorder) EnablePublicInterface(arg0, arg1 interface{}) *gomock.Call

EnablePublicInterface indicates an expected call of EnablePublicInterface.

func (*MockLoadBalancerClientMockRecorder) Get

func (mr *MockLoadBalancerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLoadBalancerClientMockRecorder) GetByID

func (mr *MockLoadBalancerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockLoadBalancerClientMockRecorder) GetByName

func (mr *MockLoadBalancerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockLoadBalancerClientMockRecorder) GetMetrics

func (mr *MockLoadBalancerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call

GetMetrics indicates an expected call of GetMetrics.

func (*MockLoadBalancerClientMockRecorder) LabelKeys

func (mr *MockLoadBalancerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockLoadBalancerClientMockRecorder) List

func (mr *MockLoadBalancerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLoadBalancerClientMockRecorder) LoadBalancerName

func (mr *MockLoadBalancerClientMockRecorder) LoadBalancerName(arg0 interface{}) *gomock.Call

LoadBalancerName indicates an expected call of LoadBalancerName.

func (*MockLoadBalancerClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockLoadBalancerClientMockRecorder) RemoveIPTarget

func (mr *MockLoadBalancerClientMockRecorder) RemoveIPTarget(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveIPTarget indicates an expected call of RemoveIPTarget.

func (*MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget

func (mr *MockLoadBalancerClientMockRecorder) RemoveLabelSelectorTarget(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveLabelSelectorTarget indicates an expected call of RemoveLabelSelectorTarget.

func (*MockLoadBalancerClientMockRecorder) RemoveServerTarget

func (mr *MockLoadBalancerClientMockRecorder) RemoveServerTarget(arg0, arg1, arg2 interface{}) *gomock.Call

RemoveServerTarget indicates an expected call of RemoveServerTarget.

func (*MockLoadBalancerClientMockRecorder) Update

func (mr *MockLoadBalancerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

func (*MockLoadBalancerClientMockRecorder) UpdateService

func (mr *MockLoadBalancerClientMockRecorder) UpdateService(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService.

type MockLoadBalancerTypeClient

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

MockLoadBalancerTypeClient is a mock of LoadBalancerTypeClient interface.

func NewMockLoadBalancerTypeClient

func NewMockLoadBalancerTypeClient(ctrl *gomock.Controller) *MockLoadBalancerTypeClient

NewMockLoadBalancerTypeClient creates a new mock instance.

func (*MockLoadBalancerTypeClient) All

All mocks base method.

func (*MockLoadBalancerTypeClient) AllWithOpts added in v1.37.0

AllWithOpts mocks base method.

func (*MockLoadBalancerTypeClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLoadBalancerTypeClient) Get

Get mocks base method.

func (*MockLoadBalancerTypeClient) GetByID

GetByID mocks base method.

func (*MockLoadBalancerTypeClient) GetByName

GetByName mocks base method.

func (*MockLoadBalancerTypeClient) List

List mocks base method.

func (*MockLoadBalancerTypeClient) LoadBalancerTypeDescription

func (m *MockLoadBalancerTypeClient) LoadBalancerTypeDescription(arg0 int64) string

LoadBalancerTypeDescription mocks base method.

func (*MockLoadBalancerTypeClient) LoadBalancerTypeName

func (m *MockLoadBalancerTypeClient) LoadBalancerTypeName(arg0 int64) string

LoadBalancerTypeName mocks base method.

func (*MockLoadBalancerTypeClient) Names

func (m *MockLoadBalancerTypeClient) Names() []string

Names mocks base method.

type MockLoadBalancerTypeClientMockRecorder

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

MockLoadBalancerTypeClientMockRecorder is the mock recorder for MockLoadBalancerTypeClient.

func (*MockLoadBalancerTypeClientMockRecorder) All

func (mr *MockLoadBalancerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockLoadBalancerTypeClientMockRecorder) AllWithOpts added in v1.37.0

func (mr *MockLoadBalancerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockLoadBalancerTypeClientMockRecorder) Get

func (mr *MockLoadBalancerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLoadBalancerTypeClientMockRecorder) GetByID

func (mr *MockLoadBalancerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockLoadBalancerTypeClientMockRecorder) GetByName

func (mr *MockLoadBalancerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockLoadBalancerTypeClientMockRecorder) List

func (mr *MockLoadBalancerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription

func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeDescription(arg0 interface{}) *gomock.Call

LoadBalancerTypeDescription indicates an expected call of LoadBalancerTypeDescription.

func (*MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName

func (mr *MockLoadBalancerTypeClientMockRecorder) LoadBalancerTypeName(arg0 interface{}) *gomock.Call

LoadBalancerTypeName indicates an expected call of LoadBalancerTypeName.

func (*MockLoadBalancerTypeClientMockRecorder) Names

Names indicates an expected call of Names.

type MockLocationClient

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

MockLocationClient is a mock of LocationClient interface.

func NewMockLocationClient

func NewMockLocationClient(ctrl *gomock.Controller) *MockLocationClient

NewMockLocationClient creates a new mock instance.

func (*MockLocationClient) All

All mocks base method.

func (*MockLocationClient) AllWithOpts added in v1.37.0

func (m *MockLocationClient) AllWithOpts(arg0 context.Context, arg1 hcloud.LocationListOpts) ([]*hcloud.Location, error)

AllWithOpts mocks base method.

func (*MockLocationClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockLocationClient) Get

Get mocks base method.

func (*MockLocationClient) GetByID

GetByID mocks base method.

func (*MockLocationClient) GetByName

func (m *MockLocationClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Location, *hcloud.Response, error)

GetByName mocks base method.

func (*MockLocationClient) List

List mocks base method.

func (*MockLocationClient) Names

func (m *MockLocationClient) Names() []string

Names mocks base method.

func (*MockLocationClient) NetworkZones added in v1.32.0

func (m *MockLocationClient) NetworkZones() []string

NetworkZones mocks base method.

type MockLocationClientMockRecorder

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

MockLocationClientMockRecorder is the mock recorder for MockLocationClient.

func (*MockLocationClientMockRecorder) All

func (mr *MockLocationClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockLocationClientMockRecorder) AllWithOpts added in v1.37.0

func (mr *MockLocationClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockLocationClientMockRecorder) Get

func (mr *MockLocationClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockLocationClientMockRecorder) GetByID

func (mr *MockLocationClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockLocationClientMockRecorder) GetByName

func (mr *MockLocationClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockLocationClientMockRecorder) List

func (mr *MockLocationClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockLocationClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockLocationClientMockRecorder) NetworkZones added in v1.32.0

func (mr *MockLocationClientMockRecorder) NetworkZones() *gomock.Call

NetworkZones indicates an expected call of NetworkZones.

type MockNetworkClient

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

MockNetworkClient is a mock of NetworkClient interface.

func NewMockNetworkClient

func NewMockNetworkClient(ctrl *gomock.Controller) *MockNetworkClient

NewMockNetworkClient creates a new mock instance.

func (*MockNetworkClient) AddRoute

AddRoute mocks base method.

func (*MockNetworkClient) AddSubnet

AddSubnet mocks base method.

func (*MockNetworkClient) All

func (m *MockNetworkClient) All(arg0 context.Context) ([]*hcloud.Network, error)

All mocks base method.

func (*MockNetworkClient) AllWithOpts

func (m *MockNetworkClient) AllWithOpts(arg0 context.Context, arg1 hcloud.NetworkListOpts) ([]*hcloud.Network, error)

AllWithOpts mocks base method.

func (*MockNetworkClient) ChangeIPRange

ChangeIPRange mocks base method.

func (*MockNetworkClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockNetworkClient) Create

Create mocks base method.

func (*MockNetworkClient) Delete

func (m *MockNetworkClient) Delete(arg0 context.Context, arg1 *hcloud.Network) (*hcloud.Response, error)

Delete mocks base method.

func (*MockNetworkClient) DeleteRoute

DeleteRoute mocks base method.

func (*MockNetworkClient) DeleteSubnet

DeleteSubnet mocks base method.

func (*MockNetworkClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockNetworkClient) Get

Get mocks base method.

func (*MockNetworkClient) GetByID

func (m *MockNetworkClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Network, *hcloud.Response, error)

GetByID mocks base method.

func (*MockNetworkClient) GetByName

func (m *MockNetworkClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Network, *hcloud.Response, error)

GetByName mocks base method.

func (*MockNetworkClient) LabelKeys

func (m *MockNetworkClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockNetworkClient) List

List mocks base method.

func (*MockNetworkClient) Name

func (m *MockNetworkClient) Name(arg0 int64) string

Name mocks base method.

func (*MockNetworkClient) Names

func (m *MockNetworkClient) Names() []string

Names mocks base method.

func (*MockNetworkClient) Update

Update mocks base method.

type MockNetworkClientMockRecorder

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

MockNetworkClientMockRecorder is the mock recorder for MockNetworkClient.

func (*MockNetworkClientMockRecorder) AddRoute

func (mr *MockNetworkClientMockRecorder) AddRoute(arg0, arg1, arg2 interface{}) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*MockNetworkClientMockRecorder) AddSubnet

func (mr *MockNetworkClientMockRecorder) AddSubnet(arg0, arg1, arg2 interface{}) *gomock.Call

AddSubnet indicates an expected call of AddSubnet.

func (*MockNetworkClientMockRecorder) All

func (mr *MockNetworkClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockNetworkClientMockRecorder) AllWithOpts

func (mr *MockNetworkClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockNetworkClientMockRecorder) ChangeIPRange

func (mr *MockNetworkClientMockRecorder) ChangeIPRange(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeIPRange indicates an expected call of ChangeIPRange.

func (*MockNetworkClientMockRecorder) ChangeProtection

func (mr *MockNetworkClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockNetworkClientMockRecorder) Create

func (mr *MockNetworkClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockNetworkClientMockRecorder) Delete

func (mr *MockNetworkClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockNetworkClientMockRecorder) DeleteRoute

func (mr *MockNetworkClientMockRecorder) DeleteRoute(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteRoute indicates an expected call of DeleteRoute.

func (*MockNetworkClientMockRecorder) DeleteSubnet

func (mr *MockNetworkClientMockRecorder) DeleteSubnet(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockNetworkClientMockRecorder) Get

func (mr *MockNetworkClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockNetworkClientMockRecorder) GetByID

func (mr *MockNetworkClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockNetworkClientMockRecorder) GetByName

func (mr *MockNetworkClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockNetworkClientMockRecorder) LabelKeys

func (mr *MockNetworkClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockNetworkClientMockRecorder) List

func (mr *MockNetworkClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockNetworkClientMockRecorder) Name

func (mr *MockNetworkClientMockRecorder) Name(arg0 interface{}) *gomock.Call

Name indicates an expected call of Name.

func (*MockNetworkClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockNetworkClientMockRecorder) Update

func (mr *MockNetworkClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockPlacementGroupClient

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

MockPlacementGroupClient is a mock of PlacementGroupClient interface.

func NewMockPlacementGroupClient

func NewMockPlacementGroupClient(ctrl *gomock.Controller) *MockPlacementGroupClient

NewMockPlacementGroupClient creates a new mock instance.

func (*MockPlacementGroupClient) All

All mocks base method.

func (*MockPlacementGroupClient) AllWithOpts

AllWithOpts mocks base method.

func (*MockPlacementGroupClient) Create

Create mocks base method.

func (*MockPlacementGroupClient) Delete

Delete mocks base method.

func (*MockPlacementGroupClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPlacementGroupClient) Get

Get mocks base method.

func (*MockPlacementGroupClient) GetByID

GetByID mocks base method.

func (*MockPlacementGroupClient) GetByName

GetByName mocks base method.

func (*MockPlacementGroupClient) LabelKeys

func (m *MockPlacementGroupClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockPlacementGroupClient) List

List mocks base method.

func (*MockPlacementGroupClient) Names

func (m *MockPlacementGroupClient) Names() []string

Names mocks base method.

func (*MockPlacementGroupClient) Update

Update mocks base method.

type MockPlacementGroupClientMockRecorder

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

MockPlacementGroupClientMockRecorder is the mock recorder for MockPlacementGroupClient.

func (*MockPlacementGroupClientMockRecorder) All

func (mr *MockPlacementGroupClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockPlacementGroupClientMockRecorder) AllWithOpts

func (mr *MockPlacementGroupClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockPlacementGroupClientMockRecorder) Create

func (mr *MockPlacementGroupClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPlacementGroupClientMockRecorder) Delete

func (mr *MockPlacementGroupClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPlacementGroupClientMockRecorder) Get

func (mr *MockPlacementGroupClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPlacementGroupClientMockRecorder) GetByID

func (mr *MockPlacementGroupClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockPlacementGroupClientMockRecorder) GetByName

func (mr *MockPlacementGroupClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockPlacementGroupClientMockRecorder) LabelKeys

func (mr *MockPlacementGroupClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockPlacementGroupClientMockRecorder) List

func (mr *MockPlacementGroupClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockPlacementGroupClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockPlacementGroupClientMockRecorder) Update

func (mr *MockPlacementGroupClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockPrimaryIPClient

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

MockPrimaryIPClient is a mock of PrimaryIPClient interface.

func NewMockPrimaryIPClient

func NewMockPrimaryIPClient(ctrl *gomock.Controller) *MockPrimaryIPClient

NewMockPrimaryIPClient creates a new mock instance.

func (*MockPrimaryIPClient) All

All mocks base method.

func (*MockPrimaryIPClient) AllWithOpts

AllWithOpts mocks base method.

func (*MockPrimaryIPClient) Assign

Assign mocks base method.

func (*MockPrimaryIPClient) ChangeDNSPtr

ChangeDNSPtr mocks base method.

func (*MockPrimaryIPClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockPrimaryIPClient) Create

Create mocks base method.

func (*MockPrimaryIPClient) Delete

Delete mocks base method.

func (*MockPrimaryIPClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockPrimaryIPClient) Get

Get mocks base method.

func (*MockPrimaryIPClient) GetByID

GetByID mocks base method.

func (*MockPrimaryIPClient) GetByIP

GetByIP mocks base method.

func (*MockPrimaryIPClient) GetByName

GetByName mocks base method.

func (*MockPrimaryIPClient) IPv4Names

func (m *MockPrimaryIPClient) IPv4Names() []string

IPv4Names mocks base method.

func (*MockPrimaryIPClient) IPv6Names

func (m *MockPrimaryIPClient) IPv6Names() []string

IPv6Names mocks base method.

func (*MockPrimaryIPClient) LabelKeys

func (m *MockPrimaryIPClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockPrimaryIPClient) List

List mocks base method.

func (*MockPrimaryIPClient) Names

func (m *MockPrimaryIPClient) Names() []string

Names mocks base method.

func (*MockPrimaryIPClient) Unassign

func (m *MockPrimaryIPClient) Unassign(arg0 context.Context, arg1 int64) (*hcloud.Action, *hcloud.Response, error)

Unassign mocks base method.

func (*MockPrimaryIPClient) Update

Update mocks base method.

type MockPrimaryIPClientMockRecorder

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

MockPrimaryIPClientMockRecorder is the mock recorder for MockPrimaryIPClient.

func (*MockPrimaryIPClientMockRecorder) All

func (mr *MockPrimaryIPClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockPrimaryIPClientMockRecorder) AllWithOpts

func (mr *MockPrimaryIPClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockPrimaryIPClientMockRecorder) Assign

func (mr *MockPrimaryIPClientMockRecorder) Assign(arg0, arg1 interface{}) *gomock.Call

Assign indicates an expected call of Assign.

func (*MockPrimaryIPClientMockRecorder) ChangeDNSPtr

func (mr *MockPrimaryIPClientMockRecorder) ChangeDNSPtr(arg0, arg1 interface{}) *gomock.Call

ChangeDNSPtr indicates an expected call of ChangeDNSPtr.

func (*MockPrimaryIPClientMockRecorder) ChangeProtection

func (mr *MockPrimaryIPClientMockRecorder) ChangeProtection(arg0, arg1 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockPrimaryIPClientMockRecorder) Create

func (mr *MockPrimaryIPClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockPrimaryIPClientMockRecorder) Delete

func (mr *MockPrimaryIPClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockPrimaryIPClientMockRecorder) Get

func (mr *MockPrimaryIPClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockPrimaryIPClientMockRecorder) GetByID

func (mr *MockPrimaryIPClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockPrimaryIPClientMockRecorder) GetByIP

func (mr *MockPrimaryIPClientMockRecorder) GetByIP(arg0, arg1 interface{}) *gomock.Call

GetByIP indicates an expected call of GetByIP.

func (*MockPrimaryIPClientMockRecorder) GetByName

func (mr *MockPrimaryIPClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockPrimaryIPClientMockRecorder) IPv4Names

func (mr *MockPrimaryIPClientMockRecorder) IPv4Names() *gomock.Call

IPv4Names indicates an expected call of IPv4Names.

func (*MockPrimaryIPClientMockRecorder) IPv6Names

func (mr *MockPrimaryIPClientMockRecorder) IPv6Names() *gomock.Call

IPv6Names indicates an expected call of IPv6Names.

func (*MockPrimaryIPClientMockRecorder) LabelKeys

func (mr *MockPrimaryIPClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockPrimaryIPClientMockRecorder) List

func (mr *MockPrimaryIPClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockPrimaryIPClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockPrimaryIPClientMockRecorder) Unassign

func (mr *MockPrimaryIPClientMockRecorder) Unassign(arg0, arg1 interface{}) *gomock.Call

Unassign indicates an expected call of Unassign.

func (*MockPrimaryIPClientMockRecorder) Update

func (mr *MockPrimaryIPClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockRDNSClient

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

MockRDNSClient is a mock of RDNSClient interface.

func NewMockRDNSClient

func NewMockRDNSClient(ctrl *gomock.Controller) *MockRDNSClient

NewMockRDNSClient creates a new mock instance.

func (*MockRDNSClient) ChangeDNSPtr

func (m *MockRDNSClient) ChangeDNSPtr(arg0 context.Context, arg1 hcloud.RDNSSupporter, arg2 net.IP, arg3 *string) (*hcloud.Action, *hcloud.Response, error)

ChangeDNSPtr mocks base method.

func (*MockRDNSClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockRDNSClientMockRecorder

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

MockRDNSClientMockRecorder is the mock recorder for MockRDNSClient.

func (*MockRDNSClientMockRecorder) ChangeDNSPtr

func (mr *MockRDNSClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ChangeDNSPtr indicates an expected call of ChangeDNSPtr.

type MockSSHKeyClient

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

MockSSHKeyClient is a mock of SSHKeyClient interface.

func NewMockSSHKeyClient

func NewMockSSHKeyClient(ctrl *gomock.Controller) *MockSSHKeyClient

NewMockSSHKeyClient creates a new mock instance.

func (*MockSSHKeyClient) All

func (m *MockSSHKeyClient) All(arg0 context.Context) ([]*hcloud.SSHKey, error)

All mocks base method.

func (*MockSSHKeyClient) AllWithOpts

func (m *MockSSHKeyClient) AllWithOpts(arg0 context.Context, arg1 hcloud.SSHKeyListOpts) ([]*hcloud.SSHKey, error)

AllWithOpts mocks base method.

func (*MockSSHKeyClient) Create

Create mocks base method.

func (*MockSSHKeyClient) Delete

func (m *MockSSHKeyClient) Delete(arg0 context.Context, arg1 *hcloud.SSHKey) (*hcloud.Response, error)

Delete mocks base method.

func (*MockSSHKeyClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSSHKeyClient) Get

Get mocks base method.

func (*MockSSHKeyClient) GetByFingerprint

func (m *MockSSHKeyClient) GetByFingerprint(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)

GetByFingerprint mocks base method.

func (*MockSSHKeyClient) GetByID

func (m *MockSSHKeyClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.SSHKey, *hcloud.Response, error)

GetByID mocks base method.

func (*MockSSHKeyClient) GetByName

func (m *MockSSHKeyClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.SSHKey, *hcloud.Response, error)

GetByName mocks base method.

func (*MockSSHKeyClient) LabelKeys

func (m *MockSSHKeyClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockSSHKeyClient) List

List mocks base method.

func (*MockSSHKeyClient) Names

func (m *MockSSHKeyClient) Names() []string

Names mocks base method.

func (*MockSSHKeyClient) Update

Update mocks base method.

type MockSSHKeyClientMockRecorder

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

MockSSHKeyClientMockRecorder is the mock recorder for MockSSHKeyClient.

func (*MockSSHKeyClientMockRecorder) All

func (mr *MockSSHKeyClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockSSHKeyClientMockRecorder) AllWithOpts

func (mr *MockSSHKeyClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockSSHKeyClientMockRecorder) Create

func (mr *MockSSHKeyClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockSSHKeyClientMockRecorder) Delete

func (mr *MockSSHKeyClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockSSHKeyClientMockRecorder) Get

func (mr *MockSSHKeyClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockSSHKeyClientMockRecorder) GetByFingerprint

func (mr *MockSSHKeyClientMockRecorder) GetByFingerprint(arg0, arg1 interface{}) *gomock.Call

GetByFingerprint indicates an expected call of GetByFingerprint.

func (*MockSSHKeyClientMockRecorder) GetByID

func (mr *MockSSHKeyClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockSSHKeyClientMockRecorder) GetByName

func (mr *MockSSHKeyClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockSSHKeyClientMockRecorder) LabelKeys

func (mr *MockSSHKeyClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockSSHKeyClientMockRecorder) List

func (mr *MockSSHKeyClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockSSHKeyClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockSSHKeyClientMockRecorder) Update

func (mr *MockSSHKeyClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockServerClient

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

MockServerClient is a mock of ServerClient interface.

func NewMockServerClient

func NewMockServerClient(ctrl *gomock.Controller) *MockServerClient

NewMockServerClient creates a new mock instance.

func (*MockServerClient) AddToPlacementGroup

func (m *MockServerClient) AddToPlacementGroup(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.PlacementGroup) (*hcloud.Action, *hcloud.Response, error)

AddToPlacementGroup mocks base method.

func (*MockServerClient) All

func (m *MockServerClient) All(arg0 context.Context) ([]*hcloud.Server, error)

All mocks base method.

func (*MockServerClient) AllWithOpts

func (m *MockServerClient) AllWithOpts(arg0 context.Context, arg1 hcloud.ServerListOpts) ([]*hcloud.Server, error)

AllWithOpts mocks base method.

func (*MockServerClient) AttachISO

func (m *MockServerClient) AttachISO(arg0 context.Context, arg1 *hcloud.Server, arg2 *hcloud.ISO) (*hcloud.Action, *hcloud.Response, error)

AttachISO mocks base method.

func (*MockServerClient) AttachToNetwork

AttachToNetwork mocks base method.

func (*MockServerClient) ChangeAliasIPs

ChangeAliasIPs mocks base method.

func (*MockServerClient) ChangeDNSPtr

func (m *MockServerClient) ChangeDNSPtr(arg0 context.Context, arg1 *hcloud.Server, arg2 string, arg3 *string) (*hcloud.Action, *hcloud.Response, error)

ChangeDNSPtr mocks base method.

func (*MockServerClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockServerClient) ChangeType

ChangeType mocks base method.

func (*MockServerClient) Create

Create mocks base method.

func (*MockServerClient) CreateImage

CreateImage mocks base method.

func (*MockServerClient) Delete

func (m *MockServerClient) Delete(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Response, error)

Delete mocks base method.

func (*MockServerClient) DeleteWithResult

func (m *MockServerClient) DeleteWithResult(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.ServerDeleteResult, *hcloud.Response, error)

DeleteWithResult mocks base method.

func (*MockServerClient) DetachFromNetwork

DetachFromNetwork mocks base method.

func (*MockServerClient) DetachISO

func (m *MockServerClient) DetachISO(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

DetachISO mocks base method.

func (*MockServerClient) DisableBackup

func (m *MockServerClient) DisableBackup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

DisableBackup mocks base method.

func (*MockServerClient) DisableRescue

func (m *MockServerClient) DisableRescue(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

DisableRescue mocks base method.

func (*MockServerClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServerClient) EnableBackup

func (m *MockServerClient) EnableBackup(arg0 context.Context, arg1 *hcloud.Server, arg2 string) (*hcloud.Action, *hcloud.Response, error)

EnableBackup mocks base method.

func (*MockServerClient) EnableRescue

EnableRescue mocks base method.

func (*MockServerClient) Get

Get mocks base method.

func (*MockServerClient) GetByID

func (m *MockServerClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Server, *hcloud.Response, error)

GetByID mocks base method.

func (*MockServerClient) GetByName

func (m *MockServerClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Server, *hcloud.Response, error)

GetByName mocks base method.

func (*MockServerClient) GetMetrics

GetMetrics mocks base method.

func (*MockServerClient) LabelKeys

func (m *MockServerClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockServerClient) List

List mocks base method.

func (*MockServerClient) Names

func (m *MockServerClient) Names() []string

Names mocks base method.

func (*MockServerClient) Poweroff

func (m *MockServerClient) Poweroff(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

Poweroff mocks base method.

func (*MockServerClient) Poweron

Poweron mocks base method.

func (*MockServerClient) Reboot

Reboot mocks base method.

func (*MockServerClient) Rebuild

Rebuild mocks base method.

func (*MockServerClient) RebuildWithResult added in v1.32.0

RebuildWithResult mocks base method.

func (*MockServerClient) RemoveFromPlacementGroup

func (m *MockServerClient) RemoveFromPlacementGroup(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

RemoveFromPlacementGroup mocks base method.

func (*MockServerClient) RequestConsole

RequestConsole mocks base method.

func (*MockServerClient) Reset

Reset mocks base method.

func (*MockServerClient) ResetPassword

ResetPassword mocks base method.

func (*MockServerClient) ServerName

func (m *MockServerClient) ServerName(arg0 int64) string

ServerName mocks base method.

func (*MockServerClient) Shutdown

func (m *MockServerClient) Shutdown(arg0 context.Context, arg1 *hcloud.Server) (*hcloud.Action, *hcloud.Response, error)

Shutdown mocks base method.

func (*MockServerClient) Update

Update mocks base method.

type MockServerClientMockRecorder

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

MockServerClientMockRecorder is the mock recorder for MockServerClient.

func (*MockServerClientMockRecorder) AddToPlacementGroup

func (mr *MockServerClientMockRecorder) AddToPlacementGroup(arg0, arg1, arg2 interface{}) *gomock.Call

AddToPlacementGroup indicates an expected call of AddToPlacementGroup.

func (*MockServerClientMockRecorder) All

func (mr *MockServerClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockServerClientMockRecorder) AllWithOpts

func (mr *MockServerClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockServerClientMockRecorder) AttachISO

func (mr *MockServerClientMockRecorder) AttachISO(arg0, arg1, arg2 interface{}) *gomock.Call

AttachISO indicates an expected call of AttachISO.

func (*MockServerClientMockRecorder) AttachToNetwork

func (mr *MockServerClientMockRecorder) AttachToNetwork(arg0, arg1, arg2 interface{}) *gomock.Call

AttachToNetwork indicates an expected call of AttachToNetwork.

func (*MockServerClientMockRecorder) ChangeAliasIPs

func (mr *MockServerClientMockRecorder) ChangeAliasIPs(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeAliasIPs indicates an expected call of ChangeAliasIPs.

func (*MockServerClientMockRecorder) ChangeDNSPtr

func (mr *MockServerClientMockRecorder) ChangeDNSPtr(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

ChangeDNSPtr indicates an expected call of ChangeDNSPtr.

func (*MockServerClientMockRecorder) ChangeProtection

func (mr *MockServerClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockServerClientMockRecorder) ChangeType

func (mr *MockServerClientMockRecorder) ChangeType(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeType indicates an expected call of ChangeType.

func (*MockServerClientMockRecorder) Create

func (mr *MockServerClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockServerClientMockRecorder) CreateImage

func (mr *MockServerClientMockRecorder) CreateImage(arg0, arg1, arg2 interface{}) *gomock.Call

CreateImage indicates an expected call of CreateImage.

func (*MockServerClientMockRecorder) Delete

func (mr *MockServerClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockServerClientMockRecorder) DeleteWithResult

func (mr *MockServerClientMockRecorder) DeleteWithResult(arg0, arg1 interface{}) *gomock.Call

DeleteWithResult indicates an expected call of DeleteWithResult.

func (*MockServerClientMockRecorder) DetachFromNetwork

func (mr *MockServerClientMockRecorder) DetachFromNetwork(arg0, arg1, arg2 interface{}) *gomock.Call

DetachFromNetwork indicates an expected call of DetachFromNetwork.

func (*MockServerClientMockRecorder) DetachISO

func (mr *MockServerClientMockRecorder) DetachISO(arg0, arg1 interface{}) *gomock.Call

DetachISO indicates an expected call of DetachISO.

func (*MockServerClientMockRecorder) DisableBackup

func (mr *MockServerClientMockRecorder) DisableBackup(arg0, arg1 interface{}) *gomock.Call

DisableBackup indicates an expected call of DisableBackup.

func (*MockServerClientMockRecorder) DisableRescue

func (mr *MockServerClientMockRecorder) DisableRescue(arg0, arg1 interface{}) *gomock.Call

DisableRescue indicates an expected call of DisableRescue.

func (*MockServerClientMockRecorder) EnableBackup

func (mr *MockServerClientMockRecorder) EnableBackup(arg0, arg1, arg2 interface{}) *gomock.Call

EnableBackup indicates an expected call of EnableBackup.

func (*MockServerClientMockRecorder) EnableRescue

func (mr *MockServerClientMockRecorder) EnableRescue(arg0, arg1, arg2 interface{}) *gomock.Call

EnableRescue indicates an expected call of EnableRescue.

func (*MockServerClientMockRecorder) Get

func (mr *MockServerClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockServerClientMockRecorder) GetByID

func (mr *MockServerClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockServerClientMockRecorder) GetByName

func (mr *MockServerClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockServerClientMockRecorder) GetMetrics

func (mr *MockServerClientMockRecorder) GetMetrics(arg0, arg1, arg2 interface{}) *gomock.Call

GetMetrics indicates an expected call of GetMetrics.

func (*MockServerClientMockRecorder) LabelKeys

func (mr *MockServerClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockServerClientMockRecorder) List

func (mr *MockServerClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockServerClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockServerClientMockRecorder) Poweroff

func (mr *MockServerClientMockRecorder) Poweroff(arg0, arg1 interface{}) *gomock.Call

Poweroff indicates an expected call of Poweroff.

func (*MockServerClientMockRecorder) Poweron

func (mr *MockServerClientMockRecorder) Poweron(arg0, arg1 interface{}) *gomock.Call

Poweron indicates an expected call of Poweron.

func (*MockServerClientMockRecorder) Reboot

func (mr *MockServerClientMockRecorder) Reboot(arg0, arg1 interface{}) *gomock.Call

Reboot indicates an expected call of Reboot.

func (*MockServerClientMockRecorder) Rebuild

func (mr *MockServerClientMockRecorder) Rebuild(arg0, arg1, arg2 interface{}) *gomock.Call

Rebuild indicates an expected call of Rebuild.

func (*MockServerClientMockRecorder) RebuildWithResult added in v1.32.0

func (mr *MockServerClientMockRecorder) RebuildWithResult(arg0, arg1, arg2 interface{}) *gomock.Call

RebuildWithResult indicates an expected call of RebuildWithResult.

func (*MockServerClientMockRecorder) RemoveFromPlacementGroup

func (mr *MockServerClientMockRecorder) RemoveFromPlacementGroup(arg0, arg1 interface{}) *gomock.Call

RemoveFromPlacementGroup indicates an expected call of RemoveFromPlacementGroup.

func (*MockServerClientMockRecorder) RequestConsole

func (mr *MockServerClientMockRecorder) RequestConsole(arg0, arg1 interface{}) *gomock.Call

RequestConsole indicates an expected call of RequestConsole.

func (*MockServerClientMockRecorder) Reset

func (mr *MockServerClientMockRecorder) Reset(arg0, arg1 interface{}) *gomock.Call

Reset indicates an expected call of Reset.

func (*MockServerClientMockRecorder) ResetPassword

func (mr *MockServerClientMockRecorder) ResetPassword(arg0, arg1 interface{}) *gomock.Call

ResetPassword indicates an expected call of ResetPassword.

func (*MockServerClientMockRecorder) ServerName

func (mr *MockServerClientMockRecorder) ServerName(arg0 interface{}) *gomock.Call

ServerName indicates an expected call of ServerName.

func (*MockServerClientMockRecorder) Shutdown

func (mr *MockServerClientMockRecorder) Shutdown(arg0, arg1 interface{}) *gomock.Call

Shutdown indicates an expected call of Shutdown.

func (*MockServerClientMockRecorder) Update

func (mr *MockServerClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

type MockServerTypeClient

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

MockServerTypeClient is a mock of ServerTypeClient interface.

func NewMockServerTypeClient

func NewMockServerTypeClient(ctrl *gomock.Controller) *MockServerTypeClient

NewMockServerTypeClient creates a new mock instance.

func (*MockServerTypeClient) All

All mocks base method.

func (*MockServerTypeClient) AllWithOpts added in v1.37.0

AllWithOpts mocks base method.

func (*MockServerTypeClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockServerTypeClient) Get

Get mocks base method.

func (*MockServerTypeClient) GetByID

GetByID mocks base method.

func (*MockServerTypeClient) GetByName

GetByName mocks base method.

func (*MockServerTypeClient) List

List mocks base method.

func (*MockServerTypeClient) Names

func (m *MockServerTypeClient) Names() []string

Names mocks base method.

func (*MockServerTypeClient) ServerTypeDescription

func (m *MockServerTypeClient) ServerTypeDescription(arg0 int64) string

ServerTypeDescription mocks base method.

func (*MockServerTypeClient) ServerTypeName

func (m *MockServerTypeClient) ServerTypeName(arg0 int64) string

ServerTypeName mocks base method.

type MockServerTypeClientMockRecorder

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

MockServerTypeClientMockRecorder is the mock recorder for MockServerTypeClient.

func (*MockServerTypeClientMockRecorder) All

func (mr *MockServerTypeClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockServerTypeClientMockRecorder) AllWithOpts added in v1.37.0

func (mr *MockServerTypeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockServerTypeClientMockRecorder) Get

func (mr *MockServerTypeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockServerTypeClientMockRecorder) GetByID

func (mr *MockServerTypeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockServerTypeClientMockRecorder) GetByName

func (mr *MockServerTypeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockServerTypeClientMockRecorder) List

func (mr *MockServerTypeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockServerTypeClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockServerTypeClientMockRecorder) ServerTypeDescription

func (mr *MockServerTypeClientMockRecorder) ServerTypeDescription(arg0 interface{}) *gomock.Call

ServerTypeDescription indicates an expected call of ServerTypeDescription.

func (*MockServerTypeClientMockRecorder) ServerTypeName

func (mr *MockServerTypeClientMockRecorder) ServerTypeName(arg0 interface{}) *gomock.Call

ServerTypeName indicates an expected call of ServerTypeName.

type MockVolumeClient

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

MockVolumeClient is a mock of VolumeClient interface.

func NewMockVolumeClient

func NewMockVolumeClient(ctrl *gomock.Controller) *MockVolumeClient

NewMockVolumeClient creates a new mock instance.

func (*MockVolumeClient) All

func (m *MockVolumeClient) All(arg0 context.Context) ([]*hcloud.Volume, error)

All mocks base method.

func (*MockVolumeClient) AllWithOpts

func (m *MockVolumeClient) AllWithOpts(arg0 context.Context, arg1 hcloud.VolumeListOpts) ([]*hcloud.Volume, error)

AllWithOpts mocks base method.

func (*MockVolumeClient) Attach

Attach mocks base method.

func (*MockVolumeClient) AttachWithOpts

AttachWithOpts mocks base method.

func (*MockVolumeClient) ChangeProtection

ChangeProtection mocks base method.

func (*MockVolumeClient) Create

Create mocks base method.

func (*MockVolumeClient) Delete

func (m *MockVolumeClient) Delete(arg0 context.Context, arg1 *hcloud.Volume) (*hcloud.Response, error)

Delete mocks base method.

func (*MockVolumeClient) Detach

Detach mocks base method.

func (*MockVolumeClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVolumeClient) Get

Get mocks base method.

func (*MockVolumeClient) GetByID

func (m *MockVolumeClient) GetByID(arg0 context.Context, arg1 int64) (*hcloud.Volume, *hcloud.Response, error)

GetByID mocks base method.

func (*MockVolumeClient) GetByName

func (m *MockVolumeClient) GetByName(arg0 context.Context, arg1 string) (*hcloud.Volume, *hcloud.Response, error)

GetByName mocks base method.

func (*MockVolumeClient) LabelKeys

func (m *MockVolumeClient) LabelKeys(arg0 string) []string

LabelKeys mocks base method.

func (*MockVolumeClient) List

List mocks base method.

func (*MockVolumeClient) Names

func (m *MockVolumeClient) Names() []string

Names mocks base method.

func (*MockVolumeClient) Resize

func (m *MockVolumeClient) Resize(arg0 context.Context, arg1 *hcloud.Volume, arg2 int) (*hcloud.Action, *hcloud.Response, error)

Resize mocks base method.

func (*MockVolumeClient) Update

Update mocks base method.

type MockVolumeClientMockRecorder

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

MockVolumeClientMockRecorder is the mock recorder for MockVolumeClient.

func (*MockVolumeClientMockRecorder) All

func (mr *MockVolumeClientMockRecorder) All(arg0 interface{}) *gomock.Call

All indicates an expected call of All.

func (*MockVolumeClientMockRecorder) AllWithOpts

func (mr *MockVolumeClientMockRecorder) AllWithOpts(arg0, arg1 interface{}) *gomock.Call

AllWithOpts indicates an expected call of AllWithOpts.

func (*MockVolumeClientMockRecorder) Attach

func (mr *MockVolumeClientMockRecorder) Attach(arg0, arg1, arg2 interface{}) *gomock.Call

Attach indicates an expected call of Attach.

func (*MockVolumeClientMockRecorder) AttachWithOpts

func (mr *MockVolumeClientMockRecorder) AttachWithOpts(arg0, arg1, arg2 interface{}) *gomock.Call

AttachWithOpts indicates an expected call of AttachWithOpts.

func (*MockVolumeClientMockRecorder) ChangeProtection

func (mr *MockVolumeClientMockRecorder) ChangeProtection(arg0, arg1, arg2 interface{}) *gomock.Call

ChangeProtection indicates an expected call of ChangeProtection.

func (*MockVolumeClientMockRecorder) Create

func (mr *MockVolumeClientMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockVolumeClientMockRecorder) Delete

func (mr *MockVolumeClientMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockVolumeClientMockRecorder) Detach

func (mr *MockVolumeClientMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call

Detach indicates an expected call of Detach.

func (*MockVolumeClientMockRecorder) Get

func (mr *MockVolumeClientMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockVolumeClientMockRecorder) GetByID

func (mr *MockVolumeClientMockRecorder) GetByID(arg0, arg1 interface{}) *gomock.Call

GetByID indicates an expected call of GetByID.

func (*MockVolumeClientMockRecorder) GetByName

func (mr *MockVolumeClientMockRecorder) GetByName(arg0, arg1 interface{}) *gomock.Call

GetByName indicates an expected call of GetByName.

func (*MockVolumeClientMockRecorder) LabelKeys

func (mr *MockVolumeClientMockRecorder) LabelKeys(arg0 interface{}) *gomock.Call

LabelKeys indicates an expected call of LabelKeys.

func (*MockVolumeClientMockRecorder) List

func (mr *MockVolumeClientMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockVolumeClientMockRecorder) Names

Names indicates an expected call of Names.

func (*MockVolumeClientMockRecorder) Resize

func (mr *MockVolumeClientMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call

Resize indicates an expected call of Resize.

func (*MockVolumeClientMockRecorder) Update

func (mr *MockVolumeClientMockRecorder) Update(arg0, arg1, arg2 interface{}) *gomock.Call

Update indicates an expected call of Update.

Jump to

Keyboard shortcuts

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