Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- type MockClients
- type MockK8sClient
- func (m *MockK8sClient) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (m *MockK8sClient) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (m *MockK8sClient) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (m *MockK8sClient) EXPECT() *MockK8sClientMockRecorder
- func (m *MockK8sClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (m *MockK8sClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (m *MockK8sClient) IsObjectNamespaced(obj runtime.Object) (bool, error)
- func (m *MockK8sClient) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (m *MockK8sClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (m *MockK8sClient) RESTMapper() meta.RESTMapper
- func (m *MockK8sClient) Scheme() *runtime.Scheme
- func (m *MockK8sClient) Status() client.SubResourceWriter
- func (m *MockK8sClient) SubResource(subResource string) client.SubResourceClient
- func (m *MockK8sClient) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type MockK8sClientMockRecorder
- func (mr *MockK8sClientMockRecorder) Create(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Delete(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) DeleteAllOf(ctx, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Get(ctx, key, obj any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) GroupVersionKindFor(obj any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) IsObjectNamespaced(obj any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) List(ctx, list any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Patch(ctx, obj, patch any, opts ...any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) RESTMapper() *gomock.Call
- func (mr *MockK8sClientMockRecorder) Scheme() *gomock.Call
- func (mr *MockK8sClientMockRecorder) Status() *gomock.Call
- func (mr *MockK8sClientMockRecorder) SubResource(subResource any) *gomock.Call
- func (mr *MockK8sClientMockRecorder) Update(ctx, obj any, opts ...any) *gomock.Call
- type MockLinodeInstanceClient
- func (m *MockLinodeInstanceClient) BootInstance(ctx context.Context, linodeID, configID int) error
- func (m *MockLinodeInstanceClient) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
- func (m *MockLinodeInstanceClient) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (*linodego.InstanceDisk, error)
- func (m *MockLinodeInstanceClient) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
- func (m *MockLinodeInstanceClient) DeleteInstance(ctx context.Context, linodeID int) error
- func (m *MockLinodeInstanceClient) EXPECT() *MockLinodeInstanceClientMockRecorder
- func (m *MockLinodeInstanceClient) GetImage(ctx context.Context, imageID string) (*linodego.Image, error)
- func (m *MockLinodeInstanceClient) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)
- func (m *MockLinodeInstanceClient) GetInstanceDisk(ctx context.Context, linodeID, diskID int) (*linodego.InstanceDisk, error)
- func (m *MockLinodeInstanceClient) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*linodego.InstanceIPAddressResponse, error)
- func (m *MockLinodeInstanceClient) GetRegion(ctx context.Context, regionID string) (*linodego.Region, error)
- func (m *MockLinodeInstanceClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)
- func (m *MockLinodeInstanceClient) ListInstances(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Instance, error)
- func (m *MockLinodeInstanceClient) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
- func (m *MockLinodeInstanceClient) ResizeInstanceDisk(ctx context.Context, linodeID, diskID, size int) error
- func (m *MockLinodeInstanceClient) UpdateInstanceConfig(ctx context.Context, linodeID, configID int, ...) (*linodego.InstanceConfig, error)
- type MockLinodeInstanceClientMockRecorder
- func (mr *MockLinodeInstanceClientMockRecorder) BootInstance(ctx, linodeID, configID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) CreateInstance(ctx, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) CreateInstanceDisk(ctx, linodeID, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) CreateStackscript(ctx, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) DeleteInstance(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) GetImage(ctx, imageID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) GetInstance(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) GetInstanceDisk(ctx, linodeID, diskID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) GetInstanceIPAddresses(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) GetRegion(ctx, regionID any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) ListInstanceConfigs(ctx, linodeID, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) ListInstances(ctx, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) ListStackscripts(ctx, opts any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) ResizeInstanceDisk(ctx, linodeID, diskID, size any) *gomock.Call
- func (mr *MockLinodeInstanceClientMockRecorder) UpdateInstanceConfig(ctx, linodeID, configID, opts any) *gomock.Call
- type MockLinodeMachineClient
- func (m *MockLinodeMachineClient) BootInstance(ctx context.Context, linodeID, configID int) error
- func (m *MockLinodeMachineClient) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
- func (m *MockLinodeMachineClient) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (*linodego.InstanceDisk, error)
- func (m *MockLinodeMachineClient) CreateNodeBalancer(ctx context.Context, opts linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
- func (m *MockLinodeMachineClient) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, ...) (*linodego.NodeBalancerConfig, error)
- func (m *MockLinodeMachineClient) CreateNodeBalancerNode(ctx context.Context, nodebalancerID, configID int, ...) (*linodego.NodeBalancerNode, error)
- func (m *MockLinodeMachineClient) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
- func (m *MockLinodeMachineClient) CreateVPC(ctx context.Context, opts linodego.VPCCreateOptions) (*linodego.VPC, error)
- func (m *MockLinodeMachineClient) DeleteInstance(ctx context.Context, linodeID int) error
- func (m *MockLinodeMachineClient) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error
- func (m *MockLinodeMachineClient) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID, configID, nodeID int) error
- func (m *MockLinodeMachineClient) DeleteVPC(ctx context.Context, vpcID int) error
- func (m *MockLinodeMachineClient) EXPECT() *MockLinodeMachineClientMockRecorder
- func (m *MockLinodeMachineClient) GetImage(ctx context.Context, imageID string) (*linodego.Image, error)
- func (m *MockLinodeMachineClient) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)
- func (m *MockLinodeMachineClient) GetInstanceDisk(ctx context.Context, linodeID, diskID int) (*linodego.InstanceDisk, error)
- func (m *MockLinodeMachineClient) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*linodego.InstanceIPAddressResponse, error)
- func (m *MockLinodeMachineClient) GetRegion(ctx context.Context, regionID string) (*linodego.Region, error)
- func (m *MockLinodeMachineClient) GetVPC(ctx context.Context, vpcID int) (*linodego.VPC, error)
- func (m *MockLinodeMachineClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)
- func (m *MockLinodeMachineClient) ListInstances(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Instance, error)
- func (m *MockLinodeMachineClient) ListNodeBalancers(ctx context.Context, opts *linodego.ListOptions) ([]linodego.NodeBalancer, error)
- func (m *MockLinodeMachineClient) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
- func (m *MockLinodeMachineClient) ListVPCs(ctx context.Context, opts *linodego.ListOptions) ([]linodego.VPC, error)
- func (m *MockLinodeMachineClient) ResizeInstanceDisk(ctx context.Context, linodeID, diskID, size int) error
- func (m *MockLinodeMachineClient) UpdateInstanceConfig(ctx context.Context, linodeID, configID int, ...) (*linodego.InstanceConfig, error)
- type MockLinodeMachineClientMockRecorder
- func (mr *MockLinodeMachineClientMockRecorder) BootInstance(ctx, linodeID, configID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateInstance(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateInstanceDisk(ctx, linodeID, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancer(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancerConfig(ctx, nodebalancerID, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancerNode(ctx, nodebalancerID, configID, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateStackscript(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) CreateVPC(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) DeleteInstance(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) DeleteNodeBalancer(ctx, nodebalancerID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) DeleteNodeBalancerNode(ctx, nodebalancerID, configID, nodeID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) DeleteVPC(ctx, vpcID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetImage(ctx, imageID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetInstance(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetInstanceDisk(ctx, linodeID, diskID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetInstanceIPAddresses(ctx, linodeID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetRegion(ctx, regionID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) GetVPC(ctx, vpcID any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ListInstanceConfigs(ctx, linodeID, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ListInstances(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ListNodeBalancers(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ListStackscripts(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ListVPCs(ctx, opts any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) ResizeInstanceDisk(ctx, linodeID, diskID, size any) *gomock.Call
- func (mr *MockLinodeMachineClientMockRecorder) UpdateInstanceConfig(ctx, linodeID, configID, opts any) *gomock.Call
- type MockLinodeNodeBalancerClient
- func (m *MockLinodeNodeBalancerClient) CreateNodeBalancer(ctx context.Context, opts linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
- func (m *MockLinodeNodeBalancerClient) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, ...) (*linodego.NodeBalancerConfig, error)
- func (m *MockLinodeNodeBalancerClient) CreateNodeBalancerNode(ctx context.Context, nodebalancerID, configID int, ...) (*linodego.NodeBalancerNode, error)
- func (m *MockLinodeNodeBalancerClient) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error
- func (m *MockLinodeNodeBalancerClient) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID, configID, nodeID int) error
- func (m *MockLinodeNodeBalancerClient) EXPECT() *MockLinodeNodeBalancerClientMockRecorder
- func (m *MockLinodeNodeBalancerClient) ListNodeBalancers(ctx context.Context, opts *linodego.ListOptions) ([]linodego.NodeBalancer, error)
- type MockLinodeNodeBalancerClientMockRecorder
- func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancer(ctx, opts any) *gomock.Call
- func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerConfig(ctx, nodebalancerID, opts any) *gomock.Call
- func (mr *MockLinodeNodeBalancerClientMockRecorder) CreateNodeBalancerNode(ctx, nodebalancerID, configID, opts any) *gomock.Call
- func (mr *MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancer(ctx, nodebalancerID any) *gomock.Call
- func (mr *MockLinodeNodeBalancerClientMockRecorder) DeleteNodeBalancerNode(ctx, nodebalancerID, configID, nodeID any) *gomock.Call
- func (mr *MockLinodeNodeBalancerClientMockRecorder) ListNodeBalancers(ctx, opts any) *gomock.Call
- type MockLinodeObjectStorageClient
- func (m *MockLinodeObjectStorageClient) CreateObjectStorageBucket(ctx context.Context, opts linodego.ObjectStorageBucketCreateOptions) (*linodego.ObjectStorageBucket, error)
- func (m *MockLinodeObjectStorageClient) CreateObjectStorageKey(ctx context.Context, opts linodego.ObjectStorageKeyCreateOptions) (*linodego.ObjectStorageKey, error)
- func (m *MockLinodeObjectStorageClient) DeleteObjectStorageKey(ctx context.Context, keyID int) error
- func (m *MockLinodeObjectStorageClient) EXPECT() *MockLinodeObjectStorageClientMockRecorder
- func (m *MockLinodeObjectStorageClient) GetObjectStorageBucket(ctx context.Context, cluster, label string) (*linodego.ObjectStorageBucket, error)
- func (m *MockLinodeObjectStorageClient) GetObjectStorageKey(ctx context.Context, keyID int) (*linodego.ObjectStorageKey, error)
- type MockLinodeObjectStorageClientMockRecorder
- func (mr *MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageBucket(ctx, opts any) *gomock.Call
- func (mr *MockLinodeObjectStorageClientMockRecorder) CreateObjectStorageKey(ctx, opts any) *gomock.Call
- func (mr *MockLinodeObjectStorageClientMockRecorder) DeleteObjectStorageKey(ctx, keyID any) *gomock.Call
- func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageBucket(ctx, cluster, label any) *gomock.Call
- func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageKey(ctx, keyID any) *gomock.Call
- type MockLinodeVPCClient
- func (m *MockLinodeVPCClient) CreateVPC(ctx context.Context, opts linodego.VPCCreateOptions) (*linodego.VPC, error)
- func (m *MockLinodeVPCClient) DeleteVPC(ctx context.Context, vpcID int) error
- func (m *MockLinodeVPCClient) EXPECT() *MockLinodeVPCClientMockRecorder
- func (m *MockLinodeVPCClient) GetVPC(ctx context.Context, vpcID int) (*linodego.VPC, error)
- func (m *MockLinodeVPCClient) ListVPCs(ctx context.Context, opts *linodego.ListOptions) ([]linodego.VPC, error)
- type MockLinodeVPCClientMockRecorder
- func (mr *MockLinodeVPCClientMockRecorder) CreateVPC(ctx, opts any) *gomock.Call
- func (mr *MockLinodeVPCClientMockRecorder) DeleteVPC(ctx, vpcID any) *gomock.Call
- func (mr *MockLinodeVPCClientMockRecorder) GetVPC(ctx, vpcID any) *gomock.Call
- func (mr *MockLinodeVPCClientMockRecorder) ListVPCs(ctx, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 { MachineClient *MockLinodeMachineClient VPCClient *MockLinodeVPCClient NodeBalancerClient *MockLinodeNodeBalancerClient ObjectStorageClient *MockLinodeObjectStorageClient K8sClient *MockK8sClient }
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
func (m *MockK8sClient) EXPECT() *MockK8sClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockK8sClient) Get ¶ added in v0.2.0
func (m *MockK8sClient) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error
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
func (m *MockK8sClient) Status() client.SubResourceWriter
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.
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 ¶
func (m *MockLinodeInstanceClient) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
CreateInstance mocks base method.
func (*MockLinodeInstanceClient) CreateInstanceDisk ¶
func (m *MockLinodeInstanceClient) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (*linodego.InstanceDisk, error)
CreateInstanceDisk mocks base method.
func (*MockLinodeInstanceClient) CreateStackscript ¶
func (m *MockLinodeInstanceClient) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
CreateStackscript mocks base method.
func (*MockLinodeInstanceClient) DeleteInstance ¶
func (m *MockLinodeInstanceClient) DeleteInstance(ctx context.Context, linodeID int) error
DeleteInstance mocks base method.
func (*MockLinodeInstanceClient) EXPECT ¶
func (m *MockLinodeInstanceClient) EXPECT() *MockLinodeInstanceClientMockRecorder
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) ListInstanceConfigs ¶
func (m *MockLinodeInstanceClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)
ListInstanceConfigs mocks base method.
func (*MockLinodeInstanceClient) ListInstances ¶
func (m *MockLinodeInstanceClient) ListInstances(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Instance, error)
ListInstances mocks base method.
func (*MockLinodeInstanceClient) ListStackscripts ¶
func (m *MockLinodeInstanceClient) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
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) 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 MockLinodeMachineClient ¶
type MockLinodeMachineClient struct {
// contains filtered or unexported fields
}
MockLinodeMachineClient is a mock of LinodeMachineClient interface.
func NewMockLinodeMachineClient ¶
func NewMockLinodeMachineClient(ctrl *gomock.Controller) *MockLinodeMachineClient
NewMockLinodeMachineClient creates a new mock instance.
func (*MockLinodeMachineClient) BootInstance ¶
func (m *MockLinodeMachineClient) BootInstance(ctx context.Context, linodeID, configID int) error
BootInstance mocks base method.
func (*MockLinodeMachineClient) CreateInstance ¶
func (m *MockLinodeMachineClient) CreateInstance(ctx context.Context, opts linodego.InstanceCreateOptions) (*linodego.Instance, error)
CreateInstance mocks base method.
func (*MockLinodeMachineClient) CreateInstanceDisk ¶
func (m *MockLinodeMachineClient) CreateInstanceDisk(ctx context.Context, linodeID int, opts linodego.InstanceDiskCreateOptions) (*linodego.InstanceDisk, error)
CreateInstanceDisk mocks base method.
func (*MockLinodeMachineClient) CreateNodeBalancer ¶
func (m *MockLinodeMachineClient) CreateNodeBalancer(ctx context.Context, opts linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
CreateNodeBalancer mocks base method.
func (*MockLinodeMachineClient) CreateNodeBalancerConfig ¶
func (m *MockLinodeMachineClient) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, opts linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)
CreateNodeBalancerConfig mocks base method.
func (*MockLinodeMachineClient) CreateNodeBalancerNode ¶
func (m *MockLinodeMachineClient) CreateNodeBalancerNode(ctx context.Context, nodebalancerID, configID int, opts linodego.NodeBalancerNodeCreateOptions) (*linodego.NodeBalancerNode, error)
CreateNodeBalancerNode mocks base method.
func (*MockLinodeMachineClient) CreateStackscript ¶
func (m *MockLinodeMachineClient) CreateStackscript(ctx context.Context, opts linodego.StackscriptCreateOptions) (*linodego.Stackscript, error)
CreateStackscript mocks base method.
func (*MockLinodeMachineClient) CreateVPC ¶ added in v0.2.0
func (m *MockLinodeMachineClient) CreateVPC(ctx context.Context, opts linodego.VPCCreateOptions) (*linodego.VPC, error)
CreateVPC mocks base method.
func (*MockLinodeMachineClient) DeleteInstance ¶
func (m *MockLinodeMachineClient) DeleteInstance(ctx context.Context, linodeID int) error
DeleteInstance mocks base method.
func (*MockLinodeMachineClient) DeleteNodeBalancer ¶
func (m *MockLinodeMachineClient) DeleteNodeBalancer(ctx context.Context, nodebalancerID int) error
DeleteNodeBalancer mocks base method.
func (*MockLinodeMachineClient) DeleteNodeBalancerNode ¶
func (m *MockLinodeMachineClient) DeleteNodeBalancerNode(ctx context.Context, nodebalancerID, configID, nodeID int) error
DeleteNodeBalancerNode mocks base method.
func (*MockLinodeMachineClient) DeleteVPC ¶ added in v0.2.0
func (m *MockLinodeMachineClient) DeleteVPC(ctx context.Context, vpcID int) error
DeleteVPC mocks base method.
func (*MockLinodeMachineClient) EXPECT ¶
func (m *MockLinodeMachineClient) EXPECT() *MockLinodeMachineClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinodeMachineClient) GetImage ¶
func (m *MockLinodeMachineClient) GetImage(ctx context.Context, imageID string) (*linodego.Image, error)
GetImage mocks base method.
func (*MockLinodeMachineClient) GetInstance ¶
func (m *MockLinodeMachineClient) GetInstance(ctx context.Context, linodeID int) (*linodego.Instance, error)
GetInstance mocks base method.
func (*MockLinodeMachineClient) GetInstanceDisk ¶
func (m *MockLinodeMachineClient) GetInstanceDisk(ctx context.Context, linodeID, diskID int) (*linodego.InstanceDisk, error)
GetInstanceDisk mocks base method.
func (*MockLinodeMachineClient) GetInstanceIPAddresses ¶
func (m *MockLinodeMachineClient) GetInstanceIPAddresses(ctx context.Context, linodeID int) (*linodego.InstanceIPAddressResponse, error)
GetInstanceIPAddresses mocks base method.
func (*MockLinodeMachineClient) GetRegion ¶
func (m *MockLinodeMachineClient) GetRegion(ctx context.Context, regionID string) (*linodego.Region, error)
GetRegion mocks base method.
func (*MockLinodeMachineClient) ListInstanceConfigs ¶
func (m *MockLinodeMachineClient) ListInstanceConfigs(ctx context.Context, linodeID int, opts *linodego.ListOptions) ([]linodego.InstanceConfig, error)
ListInstanceConfigs mocks base method.
func (*MockLinodeMachineClient) ListInstances ¶
func (m *MockLinodeMachineClient) ListInstances(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Instance, error)
ListInstances mocks base method.
func (*MockLinodeMachineClient) ListNodeBalancers ¶
func (m *MockLinodeMachineClient) ListNodeBalancers(ctx context.Context, opts *linodego.ListOptions) ([]linodego.NodeBalancer, error)
ListNodeBalancers mocks base method.
func (*MockLinodeMachineClient) ListStackscripts ¶
func (m *MockLinodeMachineClient) ListStackscripts(ctx context.Context, opts *linodego.ListOptions) ([]linodego.Stackscript, error)
ListStackscripts mocks base method.
func (*MockLinodeMachineClient) ListVPCs ¶ added in v0.2.0
func (m *MockLinodeMachineClient) ListVPCs(ctx context.Context, opts *linodego.ListOptions) ([]linodego.VPC, error)
ListVPCs mocks base method.
func (*MockLinodeMachineClient) ResizeInstanceDisk ¶
func (m *MockLinodeMachineClient) ResizeInstanceDisk(ctx context.Context, linodeID, diskID, size int) error
ResizeInstanceDisk mocks base method.
func (*MockLinodeMachineClient) UpdateInstanceConfig ¶
func (m *MockLinodeMachineClient) UpdateInstanceConfig(ctx context.Context, linodeID, configID int, opts linodego.InstanceConfigUpdateOptions) (*linodego.InstanceConfig, error)
UpdateInstanceConfig mocks base method.
type MockLinodeMachineClientMockRecorder ¶
type MockLinodeMachineClientMockRecorder struct {
// contains filtered or unexported fields
}
MockLinodeMachineClientMockRecorder is the mock recorder for MockLinodeMachineClient.
func (*MockLinodeMachineClientMockRecorder) BootInstance ¶
func (mr *MockLinodeMachineClientMockRecorder) BootInstance(ctx, linodeID, configID any) *gomock.Call
BootInstance indicates an expected call of BootInstance.
func (*MockLinodeMachineClientMockRecorder) CreateInstance ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateInstance(ctx, opts any) *gomock.Call
CreateInstance indicates an expected call of CreateInstance.
func (*MockLinodeMachineClientMockRecorder) CreateInstanceDisk ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateInstanceDisk(ctx, linodeID, opts any) *gomock.Call
CreateInstanceDisk indicates an expected call of CreateInstanceDisk.
func (*MockLinodeMachineClientMockRecorder) CreateNodeBalancer ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancer(ctx, opts any) *gomock.Call
CreateNodeBalancer indicates an expected call of CreateNodeBalancer.
func (*MockLinodeMachineClientMockRecorder) CreateNodeBalancerConfig ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancerConfig(ctx, nodebalancerID, opts any) *gomock.Call
CreateNodeBalancerConfig indicates an expected call of CreateNodeBalancerConfig.
func (*MockLinodeMachineClientMockRecorder) CreateNodeBalancerNode ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateNodeBalancerNode(ctx, nodebalancerID, configID, opts any) *gomock.Call
CreateNodeBalancerNode indicates an expected call of CreateNodeBalancerNode.
func (*MockLinodeMachineClientMockRecorder) CreateStackscript ¶
func (mr *MockLinodeMachineClientMockRecorder) CreateStackscript(ctx, opts any) *gomock.Call
CreateStackscript indicates an expected call of CreateStackscript.
func (*MockLinodeMachineClientMockRecorder) CreateVPC ¶ added in v0.2.0
func (mr *MockLinodeMachineClientMockRecorder) CreateVPC(ctx, opts any) *gomock.Call
CreateVPC indicates an expected call of CreateVPC.
func (*MockLinodeMachineClientMockRecorder) DeleteInstance ¶
func (mr *MockLinodeMachineClientMockRecorder) DeleteInstance(ctx, linodeID any) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance.
func (*MockLinodeMachineClientMockRecorder) DeleteNodeBalancer ¶
func (mr *MockLinodeMachineClientMockRecorder) DeleteNodeBalancer(ctx, nodebalancerID any) *gomock.Call
DeleteNodeBalancer indicates an expected call of DeleteNodeBalancer.
func (*MockLinodeMachineClientMockRecorder) DeleteNodeBalancerNode ¶
func (mr *MockLinodeMachineClientMockRecorder) DeleteNodeBalancerNode(ctx, nodebalancerID, configID, nodeID any) *gomock.Call
DeleteNodeBalancerNode indicates an expected call of DeleteNodeBalancerNode.
func (*MockLinodeMachineClientMockRecorder) DeleteVPC ¶ added in v0.2.0
func (mr *MockLinodeMachineClientMockRecorder) DeleteVPC(ctx, vpcID any) *gomock.Call
DeleteVPC indicates an expected call of DeleteVPC.
func (*MockLinodeMachineClientMockRecorder) GetImage ¶
func (mr *MockLinodeMachineClientMockRecorder) GetImage(ctx, imageID any) *gomock.Call
GetImage indicates an expected call of GetImage.
func (*MockLinodeMachineClientMockRecorder) GetInstance ¶
func (mr *MockLinodeMachineClientMockRecorder) GetInstance(ctx, linodeID any) *gomock.Call
GetInstance indicates an expected call of GetInstance.
func (*MockLinodeMachineClientMockRecorder) GetInstanceDisk ¶
func (mr *MockLinodeMachineClientMockRecorder) GetInstanceDisk(ctx, linodeID, diskID any) *gomock.Call
GetInstanceDisk indicates an expected call of GetInstanceDisk.
func (*MockLinodeMachineClientMockRecorder) GetInstanceIPAddresses ¶
func (mr *MockLinodeMachineClientMockRecorder) GetInstanceIPAddresses(ctx, linodeID any) *gomock.Call
GetInstanceIPAddresses indicates an expected call of GetInstanceIPAddresses.
func (*MockLinodeMachineClientMockRecorder) GetRegion ¶
func (mr *MockLinodeMachineClientMockRecorder) GetRegion(ctx, regionID any) *gomock.Call
GetRegion indicates an expected call of GetRegion.
func (*MockLinodeMachineClientMockRecorder) GetVPC ¶
func (mr *MockLinodeMachineClientMockRecorder) GetVPC(ctx, vpcID any) *gomock.Call
GetVPC indicates an expected call of GetVPC.
func (*MockLinodeMachineClientMockRecorder) ListInstanceConfigs ¶
func (mr *MockLinodeMachineClientMockRecorder) ListInstanceConfigs(ctx, linodeID, opts any) *gomock.Call
ListInstanceConfigs indicates an expected call of ListInstanceConfigs.
func (*MockLinodeMachineClientMockRecorder) ListInstances ¶
func (mr *MockLinodeMachineClientMockRecorder) ListInstances(ctx, opts any) *gomock.Call
ListInstances indicates an expected call of ListInstances.
func (*MockLinodeMachineClientMockRecorder) ListNodeBalancers ¶
func (mr *MockLinodeMachineClientMockRecorder) ListNodeBalancers(ctx, opts any) *gomock.Call
ListNodeBalancers indicates an expected call of ListNodeBalancers.
func (*MockLinodeMachineClientMockRecorder) ListStackscripts ¶
func (mr *MockLinodeMachineClientMockRecorder) ListStackscripts(ctx, opts any) *gomock.Call
ListStackscripts indicates an expected call of ListStackscripts.
func (*MockLinodeMachineClientMockRecorder) ListVPCs ¶ added in v0.2.0
func (mr *MockLinodeMachineClientMockRecorder) ListVPCs(ctx, opts any) *gomock.Call
ListVPCs indicates an expected call of ListVPCs.
func (*MockLinodeMachineClientMockRecorder) ResizeInstanceDisk ¶
func (mr *MockLinodeMachineClientMockRecorder) ResizeInstanceDisk(ctx, linodeID, diskID, size any) *gomock.Call
ResizeInstanceDisk indicates an expected call of ResizeInstanceDisk.
func (*MockLinodeMachineClientMockRecorder) UpdateInstanceConfig ¶
func (mr *MockLinodeMachineClientMockRecorder) 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 ¶
func (m *MockLinodeNodeBalancerClient) CreateNodeBalancer(ctx context.Context, opts linodego.NodeBalancerCreateOptions) (*linodego.NodeBalancer, error)
CreateNodeBalancer mocks base method.
func (*MockLinodeNodeBalancerClient) CreateNodeBalancerConfig ¶
func (m *MockLinodeNodeBalancerClient) CreateNodeBalancerConfig(ctx context.Context, nodebalancerID int, opts linodego.NodeBalancerConfigCreateOptions) (*linodego.NodeBalancerConfig, error)
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 ¶
func (m *MockLinodeNodeBalancerClient) EXPECT() *MockLinodeNodeBalancerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinodeNodeBalancerClient) ListNodeBalancers ¶
func (m *MockLinodeNodeBalancerClient) ListNodeBalancers(ctx context.Context, opts *linodego.ListOptions) ([]linodego.NodeBalancer, error)
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) 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 ¶
func (m *MockLinodeObjectStorageClient) CreateObjectStorageBucket(ctx context.Context, opts linodego.ObjectStorageBucketCreateOptions) (*linodego.ObjectStorageBucket, error)
CreateObjectStorageBucket mocks base method.
func (*MockLinodeObjectStorageClient) CreateObjectStorageKey ¶
func (m *MockLinodeObjectStorageClient) CreateObjectStorageKey(ctx context.Context, opts linodego.ObjectStorageKeyCreateOptions) (*linodego.ObjectStorageKey, error)
CreateObjectStorageKey mocks base method.
func (*MockLinodeObjectStorageClient) DeleteObjectStorageKey ¶
func (m *MockLinodeObjectStorageClient) DeleteObjectStorageKey(ctx context.Context, keyID int) error
DeleteObjectStorageKey mocks base method.
func (*MockLinodeObjectStorageClient) EXPECT ¶
func (m *MockLinodeObjectStorageClient) EXPECT() *MockLinodeObjectStorageClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinodeObjectStorageClient) GetObjectStorageBucket ¶
func (m *MockLinodeObjectStorageClient) GetObjectStorageBucket(ctx context.Context, cluster, label string) (*linodego.ObjectStorageBucket, error)
GetObjectStorageBucket mocks base method.
func (*MockLinodeObjectStorageClient) GetObjectStorageKey ¶
func (m *MockLinodeObjectStorageClient) GetObjectStorageKey(ctx context.Context, keyID int) (*linodego.ObjectStorageKey, error)
GetObjectStorageKey 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, cluster, label any) *gomock.Call
GetObjectStorageBucket indicates an expected call of GetObjectStorageBucket.
func (*MockLinodeObjectStorageClientMockRecorder) GetObjectStorageKey ¶
func (mr *MockLinodeObjectStorageClientMockRecorder) GetObjectStorageKey(ctx, keyID any) *gomock.Call
GetObjectStorageKey indicates an expected call of GetObjectStorageKey.
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
func (m *MockLinodeVPCClient) CreateVPC(ctx context.Context, opts linodego.VPCCreateOptions) (*linodego.VPC, error)
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 ¶
func (m *MockLinodeVPCClient) EXPECT() *MockLinodeVPCClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLinodeVPCClient) ListVPCs ¶ added in v0.2.0
func (m *MockLinodeVPCClient) ListVPCs(ctx context.Context, opts *linodego.ListOptions) ([]linodego.VPC, error)
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.