mock

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 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.RecordBody, arg2 string, arg3 ...bool) error

CreateRecord mocks base method.

func (*MockAkamClient) DeleteRecord added in v0.6.0

func (m *MockAkamClient) DeleteRecord(arg0 context.Context, arg1 *dns.RecordBody, arg2 string, arg3 ...bool) 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

func (m *MockAkamClient) GetRecord(arg0 context.Context, arg1, arg2, arg3 string) (*dns.RecordBody, error)

GetRecord mocks base method.

func (*MockAkamClient) UpdateRecord added in v0.6.0

func (m *MockAkamClient) UpdateRecord(arg0 context.Context, arg1 *dns.RecordBody, arg2 string, arg3 ...bool) 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, arg2 any, arg3 ...any) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockAkamClientMockRecorder) DeleteRecord added in v0.6.0

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

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockAkamClientMockRecorder) GetRecord added in v0.6.0

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

GetRecord indicates an expected call of GetRecord.

func (*MockAkamClientMockRecorder) UpdateRecord added in v0.6.0

func (mr *MockAkamClientMockRecorder) UpdateRecord(arg0, arg1, arg2 any, arg3 ...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.RecordBody, arg2 string, arg3 ...bool) error

CreateRecord mocks base method.

func (*MockAkamEdgeDNSClient) DeleteRecord added in v0.6.0

func (m *MockAkamEdgeDNSClient) DeleteRecord(arg0 context.Context, arg1 *dns.RecordBody, arg2 string, arg3 ...bool) 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

func (m *MockAkamEdgeDNSClient) GetRecord(arg0 context.Context, arg1, arg2, arg3 string) (*dns.RecordBody, error)

GetRecord mocks base method.

func (*MockAkamEdgeDNSClient) UpdateRecord added in v0.6.0

func (m *MockAkamEdgeDNSClient) UpdateRecord(arg0 context.Context, arg1 *dns.RecordBody, arg2 string, arg3 ...bool) 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, arg2 any, arg3 ...any) *gomock.Call

CreateRecord indicates an expected call of CreateRecord.

func (*MockAkamEdgeDNSClientMockRecorder) DeleteRecord added in v0.6.0

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

DeleteRecord indicates an expected call of DeleteRecord.

func (*MockAkamEdgeDNSClientMockRecorder) GetRecord added in v0.6.0

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

GetRecord indicates an expected call of GetRecord.

func (*MockAkamEdgeDNSClientMockRecorder) UpdateRecord added in v0.6.0

func (mr *MockAkamEdgeDNSClientMockRecorder) UpdateRecord(arg0, arg1, arg2 any, arg3 ...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) 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) 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, configID int) 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) 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) CreateStackscript added in v0.3.0

CreateStackscript mocks base method.

func (*MockLinodeClient) CreateVPC added in v0.3.0

CreateVPC 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) 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) 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) GetFirewallDevice added in v0.6.1

func (m *MockLinodeClient) GetFirewallDevice(ctx context.Context, firewallID, deviceID int) (*linodego.FirewallDevice, error)

GetFirewallDevice mocks base method.

func (*MockLinodeClient) GetFirewallRules added in v0.6.1

func (m *MockLinodeClient) GetFirewallRules(ctx context.Context, firewallID int) (*linodego.FirewallRuleSet, error)

GetFirewallRules 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) GetInstanceDisk added in v0.3.0

func (m *MockLinodeClient) GetInstanceDisk(ctx context.Context, linodeID, diskID int) (*linodego.InstanceDisk, error)

GetInstanceDisk 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) 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) 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) 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) 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) ListStackscripts added in v0.3.0

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

ListStackscripts 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(*resty.Response) error)

OnAfterResponse mocks base method.

func (*MockLinodeClient) ResizeInstanceDisk added in v0.3.0

func (m *MockLinodeClient) ResizeInstanceDisk(ctx context.Context, linodeID, diskID, size int) error

ResizeInstanceDisk 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.FirewallRuleSet) (*linodego.FirewallRuleSet, error)

UpdateFirewallRules 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) 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.

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, configID 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) 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) CreateStackscript added in v0.3.0

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

CreateStackscript indicates an expected call of CreateStackscript.

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) 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) 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) GetFirewall added in v0.6.1

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

GetFirewall indicates an expected call of GetFirewall.

func (*MockLinodeClientMockRecorder) GetFirewallDevice added in v0.6.1

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

GetFirewallDevice indicates an expected call of GetFirewallDevice.

func (*MockLinodeClientMockRecorder) GetFirewallRules added in v0.6.1

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

GetFirewallRules indicates an expected call of GetFirewallRules.

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) GetInstanceDisk added in v0.3.0

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

GetInstanceDisk indicates an expected call of GetInstanceDisk.

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) 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) ListInstances added in v0.3.0

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

ListInstances indicates an expected call of ListInstances.

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) ListPlacementGroups added in v0.6.0

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

ListPlacementGroups indicates an expected call of ListPlacementGroups.

func (*MockLinodeClientMockRecorder) ListStackscripts added in v0.3.0

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

ListStackscripts indicates an expected call of ListStackscripts.

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) ResizeInstanceDisk added in v0.3.0

func (mr *MockLinodeClientMockRecorder) ResizeInstanceDisk(ctx, linodeID, diskID, size any) *gomock.Call

ResizeInstanceDisk indicates an expected call of ResizeInstanceDisk.

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) 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) 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.

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) 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) GetFirewallDevice added in v0.6.1

func (m *MockLinodeFirewallClient) GetFirewallDevice(ctx context.Context, firewallID, deviceID int) (*linodego.FirewallDevice, error)

GetFirewallDevice mocks base method.

func (*MockLinodeFirewallClient) GetFirewallRules added in v0.6.1

func (m *MockLinodeFirewallClient) GetFirewallRules(ctx context.Context, firewallID int) (*linodego.FirewallRuleSet, error)

GetFirewallRules 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.FirewallRuleSet) (*linodego.FirewallRuleSet, 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) 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) GetFirewallDevice added in v0.6.1

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

GetFirewallDevice indicates an expected call of GetFirewallDevice.

func (*MockLinodeFirewallClientMockRecorder) GetFirewallRules added in v0.6.1

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

GetFirewallRules indicates an expected call of GetFirewallRules.

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, configID int) error

BootInstance mocks base method.

func (*MockLinodeInstanceClient) CreateInstance

CreateInstance mocks base method.

func (*MockLinodeInstanceClient) CreateInstanceDisk

CreateInstanceDisk mocks base method.

func (*MockLinodeInstanceClient) CreateStackscript

CreateStackscript 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) GetInstanceDisk

func (m *MockLinodeInstanceClient) GetInstanceDisk(ctx context.Context, linodeID, diskID int) (*linodego.InstanceDisk, error)

GetInstanceDisk 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) ListInstances

ListInstances mocks base method.

func (*MockLinodeInstanceClient) ListStackscripts

ListStackscripts mocks base method.

func (*MockLinodeInstanceClient) ResizeInstanceDisk

func (m *MockLinodeInstanceClient) ResizeInstanceDisk(ctx context.Context, linodeID, diskID, size int) error

ResizeInstanceDisk 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.

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, configID 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) CreateStackscript

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

CreateStackscript indicates an expected call of CreateStackscript.

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) GetInstanceDisk

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

GetInstanceDisk indicates an expected call of GetInstanceDisk.

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) ListInstances

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

ListInstances indicates an expected call of ListInstances.

func (*MockLinodeInstanceClientMockRecorder) ListStackscripts

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

ListStackscripts indicates an expected call of ListStackscripts.

func (*MockLinodeInstanceClientMockRecorder) ResizeInstanceDisk

func (mr *MockLinodeInstanceClientMockRecorder) ResizeInstanceDisk(ctx, linodeID, diskID, size any) *gomock.Call

ResizeInstanceDisk indicates an expected call of ResizeInstanceDisk.

func (*MockLinodeInstanceClientMockRecorder) UpdateInstanceConfig

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

UpdateInstanceConfig indicates an expected call of UpdateInstanceConfig.

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.

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.

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) 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) 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) DeleteVPC added in v0.2.0

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

DeleteVPC 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.

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) DeleteVPC added in v0.2.0

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

DeleteVPC indicates an expected call of DeleteVPC.

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.

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) EXPECT added in v0.8.0

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

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) 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) 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) 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