Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Close() error
- func (m *MockClient) Conn() *grpc.ClientConn
- func (m *MockClient) ContainerService() containers.Store
- func (m *MockClient) Containers(arg0 context.Context, arg1 ...string) ([]containerd.Container, error)
- func (m *MockClient) ContentStore() content.Store
- func (m *MockClient) DiffService() containerd.DiffService
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) EventService() containerd.EventService
- func (m *MockClient) Fetch(arg0 context.Context, arg1 string, arg2 ...containerd.RemoteOpt) (images.Image, error)
- func (m *MockClient) GetImage(arg0 context.Context, arg1 string) (containerd.Image, error)
- func (m *MockClient) GetLabel(arg0 context.Context, arg1 string) (string, error)
- func (m *MockClient) GetSnapshotterSupportedPlatforms(arg0 context.Context, arg1 string) (platforms.MatchComparer, error)
- func (m *MockClient) HealthService() grpc_health_v1.HealthClient
- func (m *MockClient) ImageService() images.Store
- func (m *MockClient) IntrospectionService() introspection.Service
- func (m *MockClient) IsServing(arg0 context.Context) (bool, error)
- func (m *MockClient) LeasesService() leases.Manager
- func (m *MockClient) ListImages(arg0 context.Context, arg1 ...string) ([]containerd.Image, error)
- func (m *MockClient) LoadContainer(arg0 context.Context, arg1 string) (containerd.Container, error)
- func (m *MockClient) NamespaceService() namespaces.Store
- func (m *MockClient) NewContainer(arg0 context.Context, arg1 string, arg2 ...containerd.NewContainerOpts) (containerd.Container, error)
- func (m *MockClient) Pull(arg0 context.Context, arg1 string, arg2 ...containerd.RemoteOpt) (containerd.Image, error)
- func (m *MockClient) Push(arg0 context.Context, arg1 string, arg2 v1.Descriptor, ...) error
- func (m *MockClient) Reconnect() error
- func (m *MockClient) Restore(arg0 context.Context, arg1 string, arg2 containerd.Image, ...) (containerd.Container, error)
- func (m *MockClient) Runtime() string
- func (m *MockClient) Server(arg0 context.Context) (containerd.ServerInfo, error)
- func (m *MockClient) SnapshotService(arg0 string) snapshots.Snapshotter
- func (m *MockClient) Subscribe(arg0 context.Context, arg1 ...string) (<-chan *events.Envelope, <-chan error)
- func (m *MockClient) TaskService() tasks.TasksClient
- func (m *MockClient) Version(arg0 context.Context) (containerd.Version, error)
- func (m *MockClient) VersionService() version.VersionClient
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Close() *gomock.Call
- func (mr *MockClientMockRecorder) Conn() *gomock.Call
- func (mr *MockClientMockRecorder) ContainerService() *gomock.Call
- func (mr *MockClientMockRecorder) Containers(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ContentStore() *gomock.Call
- func (mr *MockClientMockRecorder) DiffService() *gomock.Call
- func (mr *MockClientMockRecorder) EventService() *gomock.Call
- func (mr *MockClientMockRecorder) Fetch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetImage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetLabel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetSnapshotterSupportedPlatforms(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) HealthService() *gomock.Call
- func (mr *MockClientMockRecorder) ImageService() *gomock.Call
- func (mr *MockClientMockRecorder) IntrospectionService() *gomock.Call
- func (mr *MockClientMockRecorder) IsServing(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LeasesService() *gomock.Call
- func (mr *MockClientMockRecorder) ListImages(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) LoadContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) NamespaceService() *gomock.Call
- func (mr *MockClientMockRecorder) NewContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Pull(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Push(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Reconnect() *gomock.Call
- func (mr *MockClientMockRecorder) Restore(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Runtime() *gomock.Call
- func (mr *MockClientMockRecorder) Server(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) SnapshotService(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) TaskService() *gomock.Call
- func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) VersionService() *gomock.Call
- type MockEventService
- func (m *MockEventService) EXPECT() *MockEventServiceMockRecorder
- func (m *MockEventService) Publish(arg0 context.Context, arg1 string, arg2 interface{}) error
- func (m *MockEventService) Subscribe(arg0 context.Context) (<-chan *ports.EventEnvelope, <-chan error)
- func (m *MockEventService) SubscribeTopic(arg0 context.Context, arg1 string) (<-chan *ports.EventEnvelope, <-chan error)
- func (m *MockEventService) SubscribeTopics(arg0 context.Context, arg1 []string) (<-chan *ports.EventEnvelope, <-chan error)
- type MockEventServiceMockRecorder
- func (mr *MockEventServiceMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockEventServiceMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
- func (mr *MockEventServiceMockRecorder) SubscribeTopic(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockEventServiceMockRecorder) SubscribeTopics(arg0, arg1 interface{}) *gomock.Call
- type MockIDService
- type MockIDServiceMockRecorder
- type MockImage
- func (m *MockImage) Config(arg0 context.Context) (v1.Descriptor, error)
- func (m *MockImage) ContentStore() content.Store
- func (m *MockImage) EXPECT() *MockImageMockRecorder
- func (m *MockImage) IsUnpacked(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockImage) Labels() map[string]string
- func (m *MockImage) Metadata() images.Image
- func (m *MockImage) Name() string
- func (m *MockImage) Platform() platforms.MatchComparer
- func (m *MockImage) RootFS(arg0 context.Context) ([]digest.Digest, error)
- func (m *MockImage) Size(arg0 context.Context) (int64, error)
- func (m *MockImage) Spec(arg0 context.Context) (v1.Image, error)
- func (m *MockImage) Target() v1.Descriptor
- func (m *MockImage) Unpack(arg0 context.Context, arg1 string, arg2 ...containerd.UnpackOpt) error
- func (m *MockImage) Usage(arg0 context.Context, arg1 ...containerd.UsageOpt) (int64, error)
- type MockImageMockRecorder
- func (mr *MockImageMockRecorder) Config(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) ContentStore() *gomock.Call
- func (mr *MockImageMockRecorder) IsUnpacked(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Labels() *gomock.Call
- func (mr *MockImageMockRecorder) Metadata() *gomock.Call
- func (mr *MockImageMockRecorder) Name() *gomock.Call
- func (mr *MockImageMockRecorder) Platform() *gomock.Call
- func (mr *MockImageMockRecorder) RootFS(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Size(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Spec(arg0 interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Target() *gomock.Call
- func (mr *MockImageMockRecorder) Unpack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockImageMockRecorder) Usage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- type MockImageService
- func (m *MockImageService) EXPECT() *MockImageServiceMockRecorder
- func (m *MockImageService) Exists(arg0 context.Context, arg1 *ports.ImageSpec) (bool, error)
- func (m *MockImageService) IsMounted(arg0 context.Context, arg1 *ports.ImageMountSpec) (bool, error)
- func (m *MockImageService) Pull(arg0 context.Context, arg1 *ports.ImageSpec) error
- func (m *MockImageService) PullAndMount(arg0 context.Context, arg1 *ports.ImageMountSpec) ([]models.Mount, error)
- type MockImageServiceMockRecorder
- func (mr *MockImageServiceMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceMockRecorder) IsMounted(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockImageServiceMockRecorder) PullAndMount(arg0, arg1 interface{}) *gomock.Call
- type MockManager
- func (m *MockManager) AddResource(arg0 context.Context, arg1 leases.Lease, arg2 leases.Resource) error
- func (m *MockManager) Create(arg0 context.Context, arg1 ...leases.Opt) (leases.Lease, error)
- func (m *MockManager) Delete(arg0 context.Context, arg1 leases.Lease, arg2 ...leases.DeleteOpt) error
- func (m *MockManager) DeleteResource(arg0 context.Context, arg1 leases.Lease, arg2 leases.Resource) error
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) List(arg0 context.Context, arg1 ...string) ([]leases.Lease, error)
- func (m *MockManager) ListResources(arg0 context.Context, arg1 leases.Lease) ([]leases.Resource, error)
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) AddResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) DeleteResource(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ListResources(arg0, arg1 interface{}) *gomock.Call
- type MockMicroVMCommandUseCases
- type MockMicroVMCommandUseCasesMockRecorder
- type MockMicroVMQueryUseCases
- func (m *MockMicroVMQueryUseCases) EXPECT() *MockMicroVMQueryUseCasesMockRecorder
- func (m *MockMicroVMQueryUseCases) GetAllMicroVM(arg0 context.Context, arg1 models.ListMicroVMQuery) ([]*models.MicroVM, error)
- func (m *MockMicroVMQueryUseCases) GetMicroVM(arg0 context.Context, arg1 string) (*models.MicroVM, error)
- type MockMicroVMQueryUseCasesMockRecorder
- type MockMicroVMRepository
- func (m *MockMicroVMRepository) Delete(arg0 context.Context, arg1 *models.MicroVM) error
- func (m *MockMicroVMRepository) EXPECT() *MockMicroVMRepositoryMockRecorder
- func (m *MockMicroVMRepository) Exists(arg0 context.Context, arg1 models.VMID) (bool, error)
- func (m *MockMicroVMRepository) Get(arg0 context.Context, arg1 ports.RepositoryGetOptions) (*models.MicroVM, error)
- func (m *MockMicroVMRepository) GetAll(arg0 context.Context, arg1 models.ListMicroVMQuery) ([]*models.MicroVM, error)
- func (m *MockMicroVMRepository) ReleaseLease(arg0 context.Context, arg1 *models.MicroVM) error
- func (m *MockMicroVMRepository) Save(arg0 context.Context, arg1 *models.MicroVM) (*models.MicroVM, error)
- type MockMicroVMRepositoryMockRecorder
- func (mr *MockMicroVMRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMRepositoryMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMRepositoryMockRecorder) ReleaseLease(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
- type MockMicroVMService
- func (m *MockMicroVMService) Capabilities() models.Capabilities
- func (m *MockMicroVMService) Create(arg0 context.Context, arg1 *models.MicroVM) error
- func (m *MockMicroVMService) Delete(arg0 context.Context, arg1 string) error
- func (m *MockMicroVMService) EXPECT() *MockMicroVMServiceMockRecorder
- func (m *MockMicroVMService) Metrics(arg0 context.Context, arg1 models.VMID) (ports.MachineMetrics, error)
- func (m *MockMicroVMService) Start(arg0 context.Context, arg1 *models.MicroVM) error
- func (m *MockMicroVMService) State(arg0 context.Context, arg1 string) (ports.MicroVMState, error)
- type MockMicroVMServiceMockRecorder
- func (mr *MockMicroVMServiceMockRecorder) Capabilities() *gomock.Call
- func (mr *MockMicroVMServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMServiceMockRecorder) Metrics(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMServiceMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMicroVMServiceMockRecorder) State(arg0, arg1 interface{}) *gomock.Call
- type MockNetworkService
- func (m *MockNetworkService) EXPECT() *MockNetworkServiceMockRecorder
- func (m *MockNetworkService) IfaceCreate(arg0 context.Context, arg1 ports.IfaceCreateInput) (*ports.IfaceDetails, error)
- func (m *MockNetworkService) IfaceDelete(arg0 context.Context, arg1 ports.DeleteIfaceInput) error
- func (m *MockNetworkService) IfaceDetails(arg0 context.Context, arg1 string) (*ports.IfaceDetails, error)
- func (m *MockNetworkService) IfaceExists(arg0 context.Context, arg1 string) (bool, error)
- type MockNetworkServiceMockRecorder
- func (mr *MockNetworkServiceMockRecorder) IfaceCreate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkServiceMockRecorder) IfaceDelete(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkServiceMockRecorder) IfaceDetails(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkServiceMockRecorder) IfaceExists(arg0, arg1 interface{}) *gomock.Call
- type MockReconcileMicroVMsUseCase
- type MockReconcileMicroVMsUseCaseMockRecorder
- type MockSnapshotter
- func (m *MockSnapshotter) Close() error
- func (m *MockSnapshotter) Commit(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) error
- func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
- func (m *MockSnapshotter) Mounts(arg0 context.Context, arg1 string) ([]mount.Mount, error)
- func (m *MockSnapshotter) Prepare(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Remove(arg0 context.Context, arg1 string) error
- func (m *MockSnapshotter) Stat(arg0 context.Context, arg1 string) (snapshots.Info, error)
- func (m *MockSnapshotter) Update(arg0 context.Context, arg1 snapshots.Info, arg2 ...string) (snapshots.Info, error)
- func (m *MockSnapshotter) Usage(arg0 context.Context, arg1 string) (snapshots.Usage, error)
- func (m *MockSnapshotter) View(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
- func (m *MockSnapshotter) Walk(arg0 context.Context, arg1 snapshots.WalkFunc, arg2 ...string) error
- type MockSnapshotterMockRecorder
- func (mr *MockSnapshotterMockRecorder) Close() *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Commit(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Mounts(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Prepare(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Usage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) View(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockSnapshotterMockRecorder) Walk(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) ContainerService ¶
func (m *MockClient) ContainerService() containers.Store
ContainerService mocks base method.
func (*MockClient) Containers ¶
func (m *MockClient) Containers(arg0 context.Context, arg1 ...string) ([]containerd.Container, error)
Containers mocks base method.
func (*MockClient) ContentStore ¶
func (m *MockClient) ContentStore() content.Store
ContentStore mocks base method.
func (*MockClient) DiffService ¶
func (m *MockClient) DiffService() containerd.DiffService
DiffService mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) EventService ¶
func (m *MockClient) EventService() containerd.EventService
EventService mocks base method.
func (*MockClient) Fetch ¶
func (m *MockClient) Fetch(arg0 context.Context, arg1 string, arg2 ...containerd.RemoteOpt) (images.Image, error)
Fetch mocks base method.
func (*MockClient) GetImage ¶
func (m *MockClient) GetImage(arg0 context.Context, arg1 string) (containerd.Image, error)
GetImage mocks base method.
func (*MockClient) GetSnapshotterSupportedPlatforms ¶
func (m *MockClient) GetSnapshotterSupportedPlatforms(arg0 context.Context, arg1 string) (platforms.MatchComparer, error)
GetSnapshotterSupportedPlatforms mocks base method.
func (*MockClient) HealthService ¶
func (m *MockClient) HealthService() grpc_health_v1.HealthClient
HealthService mocks base method.
func (*MockClient) ImageService ¶
func (m *MockClient) ImageService() images.Store
ImageService mocks base method.
func (*MockClient) IntrospectionService ¶
func (m *MockClient) IntrospectionService() introspection.Service
IntrospectionService mocks base method.
func (*MockClient) IsServing ¶
func (m *MockClient) IsServing(arg0 context.Context) (bool, error)
IsServing mocks base method.
func (*MockClient) LeasesService ¶
func (m *MockClient) LeasesService() leases.Manager
LeasesService mocks base method.
func (*MockClient) ListImages ¶
func (m *MockClient) ListImages(arg0 context.Context, arg1 ...string) ([]containerd.Image, error)
ListImages mocks base method.
func (*MockClient) LoadContainer ¶
func (m *MockClient) LoadContainer(arg0 context.Context, arg1 string) (containerd.Container, error)
LoadContainer mocks base method.
func (*MockClient) NamespaceService ¶
func (m *MockClient) NamespaceService() namespaces.Store
NamespaceService mocks base method.
func (*MockClient) NewContainer ¶
func (m *MockClient) NewContainer(arg0 context.Context, arg1 string, arg2 ...containerd.NewContainerOpts) (containerd.Container, error)
NewContainer mocks base method.
func (*MockClient) Pull ¶
func (m *MockClient) Pull(arg0 context.Context, arg1 string, arg2 ...containerd.RemoteOpt) (containerd.Image, error)
Pull mocks base method.
func (*MockClient) Push ¶
func (m *MockClient) Push(arg0 context.Context, arg1 string, arg2 v1.Descriptor, arg3 ...containerd.RemoteOpt) error
Push mocks base method.
func (*MockClient) Restore ¶
func (m *MockClient) Restore(arg0 context.Context, arg1 string, arg2 containerd.Image, arg3 ...containerd.RestoreOpts) (containerd.Container, error)
Restore mocks base method.
func (*MockClient) Server ¶
func (m *MockClient) Server(arg0 context.Context) (containerd.ServerInfo, error)
Server mocks base method.
func (*MockClient) SnapshotService ¶
func (m *MockClient) SnapshotService(arg0 string) snapshots.Snapshotter
SnapshotService mocks base method.
func (*MockClient) Subscribe ¶
func (m *MockClient) Subscribe(arg0 context.Context, arg1 ...string) (<-chan *events.Envelope, <-chan error)
Subscribe mocks base method.
func (*MockClient) TaskService ¶
func (m *MockClient) TaskService() tasks.TasksClient
TaskService mocks base method.
func (*MockClient) Version ¶
func (m *MockClient) Version(arg0 context.Context) (containerd.Version, error)
Version mocks base method.
func (*MockClient) VersionService ¶
func (m *MockClient) VersionService() version.VersionClient
VersionService mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Close ¶
func (mr *MockClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientMockRecorder) Conn ¶
func (mr *MockClientMockRecorder) Conn() *gomock.Call
Conn indicates an expected call of Conn.
func (*MockClientMockRecorder) ContainerService ¶
func (mr *MockClientMockRecorder) ContainerService() *gomock.Call
ContainerService indicates an expected call of ContainerService.
func (*MockClientMockRecorder) Containers ¶
func (mr *MockClientMockRecorder) Containers(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Containers indicates an expected call of Containers.
func (*MockClientMockRecorder) ContentStore ¶
func (mr *MockClientMockRecorder) ContentStore() *gomock.Call
ContentStore indicates an expected call of ContentStore.
func (*MockClientMockRecorder) DiffService ¶
func (mr *MockClientMockRecorder) DiffService() *gomock.Call
DiffService indicates an expected call of DiffService.
func (*MockClientMockRecorder) EventService ¶
func (mr *MockClientMockRecorder) EventService() *gomock.Call
EventService indicates an expected call of EventService.
func (*MockClientMockRecorder) Fetch ¶
func (mr *MockClientMockRecorder) Fetch(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Fetch indicates an expected call of Fetch.
func (*MockClientMockRecorder) GetImage ¶
func (mr *MockClientMockRecorder) GetImage(arg0, arg1 interface{}) *gomock.Call
GetImage indicates an expected call of GetImage.
func (*MockClientMockRecorder) GetLabel ¶
func (mr *MockClientMockRecorder) GetLabel(arg0, arg1 interface{}) *gomock.Call
GetLabel indicates an expected call of GetLabel.
func (*MockClientMockRecorder) GetSnapshotterSupportedPlatforms ¶
func (mr *MockClientMockRecorder) GetSnapshotterSupportedPlatforms(arg0, arg1 interface{}) *gomock.Call
GetSnapshotterSupportedPlatforms indicates an expected call of GetSnapshotterSupportedPlatforms.
func (*MockClientMockRecorder) HealthService ¶
func (mr *MockClientMockRecorder) HealthService() *gomock.Call
HealthService indicates an expected call of HealthService.
func (*MockClientMockRecorder) ImageService ¶
func (mr *MockClientMockRecorder) ImageService() *gomock.Call
ImageService indicates an expected call of ImageService.
func (*MockClientMockRecorder) IntrospectionService ¶
func (mr *MockClientMockRecorder) IntrospectionService() *gomock.Call
IntrospectionService indicates an expected call of IntrospectionService.
func (*MockClientMockRecorder) IsServing ¶
func (mr *MockClientMockRecorder) IsServing(arg0 interface{}) *gomock.Call
IsServing indicates an expected call of IsServing.
func (*MockClientMockRecorder) LeasesService ¶
func (mr *MockClientMockRecorder) LeasesService() *gomock.Call
LeasesService indicates an expected call of LeasesService.
func (*MockClientMockRecorder) ListImages ¶
func (mr *MockClientMockRecorder) ListImages(arg0 interface{}, arg1 ...interface{}) *gomock.Call
ListImages indicates an expected call of ListImages.
func (*MockClientMockRecorder) LoadContainer ¶
func (mr *MockClientMockRecorder) LoadContainer(arg0, arg1 interface{}) *gomock.Call
LoadContainer indicates an expected call of LoadContainer.
func (*MockClientMockRecorder) NamespaceService ¶
func (mr *MockClientMockRecorder) NamespaceService() *gomock.Call
NamespaceService indicates an expected call of NamespaceService.
func (*MockClientMockRecorder) NewContainer ¶
func (mr *MockClientMockRecorder) NewContainer(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
NewContainer indicates an expected call of NewContainer.
func (*MockClientMockRecorder) Pull ¶
func (mr *MockClientMockRecorder) Pull(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockClientMockRecorder) Push ¶
func (mr *MockClientMockRecorder) Push(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Push indicates an expected call of Push.
func (*MockClientMockRecorder) Reconnect ¶
func (mr *MockClientMockRecorder) Reconnect() *gomock.Call
Reconnect indicates an expected call of Reconnect.
func (*MockClientMockRecorder) Restore ¶
func (mr *MockClientMockRecorder) Restore(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockClientMockRecorder) Runtime ¶
func (mr *MockClientMockRecorder) Runtime() *gomock.Call
Runtime indicates an expected call of Runtime.
func (*MockClientMockRecorder) Server ¶
func (mr *MockClientMockRecorder) Server(arg0 interface{}) *gomock.Call
Server indicates an expected call of Server.
func (*MockClientMockRecorder) SnapshotService ¶
func (mr *MockClientMockRecorder) SnapshotService(arg0 interface{}) *gomock.Call
SnapshotService indicates an expected call of SnapshotService.
func (*MockClientMockRecorder) Subscribe ¶
func (mr *MockClientMockRecorder) Subscribe(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockClientMockRecorder) TaskService ¶
func (mr *MockClientMockRecorder) TaskService() *gomock.Call
TaskService indicates an expected call of TaskService.
func (*MockClientMockRecorder) Version ¶
func (mr *MockClientMockRecorder) Version(arg0 interface{}) *gomock.Call
Version indicates an expected call of Version.
func (*MockClientMockRecorder) VersionService ¶
func (mr *MockClientMockRecorder) VersionService() *gomock.Call
VersionService indicates an expected call of VersionService.
type MockEventService ¶
type MockEventService struct {
// contains filtered or unexported fields
}
MockEventService is a mock of EventService interface.
func NewMockEventService ¶
func NewMockEventService(ctrl *gomock.Controller) *MockEventService
NewMockEventService creates a new mock instance.
func (*MockEventService) EXPECT ¶
func (m *MockEventService) EXPECT() *MockEventServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventService) Publish ¶
func (m *MockEventService) Publish(arg0 context.Context, arg1 string, arg2 interface{}) error
Publish mocks base method.
func (*MockEventService) Subscribe ¶
func (m *MockEventService) Subscribe(arg0 context.Context) (<-chan *ports.EventEnvelope, <-chan error)
Subscribe mocks base method.
func (*MockEventService) SubscribeTopic ¶
func (m *MockEventService) SubscribeTopic(arg0 context.Context, arg1 string) (<-chan *ports.EventEnvelope, <-chan error)
SubscribeTopic mocks base method.
func (*MockEventService) SubscribeTopics ¶
func (m *MockEventService) SubscribeTopics(arg0 context.Context, arg1 []string) (<-chan *ports.EventEnvelope, <-chan error)
SubscribeTopics mocks base method.
type MockEventServiceMockRecorder ¶
type MockEventServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventServiceMockRecorder is the mock recorder for MockEventService.
func (*MockEventServiceMockRecorder) Publish ¶
func (mr *MockEventServiceMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockEventServiceMockRecorder) Subscribe ¶
func (mr *MockEventServiceMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockEventServiceMockRecorder) SubscribeTopic ¶
func (mr *MockEventServiceMockRecorder) SubscribeTopic(arg0, arg1 interface{}) *gomock.Call
SubscribeTopic indicates an expected call of SubscribeTopic.
func (*MockEventServiceMockRecorder) SubscribeTopics ¶
func (mr *MockEventServiceMockRecorder) SubscribeTopics(arg0, arg1 interface{}) *gomock.Call
SubscribeTopics indicates an expected call of SubscribeTopics.
type MockIDService ¶
type MockIDService struct {
// contains filtered or unexported fields
}
MockIDService is a mock of IDService interface.
func NewMockIDService ¶
func NewMockIDService(ctrl *gomock.Controller) *MockIDService
NewMockIDService creates a new mock instance.
func (*MockIDService) EXPECT ¶
func (m *MockIDService) EXPECT() *MockIDServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIDService) GenerateRandom ¶
func (m *MockIDService) GenerateRandom() (string, error)
GenerateRandom mocks base method.
type MockIDServiceMockRecorder ¶
type MockIDServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockIDServiceMockRecorder is the mock recorder for MockIDService.
func (*MockIDServiceMockRecorder) GenerateRandom ¶
func (mr *MockIDServiceMockRecorder) GenerateRandom() *gomock.Call
GenerateRandom indicates an expected call of GenerateRandom.
type MockImage ¶
type MockImage struct {
// contains filtered or unexported fields
}
MockImage is a mock of Image interface.
func NewMockImage ¶
func NewMockImage(ctrl *gomock.Controller) *MockImage
NewMockImage creates a new mock instance.
func (*MockImage) ContentStore ¶
ContentStore mocks base method.
func (*MockImage) EXPECT ¶
func (m *MockImage) EXPECT() *MockImageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImage) IsUnpacked ¶
IsUnpacked mocks base method.
func (*MockImage) Platform ¶ added in v0.1.3
func (m *MockImage) Platform() platforms.MatchComparer
Platform mocks base method.
type MockImageMockRecorder ¶
type MockImageMockRecorder struct {
// contains filtered or unexported fields
}
MockImageMockRecorder is the mock recorder for MockImage.
func (*MockImageMockRecorder) Config ¶
func (mr *MockImageMockRecorder) Config(arg0 interface{}) *gomock.Call
Config indicates an expected call of Config.
func (*MockImageMockRecorder) ContentStore ¶
func (mr *MockImageMockRecorder) ContentStore() *gomock.Call
ContentStore indicates an expected call of ContentStore.
func (*MockImageMockRecorder) IsUnpacked ¶
func (mr *MockImageMockRecorder) IsUnpacked(arg0, arg1 interface{}) *gomock.Call
IsUnpacked indicates an expected call of IsUnpacked.
func (*MockImageMockRecorder) Labels ¶
func (mr *MockImageMockRecorder) Labels() *gomock.Call
Labels indicates an expected call of Labels.
func (*MockImageMockRecorder) Metadata ¶
func (mr *MockImageMockRecorder) Metadata() *gomock.Call
Metadata indicates an expected call of Metadata.
func (*MockImageMockRecorder) Name ¶
func (mr *MockImageMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockImageMockRecorder) Platform ¶ added in v0.1.3
func (mr *MockImageMockRecorder) Platform() *gomock.Call
Platform indicates an expected call of Platform.
func (*MockImageMockRecorder) RootFS ¶
func (mr *MockImageMockRecorder) RootFS(arg0 interface{}) *gomock.Call
RootFS indicates an expected call of RootFS.
func (*MockImageMockRecorder) Size ¶
func (mr *MockImageMockRecorder) Size(arg0 interface{}) *gomock.Call
Size indicates an expected call of Size.
func (*MockImageMockRecorder) Spec ¶ added in v0.6.0
func (mr *MockImageMockRecorder) Spec(arg0 interface{}) *gomock.Call
Spec indicates an expected call of Spec.
func (*MockImageMockRecorder) Target ¶
func (mr *MockImageMockRecorder) Target() *gomock.Call
Target indicates an expected call of Target.
func (*MockImageMockRecorder) Unpack ¶
func (mr *MockImageMockRecorder) Unpack(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Unpack indicates an expected call of Unpack.
func (*MockImageMockRecorder) Usage ¶
func (mr *MockImageMockRecorder) Usage(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Usage indicates an expected call of Usage.
type MockImageService ¶
type MockImageService struct {
// contains filtered or unexported fields
}
MockImageService is a mock of ImageService interface.
func NewMockImageService ¶
func NewMockImageService(ctrl *gomock.Controller) *MockImageService
NewMockImageService creates a new mock instance.
func (*MockImageService) EXPECT ¶
func (m *MockImageService) EXPECT() *MockImageServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockImageService) IsMounted ¶
func (m *MockImageService) IsMounted(arg0 context.Context, arg1 *ports.ImageMountSpec) (bool, error)
IsMounted mocks base method.
func (*MockImageService) PullAndMount ¶
func (m *MockImageService) PullAndMount(arg0 context.Context, arg1 *ports.ImageMountSpec) ([]models.Mount, error)
PullAndMount mocks base method.
type MockImageServiceMockRecorder ¶
type MockImageServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockImageServiceMockRecorder is the mock recorder for MockImageService.
func (*MockImageServiceMockRecorder) Exists ¶
func (mr *MockImageServiceMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockImageServiceMockRecorder) IsMounted ¶
func (mr *MockImageServiceMockRecorder) IsMounted(arg0, arg1 interface{}) *gomock.Call
IsMounted indicates an expected call of IsMounted.
func (*MockImageServiceMockRecorder) Pull ¶
func (mr *MockImageServiceMockRecorder) Pull(arg0, arg1 interface{}) *gomock.Call
Pull indicates an expected call of Pull.
func (*MockImageServiceMockRecorder) PullAndMount ¶
func (mr *MockImageServiceMockRecorder) PullAndMount(arg0, arg1 interface{}) *gomock.Call
PullAndMount indicates an expected call of PullAndMount.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) AddResource ¶
func (m *MockManager) AddResource(arg0 context.Context, arg1 leases.Lease, arg2 leases.Resource) error
AddResource mocks base method.
func (*MockManager) Delete ¶
func (m *MockManager) Delete(arg0 context.Context, arg1 leases.Lease, arg2 ...leases.DeleteOpt) error
Delete mocks base method.
func (*MockManager) DeleteResource ¶
func (m *MockManager) DeleteResource(arg0 context.Context, arg1 leases.Lease, arg2 leases.Resource) error
DeleteResource mocks base method.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) ListResources ¶
func (m *MockManager) ListResources(arg0 context.Context, arg1 leases.Lease) ([]leases.Resource, error)
ListResources mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) AddResource ¶
func (mr *MockManagerMockRecorder) AddResource(arg0, arg1, arg2 interface{}) *gomock.Call
AddResource indicates an expected call of AddResource.
func (*MockManagerMockRecorder) Create ¶
func (mr *MockManagerMockRecorder) Create(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockManagerMockRecorder) Delete ¶
func (mr *MockManagerMockRecorder) Delete(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockManagerMockRecorder) DeleteResource ¶
func (mr *MockManagerMockRecorder) DeleteResource(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteResource indicates an expected call of DeleteResource.
func (*MockManagerMockRecorder) List ¶
func (mr *MockManagerMockRecorder) List(arg0 interface{}, arg1 ...interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockManagerMockRecorder) ListResources ¶
func (mr *MockManagerMockRecorder) ListResources(arg0, arg1 interface{}) *gomock.Call
ListResources indicates an expected call of ListResources.
type MockMicroVMCommandUseCases ¶
type MockMicroVMCommandUseCases struct {
// contains filtered or unexported fields
}
MockMicroVMCommandUseCases is a mock of MicroVMCommandUseCases interface.
func NewMockMicroVMCommandUseCases ¶
func NewMockMicroVMCommandUseCases(ctrl *gomock.Controller) *MockMicroVMCommandUseCases
NewMockMicroVMCommandUseCases creates a new mock instance.
func (*MockMicroVMCommandUseCases) CreateMicroVM ¶
func (m *MockMicroVMCommandUseCases) CreateMicroVM(arg0 context.Context, arg1 *models.MicroVM) (*models.MicroVM, error)
CreateMicroVM mocks base method.
func (*MockMicroVMCommandUseCases) DeleteMicroVM ¶
func (m *MockMicroVMCommandUseCases) DeleteMicroVM(arg0 context.Context, arg1 string) error
DeleteMicroVM mocks base method.
func (*MockMicroVMCommandUseCases) EXPECT ¶
func (m *MockMicroVMCommandUseCases) EXPECT() *MockMicroVMCommandUseCasesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockMicroVMCommandUseCasesMockRecorder ¶
type MockMicroVMCommandUseCasesMockRecorder struct {
// contains filtered or unexported fields
}
MockMicroVMCommandUseCasesMockRecorder is the mock recorder for MockMicroVMCommandUseCases.
func (*MockMicroVMCommandUseCasesMockRecorder) CreateMicroVM ¶
func (mr *MockMicroVMCommandUseCasesMockRecorder) CreateMicroVM(arg0, arg1 interface{}) *gomock.Call
CreateMicroVM indicates an expected call of CreateMicroVM.
func (*MockMicroVMCommandUseCasesMockRecorder) DeleteMicroVM ¶
func (mr *MockMicroVMCommandUseCasesMockRecorder) DeleteMicroVM(arg0, arg1 interface{}) *gomock.Call
DeleteMicroVM indicates an expected call of DeleteMicroVM.
type MockMicroVMQueryUseCases ¶
type MockMicroVMQueryUseCases struct {
// contains filtered or unexported fields
}
MockMicroVMQueryUseCases is a mock of MicroVMQueryUseCases interface.
func NewMockMicroVMQueryUseCases ¶
func NewMockMicroVMQueryUseCases(ctrl *gomock.Controller) *MockMicroVMQueryUseCases
NewMockMicroVMQueryUseCases creates a new mock instance.
func (*MockMicroVMQueryUseCases) EXPECT ¶
func (m *MockMicroVMQueryUseCases) EXPECT() *MockMicroVMQueryUseCasesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMicroVMQueryUseCases) GetAllMicroVM ¶
func (m *MockMicroVMQueryUseCases) GetAllMicroVM(arg0 context.Context, arg1 models.ListMicroVMQuery) ([]*models.MicroVM, error)
GetAllMicroVM mocks base method.
func (*MockMicroVMQueryUseCases) GetMicroVM ¶
func (m *MockMicroVMQueryUseCases) GetMicroVM(arg0 context.Context, arg1 string) (*models.MicroVM, error)
GetMicroVM mocks base method.
type MockMicroVMQueryUseCasesMockRecorder ¶
type MockMicroVMQueryUseCasesMockRecorder struct {
// contains filtered or unexported fields
}
MockMicroVMQueryUseCasesMockRecorder is the mock recorder for MockMicroVMQueryUseCases.
func (*MockMicroVMQueryUseCasesMockRecorder) GetAllMicroVM ¶
func (mr *MockMicroVMQueryUseCasesMockRecorder) GetAllMicroVM(arg0, arg1 interface{}) *gomock.Call
GetAllMicroVM indicates an expected call of GetAllMicroVM.
func (*MockMicroVMQueryUseCasesMockRecorder) GetMicroVM ¶
func (mr *MockMicroVMQueryUseCasesMockRecorder) GetMicroVM(arg0, arg1 interface{}) *gomock.Call
GetMicroVM indicates an expected call of GetMicroVM.
type MockMicroVMRepository ¶
type MockMicroVMRepository struct {
// contains filtered or unexported fields
}
MockMicroVMRepository is a mock of MicroVMRepository interface.
func NewMockMicroVMRepository ¶
func NewMockMicroVMRepository(ctrl *gomock.Controller) *MockMicroVMRepository
NewMockMicroVMRepository creates a new mock instance.
func (*MockMicroVMRepository) EXPECT ¶
func (m *MockMicroVMRepository) EXPECT() *MockMicroVMRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMicroVMRepository) Get ¶
func (m *MockMicroVMRepository) Get(arg0 context.Context, arg1 ports.RepositoryGetOptions) (*models.MicroVM, error)
Get mocks base method.
func (*MockMicroVMRepository) GetAll ¶
func (m *MockMicroVMRepository) GetAll(arg0 context.Context, arg1 models.ListMicroVMQuery) ([]*models.MicroVM, error)
GetAll mocks base method.
func (*MockMicroVMRepository) ReleaseLease ¶
ReleaseLease mocks base method.
type MockMicroVMRepositoryMockRecorder ¶
type MockMicroVMRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockMicroVMRepositoryMockRecorder is the mock recorder for MockMicroVMRepository.
func (*MockMicroVMRepositoryMockRecorder) Delete ¶
func (mr *MockMicroVMRepositoryMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMicroVMRepositoryMockRecorder) Exists ¶
func (mr *MockMicroVMRepositoryMockRecorder) Exists(arg0, arg1 interface{}) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockMicroVMRepositoryMockRecorder) Get ¶
func (mr *MockMicroVMRepositoryMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockMicroVMRepositoryMockRecorder) GetAll ¶
func (mr *MockMicroVMRepositoryMockRecorder) GetAll(arg0, arg1 interface{}) *gomock.Call
GetAll indicates an expected call of GetAll.
func (*MockMicroVMRepositoryMockRecorder) ReleaseLease ¶
func (mr *MockMicroVMRepositoryMockRecorder) ReleaseLease(arg0, arg1 interface{}) *gomock.Call
ReleaseLease indicates an expected call of ReleaseLease.
func (*MockMicroVMRepositoryMockRecorder) Save ¶
func (mr *MockMicroVMRepositoryMockRecorder) Save(arg0, arg1 interface{}) *gomock.Call
Save indicates an expected call of Save.
type MockMicroVMService ¶
type MockMicroVMService struct {
// contains filtered or unexported fields
}
MockMicroVMService is a mock of MicroVMService interface.
func NewMockMicroVMService ¶
func NewMockMicroVMService(ctrl *gomock.Controller) *MockMicroVMService
NewMockMicroVMService creates a new mock instance.
func (*MockMicroVMService) Capabilities ¶
func (m *MockMicroVMService) Capabilities() models.Capabilities
Capabilities mocks base method.
func (*MockMicroVMService) Delete ¶
func (m *MockMicroVMService) Delete(arg0 context.Context, arg1 string) error
Delete mocks base method.
func (*MockMicroVMService) EXPECT ¶
func (m *MockMicroVMService) EXPECT() *MockMicroVMServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMicroVMService) Metrics ¶
func (m *MockMicroVMService) Metrics(arg0 context.Context, arg1 models.VMID) (ports.MachineMetrics, error)
Metrics mocks base method.
func (*MockMicroVMService) State ¶
func (m *MockMicroVMService) State(arg0 context.Context, arg1 string) (ports.MicroVMState, error)
State mocks base method.
type MockMicroVMServiceMockRecorder ¶
type MockMicroVMServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMicroVMServiceMockRecorder is the mock recorder for MockMicroVMService.
func (*MockMicroVMServiceMockRecorder) Capabilities ¶
func (mr *MockMicroVMServiceMockRecorder) Capabilities() *gomock.Call
Capabilities indicates an expected call of Capabilities.
func (*MockMicroVMServiceMockRecorder) Create ¶
func (mr *MockMicroVMServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMicroVMServiceMockRecorder) Delete ¶
func (mr *MockMicroVMServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockMicroVMServiceMockRecorder) Metrics ¶
func (mr *MockMicroVMServiceMockRecorder) Metrics(arg0, arg1 interface{}) *gomock.Call
Metrics indicates an expected call of Metrics.
func (*MockMicroVMServiceMockRecorder) Start ¶
func (mr *MockMicroVMServiceMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockMicroVMServiceMockRecorder) State ¶
func (mr *MockMicroVMServiceMockRecorder) State(arg0, arg1 interface{}) *gomock.Call
State indicates an expected call of State.
type MockNetworkService ¶
type MockNetworkService struct {
// contains filtered or unexported fields
}
MockNetworkService is a mock of NetworkService interface.
func NewMockNetworkService ¶
func NewMockNetworkService(ctrl *gomock.Controller) *MockNetworkService
NewMockNetworkService creates a new mock instance.
func (*MockNetworkService) EXPECT ¶
func (m *MockNetworkService) EXPECT() *MockNetworkServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNetworkService) IfaceCreate ¶
func (m *MockNetworkService) IfaceCreate(arg0 context.Context, arg1 ports.IfaceCreateInput) (*ports.IfaceDetails, error)
IfaceCreate mocks base method.
func (*MockNetworkService) IfaceDelete ¶
func (m *MockNetworkService) IfaceDelete(arg0 context.Context, arg1 ports.DeleteIfaceInput) error
IfaceDelete mocks base method.
func (*MockNetworkService) IfaceDetails ¶
func (m *MockNetworkService) IfaceDetails(arg0 context.Context, arg1 string) (*ports.IfaceDetails, error)
IfaceDetails mocks base method.
func (*MockNetworkService) IfaceExists ¶
IfaceExists mocks base method.
type MockNetworkServiceMockRecorder ¶
type MockNetworkServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkServiceMockRecorder is the mock recorder for MockNetworkService.
func (*MockNetworkServiceMockRecorder) IfaceCreate ¶
func (mr *MockNetworkServiceMockRecorder) IfaceCreate(arg0, arg1 interface{}) *gomock.Call
IfaceCreate indicates an expected call of IfaceCreate.
func (*MockNetworkServiceMockRecorder) IfaceDelete ¶
func (mr *MockNetworkServiceMockRecorder) IfaceDelete(arg0, arg1 interface{}) *gomock.Call
IfaceDelete indicates an expected call of IfaceDelete.
func (*MockNetworkServiceMockRecorder) IfaceDetails ¶
func (mr *MockNetworkServiceMockRecorder) IfaceDetails(arg0, arg1 interface{}) *gomock.Call
IfaceDetails indicates an expected call of IfaceDetails.
func (*MockNetworkServiceMockRecorder) IfaceExists ¶
func (mr *MockNetworkServiceMockRecorder) IfaceExists(arg0, arg1 interface{}) *gomock.Call
IfaceExists indicates an expected call of IfaceExists.
type MockReconcileMicroVMsUseCase ¶
type MockReconcileMicroVMsUseCase struct {
// contains filtered or unexported fields
}
MockReconcileMicroVMsUseCase is a mock of ReconcileMicroVMsUseCase interface.
func NewMockReconcileMicroVMsUseCase ¶
func NewMockReconcileMicroVMsUseCase(ctrl *gomock.Controller) *MockReconcileMicroVMsUseCase
NewMockReconcileMicroVMsUseCase creates a new mock instance.
func (*MockReconcileMicroVMsUseCase) EXPECT ¶
func (m *MockReconcileMicroVMsUseCase) EXPECT() *MockReconcileMicroVMsUseCaseMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReconcileMicroVMsUseCase) ReconcileMicroVM ¶
func (m *MockReconcileMicroVMsUseCase) ReconcileMicroVM(arg0 context.Context, arg1 models.VMID) error
ReconcileMicroVM mocks base method.
type MockReconcileMicroVMsUseCaseMockRecorder ¶
type MockReconcileMicroVMsUseCaseMockRecorder struct {
// contains filtered or unexported fields
}
MockReconcileMicroVMsUseCaseMockRecorder is the mock recorder for MockReconcileMicroVMsUseCase.
func (*MockReconcileMicroVMsUseCaseMockRecorder) ReconcileMicroVM ¶
func (mr *MockReconcileMicroVMsUseCaseMockRecorder) ReconcileMicroVM(arg0, arg1 interface{}) *gomock.Call
ReconcileMicroVM indicates an expected call of ReconcileMicroVM.
type MockSnapshotter ¶
type MockSnapshotter struct {
// contains filtered or unexported fields
}
MockSnapshotter is a mock of Snapshotter interface.
func NewMockSnapshotter ¶
func NewMockSnapshotter(ctrl *gomock.Controller) *MockSnapshotter
NewMockSnapshotter creates a new mock instance.
func (*MockSnapshotter) Commit ¶
func (m *MockSnapshotter) Commit(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) error
Commit mocks base method.
func (*MockSnapshotter) EXPECT ¶
func (m *MockSnapshotter) EXPECT() *MockSnapshotterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSnapshotter) Prepare ¶
func (m *MockSnapshotter) Prepare(arg0 context.Context, arg1, arg2 string, arg3 ...snapshots.Opt) ([]mount.Mount, error)
Prepare mocks base method.
func (*MockSnapshotter) Remove ¶
func (m *MockSnapshotter) Remove(arg0 context.Context, arg1 string) error
Remove mocks base method.
func (*MockSnapshotter) Update ¶
func (m *MockSnapshotter) Update(arg0 context.Context, arg1 snapshots.Info, arg2 ...string) (snapshots.Info, error)
Update mocks base method.
type MockSnapshotterMockRecorder ¶
type MockSnapshotterMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotterMockRecorder is the mock recorder for MockSnapshotter.
func (*MockSnapshotterMockRecorder) Close ¶
func (mr *MockSnapshotterMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockSnapshotterMockRecorder) Commit ¶
func (mr *MockSnapshotterMockRecorder) Commit(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Commit indicates an expected call of Commit.
func (*MockSnapshotterMockRecorder) Mounts ¶
func (mr *MockSnapshotterMockRecorder) Mounts(arg0, arg1 interface{}) *gomock.Call
Mounts indicates an expected call of Mounts.
func (*MockSnapshotterMockRecorder) Prepare ¶
func (mr *MockSnapshotterMockRecorder) Prepare(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Prepare indicates an expected call of Prepare.
func (*MockSnapshotterMockRecorder) Remove ¶
func (mr *MockSnapshotterMockRecorder) Remove(arg0, arg1 interface{}) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockSnapshotterMockRecorder) Stat ¶
func (mr *MockSnapshotterMockRecorder) Stat(arg0, arg1 interface{}) *gomock.Call
Stat indicates an expected call of Stat.
func (*MockSnapshotterMockRecorder) Update ¶
func (mr *MockSnapshotterMockRecorder) Update(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockSnapshotterMockRecorder) Usage ¶
func (mr *MockSnapshotterMockRecorder) Usage(arg0, arg1 interface{}) *gomock.Call
Usage indicates an expected call of Usage.
func (*MockSnapshotterMockRecorder) View ¶
func (mr *MockSnapshotterMockRecorder) View(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
View indicates an expected call of View.
func (*MockSnapshotterMockRecorder) Walk ¶
func (mr *MockSnapshotterMockRecorder) Walk(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Walk indicates an expected call of Walk.