Help us shape the future of Go! Take the 2026 Go Developer Survey

mock

package
v0.10.17 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAkamClient added in v0.6.0

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

MockAkamClient is a mock of AkamClient interface.

func NewMockAkamClient added in v0.6.0

func NewMockAkamClient(ctrl *gomock.Controller) *MockAkamClient

NewMockAkamClient creates a new mock instance.

func (*MockAkamClient) CreateRecord added in v0.6.0

func (m *MockAkamClient) CreateRecord(arg0 context.Context, arg1 dns.CreateRecordRequest) error

CreateRecord mocks base method.

func (*MockAkamClient) DeleteRecord added in v0.6.0

func (m *MockAkamClient) DeleteRecord(arg0 context.Context, arg1 dns.DeleteRecordRequest) error

DeleteRecord mocks base method.

func (*MockAkamClient) EXPECT added in v0.6.0

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

func (*MockAkamClient) GetRecord added in v0.6.0

GetRecord mocks base method.

func (*MockAkamClient) UpdateRecord added in v0.6.0

func (m *MockAkamClient) UpdateRecord(arg0 context.Context, arg1 dns.UpdateRecordRequest) error

UpdateRecord mocks base method.

type MockAkamClientMockRecorder added in v0.6.0

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

MockAkamClientMockRecorder is the mock recorder for MockAkamClient.

func (*MockAkamClientMockRecorder) CreateRecord added in v0.6.0

func (mr *MockAkamClientMockRecorder) CreateRecord(arg0, arg1 any) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockAkamClientMockRecorder) DeleteRecord added in v0.6.0

func (mr *MockAkamClientMockRecorder) DeleteRecord(arg0, arg1 any) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockAkamClientMockRecorder) GetRecord added in v0.6.0

func (mr *MockAkamClientMockRecorder) GetRecord(arg0, arg1 any) *gomock.Call

GetRecord indicates an expected call of GetRecord.

func (*MockAkamClientMockRecorder) UpdateRecord added in v0.6.0

func (mr *MockAkamClientMockRecorder) UpdateRecord(arg0, arg1 any) *gomock.Call

UpdateRecord indicates an expected call of UpdateRecord.

type MockAkamEdgeDNSClient added in v0.6.0

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

MockAkamEdgeDNSClient is a mock of AkamEdgeDNSClient interface.

func NewMockAkamEdgeDNSClient added in v0.6.0

func NewMockAkamEdgeDNSClient(ctrl *gomock.Controller) *MockAkamEdgeDNSClient

NewMockAkamEdgeDNSClient creates a new mock instance.

func (*MockAkamEdgeDNSClient) CreateRecord added in v0.6.0

func (m *MockAkamEdgeDNSClient) CreateRecord(arg0 context.Context, arg1 dns.CreateRecordRequest) error

CreateRecord mocks base method.

func (*MockAkamEdgeDNSClient) DeleteRecord added in v0.6.0

func (m *MockAkamEdgeDNSClient) DeleteRecord(arg0 context.Context, arg1 dns.DeleteRecordRequest) error

DeleteRecord mocks base method.

func (*MockAkamEdgeDNSClient) EXPECT added in v0.6.0

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

func (*MockAkamEdgeDNSClient) GetRecord added in v0.6.0

GetRecord mocks base method.

func (*MockAkamEdgeDNSClient) UpdateRecord added in v0.6.0

func (m *MockAkamEdgeDNSClient) UpdateRecord(arg0 context.Context, arg1 dns.UpdateRecordRequest) error

UpdateRecord mocks base method.

type MockAkamEdgeDNSClientMockRecorder added in v0.6.0

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

MockAkamEdgeDNSClientMockRecorder is the mock recorder for MockAkamEdgeDNSClient.

func (*MockAkamEdgeDNSClientMockRecorder) CreateRecord added in v0.6.0

func (mr *MockAkamEdgeDNSClientMockRecorder) CreateRecord(arg0, arg1 any) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockAkamEdgeDNSClientMockRecorder) DeleteRecord added in v0.6.0

func (mr *MockAkamEdgeDNSClientMockRecorder) DeleteRecord(arg0, arg1 any) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockAkamEdgeDNSClientMockRecorder) GetRecord added in v0.6.0

func (mr *MockAkamEdgeDNSClientMockRecorder) GetRecord(arg0, arg1 any) *gomock.Call

GetRecord indicates an expected call of GetRecord.

func (*MockAkamEdgeDNSClientMockRecorder) UpdateRecord added in v0.6.0

func (mr *MockAkamEdgeDNSClientMockRecorder) UpdateRecord(arg0, arg1 any) *gomock.Call

UpdateRecord indicates an expected call of UpdateRecord.

type MockClient added in v0.2.0

type MockClient interface {
	// contains filtered or unexported methods
}

MockClient is a common interface for generated mock clients. Each implementation is not generated and must be updated manually.

type MockClients added in v0.2.0

type MockClients struct {
	LinodeClient      *MockLinodeClient
	K8sClient         *MockK8sClient
	AkamEdgeDNSClient *MockAkamEdgeDNSClient
	S3Client          *MockS3Client
	S3PresignClient   *MockS3PresignClient
}

MockClients holds mock clients that may be instantiated.

func (*MockClients) Build added in v0.2.0

func (mc *MockClients) Build(client MockClient, ctrl *gomock.Controller)

type MockK8sClient added in v0.2.0

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

MockK8sClient is a mock of K8sClient interface.

func NewMockK8sClient added in v0.2.0

func NewMockK8sClient(ctrl *gomock.Controller) *MockK8sClient

NewMockK8sClient creates a new mock instance.

func (*MockK8sClient) Apply added in v0.10.0

Apply mocks base method.

func (*MockK8sClient) Create added in v0.2.0

func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

Create mocks base method.

func (*MockK8sClient) Delete added in v0.2.0

func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

Delete mocks base method.

func (*MockK8sClient) DeleteAllOf added in v0.2.0

func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error

DeleteAllOf mocks base method.

func (*MockK8sClient) EXPECT added in v0.2.0

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

func (*MockK8sClient) Get added in v0.2.0

Get mocks base method.

func (*MockK8sClient) GroupVersionKindFor added in v0.2.0

func (m *MockK8sClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)

GroupVersionKindFor mocks base method.

func (*MockK8sClient) IsObjectNamespaced added in v0.2.0

func (m *MockK8sClient) IsObjectNamespaced(obj runtime.Object) (bool, error)

IsObjectNamespaced mocks base method.

func (*MockK8sClient) List added in v0.2.0

func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error

List mocks base method.

func (*MockK8sClient) Patch added in v0.2.0

func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error

Patch mocks base method.

func (*MockK8sClient) RESTMapper added in v0.2.0

func (m *MockK8sClient) RESTMapper() meta.RESTMapper

RESTMapper mocks base method.

func (*MockK8sClient) Scheme added in v0.2.0

func (m *MockK8sClient) Scheme() *runtime.Scheme

Scheme mocks base method.

func (*MockK8sClient) Status added in v0.2.0

Status mocks base method.

func (*MockK8sClient) SubResource added in v0.2.0

func (m *MockK8sClient) SubResource(subResource string) client.SubResourceClient

SubResource mocks base method.

func (*MockK8sClient) Update added in v0.2.0

func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Update mocks base method.

type MockK8sClientMockRecorder added in v0.2.0

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

MockK8sClientMockRecorder is the mock recorder for MockK8sClient.

func (*MockK8sClientMockRecorder) Apply added in v0.10.0

func (mr *MockK8sClientMockRecorder) Apply(ctx, obj any, opts ...any) *gomock.Call

Apply indicates an expected call of Apply.

func (*MockK8sClientMockRecorder) Create added in v0.2.0

func (mr *MockK8sClientMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call

Create indicates an expected call of Create.

func (*MockK8sClientMockRecorder) Delete added in v0.2.0

func (mr *MockK8sClientMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockK8sClientMockRecorder) DeleteAllOf added in v0.2.0

func (mr *MockK8sClientMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call

DeleteAllOf indicates an expected call of DeleteAllOf.

func (*MockK8sClientMockRecorder) Get added in v0.2.0

func (mr *MockK8sClientMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

func (*MockK8sClientMockRecorder) GroupVersionKindFor added in v0.2.0

func (mr *MockK8sClientMockRecorder) GroupVersionKindFor(obj any) *gomock.Call

GroupVersionKindFor indicates an expected call of GroupVersionKindFor.

func (*MockK8sClientMockRecorder) IsObjectNamespaced added in v0.2.0

func (mr *MockK8sClientMockRecorder) IsObjectNamespaced(obj any) *gomock.Call

IsObjectNamespaced indicates an expected call of IsObjectNamespaced.

func (*MockK8sClientMockRecorder) List added in v0.2.0

func (mr *MockK8sClientMockRecorder) List(ctx, list any, opts ...any) *gomock.Call

List indicates an expected call of List.

func (*MockK8sClientMockRecorder) Patch added in v0.2.0

func (mr *MockK8sClientMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call

Patch indicates an expected call of Patch.

func (*MockK8sClientMockRecorder) RESTMapper added in v0.2.0

func (mr *MockK8sClientMockRecorder) RESTMapper() *gomock.Call

RESTMapper indicates an expected call of RESTMapper.

func (*MockK8sClientMockRecorder) Scheme added in v0.2.0

func (mr *MockK8sClientMockRecorder) Scheme() *gomock.Call

Scheme indicates an expected call of Scheme.

func (*MockK8sClientMockRecorder) Status added in v0.2.0

func (mr *MockK8sClientMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status.

func (*MockK8sClientMockRecorder) SubResource added in v0.2.0

func (mr *MockK8sClientMockRecorder) SubResource(subResource any) *gomock.Call

SubResource indicates an expected call of SubResource.

func (*MockK8sClientMockRecorder) Update added in v0.2.0

func (mr *MockK8sClientMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call

Update indicates an expected call of Update.

type MockLinodeClient added in v0.3.0

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

MockLinodeClient is a mock of LinodeClient interface.

func NewMockLinodeClient added in v0.3.0

func NewMockLinodeClient(ctrl *gomock.Controller) *MockLinodeClient

NewMockLinodeClient creates a new mock instance.

func (*MockLinodeClient) AssignPlacementGroupLinodes added in v0.6.0

func (m *MockLinodeClient) AssignPlacementGroupLinodes(ctx context.Context, id int, options linodego.PlacementGroupAssignOptions) (*linodego.PlacementGroup, error)

AssignPlacementGroupLinodes mocks base method.

func (*MockLinodeClient) BootInstance added in v0.3.0

func (m *MockLinodeClient) BootInstance(ctx context.Context, linodeID int, copts linodego.InstanceBootOptions) error

BootInstance mocks base method.

func (*MockLinodeClient) CreateDomainRecord added in v0.4.0

func (m *MockLinodeClient) CreateDomainRecord(ctx context.Context, domainID int, recordReq linodego.DomainRecordCreateOptions) (*linodego.DomainRecord, error)

CreateDomainRecord mocks base method.

func (*MockLinodeClient) CreateFirewall added in v0.6.1

CreateFirewall mocks base method.

func (*MockLinodeClient) CreateFirewallDevice added in v0.10.12

func (m *MockLinodeClient) CreateFirewallDevice(ctx context.Context, firewallID int, opts linodego.FirewallDeviceCreateOptions) (*linodego.FirewallDevice, error)

CreateFirewallDevice mocks base method.

func (*MockLinodeClient) CreateInstance added in v0.3.0

CreateInstance mocks base method.

func (*MockLinodeClient) CreateInstanceDisk added in v0.3.0

func (m *MockLinodeClient) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (*linodego.InstanceDisk, error)

CreateInstanceDisk mocks base method.

func (*MockLinodeClient) CreateNodeBalancer added in v0.3.0

CreateNodeBalancer mocks base method.

func (*MockLinodeClient) CreateNodeBalancerConfig added in v0.3.0

func (m *MockLinodeClient) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, opts linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)

CreateNodeBalancerConfig mocks base method.

func (*MockLinodeClient) CreateNodeBalancerNode added in v0.3.0

func (m *MockLinodeClient) CreateNodeBalancerNode(ctx context.Context, nodebalancerID, configID int, opts linodego.NodeBalancerNodeCreateOptions) (*linodego.NodeBalancerNode, error)

CreateNodeBalancerNode mocks base method.

func (*MockLinodeClient) CreateObjectStorageBucket added in v0.3.0

CreateObjectStorageBucket mocks base method.

func (*MockLinodeClient) CreateObjectStorageKey added in v0.3.0

CreateObjectStorageKey mocks base method.

func (*MockLinodeClient) CreatePlacementGroup added in v0.6.0

CreatePlacementGroup mocks base method.

func (*MockLinodeClient) CreateVPC added in v0.3.0

CreateVPC mocks base method.

func (*MockLinodeClient) CreateVPCSubnet added in v0.9.2

func (m *MockLinodeClient) CreateVPCSubnet(ctx context.Context, opts linodego.VPCSubnetCreateOptions, vpcID int) (*linodego.VPCSubnet, error)

CreateVPCSubnet mocks base method.

func (*MockLinodeClient) DeleteDomainRecord added in v0.4.0

func (m *MockLinodeClient) DeleteDomainRecord(ctx context.Context, domainID, domainRecordID int) error

DeleteDomainRecord mocks base method.

func (*MockLinodeClient) DeleteFirewall added in v0.6.1

func (m *MockLinodeClient) DeleteFirewall(ctx context.Context, firewallID int) error

DeleteFirewall mocks base method.

func (*MockLinodeClient) DeleteFirewallDevice added in v0.6.1

func (m *MockLinodeClient) DeleteFirewallDevice(ctx context.Context, firewallID, deviceID int) error

DeleteFirewallDevice mocks base method.

func (*MockLinodeClient) DeleteInstance added in v0.3.0

func (m *MockLinodeClient) DeleteInstance(ctx context.Context, linodeID int) error

DeleteInstance mocks base method.

func (*MockLinodeClient) DeleteNodeBalancer added in v0.3.0

func (m *MockLinodeClient) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error

DeleteNodeBalancer mocks base method.

func (*MockLinodeClient) DeleteNodeBalancerNode added in v0.3.0

func (m *MockLinodeClient) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID, configID, nodeID int) error

DeleteNodeBalancerNode mocks base method.

func (*MockLinodeClient) DeleteObjectStorageBucket added in v0.9.2

func (m *MockLinodeClient) DeleteObjectStorageBucket(ctx context.Context, regionID, label string) error

DeleteObjectStorageBucket mocks base method.

func (*MockLinodeClient) DeleteObjectStorageKey added in v0.3.0

func (m *MockLinodeClient) DeleteObjectStorageKey(ctx context.Context, keyID int) error

DeleteObjectStorageKey mocks base method.

func (*MockLinodeClient) DeletePlacementGroup added in v0.6.0

func (m *MockLinodeClient) DeletePlacementGroup(ctx context.Context, id int) error

DeletePlacementGroup mocks base method.

func (*MockLinodeClient) DeleteVPC added in v0.3.0

func (m *MockLinodeClient) DeleteVPC(ctx context.Context, vpcID int) error

DeleteVPC mocks base method.

func (*MockLinodeClient) DeleteVPCSubnet added in v0.9.2

func (m *MockLinodeClient) DeleteVPCSubnet(ctx context.Context, vpcID, subnetID int) error

DeleteVPCSubnet mocks base method.

func (*MockLinodeClient) EXPECT added in v0.3.0

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

func (*MockLinodeClient) GetFirewall added in v0.6.1

func (m *MockLinodeClient) GetFirewall(ctx context.Context, firewallID int) (*linodego.Firewall, error)

GetFirewall mocks base method.

func (*MockLinodeClient) GetImage added in v0.3.0

func (m *MockLinodeClient) GetImage(ctx context.Context, imageID string) (*linodego.Image, error)

GetImage mocks base method.

func (*MockLinodeClient) GetInstance added in v0.3.0

func (m *MockLinodeClient) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)

GetInstance mocks base method.

func (*MockLinodeClient) GetInstanceIPAddresses added in v0.3.0

func (m *MockLinodeClient) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*linodego.InstanceIPAddressResponse, error)

GetInstanceIPAddresses mocks base method.

func (*MockLinodeClient) GetNodeBalancer added in v0.5.0

func (m *MockLinodeClient) GetNodeBalancer(ctx context.Context, nodebalancerID int) (*linodego.NodeBalancer, error)

GetNodeBalancer mocks base method.

func (*MockLinodeClient) GetNodeBalancerConfig added in v0.5.0

func (m *MockLinodeClient) GetNodeBalancerConfig(ctx context.Context, nodebalancerID, configID int) (*linodego.NodeBalancerConfig, error)

GetNodeBalancerConfig mocks base method.

func (*MockLinodeClient) GetObjectStorageBucket added in v0.3.0

func (m *MockLinodeClient) GetObjectStorageBucket(ctx context.Context, regionID, label string) (*linodego.ObjectStorageBucket, error)

GetObjectStorageBucket mocks base method.

func (*MockLinodeClient) GetObjectStorageBucketAccess added in v0.6.1

func (m *MockLinodeClient) GetObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID, label string) (*linodego.ObjectStorageBucketAccess, error)

GetObjectStorageBucketAccess mocks base method.

func (*MockLinodeClient) GetObjectStorageKey added in v0.3.0

func (m *MockLinodeClient) GetObjectStorageKey(ctx context.Context, keyID int) (*linodego.ObjectStorageKey, error)

GetObjectStorageKey mocks base method.

func (*MockLinodeClient) GetPlacementGroup added in v0.6.0

func (m *MockLinodeClient) GetPlacementGroup(ctx context.Context, id int) (*linodego.PlacementGroup, error)

GetPlacementGroup mocks base method.

func (*MockLinodeClient) GetRegion added in v0.3.0

func (m *MockLinodeClient) GetRegion(ctx context.Context, regionID string) (*linodego.Region, error)

GetRegion mocks base method.

func (*MockLinodeClient) GetType added in v0.3.0

func (m *MockLinodeClient) GetType(ctx context.Context, typeID string) (*linodego.LinodeType, error)

GetType mocks base method.

func (*MockLinodeClient) GetVPC added in v0.3.0

func (m *MockLinodeClient) GetVPC(ctx context.Context, vpcID int) (*linodego.VPC, error)

GetVPC mocks base method.

func (*MockLinodeClient) ListDomainRecords added in v0.4.0

func (m *MockLinodeClient) ListDomainRecords(ctx context.Context, domainID int, opts *linodego.ListOptions) ([]linodego.DomainRecord, error)

ListDomainRecords mocks base method.

func (*MockLinodeClient) ListDomains added in v0.4.0

func (m *MockLinodeClient) ListDomains(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Domain, error)

ListDomains mocks base method.

func (*MockLinodeClient) ListFirewallDevices added in v0.10.12

func (m *MockLinodeClient) ListFirewallDevices(ctx context.Context, firewallID int, options *linodego.ListOptions) ([]linodego.FirewallDevice, error)

ListFirewallDevices mocks base method.

func (*MockLinodeClient) ListFirewalls added in v0.10.2

func (m *MockLinodeClient) ListFirewalls(ctx context.Context, options *linodego.ListOptions) ([]linodego.Firewall, error)

ListFirewalls mocks base method.

func (*MockLinodeClient) ListInstanceConfigs added in v0.3.0

func (m *MockLinodeClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)

ListInstanceConfigs mocks base method.

func (*MockLinodeClient) ListInstanceFirewalls added in v0.9.7

func (m *MockLinodeClient) ListInstanceFirewalls(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.Firewall, error)

ListInstanceFirewalls mocks base method.

func (*MockLinodeClient) ListInstances added in v0.3.0

func (m *MockLinodeClient) ListInstances(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Instance, error)

ListInstances mocks base method.

func (*MockLinodeClient) ListInterfaceFirewalls added in v0.9.7

func (m *MockLinodeClient) ListInterfaceFirewalls(ctx context.Context, linodeID, interfaceID int, opts *linodego.ListOptions) ([]linodego.Firewall, error)

ListInterfaceFirewalls mocks base method.

func (*MockLinodeClient) ListInterfaces added in v0.9.7

func (m *MockLinodeClient) ListInterfaces(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.LinodeInterface, error)

ListInterfaces mocks base method.

func (*MockLinodeClient) ListNodeBalancerNodes added in v0.6.1

func (m *MockLinodeClient) ListNodeBalancerNodes(ctx context.Context, nodebalancerID, configID int, opts *linodego.ListOptions) ([]linodego.NodeBalancerNode, error)

ListNodeBalancerNodes mocks base method.

func (*MockLinodeClient) ListNodeBalancers added in v0.3.0

func (m *MockLinodeClient) ListNodeBalancers(ctx context.Context, opts *linodego.ListOptions) ([]linodego.NodeBalancer, error)

ListNodeBalancers mocks base method.

func (*MockLinodeClient) ListPlacementGroups added in v0.6.0

func (m *MockLinodeClient) ListPlacementGroups(ctx context.Context, options *linodego.ListOptions) ([]linodego.PlacementGroup, error)

ListPlacementGroups mocks base method.

func (*MockLinodeClient) ListVPCs added in v0.3.0

func (m *MockLinodeClient) ListVPCs(ctx context.Context, opts *linodego.ListOptions) ([]linodego.VPC, error)

ListVPCs mocks base method.

func (*MockLinodeClient) OnAfterResponse added in v0.6.4

func (m_2 *MockLinodeClient) OnAfterResponse(m func(*http.Response) error)

OnAfterResponse mocks base method.

func (*MockLinodeClient) SetToken added in v0.6.3

func (m *MockLinodeClient) SetToken(token string) *linodego.Client

SetToken mocks base method.

func (*MockLinodeClient) UnassignPlacementGroupLinodes added in v0.6.0

func (m *MockLinodeClient) UnassignPlacementGroupLinodes(ctx context.Context, id int, options linodego.PlacementGroupUnAssignOptions) (*linodego.PlacementGroup, error)

UnassignPlacementGroupLinodes mocks base method.

func (*MockLinodeClient) UpdateDomainRecord added in v0.4.0

func (m *MockLinodeClient) UpdateDomainRecord(ctx context.Context, domainID, domainRecordID int, recordReq linodego.DomainRecordUpdateOptions) (*linodego.DomainRecord, error)

UpdateDomainRecord mocks base method.

func (*MockLinodeClient) UpdateFirewall added in v0.6.1

func (m *MockLinodeClient) UpdateFirewall(ctx context.Context, firewallID int, opts linodego.FirewallUpdateOptions) (*linodego.Firewall, error)

UpdateFirewall mocks base method.

func (*MockLinodeClient) UpdateFirewallRules added in v0.6.1

func (m *MockLinodeClient) UpdateFirewallRules(ctx context.Context, firewallID int, rules linodego.FirewallRulesUpdateOptions) (*linodego.FirewallRules, error)

UpdateFirewallRules mocks base method.

func (*MockLinodeClient) UpdateInstance added in v0.9.0

func (m *MockLinodeClient) UpdateInstance(ctx context.Context, linodeId int, opts linodego.InstanceUpdateOptions) (*linodego.Instance, error)

UpdateInstance mocks base method.

func (*MockLinodeClient) UpdateInstanceConfig added in v0.3.0

func (m *MockLinodeClient) UpdateInstanceConfig(ctx context.Context, linodeID, configID int, opts linodego.InstanceConfigUpdateOptions) (*linodego.InstanceConfig, error)

UpdateInstanceConfig mocks base method.

func (*MockLinodeClient) UpdateInstanceFirewalls added in v0.9.7

func (m *MockLinodeClient) UpdateInstanceFirewalls(ctx context.Context, linodeID int, opts linodego.InstanceFirewallUpdateOptions) ([]linodego.Firewall, error)

UpdateInstanceFirewalls mocks base method.

func (*MockLinodeClient) UpdateObjectStorageBucketAccess added in v0.6.1

func (m *MockLinodeClient) UpdateObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID, label string, opts linodego.ObjectStorageBucketUpdateAccessOptions) error

UpdateObjectStorageBucketAccess mocks base method.

func (*MockLinodeClient) UpdatePlacementGroup added in v0.6.0

UpdatePlacementGroup mocks base method.

func (*MockLinodeClient) UpdateVPC added in v0.10.8

func (m *MockLinodeClient) UpdateVPC(ctx context.Context, vpcID int, opts linodego.VPCUpdateOptions) (*linodego.VPC, error)

UpdateVPC mocks base method.

type MockLinodeClientMockRecorder added in v0.3.0

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

MockLinodeClientMockRecorder is the mock recorder for MockLinodeClient.

func (*MockLinodeClientMockRecorder) AssignPlacementGroupLinodes added in v0.6.0

func (mr *MockLinodeClientMockRecorder) AssignPlacementGroupLinodes(ctx, id, options any) *gomock.Call

AssignPlacementGroupLinodes indicates an expected call of AssignPlacementGroupLinodes.

func (*MockLinodeClientMockRecorder) BootInstance added in v0.3.0

func (mr *MockLinodeClientMockRecorder) BootInstance(ctx, linodeID, copts any) *gomock.Call

BootInstance indicates an expected call of BootInstance.

func (*MockLinodeClientMockRecorder) CreateDomainRecord added in v0.4.0

func (mr *MockLinodeClientMockRecorder) CreateDomainRecord(ctx, domainID, recordReq any) *gomock.Call

CreateDomainRecord indicates an expected call of CreateDomainRecord.

func (*MockLinodeClientMockRecorder) CreateFirewall added in v0.6.1

func (mr *MockLinodeClientMockRecorder) CreateFirewall(ctx, opts any) *gomock.Call

CreateFirewall indicates an expected call of CreateFirewall.

func (*MockLinodeClientMockRecorder) CreateFirewallDevice added in v0.10.12

func (mr *MockLinodeClientMockRecorder) CreateFirewallDevice(ctx, firewallID, opts any) *gomock.Call

CreateFirewallDevice indicates an expected call of CreateFirewallDevice.

func (*MockLinodeClientMockRecorder) CreateInstance added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateInstance(ctx, opts any) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockLinodeClientMockRecorder) CreateInstanceDisk added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateInstanceDisk(ctx, linodeID, opts any) *gomock.Call

CreateInstanceDisk indicates an expected call of CreateInstanceDisk.

func (*MockLinodeClientMockRecorder) CreateNodeBalancer added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateNodeBalancer(ctx, opts any) *gomock.Call

CreateNodeBalancer indicates an expected call of CreateNodeBalancer.

func (*MockLinodeClientMockRecorder) CreateNodeBalancerConfig added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateNodeBalancerConfig(ctx, nodebalancerID, opts any) *gomock.Call

CreateNodeBalancerConfig indicates an expected call of CreateNodeBalancerConfig.

func (*MockLinodeClientMockRecorder) CreateNodeBalancerNode added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateNodeBalancerNode(ctx, nodebalancerID, configID, opts any) *gomock.Call

CreateNodeBalancerNode indicates an expected call of CreateNodeBalancerNode.

func (*MockLinodeClientMockRecorder) CreateObjectStorageBucket added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateObjectStorageBucket(ctx, opts any) *gomock.Call

CreateObjectStorageBucket indicates an expected call of CreateObjectStorageBucket.

func (*MockLinodeClientMockRecorder) CreateObjectStorageKey added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateObjectStorageKey(ctx, opts any) *gomock.Call

CreateObjectStorageKey indicates an expected call of CreateObjectStorageKey.

func (*MockLinodeClientMockRecorder) CreatePlacementGroup added in v0.6.0

func (mr *MockLinodeClientMockRecorder) CreatePlacementGroup(ctx, opts any) *gomock.Call

CreatePlacementGroup indicates an expected call of CreatePlacementGroup.

func (*MockLinodeClientMockRecorder) CreateVPC added in v0.3.0

func (mr *MockLinodeClientMockRecorder) CreateVPC(ctx, opts any) *gomock.Call

CreateVPC indicates an expected call of CreateVPC.

func (*MockLinodeClientMockRecorder) CreateVPCSubnet added in v0.9.2

func (mr *MockLinodeClientMockRecorder) CreateVPCSubnet(ctx, opts, vpcID any) *gomock.Call

CreateVPCSubnet indicates an expected call of CreateVPCSubnet.

func (*MockLinodeClientMockRecorder) DeleteDomainRecord added in v0.4.0

func (mr *MockLinodeClientMockRecorder) DeleteDomainRecord(ctx, domainID, domainRecordID any) *gomock.Call

DeleteDomainRecord indicates an expected call of DeleteDomainRecord.

func (*MockLinodeClientMockRecorder) DeleteFirewall added in v0.6.1

func (mr *MockLinodeClientMockRecorder) DeleteFirewall(ctx, firewallID any) *gomock.Call

DeleteFirewall indicates an expected call of DeleteFirewall.

func (*MockLinodeClientMockRecorder) DeleteFirewallDevice added in v0.6.1

func (mr *MockLinodeClientMockRecorder) DeleteFirewallDevice(ctx, firewallID, deviceID any) *gomock.Call

DeleteFirewallDevice indicates an expected call of DeleteFirewallDevice.

func (*MockLinodeClientMockRecorder) DeleteInstance added in v0.3.0

func (mr *MockLinodeClientMockRecorder) DeleteInstance(ctx, linodeID any) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockLinodeClientMockRecorder) DeleteNodeBalancer added in v0.3.0

func (mr *MockLinodeClientMockRecorder) DeleteNodeBalancer(ctx, nodebalancerID any) *gomock.Call

DeleteNodeBalancer indicates an expected call of DeleteNodeBalancer.

func (*MockLinodeClientMockRecorder) DeleteNodeBalancerNode added in v0.3.0

func (mr *MockLinodeClientMockRecorder) DeleteNodeBalancerNode(ctx, nodebalancerID, configID, nodeID any) *gomock.Call

DeleteNodeBalancerNode indicates an expected call of DeleteNodeBalancerNode.

func (*MockLinodeClientMockRecorder) DeleteObjectStorageBucket added in v0.9.2

func (mr *MockLinodeClientMockRecorder) DeleteObjectStorageBucket(ctx, regionID, label any) *gomock.Call

DeleteObjectStorageBucket indicates an expected call of DeleteObjectStorageBucket.

func (*MockLinodeClientMockRecorder) DeleteObjectStorageKey added in v0.3.0

func (mr *MockLinodeClientMockRecorder) DeleteObjectStorageKey(ctx, keyID any) *gomock.Call

DeleteObjectStorageKey indicates an expected call of DeleteObjectStorageKey.

func (*MockLinodeClientMockRecorder) DeletePlacementGroup added in v0.6.0

func (mr *MockLinodeClientMockRecorder) DeletePlacementGroup(ctx, id any) *gomock.Call

DeletePlacementGroup indicates an expected call of DeletePlacementGroup.

func (*MockLinodeClientMockRecorder) DeleteVPC added in v0.3.0

func (mr *MockLinodeClientMockRecorder) DeleteVPC(ctx, vpcID any) *gomock.Call

DeleteVPC indicates an expected call of DeleteVPC.

func (*MockLinodeClientMockRecorder) DeleteVPCSubnet added in v0.9.2

func (mr *MockLinodeClientMockRecorder) DeleteVPCSubnet(ctx, vpcID, subnetID any) *gomock.Call

DeleteVPCSubnet indicates an expected call of DeleteVPCSubnet.

func (*MockLinodeClientMockRecorder) GetFirewall added in v0.6.1

func (mr *MockLinodeClientMockRecorder) GetFirewall(ctx, firewallID any) *gomock.Call

GetFirewall indicates an expected call of GetFirewall.

func (*MockLinodeClientMockRecorder) GetImage added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetImage(ctx, imageID any) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockLinodeClientMockRecorder) GetInstance added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetInstance(ctx, linodeID any) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockLinodeClientMockRecorder) GetInstanceIPAddresses added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetInstanceIPAddresses(ctx, linodeID any) *gomock.Call

GetInstanceIPAddresses indicates an expected call of GetInstanceIPAddresses.

func (*MockLinodeClientMockRecorder) GetNodeBalancer added in v0.5.0

func (mr *MockLinodeClientMockRecorder) GetNodeBalancer(ctx, nodebalancerID any) *gomock.Call

GetNodeBalancer indicates an expected call of GetNodeBalancer.

func (*MockLinodeClientMockRecorder) GetNodeBalancerConfig added in v0.5.0

func (mr *MockLinodeClientMockRecorder) GetNodeBalancerConfig(ctx, nodebalancerID, configID any) *gomock.Call

GetNodeBalancerConfig indicates an expected call of GetNodeBalancerConfig.

func (*MockLinodeClientMockRecorder) GetObjectStorageBucket added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetObjectStorageBucket(ctx, regionID, label any) *gomock.Call

GetObjectStorageBucket indicates an expected call of GetObjectStorageBucket.

func (*MockLinodeClientMockRecorder) GetObjectStorageBucketAccess added in v0.6.1

func (mr *MockLinodeClientMockRecorder) GetObjectStorageBucketAccess(ctx, clusterOrRegionID, label any) *gomock.Call

GetObjectStorageBucketAccess indicates an expected call of GetObjectStorageBucketAccess.

func (*MockLinodeClientMockRecorder) GetObjectStorageKey added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetObjectStorageKey(ctx, keyID any) *gomock.Call

GetObjectStorageKey indicates an expected call of GetObjectStorageKey.

func (*MockLinodeClientMockRecorder) GetPlacementGroup added in v0.6.0

func (mr *MockLinodeClientMockRecorder) GetPlacementGroup(ctx, id any) *gomock.Call

GetPlacementGroup indicates an expected call of GetPlacementGroup.

func (*MockLinodeClientMockRecorder) GetRegion added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetRegion(ctx, regionID any) *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockLinodeClientMockRecorder) GetType added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetType(ctx, typeID any) *gomock.Call

GetType indicates an expected call of GetType.

func (*MockLinodeClientMockRecorder) GetVPC added in v0.3.0

func (mr *MockLinodeClientMockRecorder) GetVPC(ctx, vpcID any) *gomock.Call

GetVPC indicates an expected call of GetVPC.

func (*MockLinodeClientMockRecorder) ListDomainRecords added in v0.4.0

func (mr *MockLinodeClientMockRecorder) ListDomainRecords(ctx, domainID, opts any) *gomock.Call

ListDomainRecords indicates an expected call of ListDomainRecords.

func (*MockLinodeClientMockRecorder) ListDomains added in v0.4.0

func (mr *MockLinodeClientMockRecorder) ListDomains(ctx, opts any) *gomock.Call

ListDomains indicates an expected call of ListDomains.

func (*MockLinodeClientMockRecorder) ListFirewallDevices added in v0.10.12

func (mr *MockLinodeClientMockRecorder) ListFirewallDevices(ctx, firewallID, options any) *gomock.Call

ListFirewallDevices indicates an expected call of ListFirewallDevices.

func (*MockLinodeClientMockRecorder) ListFirewalls added in v0.10.2

func (mr *MockLinodeClientMockRecorder) ListFirewalls(ctx, options any) *gomock.Call

ListFirewalls indicates an expected call of ListFirewalls.

func (*MockLinodeClientMockRecorder) ListInstanceConfigs added in v0.3.0

func (mr *MockLinodeClientMockRecorder) ListInstanceConfigs(ctx, linodeID, opts any) *gomock.Call

ListInstanceConfigs indicates an expected call of ListInstanceConfigs.

func (*MockLinodeClientMockRecorder) ListInstanceFirewalls added in v0.9.7

func (mr *MockLinodeClientMockRecorder) ListInstanceFirewalls(ctx, linodeID, opts any) *gomock.Call

ListInstanceFirewalls indicates an expected call of ListInstanceFirewalls.

func (*MockLinodeClientMockRecorder) ListInstances added in v0.3.0

func (mr *MockLinodeClientMockRecorder) ListInstances(ctx, opts any) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockLinodeClientMockRecorder) ListInterfaceFirewalls added in v0.9.7

func (mr *MockLinodeClientMockRecorder) ListInterfaceFirewalls(ctx, linodeID, interfaceID, opts any) *gomock.Call

ListInterfaceFirewalls indicates an expected call of ListInterfaceFirewalls.

func (*MockLinodeClientMockRecorder) ListInterfaces added in v0.9.7

func (mr *MockLinodeClientMockRecorder) ListInterfaces(ctx, linodeID, opts any) *gomock.Call

ListInterfaces indicates an expected call of ListInterfaces.

func (*MockLinodeClientMockRecorder) ListNodeBalancerNodes added in v0.6.1

func (mr *MockLinodeClientMockRecorder) ListNodeBalancerNodes(ctx, nodebalancerID, configID, opts any) *gomock.Call

ListNodeBalancerNodes indicates an expected call of ListNodeBalancerNodes.

func (*MockLinodeClientMockRecorder) ListNodeBalancers added in v0.3.0

func (mr *MockLinodeClientMockRecorder) ListNodeBalancers(ctx, opts any) *gomock.Call

ListNodeBalancers indicates an expected call of ListNodeBalancers.

func (*MockLinodeClientMockRecorder) ListPlacementGroups added in v0.6.0

func (mr *MockLinodeClientMockRecorder) ListPlacementGroups(ctx, options any) *gomock.Call

ListPlacementGroups indicates an expected call of ListPlacementGroups.

func (*MockLinodeClientMockRecorder) ListVPCs added in v0.3.0

func (mr *MockLinodeClientMockRecorder) ListVPCs(ctx, opts any) *gomock.Call

ListVPCs indicates an expected call of ListVPCs.

func (*MockLinodeClientMockRecorder) OnAfterResponse added in v0.6.4

func (mr *MockLinodeClientMockRecorder) OnAfterResponse(m any) *gomock.Call

OnAfterResponse indicates an expected call of OnAfterResponse.

func (*MockLinodeClientMockRecorder) SetToken added in v0.6.3

func (mr *MockLinodeClientMockRecorder) SetToken(token any) *gomock.Call

SetToken indicates an expected call of SetToken.

func (*MockLinodeClientMockRecorder) UnassignPlacementGroupLinodes added in v0.6.0

func (mr *MockLinodeClientMockRecorder) UnassignPlacementGroupLinodes(ctx, id, options any) *gomock.Call

UnassignPlacementGroupLinodes indicates an expected call of UnassignPlacementGroupLinodes.

func (*MockLinodeClientMockRecorder) UpdateDomainRecord added in v0.4.0

func (mr *MockLinodeClientMockRecorder) UpdateDomainRecord(ctx, domainID, domainRecordID, recordReq any) *gomock.Call

UpdateDomainRecord indicates an expected call of UpdateDomainRecord.

func (*MockLinodeClientMockRecorder) UpdateFirewall added in v0.6.1

func (mr *MockLinodeClientMockRecorder) UpdateFirewall(ctx, firewallID, opts any) *gomock.Call

UpdateFirewall indicates an expected call of UpdateFirewall.

func (*MockLinodeClientMockRecorder) UpdateFirewallRules added in v0.6.1

func (mr *MockLinodeClientMockRecorder) UpdateFirewallRules(ctx, firewallID, rules any) *gomock.Call

UpdateFirewallRules indicates an expected call of UpdateFirewallRules.

func (*MockLinodeClientMockRecorder) UpdateInstance added in v0.9.0

func (mr *MockLinodeClientMockRecorder) UpdateInstance(ctx, linodeId, opts any) *gomock.Call

UpdateInstance indicates an expected call of UpdateInstance.

func (*MockLinodeClientMockRecorder) UpdateInstanceConfig added in v0.3.0

func (mr *MockLinodeClientMockRecorder) UpdateInstanceConfig(ctx, linodeID, configID, opts any) *gomock.Call

UpdateInstanceConfig indicates an expected call of UpdateInstanceConfig.

func (*MockLinodeClientMockRecorder) UpdateInstanceFirewalls added in v0.9.7

func (mr *MockLinodeClientMockRecorder) UpdateInstanceFirewalls(ctx, linodeID, opts any) *gomock.Call

UpdateInstanceFirewalls indicates an expected call of UpdateInstanceFirewalls.

func (*MockLinodeClientMockRecorder) UpdateObjectStorageBucketAccess added in v0.6.1

func (mr *MockLinodeClientMockRecorder) UpdateObjectStorageBucketAccess(ctx, clusterOrRegionID, label, opts any) *gomock.Call

UpdateObjectStorageBucketAccess indicates an expected call of UpdateObjectStorageBucketAccess.

func (*MockLinodeClientMockRecorder) UpdatePlacementGroup added in v0.6.0

func (mr *MockLinodeClientMockRecorder) UpdatePlacementGroup(ctx, id, options any) *gomock.Call

UpdatePlacementGroup indicates an expected call of UpdatePlacementGroup.

func (*MockLinodeClientMockRecorder) UpdateVPC added in v0.10.8

func (mr *MockLinodeClientMockRecorder) UpdateVPC(ctx, vpcID, opts any) *gomock.Call

UpdateVPC indicates an expected call of UpdateVPC.

type MockLinodeDNSClient added in v0.4.0

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

MockLinodeDNSClient is a mock of LinodeDNSClient interface.

func NewMockLinodeDNSClient added in v0.4.0

func NewMockLinodeDNSClient(ctrl *gomock.Controller) *MockLinodeDNSClient

NewMockLinodeDNSClient creates a new mock instance.

func (*MockLinodeDNSClient) CreateDomainRecord added in v0.4.0

func (m *MockLinodeDNSClient) CreateDomainRecord(ctx context.Context, domainID int, recordReq linodego.DomainRecordCreateOptions) (*linodego.DomainRecord, error)

CreateDomainRecord mocks base method.

func (*MockLinodeDNSClient) DeleteDomainRecord added in v0.4.0

func (m *MockLinodeDNSClient) DeleteDomainRecord(ctx context.Context, domainID, domainRecordID int) error

DeleteDomainRecord mocks base method.

func (*MockLinodeDNSClient) EXPECT added in v0.4.0

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

func (*MockLinodeDNSClient) ListDomainRecords added in v0.4.0

func (m *MockLinodeDNSClient) ListDomainRecords(ctx context.Context, domainID int, opts *linodego.ListOptions) ([]linodego.DomainRecord, error)

ListDomainRecords mocks base method.

func (*MockLinodeDNSClient) ListDomains added in v0.4.0

func (m *MockLinodeDNSClient) ListDomains(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Domain, error)

ListDomains mocks base method.

func (*MockLinodeDNSClient) UpdateDomainRecord added in v0.4.0

func (m *MockLinodeDNSClient) UpdateDomainRecord(ctx context.Context, domainID, domainRecordID int, recordReq linodego.DomainRecordUpdateOptions) (*linodego.DomainRecord, error)

UpdateDomainRecord mocks base method.

type MockLinodeDNSClientMockRecorder added in v0.4.0

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

MockLinodeDNSClientMockRecorder is the mock recorder for MockLinodeDNSClient.

func (*MockLinodeDNSClientMockRecorder) CreateDomainRecord added in v0.4.0

func (mr *MockLinodeDNSClientMockRecorder) CreateDomainRecord(ctx, domainID, recordReq any) *gomock.Call

CreateDomainRecord indicates an expected call of CreateDomainRecord.

func (*MockLinodeDNSClientMockRecorder) DeleteDomainRecord added in v0.4.0

func (mr *MockLinodeDNSClientMockRecorder) DeleteDomainRecord(ctx, domainID, domainRecordID any) *gomock.Call

DeleteDomainRecord indicates an expected call of DeleteDomainRecord.

func (*MockLinodeDNSClientMockRecorder) ListDomainRecords added in v0.4.0

func (mr *MockLinodeDNSClientMockRecorder) ListDomainRecords(ctx, domainID, opts any) *gomock.Call

ListDomainRecords indicates an expected call of ListDomainRecords.

func (*MockLinodeDNSClientMockRecorder) ListDomains added in v0.4.0

func (mr *MockLinodeDNSClientMockRecorder) ListDomains(ctx, opts any) *gomock.Call

ListDomains indicates an expected call of ListDomains.

func (*MockLinodeDNSClientMockRecorder) UpdateDomainRecord added in v0.4.0

func (mr *MockLinodeDNSClientMockRecorder) UpdateDomainRecord(ctx, domainID, domainRecordID, recordReq any) *gomock.Call

UpdateDomainRecord indicates an expected call of UpdateDomainRecord.

type MockLinodeFirewallClient added in v0.6.1

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

MockLinodeFirewallClient is a mock of LinodeFirewallClient interface.

func NewMockLinodeFirewallClient added in v0.6.1

func NewMockLinodeFirewallClient(ctrl *gomock.Controller) *MockLinodeFirewallClient

NewMockLinodeFirewallClient creates a new mock instance.

func (*MockLinodeFirewallClient) CreateFirewall added in v0.6.1

CreateFirewall mocks base method.

func (*MockLinodeFirewallClient) CreateFirewallDevice added in v0.10.12

CreateFirewallDevice mocks base method.

func (*MockLinodeFirewallClient) DeleteFirewall added in v0.6.1

func (m *MockLinodeFirewallClient) DeleteFirewall(ctx context.Context, firewallID int) error

DeleteFirewall mocks base method.

func (*MockLinodeFirewallClient) DeleteFirewallDevice added in v0.6.1

func (m *MockLinodeFirewallClient) DeleteFirewallDevice(ctx context.Context, firewallID, deviceID int) error

DeleteFirewallDevice mocks base method.

func (*MockLinodeFirewallClient) EXPECT added in v0.6.1

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

func (*MockLinodeFirewallClient) GetFirewall added in v0.6.1

func (m *MockLinodeFirewallClient) GetFirewall(ctx context.Context, firewallID int) (*linodego.Firewall, error)

GetFirewall mocks base method.

func (*MockLinodeFirewallClient) ListFirewallDevices added in v0.10.12

func (m *MockLinodeFirewallClient) ListFirewallDevices(ctx context.Context, firewallID int, options *linodego.ListOptions) ([]linodego.FirewallDevice, error)

ListFirewallDevices mocks base method.

func (*MockLinodeFirewallClient) ListFirewalls added in v0.10.2

func (m *MockLinodeFirewallClient) ListFirewalls(ctx context.Context, options *linodego.ListOptions) ([]linodego.Firewall, error)

ListFirewalls mocks base method.

func (*MockLinodeFirewallClient) UpdateFirewall added in v0.6.1

func (m *MockLinodeFirewallClient) UpdateFirewall(ctx context.Context, firewallID int, opts linodego.FirewallUpdateOptions) (*linodego.Firewall, error)

UpdateFirewall mocks base method.

func (*MockLinodeFirewallClient) UpdateFirewallRules added in v0.6.1

func (m *MockLinodeFirewallClient) UpdateFirewallRules(ctx context.Context, firewallID int, rules linodego.FirewallRulesUpdateOptions) (*linodego.FirewallRules, error)

UpdateFirewallRules mocks base method.

type MockLinodeFirewallClientMockRecorder added in v0.6.1

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

MockLinodeFirewallClientMockRecorder is the mock recorder for MockLinodeFirewallClient.

func (*MockLinodeFirewallClientMockRecorder) CreateFirewall added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) CreateFirewall(ctx, opts any) *gomock.Call

CreateFirewall indicates an expected call of CreateFirewall.

func (*MockLinodeFirewallClientMockRecorder) CreateFirewallDevice added in v0.10.12

func (mr *MockLinodeFirewallClientMockRecorder) CreateFirewallDevice(ctx, firewallID, opts any) *gomock.Call

CreateFirewallDevice indicates an expected call of CreateFirewallDevice.

func (*MockLinodeFirewallClientMockRecorder) DeleteFirewall added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) DeleteFirewall(ctx, firewallID any) *gomock.Call

DeleteFirewall indicates an expected call of DeleteFirewall.

func (*MockLinodeFirewallClientMockRecorder) DeleteFirewallDevice added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) DeleteFirewallDevice(ctx, firewallID, deviceID any) *gomock.Call

DeleteFirewallDevice indicates an expected call of DeleteFirewallDevice.

func (*MockLinodeFirewallClientMockRecorder) GetFirewall added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) GetFirewall(ctx, firewallID any) *gomock.Call

GetFirewall indicates an expected call of GetFirewall.

func (*MockLinodeFirewallClientMockRecorder) ListFirewallDevices added in v0.10.12

func (mr *MockLinodeFirewallClientMockRecorder) ListFirewallDevices(ctx, firewallID, options any) *gomock.Call

ListFirewallDevices indicates an expected call of ListFirewallDevices.

func (*MockLinodeFirewallClientMockRecorder) ListFirewalls added in v0.10.2

func (mr *MockLinodeFirewallClientMockRecorder) ListFirewalls(ctx, options any) *gomock.Call

ListFirewalls indicates an expected call of ListFirewalls.

func (*MockLinodeFirewallClientMockRecorder) UpdateFirewall added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) UpdateFirewall(ctx, firewallID, opts any) *gomock.Call

UpdateFirewall indicates an expected call of UpdateFirewall.

func (*MockLinodeFirewallClientMockRecorder) UpdateFirewallRules added in v0.6.1

func (mr *MockLinodeFirewallClientMockRecorder) UpdateFirewallRules(ctx, firewallID, rules any) *gomock.Call

UpdateFirewallRules indicates an expected call of UpdateFirewallRules.

type MockLinodeInstanceClient

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

MockLinodeInstanceClient is a mock of LinodeInstanceClient interface.

func NewMockLinodeInstanceClient

func NewMockLinodeInstanceClient(ctrl *gomock.Controller) *MockLinodeInstanceClient

NewMockLinodeInstanceClient creates a new mock instance.

func (*MockLinodeInstanceClient) BootInstance

func (m *MockLinodeInstanceClient) BootInstance(ctx context.Context, linodeID int, copts linodego.InstanceBootOptions) error

BootInstance mocks base method.

func (*MockLinodeInstanceClient) CreateInstance

CreateInstance mocks base method.

func (*MockLinodeInstanceClient) CreateInstanceDisk

CreateInstanceDisk mocks base method.

func (*MockLinodeInstanceClient) DeleteInstance

func (m *MockLinodeInstanceClient) DeleteInstance(ctx context.Context, linodeID int) error

DeleteInstance mocks base method.

func (*MockLinodeInstanceClient) EXPECT

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

func (*MockLinodeInstanceClient) GetImage

func (m *MockLinodeInstanceClient) GetImage(ctx context.Context, imageID string) (*linodego.Image, error)

GetImage mocks base method.

func (*MockLinodeInstanceClient) GetInstance

func (m *MockLinodeInstanceClient) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)

GetInstance mocks base method.

func (*MockLinodeInstanceClient) GetInstanceIPAddresses

func (m *MockLinodeInstanceClient) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*linodego.InstanceIPAddressResponse, error)

GetInstanceIPAddresses mocks base method.

func (*MockLinodeInstanceClient) GetRegion

func (m *MockLinodeInstanceClient) GetRegion(ctx context.Context, regionID string) (*linodego.Region, error)

GetRegion mocks base method.

func (*MockLinodeInstanceClient) GetType added in v0.3.0

GetType mocks base method.

func (*MockLinodeInstanceClient) ListInstanceConfigs

func (m *MockLinodeInstanceClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)

ListInstanceConfigs mocks base method.

func (*MockLinodeInstanceClient) ListInstanceFirewalls added in v0.9.7

func (m *MockLinodeInstanceClient) ListInstanceFirewalls(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.Firewall, error)

ListInstanceFirewalls mocks base method.

func (*MockLinodeInstanceClient) ListInstances

ListInstances mocks base method.

func (*MockLinodeInstanceClient) UpdateInstance added in v0.9.0

UpdateInstance mocks base method.

func (*MockLinodeInstanceClient) UpdateInstanceConfig

func (m *MockLinodeInstanceClient) UpdateInstanceConfig(ctx context.Context, linodeID, configID int, opts linodego.InstanceConfigUpdateOptions) (*linodego.InstanceConfig, error)

UpdateInstanceConfig mocks base method.

func (*MockLinodeInstanceClient) UpdateInstanceFirewalls added in v0.9.7

func (m *MockLinodeInstanceClient) UpdateInstanceFirewalls(ctx context.Context, linodeID int, opts linodego.InstanceFirewallUpdateOptions) ([]linodego.Firewall, error)

UpdateInstanceFirewalls mocks base method.

type MockLinodeInstanceClientMockRecorder

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

MockLinodeInstanceClientMockRecorder is the mock recorder for MockLinodeInstanceClient.

func (*MockLinodeInstanceClientMockRecorder) BootInstance

func (mr *MockLinodeInstanceClientMockRecorder) BootInstance(ctx, linodeID, copts any) *gomock.Call

BootInstance indicates an expected call of BootInstance.

func (*MockLinodeInstanceClientMockRecorder) CreateInstance

func (mr *MockLinodeInstanceClientMockRecorder) CreateInstance(ctx, opts any) *gomock.Call

CreateInstance indicates an expected call of CreateInstance.

func (*MockLinodeInstanceClientMockRecorder) CreateInstanceDisk

func (mr *MockLinodeInstanceClientMockRecorder) CreateInstanceDisk(ctx, linodeID, opts any) *gomock.Call

CreateInstanceDisk indicates an expected call of CreateInstanceDisk.

func (*MockLinodeInstanceClientMockRecorder) DeleteInstance

func (mr *MockLinodeInstanceClientMockRecorder) DeleteInstance(ctx, linodeID any) *gomock.Call

DeleteInstance indicates an expected call of DeleteInstance.

func (*MockLinodeInstanceClientMockRecorder) GetImage

func (mr *MockLinodeInstanceClientMockRecorder) GetImage(ctx, imageID any) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockLinodeInstanceClientMockRecorder) GetInstance

func (mr *MockLinodeInstanceClientMockRecorder) GetInstance(ctx, linodeID any) *gomock.Call

GetInstance indicates an expected call of GetInstance.

func (*MockLinodeInstanceClientMockRecorder) GetInstanceIPAddresses

func (mr *MockLinodeInstanceClientMockRecorder) GetInstanceIPAddresses(ctx, linodeID any) *gomock.Call

GetInstanceIPAddresses indicates an expected call of GetInstanceIPAddresses.

func (*MockLinodeInstanceClientMockRecorder) GetRegion

func (mr *MockLinodeInstanceClientMockRecorder) GetRegion(ctx, regionID any) *gomock.Call

GetRegion indicates an expected call of GetRegion.

func (*MockLinodeInstanceClientMockRecorder) GetType added in v0.3.0

func (mr *MockLinodeInstanceClientMockRecorder) GetType(ctx, typeID any) *gomock.Call

GetType indicates an expected call of GetType.

func (*MockLinodeInstanceClientMockRecorder) ListInstanceConfigs

func (mr *MockLinodeInstanceClientMockRecorder) ListInstanceConfigs(ctx, linodeID, opts any) *gomock.Call

ListInstanceConfigs indicates an expected call of ListInstanceConfigs.

func (*MockLinodeInstanceClientMockRecorder) ListInstanceFirewalls added in v0.9.7

func (mr *MockLinodeInstanceClientMockRecorder) ListInstanceFirewalls(ctx, linodeID, opts any) *gomock.Call

ListInstanceFirewalls indicates an expected call of ListInstanceFirewalls.

func (*MockLinodeInstanceClientMockRecorder) ListInstances

func (mr *MockLinodeInstanceClientMockRecorder) ListInstances(ctx, opts any) *gomock.Call

ListInstances indicates an expected call of ListInstances.

func (*MockLinodeInstanceClientMockRecorder) UpdateInstance added in v0.9.0

func (mr *MockLinodeInstanceClientMockRecorder) UpdateInstance(ctx, linodeId, opts any) *gomock.Call

UpdateInstance indicates an expected call of UpdateInstance.

func (*MockLinodeInstanceClientMockRecorder) UpdateInstanceConfig

func (mr *MockLinodeInstanceClientMockRecorder) UpdateInstanceConfig(ctx, linodeID, configID, opts any) *gomock.Call

UpdateInstanceConfig indicates an expected call of UpdateInstanceConfig.

func (*MockLinodeInstanceClientMockRecorder) UpdateInstanceFirewalls added in v0.9.7

func (mr *MockLinodeInstanceClientMockRecorder) UpdateInstanceFirewalls(ctx, linodeID, opts any) *gomock.Call

UpdateInstanceFirewalls indicates an expected call of UpdateInstanceFirewalls.

type MockLinodeInterfacesClient added in v0.9.7

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

MockLinodeInterfacesClient is a mock of LinodeInterfacesClient interface.

func NewMockLinodeInterfacesClient added in v0.9.7

func NewMockLinodeInterfacesClient(ctrl *gomock.Controller) *MockLinodeInterfacesClient

NewMockLinodeInterfacesClient creates a new mock instance.

func (*MockLinodeInterfacesClient) EXPECT added in v0.9.7

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

func (*MockLinodeInterfacesClient) ListInterfaceFirewalls added in v0.9.7

func (m *MockLinodeInterfacesClient) ListInterfaceFirewalls(ctx context.Context, linodeID, interfaceID int, opts *linodego.ListOptions) ([]linodego.Firewall, error)

ListInterfaceFirewalls mocks base method.

func (*MockLinodeInterfacesClient) ListInterfaces added in v0.9.7

func (m *MockLinodeInterfacesClient) ListInterfaces(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.LinodeInterface, error)

ListInterfaces mocks base method.

type MockLinodeInterfacesClientMockRecorder added in v0.9.7

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

MockLinodeInterfacesClientMockRecorder is the mock recorder for MockLinodeInterfacesClient.

func (*MockLinodeInterfacesClientMockRecorder) ListInterfaceFirewalls added in v0.9.7

func (mr *MockLinodeInterfacesClientMockRecorder) ListInterfaceFirewalls(ctx, linodeID, interfaceID, opts any) *gomock.Call

ListInterfaceFirewalls indicates an expected call of ListInterfaceFirewalls.

func (*MockLinodeInterfacesClientMockRecorder) ListInterfaces added in v0.9.7

func (mr *MockLinodeInterfacesClientMockRecorder) ListInterfaces(ctx, linodeID, opts any) *gomock.Call

ListInterfaces indicates an expected call of ListInterfaces.

type MockLinodeNodeBalancerClient

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

MockLinodeNodeBalancerClient is a mock of LinodeNodeBalancerClient interface.

func NewMockLinodeNodeBalancerClient

func NewMockLinodeNodeBalancerClient(ctrl *gomock.Controller) *MockLinodeNodeBalancerClient

NewMockLinodeNodeBalancerClient creates a new mock instance.

func (*MockLinodeNodeBalancerClient) CreateNodeBalancer

CreateNodeBalancer mocks base method.

func (*MockLinodeNodeBalancerClient) CreateNodeBalancerConfig

CreateNodeBalancerConfig mocks base method.

func (*MockLinodeNodeBalancerClient) CreateNodeBalancerNode

func (m *MockLinodeNodeBalancerClient) CreateNodeBalancerNode(ctx context.Context, nodebalancerID, configID int, opts linodego.NodeBalancerNodeCreateOptions) (*linodego.NodeBalancerNode, error)

CreateNodeBalancerNode mocks base method.

func (*MockLinodeNodeBalancerClient) DeleteNodeBalancer

func (m *MockLinodeNodeBalancerClient) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error

DeleteNodeBalancer mocks base method.

func (*MockLinodeNodeBalancerClient) DeleteNodeBalancerNode

func (m *MockLinodeNodeBalancerClient) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID, configID, nodeID int) error

DeleteNodeBalancerNode mocks base method.

func (*MockLinodeNodeBalancerClient) EXPECT

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

func (*MockLinodeNodeBalancerClient) GetNodeBalancer added in v0.5.0

func (m *MockLinodeNodeBalancerClient) GetNodeBalancer(ctx context.Context, nodebalancerID int) (*linodego.NodeBalancer, error)

GetNodeBalancer mocks base method.

func (*MockLinodeNodeBalancerClient) GetNodeBalancerConfig added in v0.5.0

func (m *MockLinodeNodeBalancerClient) GetNodeBalancerConfig(ctx context.Context, nodebalancerID, configID int) (*linodego.NodeBalancerConfig, error)

GetNodeBalancerConfig mocks base method.

func (*MockLinodeNodeBalancerClient) ListNodeBalancerNodes added in v0.6.1

func (m *MockLinodeNodeBalancerClient) ListNodeBalancerNodes(ctx context.Context, nodebalancerID, configID int, opts *linodego.ListOptions) ([]linodego.NodeBalancerNode, error)

ListNodeBalancerNodes mocks base method.

func (*MockLinodeNodeBalancerClient) ListNodeBalancers

ListNodeBalancers mocks base method.

type MockLinodeNodeBalancerClientMockRecorder

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

MockLinodeNodeBalancerClientMockRecorder is the mock recorder for MockLinodeNodeBalancerClient.

func (*MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancer

func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancer(ctx, opts any) *gomock.Call

CreateNodeBalancer indicates an expected call of CreateNodeBalancer.

func (*MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerConfig

func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerConfig(ctx, nodebalancerID, opts any) *gomock.Call

CreateNodeBalancerConfig indicates an expected call of CreateNodeBalancerConfig.

func (*MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerNode

func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerNode(ctx, nodebalancerID, configID, opts any) *gomock.Call

CreateNodeBalancerNode indicates an expected call of CreateNodeBalancerNode.

func (*MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancer

func (mr *MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancer(ctx, nodebalancerID any) *gomock.Call

DeleteNodeBalancer indicates an expected call of DeleteNodeBalancer.

func (*MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancerNode

func (mr *MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancerNode(ctx, nodebalancerID, configID, nodeID any) *gomock.Call

DeleteNodeBalancerNode indicates an expected call of DeleteNodeBalancerNode.

func (*MockLinodeNodeBalancerClientMockRecorder) GetNodeBalancer added in v0.5.0

func (mr *MockLinodeNodeBalancerClientMockRecorder) GetNodeBalancer(ctx, nodebalancerID any) *gomock.Call

GetNodeBalancer indicates an expected call of GetNodeBalancer.

func (*MockLinodeNodeBalancerClientMockRecorder) GetNodeBalancerConfig added in v0.5.0

func (mr *MockLinodeNodeBalancerClientMockRecorder) GetNodeBalancerConfig(ctx, nodebalancerID, configID any) *gomock.Call

GetNodeBalancerConfig indicates an expected call of GetNodeBalancerConfig.

func (*MockLinodeNodeBalancerClientMockRecorder) ListNodeBalancerNodes added in v0.6.1

func (mr *MockLinodeNodeBalancerClientMockRecorder) ListNodeBalancerNodes(ctx, nodebalancerID, configID, opts any) *gomock.Call

ListNodeBalancerNodes indicates an expected call of ListNodeBalancerNodes.

func (*MockLinodeNodeBalancerClientMockRecorder) ListNodeBalancers

func (mr *MockLinodeNodeBalancerClientMockRecorder) ListNodeBalancers(ctx, opts any) *gomock.Call

ListNodeBalancers indicates an expected call of ListNodeBalancers.

type MockLinodeObjectStorageClient

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

MockLinodeObjectStorageClient is a mock of LinodeObjectStorageClient interface.

func NewMockLinodeObjectStorageClient

func NewMockLinodeObjectStorageClient(ctrl *gomock.Controller) *MockLinodeObjectStorageClient

NewMockLinodeObjectStorageClient creates a new mock instance.

func (*MockLinodeObjectStorageClient) CreateObjectStorageBucket

CreateObjectStorageBucket mocks base method.

func (*MockLinodeObjectStorageClient) CreateObjectStorageKey

CreateObjectStorageKey mocks base method.

func (*MockLinodeObjectStorageClient) DeleteObjectStorageBucket added in v0.9.2

func (m *MockLinodeObjectStorageClient) DeleteObjectStorageBucket(ctx context.Context, regionID, label string) error

DeleteObjectStorageBucket mocks base method.

func (*MockLinodeObjectStorageClient) DeleteObjectStorageKey

func (m *MockLinodeObjectStorageClient) DeleteObjectStorageKey(ctx context.Context, keyID int) error

DeleteObjectStorageKey mocks base method.

func (*MockLinodeObjectStorageClient) EXPECT

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

func (*MockLinodeObjectStorageClient) GetObjectStorageBucket

func (m *MockLinodeObjectStorageClient) GetObjectStorageBucket(ctx context.Context, regionID, label string) (*linodego.ObjectStorageBucket, error)

GetObjectStorageBucket mocks base method.

func (*MockLinodeObjectStorageClient) GetObjectStorageBucketAccess added in v0.6.1

func (m *MockLinodeObjectStorageClient) GetObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID, label string) (*linodego.ObjectStorageBucketAccess, error)

GetObjectStorageBucketAccess mocks base method.

func (*MockLinodeObjectStorageClient) GetObjectStorageKey

func (m *MockLinodeObjectStorageClient) GetObjectStorageKey(ctx context.Context, keyID int) (*linodego.ObjectStorageKey, error)

GetObjectStorageKey mocks base method.

func (*MockLinodeObjectStorageClient) UpdateObjectStorageBucketAccess added in v0.6.1

func (m *MockLinodeObjectStorageClient) UpdateObjectStorageBucketAccess(ctx context.Context, clusterOrRegionID, label string, opts linodego.ObjectStorageBucketUpdateAccessOptions) error

UpdateObjectStorageBucketAccess mocks base method.

type MockLinodeObjectStorageClientMockRecorder

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

MockLinodeObjectStorageClientMockRecorder is the mock recorder for MockLinodeObjectStorageClient.

func (*MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageBucket

func (mr *MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageBucket(ctx, opts any) *gomock.Call

CreateObjectStorageBucket indicates an expected call of CreateObjectStorageBucket.

func (*MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageKey

func (mr *MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageKey(ctx, opts any) *gomock.Call

CreateObjectStorageKey indicates an expected call of CreateObjectStorageKey.

func (*MockLinodeObjectStorageClientMockRecorder) DeleteObjectStorageBucket added in v0.9.2

func (mr *MockLinodeObjectStorageClientMockRecorder) DeleteObjectStorageBucket(ctx, regionID, label any) *gomock.Call

DeleteObjectStorageBucket indicates an expected call of DeleteObjectStorageBucket.

func (*MockLinodeObjectStorageClientMockRecorder) DeleteObjectStorageKey

func (mr *MockLinodeObjectStorageClientMockRecorder) DeleteObjectStorageKey(ctx, keyID any) *gomock.Call

DeleteObjectStorageKey indicates an expected call of DeleteObjectStorageKey.

func (*MockLinodeObjectStorageClientMockRecorder) GetObjectStorageBucket

func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageBucket(ctx, regionID, label any) *gomock.Call

GetObjectStorageBucket indicates an expected call of GetObjectStorageBucket.

func (*MockLinodeObjectStorageClientMockRecorder) GetObjectStorageBucketAccess added in v0.6.1

func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageBucketAccess(ctx, clusterOrRegionID, label any) *gomock.Call

GetObjectStorageBucketAccess indicates an expected call of GetObjectStorageBucketAccess.

func (*MockLinodeObjectStorageClientMockRecorder) GetObjectStorageKey

func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageKey(ctx, keyID any) *gomock.Call

GetObjectStorageKey indicates an expected call of GetObjectStorageKey.

func (*MockLinodeObjectStorageClientMockRecorder) UpdateObjectStorageBucketAccess added in v0.6.1

func (mr *MockLinodeObjectStorageClientMockRecorder) UpdateObjectStorageBucketAccess(ctx, clusterOrRegionID, label, opts any) *gomock.Call

UpdateObjectStorageBucketAccess indicates an expected call of UpdateObjectStorageBucketAccess.

type MockLinodePlacementGroupClient added in v0.6.0

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

MockLinodePlacementGroupClient is a mock of LinodePlacementGroupClient interface.

func NewMockLinodePlacementGroupClient added in v0.6.0

func NewMockLinodePlacementGroupClient(ctrl *gomock.Controller) *MockLinodePlacementGroupClient

NewMockLinodePlacementGroupClient creates a new mock instance.

func (*MockLinodePlacementGroupClient) AssignPlacementGroupLinodes added in v0.6.0

AssignPlacementGroupLinodes mocks base method.

func (*MockLinodePlacementGroupClient) CreatePlacementGroup added in v0.6.0

CreatePlacementGroup mocks base method.

func (*MockLinodePlacementGroupClient) DeletePlacementGroup added in v0.6.0

func (m *MockLinodePlacementGroupClient) DeletePlacementGroup(ctx context.Context, id int) error

DeletePlacementGroup mocks base method.

func (*MockLinodePlacementGroupClient) EXPECT added in v0.6.0

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

func (*MockLinodePlacementGroupClient) GetPlacementGroup added in v0.6.0

GetPlacementGroup mocks base method.

func (*MockLinodePlacementGroupClient) ListPlacementGroups added in v0.6.0

ListPlacementGroups mocks base method.

func (*MockLinodePlacementGroupClient) UnassignPlacementGroupLinodes added in v0.6.0

UnassignPlacementGroupLinodes mocks base method.

func (*MockLinodePlacementGroupClient) UpdatePlacementGroup added in v0.6.0

UpdatePlacementGroup mocks base method.

type MockLinodePlacementGroupClientMockRecorder added in v0.6.0

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

MockLinodePlacementGroupClientMockRecorder is the mock recorder for MockLinodePlacementGroupClient.

func (*MockLinodePlacementGroupClientMockRecorder) AssignPlacementGroupLinodes added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) AssignPlacementGroupLinodes(ctx, id, options any) *gomock.Call

AssignPlacementGroupLinodes indicates an expected call of AssignPlacementGroupLinodes.

func (*MockLinodePlacementGroupClientMockRecorder) CreatePlacementGroup added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) CreatePlacementGroup(ctx, opts any) *gomock.Call

CreatePlacementGroup indicates an expected call of CreatePlacementGroup.

func (*MockLinodePlacementGroupClientMockRecorder) DeletePlacementGroup added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) DeletePlacementGroup(ctx, id any) *gomock.Call

DeletePlacementGroup indicates an expected call of DeletePlacementGroup.

func (*MockLinodePlacementGroupClientMockRecorder) GetPlacementGroup added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) GetPlacementGroup(ctx, id any) *gomock.Call

GetPlacementGroup indicates an expected call of GetPlacementGroup.

func (*MockLinodePlacementGroupClientMockRecorder) ListPlacementGroups added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) ListPlacementGroups(ctx, options any) *gomock.Call

ListPlacementGroups indicates an expected call of ListPlacementGroups.

func (*MockLinodePlacementGroupClientMockRecorder) UnassignPlacementGroupLinodes added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) UnassignPlacementGroupLinodes(ctx, id, options any) *gomock.Call

UnassignPlacementGroupLinodes indicates an expected call of UnassignPlacementGroupLinodes.

func (*MockLinodePlacementGroupClientMockRecorder) UpdatePlacementGroup added in v0.6.0

func (mr *MockLinodePlacementGroupClientMockRecorder) UpdatePlacementGroup(ctx, id, options any) *gomock.Call

UpdatePlacementGroup indicates an expected call of UpdatePlacementGroup.

type MockLinodeTokenClient added in v0.6.3

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

MockLinodeTokenClient is a mock of LinodeTokenClient interface.

func NewMockLinodeTokenClient added in v0.6.3

func NewMockLinodeTokenClient(ctrl *gomock.Controller) *MockLinodeTokenClient

NewMockLinodeTokenClient creates a new mock instance.

func (*MockLinodeTokenClient) EXPECT added in v0.6.3

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

func (*MockLinodeTokenClient) SetToken added in v0.6.3

func (m *MockLinodeTokenClient) SetToken(token string) *linodego.Client

SetToken mocks base method.

type MockLinodeTokenClientMockRecorder added in v0.6.3

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

MockLinodeTokenClientMockRecorder is the mock recorder for MockLinodeTokenClient.

func (*MockLinodeTokenClientMockRecorder) SetToken added in v0.6.3

func (mr *MockLinodeTokenClientMockRecorder) SetToken(token any) *gomock.Call

SetToken indicates an expected call of SetToken.

type MockLinodeVPCClient

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

MockLinodeVPCClient is a mock of LinodeVPCClient interface.

func NewMockLinodeVPCClient

func NewMockLinodeVPCClient(ctrl *gomock.Controller) *MockLinodeVPCClient

NewMockLinodeVPCClient creates a new mock instance.

func (*MockLinodeVPCClient) CreateVPC added in v0.2.0

CreateVPC mocks base method.

func (*MockLinodeVPCClient) CreateVPCSubnet added in v0.9.2

CreateVPCSubnet mocks base method.

func (*MockLinodeVPCClient) DeleteVPC added in v0.2.0

func (m *MockLinodeVPCClient) DeleteVPC(ctx context.Context, vpcID int) error

DeleteVPC mocks base method.

func (*MockLinodeVPCClient) DeleteVPCSubnet added in v0.9.2

func (m *MockLinodeVPCClient) DeleteVPCSubnet(ctx context.Context, vpcID, subnetID int) error

DeleteVPCSubnet mocks base method.

func (*MockLinodeVPCClient) EXPECT

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

func (*MockLinodeVPCClient) GetVPC

func (m *MockLinodeVPCClient) GetVPC(ctx context.Context, vpcID int) (*linodego.VPC, error)

GetVPC mocks base method.

func (*MockLinodeVPCClient) ListVPCs added in v0.2.0

ListVPCs mocks base method.

func (*MockLinodeVPCClient) UpdateVPC added in v0.10.8

func (m *MockLinodeVPCClient) UpdateVPC(ctx context.Context, vpcID int, opts linodego.VPCUpdateOptions) (*linodego.VPC, error)

UpdateVPC mocks base method.

type MockLinodeVPCClientMockRecorder

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

MockLinodeVPCClientMockRecorder is the mock recorder for MockLinodeVPCClient.

func (*MockLinodeVPCClientMockRecorder) CreateVPC added in v0.2.0

func (mr *MockLinodeVPCClientMockRecorder) CreateVPC(ctx, opts any) *gomock.Call

CreateVPC indicates an expected call of CreateVPC.

func (*MockLinodeVPCClientMockRecorder) CreateVPCSubnet added in v0.9.2

func (mr *MockLinodeVPCClientMockRecorder) CreateVPCSubnet(ctx, opts, vpcID any) *gomock.Call

CreateVPCSubnet indicates an expected call of CreateVPCSubnet.

func (*MockLinodeVPCClientMockRecorder) DeleteVPC added in v0.2.0

func (mr *MockLinodeVPCClientMockRecorder) DeleteVPC(ctx, vpcID any) *gomock.Call

DeleteVPC indicates an expected call of DeleteVPC.

func (*MockLinodeVPCClientMockRecorder) DeleteVPCSubnet added in v0.9.2

func (mr *MockLinodeVPCClientMockRecorder) DeleteVPCSubnet(ctx, vpcID, subnetID any) *gomock.Call

DeleteVPCSubnet indicates an expected call of DeleteVPCSubnet.

func (*MockLinodeVPCClientMockRecorder) GetVPC

func (mr *MockLinodeVPCClientMockRecorder) GetVPC(ctx, vpcID any) *gomock.Call

GetVPC indicates an expected call of GetVPC.

func (*MockLinodeVPCClientMockRecorder) ListVPCs added in v0.2.0

func (mr *MockLinodeVPCClientMockRecorder) ListVPCs(ctx, opts any) *gomock.Call

ListVPCs indicates an expected call of ListVPCs.

func (*MockLinodeVPCClientMockRecorder) UpdateVPC added in v0.10.8

func (mr *MockLinodeVPCClientMockRecorder) UpdateVPC(ctx, vpcID, opts any) *gomock.Call

UpdateVPC indicates an expected call of UpdateVPC.

type MockS3Client added in v0.8.0

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

MockS3Client is a mock of S3Client interface.

func NewMockS3Client added in v0.8.0

func NewMockS3Client(ctrl *gomock.Controller) *MockS3Client

NewMockS3Client creates a new mock instance.

func (*MockS3Client) DeleteObject added in v0.8.0

func (m *MockS3Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)

DeleteObject mocks base method.

func (*MockS3Client) DeleteObjects added in v0.9.2

func (m *MockS3Client) DeleteObjects(ctx context.Context, params *s3.DeleteObjectsInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectsOutput, error)

DeleteObjects mocks base method.

func (*MockS3Client) EXPECT added in v0.8.0

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

func (*MockS3Client) GetBucketVersioning added in v0.9.2

func (m *MockS3Client) GetBucketVersioning(ctx context.Context, params *s3.GetBucketVersioningInput, optFns ...func(*s3.Options)) (*s3.GetBucketVersioningOutput, error)

GetBucketVersioning mocks base method.

func (*MockS3Client) HeadObject added in v0.8.0

func (m *MockS3Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)

HeadObject mocks base method.

func (*MockS3Client) ListObjectVersions added in v0.9.2

func (m *MockS3Client) ListObjectVersions(ctx context.Context, params *s3.ListObjectVersionsInput, f ...func(*s3.Options)) (*s3.ListObjectVersionsOutput, error)

ListObjectVersions mocks base method.

func (*MockS3Client) ListObjectsV2 added in v0.9.2

func (m *MockS3Client) ListObjectsV2(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)

ListObjectsV2 mocks base method.

func (*MockS3Client) PutObject added in v0.8.0

func (m *MockS3Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)

PutObject mocks base method.

type MockS3ClientMockRecorder added in v0.8.0

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

MockS3ClientMockRecorder is the mock recorder for MockS3Client.

func (*MockS3ClientMockRecorder) DeleteObject added in v0.8.0

func (mr *MockS3ClientMockRecorder) DeleteObject(ctx, params any, optFns ...any) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockS3ClientMockRecorder) DeleteObjects added in v0.9.2

func (mr *MockS3ClientMockRecorder) DeleteObjects(ctx, params any, optFns ...any) *gomock.Call

DeleteObjects indicates an expected call of DeleteObjects.

func (*MockS3ClientMockRecorder) GetBucketVersioning added in v0.9.2

func (mr *MockS3ClientMockRecorder) GetBucketVersioning(ctx, params any, optFns ...any) *gomock.Call

GetBucketVersioning indicates an expected call of GetBucketVersioning.

func (*MockS3ClientMockRecorder) HeadObject added in v0.8.0

func (mr *MockS3ClientMockRecorder) HeadObject(ctx, params any, optFns ...any) *gomock.Call

HeadObject indicates an expected call of HeadObject.

func (*MockS3ClientMockRecorder) ListObjectVersions added in v0.9.2

func (mr *MockS3ClientMockRecorder) ListObjectVersions(ctx, params any, f ...any) *gomock.Call

ListObjectVersions indicates an expected call of ListObjectVersions.

func (*MockS3ClientMockRecorder) ListObjectsV2 added in v0.9.2

func (mr *MockS3ClientMockRecorder) ListObjectsV2(ctx, params any, optFns ...any) *gomock.Call

ListObjectsV2 indicates an expected call of ListObjectsV2.

func (*MockS3ClientMockRecorder) PutObject added in v0.8.0

func (mr *MockS3ClientMockRecorder) PutObject(ctx, params any, optFns ...any) *gomock.Call

PutObject indicates an expected call of PutObject.

type MockS3PresignClient added in v0.8.0

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

MockS3PresignClient is a mock of S3PresignClient interface.

func NewMockS3PresignClient added in v0.8.0

func NewMockS3PresignClient(ctrl *gomock.Controller) *MockS3PresignClient

NewMockS3PresignClient creates a new mock instance.

func (*MockS3PresignClient) EXPECT added in v0.8.0

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

func (*MockS3PresignClient) PresignGetObject added in v0.8.0

func (m *MockS3PresignClient) PresignGetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.PresignOptions)) (*v4.PresignedHTTPRequest, error)

PresignGetObject mocks base method.

type MockS3PresignClientMockRecorder added in v0.8.0

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

MockS3PresignClientMockRecorder is the mock recorder for MockS3PresignClient.

func (*MockS3PresignClientMockRecorder) PresignGetObject added in v0.8.0

func (mr *MockS3PresignClientMockRecorder) PresignGetObject(ctx, params any, optFns ...any) *gomock.Call

PresignGetObject indicates an expected call of PresignGetObject.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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