Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockEC2Metadata
- type MockEC2MetadataMockRecorder
- type MockOscInterface
- func (m *MockOscInterface) CreateSnapshot(arg0 context.Context, arg1 osc.CreateSnapshotRequest) (osc.CreateSnapshotResponse, *http.Response, error)
- func (m *MockOscInterface) CreateTags(arg0 context.Context, arg1 osc.CreateTagsRequest) (osc.CreateTagsResponse, *http.Response, error)
- func (m *MockOscInterface) CreateVolume(arg0 context.Context, arg1 osc.CreateVolumeRequest) (osc.CreateVolumeResponse, *http.Response, error)
- func (m *MockOscInterface) DeleteSnapshot(arg0 context.Context, arg1 osc.DeleteSnapshotRequest) (osc.DeleteSnapshotResponse, *http.Response, error)
- func (m *MockOscInterface) DeleteVolume(arg0 context.Context, arg1 osc.DeleteVolumeRequest) (osc.DeleteVolumeResponse, *http.Response, error)
- func (m *MockOscInterface) EXPECT() *MockOscInterfaceMockRecorder
- func (m *MockOscInterface) LinkVolume(arg0 context.Context, arg1 osc.LinkVolumeRequest) (osc.LinkVolumeResponse, *http.Response, error)
- func (m *MockOscInterface) ReadSnapshots(arg0 context.Context, arg1 osc.ReadSnapshotsRequest) (osc.ReadSnapshotsResponse, *http.Response, error)
- func (m *MockOscInterface) ReadSubregions(arg0 context.Context, arg1 osc.ReadSubregionsRequest) (osc.ReadSubregionsResponse, *http.Response, error)
- func (m *MockOscInterface) ReadVms(arg0 context.Context, arg1 osc.ReadVmsRequest) (osc.ReadVmsResponse, *http.Response, error)
- func (m *MockOscInterface) ReadVolumes(arg0 context.Context, arg1 osc.ReadVolumesRequest) (osc.ReadVolumesResponse, *http.Response, error)
- func (m *MockOscInterface) UnlinkVolume(arg0 context.Context, arg1 osc.UnlinkVolumeRequest) (osc.UnlinkVolumeResponse, *http.Response, error)
- func (m *MockOscInterface) UpdateVolume(arg0 context.Context, arg1 osc.UpdateVolumeRequest) (osc.UpdateVolumeResponse, *http.Response, error)
- type MockOscInterfaceMockRecorder
- func (mr *MockOscInterfaceMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) CreateTags(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) LinkVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) ReadSnapshots(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) ReadSubregions(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) ReadVms(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) ReadVolumes(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) UnlinkVolume(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOscInterfaceMockRecorder) UpdateVolume(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockEC2Metadata ¶
type MockEC2Metadata struct {
// contains filtered or unexported fields
}
MockEC2Metadata is a mock of EC2Metadata interface
func NewMockEC2Metadata ¶
func NewMockEC2Metadata(ctrl *gomock.Controller) *MockEC2Metadata
NewMockEC2Metadata creates a new mock instance
func (*MockEC2Metadata) Available ¶
func (m *MockEC2Metadata) Available() bool
Available mocks base method
func (*MockEC2Metadata) EXPECT ¶
func (m *MockEC2Metadata) EXPECT() *MockEC2MetadataMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockEC2Metadata) GetInstanceIdentityDocument ¶
func (m *MockEC2Metadata) GetInstanceIdentityDocument() (ec2metadata.EC2InstanceIdentityDocument, error)
GetInstanceIdentityDocument mocks base method
func (*MockEC2Metadata) GetMetadata ¶
func (m *MockEC2Metadata) GetMetadata(p string) (string, error)
GetMetadata(p string) (string, error) mocks base method
type MockEC2MetadataMockRecorder ¶
type MockEC2MetadataMockRecorder struct {
// contains filtered or unexported fields
}
MockEC2MetadataMockRecorder is the mock recorder for MockEC2Metadata
func (*MockEC2MetadataMockRecorder) Available ¶
func (mr *MockEC2MetadataMockRecorder) Available() *gomock.Call
Available indicates an expected call of Available
func (*MockEC2MetadataMockRecorder) GetInstanceIdentityDocument ¶
func (mr *MockEC2MetadataMockRecorder) GetInstanceIdentityDocument() *gomock.Call
GetInstanceIdentityDocument indicates an expected call of GetInstanceIdentityDocument
func (*MockEC2MetadataMockRecorder) GetMetadata ¶
func (mr *MockEC2MetadataMockRecorder) GetMetadata(p interface{}) *gomock.Call
GetMetadata indicates an expected call of GetMetadata
type MockOscInterface ¶
type MockOscInterface struct {
// contains filtered or unexported fields
}
MockOscInterface is a mock of OscInterface interface.
func NewMockOscInterface ¶
func NewMockOscInterface(ctrl *gomock.Controller) *MockOscInterface
NewMockOscInterface creates a new mock instance.
func (*MockOscInterface) CreateSnapshot ¶
func (m *MockOscInterface) CreateSnapshot(arg0 context.Context, arg1 osc.CreateSnapshotRequest) (osc.CreateSnapshotResponse, *http.Response, error)
CreateSnapshot mocks base method.
func (*MockOscInterface) CreateTags ¶
func (m *MockOscInterface) CreateTags(arg0 context.Context, arg1 osc.CreateTagsRequest) (osc.CreateTagsResponse, *http.Response, error)
CreateTags mocks base method.
func (*MockOscInterface) CreateVolume ¶
func (m *MockOscInterface) CreateVolume(arg0 context.Context, arg1 osc.CreateVolumeRequest) (osc.CreateVolumeResponse, *http.Response, error)
CreateVolume mocks base method.
func (*MockOscInterface) DeleteSnapshot ¶
func (m *MockOscInterface) DeleteSnapshot(arg0 context.Context, arg1 osc.DeleteSnapshotRequest) (osc.DeleteSnapshotResponse, *http.Response, error)
DeleteSnapshot mocks base method.
func (*MockOscInterface) DeleteVolume ¶
func (m *MockOscInterface) DeleteVolume(arg0 context.Context, arg1 osc.DeleteVolumeRequest) (osc.DeleteVolumeResponse, *http.Response, error)
DeleteVolume mocks base method.
func (*MockOscInterface) EXPECT ¶
func (m *MockOscInterface) EXPECT() *MockOscInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOscInterface) LinkVolume ¶
func (m *MockOscInterface) LinkVolume(arg0 context.Context, arg1 osc.LinkVolumeRequest) (osc.LinkVolumeResponse, *http.Response, error)
LinkVolume mocks base method.
func (*MockOscInterface) ReadSnapshots ¶
func (m *MockOscInterface) ReadSnapshots(arg0 context.Context, arg1 osc.ReadSnapshotsRequest) (osc.ReadSnapshotsResponse, *http.Response, error)
ReadSnapshots mocks base method.
func (*MockOscInterface) ReadSubregions ¶
func (m *MockOscInterface) ReadSubregions(arg0 context.Context, arg1 osc.ReadSubregionsRequest) (osc.ReadSubregionsResponse, *http.Response, error)
ReadSubregions mocks base method.
func (*MockOscInterface) ReadVms ¶
func (m *MockOscInterface) ReadVms(arg0 context.Context, arg1 osc.ReadVmsRequest) (osc.ReadVmsResponse, *http.Response, error)
ReadVms mocks base method.
func (*MockOscInterface) ReadVolumes ¶
func (m *MockOscInterface) ReadVolumes(arg0 context.Context, arg1 osc.ReadVolumesRequest) (osc.ReadVolumesResponse, *http.Response, error)
ReadVolumes mocks base method.
func (*MockOscInterface) UnlinkVolume ¶
func (m *MockOscInterface) UnlinkVolume(arg0 context.Context, arg1 osc.UnlinkVolumeRequest) (osc.UnlinkVolumeResponse, *http.Response, error)
UnlinkVolume mocks base method.
func (*MockOscInterface) UpdateVolume ¶
func (m *MockOscInterface) UpdateVolume(arg0 context.Context, arg1 osc.UpdateVolumeRequest) (osc.UpdateVolumeResponse, *http.Response, error)
UpdateVolume mocks base method.
type MockOscInterfaceMockRecorder ¶
type MockOscInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockOscInterfaceMockRecorder is the mock recorder for MockOscInterface.
func (*MockOscInterfaceMockRecorder) CreateSnapshot ¶
func (mr *MockOscInterfaceMockRecorder) CreateSnapshot(arg0, arg1 interface{}) *gomock.Call
CreateSnapshot indicates an expected call of CreateSnapshot.
func (*MockOscInterfaceMockRecorder) CreateTags ¶
func (mr *MockOscInterfaceMockRecorder) CreateTags(arg0, arg1 interface{}) *gomock.Call
CreateTags indicates an expected call of CreateTags.
func (*MockOscInterfaceMockRecorder) CreateVolume ¶
func (mr *MockOscInterfaceMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call
CreateVolume indicates an expected call of CreateVolume.
func (*MockOscInterfaceMockRecorder) DeleteSnapshot ¶
func (mr *MockOscInterfaceMockRecorder) DeleteSnapshot(arg0, arg1 interface{}) *gomock.Call
DeleteSnapshot indicates an expected call of DeleteSnapshot.
func (*MockOscInterfaceMockRecorder) DeleteVolume ¶
func (mr *MockOscInterfaceMockRecorder) DeleteVolume(arg0, arg1 interface{}) *gomock.Call
DeleteVolume indicates an expected call of DeleteVolume.
func (*MockOscInterfaceMockRecorder) LinkVolume ¶
func (mr *MockOscInterfaceMockRecorder) LinkVolume(arg0, arg1 interface{}) *gomock.Call
LinkVolume indicates an expected call of LinkVolume.
func (*MockOscInterfaceMockRecorder) ReadSnapshots ¶
func (mr *MockOscInterfaceMockRecorder) ReadSnapshots(arg0, arg1 interface{}) *gomock.Call
ReadSnapshots indicates an expected call of ReadSnapshots.
func (*MockOscInterfaceMockRecorder) ReadSubregions ¶
func (mr *MockOscInterfaceMockRecorder) ReadSubregions(arg0, arg1 interface{}) *gomock.Call
ReadSubregions indicates an expected call of ReadSubregions.
func (*MockOscInterfaceMockRecorder) ReadVms ¶
func (mr *MockOscInterfaceMockRecorder) ReadVms(arg0, arg1 interface{}) *gomock.Call
ReadVms indicates an expected call of ReadVms.
func (*MockOscInterfaceMockRecorder) ReadVolumes ¶
func (mr *MockOscInterfaceMockRecorder) ReadVolumes(arg0, arg1 interface{}) *gomock.Call
ReadVolumes indicates an expected call of ReadVolumes.
func (*MockOscInterfaceMockRecorder) UnlinkVolume ¶
func (mr *MockOscInterfaceMockRecorder) UnlinkVolume(arg0, arg1 interface{}) *gomock.Call
UnlinkVolume indicates an expected call of UnlinkVolume.
func (*MockOscInterfaceMockRecorder) UpdateVolume ¶
func (mr *MockOscInterfaceMockRecorder) UpdateVolume(arg0, arg1 interface{}) *gomock.Call
UpdateVolume indicates an expected call of UpdateVolume.