mocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Index

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

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

CreateSnapshot mocks base method.

func (*MockOscInterface) CreateTags

CreateTags mocks base method.

func (*MockOscInterface) CreateVolume

CreateVolume mocks base method.

func (*MockOscInterface) DeleteSnapshot

DeleteSnapshot mocks base method.

func (*MockOscInterface) DeleteVolume

DeleteVolume mocks base method.

func (*MockOscInterface) EXPECT

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

func (*MockOscInterface) LinkVolume

LinkVolume mocks base method.

func (*MockOscInterface) ReadSnapshots

ReadSnapshots mocks base method.

func (*MockOscInterface) ReadSubregions

ReadSubregions mocks base method.

func (*MockOscInterface) ReadVms

ReadVms mocks base method.

func (*MockOscInterface) ReadVolumes

ReadVolumes mocks base method.

func (*MockOscInterface) UnlinkVolume

UnlinkVolume mocks base method.

func (*MockOscInterface) UpdateVolume

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.

Jump to

Keyboard shortcuts

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