mocks_backend

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Overview

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Package mocks_backend is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockContainerdClient

type MockContainerdClient struct {
	// contains filtered or unexported fields
}

MockContainerdClient is a mock of ContainerdClient interface.

func NewMockContainerdClient

func NewMockContainerdClient(ctrl *gomock.Controller) *MockContainerdClient

NewMockContainerdClient creates a new mock instance.

func (*MockContainerdClient) ConvertImage

func (m *MockContainerdClient) ConvertImage(arg0 context.Context, arg1, arg2 string, arg3 ...converter.Opt) (*images.Image, error)

ConvertImage mocks base method.

func (*MockContainerdClient) DefaultDockerHost

func (m *MockContainerdClient) DefaultDockerHost(arg0 string) (string, error)

DefaultDockerHost mocks base method.

func (*MockContainerdClient) DefaultPlatformSpec

func (m *MockContainerdClient) DefaultPlatformSpec() v1.Platform

DefaultPlatformSpec mocks base method.

func (*MockContainerdClient) DefaultPlatformStrict

func (m *MockContainerdClient) DefaultPlatformStrict() platforms.MatchComparer

DefaultPlatformStrict mocks base method.

func (*MockContainerdClient) DeleteImage

func (m *MockContainerdClient) DeleteImage(arg0 context.Context, arg1 string) error

DeleteImage mocks base method.

func (*MockContainerdClient) EXPECT

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

func (*MockContainerdClient) GetClient

func (m *MockContainerdClient) GetClient() *containerd.Client

GetClient mocks base method.

func (*MockContainerdClient) GetContainerRemoveEvent

func (m *MockContainerdClient) GetContainerRemoveEvent(arg0 context.Context, arg1 containerd.Container) (<-chan *events.Envelope, <-chan error)

GetContainerRemoveEvent mocks base method.

func (*MockContainerdClient) GetContainerStatus

GetContainerStatus mocks base method.

func (*MockContainerdClient) GetContainerTaskWait

func (m *MockContainerdClient) GetContainerTaskWait(arg0 context.Context, arg1 cio.Attach, arg2 containerd.Container) (containerd.Task, <-chan containerd.ExitStatus, error)

GetContainerTaskWait mocks base method.

func (*MockContainerdClient) GetCurrentCapabilities

func (m *MockContainerdClient) GetCurrentCapabilities() ([]string, error)

GetCurrentCapabilities mocks base method.

func (*MockContainerdClient) GetImage

func (m *MockContainerdClient) GetImage(arg0 context.Context, arg1 string) (containerd.Image, error)

GetImage mocks base method.

func (*MockContainerdClient) GetImageDigests

func (m *MockContainerdClient) GetImageDigests(arg0 context.Context, arg1 *images.Image) ([]digest.Digest, error)

GetImageDigests mocks base method.

func (*MockContainerdClient) GetUsedImages

func (m *MockContainerdClient) GetUsedImages(arg0 context.Context) (map[string]string, map[string]string, error)

GetUsedImages mocks base method.

func (*MockContainerdClient) ImageService

func (m *MockContainerdClient) ImageService() images.Store

ImageService mocks base method.

func (*MockContainerdClient) ListSnapshotMounts

func (m *MockContainerdClient) ListSnapshotMounts(arg0 context.Context, arg1 string) ([]mount.Mount, error)

ListSnapshotMounts mocks base method.

func (*MockContainerdClient) MountAll

func (m *MockContainerdClient) MountAll(arg0 []mount.Mount, arg1 string) error

MountAll mocks base method.

func (*MockContainerdClient) NewDirectCIO

func (m *MockContainerdClient) NewDirectCIO(arg0 context.Context, arg1 *cio.FIFOSet) (*cio.DirectIO, error)

NewDirectCIO mocks base method.

func (*MockContainerdClient) NewFIFOSetInDir

func (m *MockContainerdClient) NewFIFOSetInDir(arg0, arg1 string, arg2 bool) (*cio.FIFOSet, error)

NewFIFOSetInDir mocks base method.

func (*MockContainerdClient) OCISpecWithAdditionalGIDs

func (m *MockContainerdClient) OCISpecWithAdditionalGIDs(arg0 string) oci.SpecOpts

OCISpecWithAdditionalGIDs mocks base method.

func (*MockContainerdClient) OCISpecWithUser

func (m *MockContainerdClient) OCISpecWithUser(arg0 string) oci.SpecOpts

OCISpecWithUser mocks base method.

func (*MockContainerdClient) ParseDockerRef

func (m *MockContainerdClient) ParseDockerRef(arg0 string) (string, string, error)

ParseDockerRef mocks base method.

func (*MockContainerdClient) ParsePlatform

func (m *MockContainerdClient) ParsePlatform(arg0 string) (v1.Platform, error)

ParsePlatform mocks base method.

func (*MockContainerdClient) PublishEvent

func (m *MockContainerdClient) PublishEvent(arg0 context.Context, arg1 string, arg2 events.Event) error

PublishEvent mocks base method.

func (*MockContainerdClient) SearchContainer

func (m *MockContainerdClient) SearchContainer(arg0 context.Context, arg1 string) ([]containerd.Container, error)

SearchContainer mocks base method.

func (*MockContainerdClient) SearchImage

func (m *MockContainerdClient) SearchImage(arg0 context.Context, arg1 string) ([]images.Image, error)

SearchImage mocks base method.

func (*MockContainerdClient) SubscribeToEvents

func (m *MockContainerdClient) SubscribeToEvents(arg0 context.Context, arg1 ...string) (<-chan *events.Envelope, <-chan error)

SubscribeToEvents mocks base method.

func (*MockContainerdClient) Unmount

func (m *MockContainerdClient) Unmount(arg0 string, arg1 int) error

Unmount mocks base method.

type MockContainerdClientMockRecorder

type MockContainerdClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockContainerdClientMockRecorder is the mock recorder for MockContainerdClient.

func (*MockContainerdClientMockRecorder) ConvertImage

func (mr *MockContainerdClientMockRecorder) ConvertImage(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

ConvertImage indicates an expected call of ConvertImage.

func (*MockContainerdClientMockRecorder) DefaultDockerHost

func (mr *MockContainerdClientMockRecorder) DefaultDockerHost(arg0 interface{}) *gomock.Call

DefaultDockerHost indicates an expected call of DefaultDockerHost.

func (*MockContainerdClientMockRecorder) DefaultPlatformSpec

func (mr *MockContainerdClientMockRecorder) DefaultPlatformSpec() *gomock.Call

DefaultPlatformSpec indicates an expected call of DefaultPlatformSpec.

func (*MockContainerdClientMockRecorder) DefaultPlatformStrict

func (mr *MockContainerdClientMockRecorder) DefaultPlatformStrict() *gomock.Call

DefaultPlatformStrict indicates an expected call of DefaultPlatformStrict.

func (*MockContainerdClientMockRecorder) DeleteImage

func (mr *MockContainerdClientMockRecorder) DeleteImage(arg0, arg1 interface{}) *gomock.Call

DeleteImage indicates an expected call of DeleteImage.

func (*MockContainerdClientMockRecorder) GetClient

func (mr *MockContainerdClientMockRecorder) GetClient() *gomock.Call

GetClient indicates an expected call of GetClient.

func (*MockContainerdClientMockRecorder) GetContainerRemoveEvent

func (mr *MockContainerdClientMockRecorder) GetContainerRemoveEvent(arg0, arg1 interface{}) *gomock.Call

GetContainerRemoveEvent indicates an expected call of GetContainerRemoveEvent.

func (*MockContainerdClientMockRecorder) GetContainerStatus

func (mr *MockContainerdClientMockRecorder) GetContainerStatus(arg0, arg1 interface{}) *gomock.Call

GetContainerStatus indicates an expected call of GetContainerStatus.

func (*MockContainerdClientMockRecorder) GetContainerTaskWait

func (mr *MockContainerdClientMockRecorder) GetContainerTaskWait(arg0, arg1, arg2 interface{}) *gomock.Call

GetContainerTaskWait indicates an expected call of GetContainerTaskWait.

func (*MockContainerdClientMockRecorder) GetCurrentCapabilities

func (mr *MockContainerdClientMockRecorder) GetCurrentCapabilities() *gomock.Call

GetCurrentCapabilities indicates an expected call of GetCurrentCapabilities.

func (*MockContainerdClientMockRecorder) GetImage

func (mr *MockContainerdClientMockRecorder) GetImage(arg0, arg1 interface{}) *gomock.Call

GetImage indicates an expected call of GetImage.

func (*MockContainerdClientMockRecorder) GetImageDigests

func (mr *MockContainerdClientMockRecorder) GetImageDigests(arg0, arg1 interface{}) *gomock.Call

GetImageDigests indicates an expected call of GetImageDigests.

func (*MockContainerdClientMockRecorder) GetUsedImages

func (mr *MockContainerdClientMockRecorder) GetUsedImages(arg0 interface{}) *gomock.Call

GetUsedImages indicates an expected call of GetUsedImages.

func (*MockContainerdClientMockRecorder) ImageService

func (mr *MockContainerdClientMockRecorder) ImageService() *gomock.Call

ImageService indicates an expected call of ImageService.

func (*MockContainerdClientMockRecorder) ListSnapshotMounts

func (mr *MockContainerdClientMockRecorder) ListSnapshotMounts(arg0, arg1 interface{}) *gomock.Call

ListSnapshotMounts indicates an expected call of ListSnapshotMounts.

func (*MockContainerdClientMockRecorder) MountAll

func (mr *MockContainerdClientMockRecorder) MountAll(arg0, arg1 interface{}) *gomock.Call

MountAll indicates an expected call of MountAll.

func (*MockContainerdClientMockRecorder) NewDirectCIO

func (mr *MockContainerdClientMockRecorder) NewDirectCIO(arg0, arg1 interface{}) *gomock.Call

NewDirectCIO indicates an expected call of NewDirectCIO.

func (*MockContainerdClientMockRecorder) NewFIFOSetInDir

func (mr *MockContainerdClientMockRecorder) NewFIFOSetInDir(arg0, arg1, arg2 interface{}) *gomock.Call

NewFIFOSetInDir indicates an expected call of NewFIFOSetInDir.

func (*MockContainerdClientMockRecorder) OCISpecWithAdditionalGIDs

func (mr *MockContainerdClientMockRecorder) OCISpecWithAdditionalGIDs(arg0 interface{}) *gomock.Call

OCISpecWithAdditionalGIDs indicates an expected call of OCISpecWithAdditionalGIDs.

func (*MockContainerdClientMockRecorder) OCISpecWithUser

func (mr *MockContainerdClientMockRecorder) OCISpecWithUser(arg0 interface{}) *gomock.Call

OCISpecWithUser indicates an expected call of OCISpecWithUser.

func (*MockContainerdClientMockRecorder) ParseDockerRef

func (mr *MockContainerdClientMockRecorder) ParseDockerRef(arg0 interface{}) *gomock.Call

ParseDockerRef indicates an expected call of ParseDockerRef.

func (*MockContainerdClientMockRecorder) ParsePlatform

func (mr *MockContainerdClientMockRecorder) ParsePlatform(arg0 interface{}) *gomock.Call

ParsePlatform indicates an expected call of ParsePlatform.

func (*MockContainerdClientMockRecorder) PublishEvent

func (mr *MockContainerdClientMockRecorder) PublishEvent(arg0, arg1, arg2 interface{}) *gomock.Call

PublishEvent indicates an expected call of PublishEvent.

func (*MockContainerdClientMockRecorder) SearchContainer

func (mr *MockContainerdClientMockRecorder) SearchContainer(arg0, arg1 interface{}) *gomock.Call

SearchContainer indicates an expected call of SearchContainer.

func (*MockContainerdClientMockRecorder) SearchImage

func (mr *MockContainerdClientMockRecorder) SearchImage(arg0, arg1 interface{}) *gomock.Call

SearchImage indicates an expected call of SearchImage.

func (*MockContainerdClientMockRecorder) SubscribeToEvents

func (mr *MockContainerdClientMockRecorder) SubscribeToEvents(arg0 interface{}, arg1 ...interface{}) *gomock.Call

SubscribeToEvents indicates an expected call of SubscribeToEvents.

func (*MockContainerdClientMockRecorder) Unmount

func (mr *MockContainerdClientMockRecorder) Unmount(arg0, arg1 interface{}) *gomock.Call

Unmount indicates an expected call of Unmount.

type MockNerdctlBuilderSvc

type MockNerdctlBuilderSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlBuilderSvc is a mock of NerdctlBuilderSvc interface.

func NewMockNerdctlBuilderSvc

func NewMockNerdctlBuilderSvc(ctrl *gomock.Controller) *MockNerdctlBuilderSvc

NewMockNerdctlBuilderSvc creates a new mock instance.

func (*MockNerdctlBuilderSvc) Build

Build mocks base method.

func (*MockNerdctlBuilderSvc) EXPECT

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

func (*MockNerdctlBuilderSvc) GetBuildkitHost

func (m *MockNerdctlBuilderSvc) GetBuildkitHost() (string, error)

GetBuildkitHost mocks base method.

type MockNerdctlBuilderSvcMockRecorder

type MockNerdctlBuilderSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlBuilderSvcMockRecorder is the mock recorder for MockNerdctlBuilderSvc.

func (*MockNerdctlBuilderSvcMockRecorder) Build

func (mr *MockNerdctlBuilderSvcMockRecorder) Build(arg0, arg1, arg2 interface{}) *gomock.Call

Build indicates an expected call of Build.

func (*MockNerdctlBuilderSvcMockRecorder) GetBuildkitHost

func (mr *MockNerdctlBuilderSvcMockRecorder) GetBuildkitHost() *gomock.Call

GetBuildkitHost indicates an expected call of GetBuildkitHost.

type MockNerdctlContainerSvc

type MockNerdctlContainerSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlContainerSvc is a mock of NerdctlContainerSvc interface.

func NewMockNerdctlContainerSvc

func NewMockNerdctlContainerSvc(ctrl *gomock.Controller) *MockNerdctlContainerSvc

NewMockNerdctlContainerSvc creates a new mock instance.

func (*MockNerdctlContainerSvc) CreateContainer

CreateContainer mocks base method.

func (*MockNerdctlContainerSvc) EXPECT

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

func (*MockNerdctlContainerSvc) GetDataStore

func (m *MockNerdctlContainerSvc) GetDataStore() (string, error)

GetDataStore mocks base method.

func (*MockNerdctlContainerSvc) GetNerdctlExe

func (m *MockNerdctlContainerSvc) GetNerdctlExe() (string, error)

GetNerdctlExe mocks base method.

func (*MockNerdctlContainerSvc) InspectContainer

InspectContainer mocks base method.

func (*MockNerdctlContainerSvc) InspectNetNS

func (m *MockNerdctlContainerSvc) InspectNetNS(arg0 context.Context, arg1 int) (*native.NetNS, error)

InspectNetNS mocks base method.

func (*MockNerdctlContainerSvc) ListContainers

ListContainers mocks base method.

func (*MockNerdctlContainerSvc) LoggingInitContainerLogViewer

func (m *MockNerdctlContainerSvc) LoggingInitContainerLogViewer(arg0 map[string]string, arg1 logging.LogViewOptions, arg2 chan os.Signal, arg3 bool) (*logging.ContainerLogViewer, error)

LoggingInitContainerLogViewer mocks base method.

func (*MockNerdctlContainerSvc) LoggingPrintLogsTo

func (m *MockNerdctlContainerSvc) LoggingPrintLogsTo(arg0, arg1 io.Writer, arg2 *logging.ContainerLogViewer) error

LoggingPrintLogsTo mocks base method.

func (*MockNerdctlContainerSvc) NewNetworkingOptionsManager

func (m *MockNerdctlContainerSvc) NewNetworkingOptionsManager(arg0 types.NetworkOptions) (containerutil.NetworkOptionsManager, error)

NewNetworkingOptionsManager mocks base method.

func (*MockNerdctlContainerSvc) RemoveContainer

func (m *MockNerdctlContainerSvc) RemoveContainer(arg0 context.Context, arg1 containerd.Container, arg2, arg3 bool) error

RemoveContainer mocks base method.

func (*MockNerdctlContainerSvc) RenameContainer

RenameContainer mocks base method.

func (*MockNerdctlContainerSvc) StartContainer

func (m *MockNerdctlContainerSvc) StartContainer(arg0 context.Context, arg1 containerd.Container) error

StartContainer mocks base method.

func (*MockNerdctlContainerSvc) StopContainer

func (m *MockNerdctlContainerSvc) StopContainer(arg0 context.Context, arg1 containerd.Container, arg2 *time.Duration) error

StopContainer mocks base method.

type MockNerdctlContainerSvcMockRecorder

type MockNerdctlContainerSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlContainerSvcMockRecorder is the mock recorder for MockNerdctlContainerSvc.

func (*MockNerdctlContainerSvcMockRecorder) CreateContainer

func (mr *MockNerdctlContainerSvcMockRecorder) CreateContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CreateContainer indicates an expected call of CreateContainer.

func (*MockNerdctlContainerSvcMockRecorder) GetDataStore

func (mr *MockNerdctlContainerSvcMockRecorder) GetDataStore() *gomock.Call

GetDataStore indicates an expected call of GetDataStore.

func (*MockNerdctlContainerSvcMockRecorder) GetNerdctlExe

func (mr *MockNerdctlContainerSvcMockRecorder) GetNerdctlExe() *gomock.Call

GetNerdctlExe indicates an expected call of GetNerdctlExe.

func (*MockNerdctlContainerSvcMockRecorder) InspectContainer

func (mr *MockNerdctlContainerSvcMockRecorder) InspectContainer(arg0, arg1 interface{}) *gomock.Call

InspectContainer indicates an expected call of InspectContainer.

func (*MockNerdctlContainerSvcMockRecorder) InspectNetNS

func (mr *MockNerdctlContainerSvcMockRecorder) InspectNetNS(arg0, arg1 interface{}) *gomock.Call

InspectNetNS indicates an expected call of InspectNetNS.

func (*MockNerdctlContainerSvcMockRecorder) ListContainers

func (mr *MockNerdctlContainerSvcMockRecorder) ListContainers(arg0, arg1 interface{}) *gomock.Call

ListContainers indicates an expected call of ListContainers.

func (*MockNerdctlContainerSvcMockRecorder) LoggingInitContainerLogViewer

func (mr *MockNerdctlContainerSvcMockRecorder) LoggingInitContainerLogViewer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LoggingInitContainerLogViewer indicates an expected call of LoggingInitContainerLogViewer.

func (*MockNerdctlContainerSvcMockRecorder) LoggingPrintLogsTo

func (mr *MockNerdctlContainerSvcMockRecorder) LoggingPrintLogsTo(arg0, arg1, arg2 interface{}) *gomock.Call

LoggingPrintLogsTo indicates an expected call of LoggingPrintLogsTo.

func (*MockNerdctlContainerSvcMockRecorder) NewNetworkingOptionsManager

func (mr *MockNerdctlContainerSvcMockRecorder) NewNetworkingOptionsManager(arg0 interface{}) *gomock.Call

NewNetworkingOptionsManager indicates an expected call of NewNetworkingOptionsManager.

func (*MockNerdctlContainerSvcMockRecorder) RemoveContainer

func (mr *MockNerdctlContainerSvcMockRecorder) RemoveContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RemoveContainer indicates an expected call of RemoveContainer.

func (*MockNerdctlContainerSvcMockRecorder) RenameContainer

func (mr *MockNerdctlContainerSvcMockRecorder) RenameContainer(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RenameContainer indicates an expected call of RenameContainer.

func (*MockNerdctlContainerSvcMockRecorder) StartContainer

func (mr *MockNerdctlContainerSvcMockRecorder) StartContainer(arg0, arg1 interface{}) *gomock.Call

StartContainer indicates an expected call of StartContainer.

func (*MockNerdctlContainerSvcMockRecorder) StopContainer

func (mr *MockNerdctlContainerSvcMockRecorder) StopContainer(arg0, arg1, arg2 interface{}) *gomock.Call

StopContainer indicates an expected call of StopContainer.

type MockNerdctlImageSvc

type MockNerdctlImageSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlImageSvc is a mock of NerdctlImageSvc interface.

func NewMockNerdctlImageSvc

func NewMockNerdctlImageSvc(ctrl *gomock.Controller) *MockNerdctlImageSvc

NewMockNerdctlImageSvc creates a new mock instance.

func (*MockNerdctlImageSvc) EXPECT

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

func (*MockNerdctlImageSvc) GetDataStore

func (m *MockNerdctlImageSvc) GetDataStore() (string, error)

GetDataStore mocks base method.

func (*MockNerdctlImageSvc) GetDockerResolver

GetDockerResolver mocks base method.

func (*MockNerdctlImageSvc) InspectImage

func (m *MockNerdctlImageSvc) InspectImage(arg0 context.Context, arg1 images.Image) (*dockercompat.Image, error)

InspectImage mocks base method.

func (*MockNerdctlImageSvc) LoadImage

func (m *MockNerdctlImageSvc) LoadImage(arg0 context.Context, arg1 string, arg2 io.Writer, arg3 bool) error

LoadImage mocks base method.

func (*MockNerdctlImageSvc) PullImage

func (m *MockNerdctlImageSvc) PullImage(arg0 context.Context, arg1, arg2 io.Writer, arg3 remotes.Resolver, arg4 string, arg5 []v1.Platform) (*imgutil.EnsuredImage, error)

PullImage mocks base method.

func (*MockNerdctlImageSvc) PushImage

func (m *MockNerdctlImageSvc) PushImage(arg0 context.Context, arg1 remotes.Resolver, arg2 docker.StatusTracker, arg3 io.Writer, arg4, arg5 string, arg6 platforms.MatchComparer) error

PushImage mocks base method.

func (*MockNerdctlImageSvc) SearchImage

func (m *MockNerdctlImageSvc) SearchImage(arg0 context.Context, arg1 string) (int, int, []*images.Image, error)

SearchImage mocks base method.

type MockNerdctlImageSvcMockRecorder

type MockNerdctlImageSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlImageSvcMockRecorder is the mock recorder for MockNerdctlImageSvc.

func (*MockNerdctlImageSvcMockRecorder) GetDataStore

func (mr *MockNerdctlImageSvcMockRecorder) GetDataStore() *gomock.Call

GetDataStore indicates an expected call of GetDataStore.

func (*MockNerdctlImageSvcMockRecorder) GetDockerResolver

func (mr *MockNerdctlImageSvcMockRecorder) GetDockerResolver(arg0, arg1, arg2 interface{}) *gomock.Call

GetDockerResolver indicates an expected call of GetDockerResolver.

func (*MockNerdctlImageSvcMockRecorder) InspectImage

func (mr *MockNerdctlImageSvcMockRecorder) InspectImage(arg0, arg1 interface{}) *gomock.Call

InspectImage indicates an expected call of InspectImage.

func (*MockNerdctlImageSvcMockRecorder) LoadImage

func (mr *MockNerdctlImageSvcMockRecorder) LoadImage(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

LoadImage indicates an expected call of LoadImage.

func (*MockNerdctlImageSvcMockRecorder) PullImage

func (mr *MockNerdctlImageSvcMockRecorder) PullImage(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

PullImage indicates an expected call of PullImage.

func (*MockNerdctlImageSvcMockRecorder) PushImage

func (mr *MockNerdctlImageSvcMockRecorder) PushImage(arg0, arg1, arg2, arg3, arg4, arg5, arg6 interface{}) *gomock.Call

PushImage indicates an expected call of PushImage.

func (*MockNerdctlImageSvcMockRecorder) SearchImage

func (mr *MockNerdctlImageSvcMockRecorder) SearchImage(arg0, arg1 interface{}) *gomock.Call

SearchImage indicates an expected call of SearchImage.

type MockNerdctlNetworkSvc

type MockNerdctlNetworkSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlNetworkSvc is a mock of NerdctlNetworkSvc interface.

func NewMockNerdctlNetworkSvc

func NewMockNerdctlNetworkSvc(ctrl *gomock.Controller) *MockNerdctlNetworkSvc

NewMockNerdctlNetworkSvc creates a new mock instance.

func (*MockNerdctlNetworkSvc) AddNetworkList

AddNetworkList mocks base method.

func (*MockNerdctlNetworkSvc) CreateNetwork

CreateNetwork mocks base method.

func (*MockNerdctlNetworkSvc) EXPECT

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

func (*MockNerdctlNetworkSvc) FilterNetworks

func (m *MockNerdctlNetworkSvc) FilterNetworks(arg0 func(*netutil.NetworkConfig) bool) ([]*netutil.NetworkConfig, error)

FilterNetworks mocks base method.

func (*MockNerdctlNetworkSvc) InspectNetwork

InspectNetwork mocks base method.

func (*MockNerdctlNetworkSvc) NetconfPath

func (m *MockNerdctlNetworkSvc) NetconfPath() string

NetconfPath mocks base method.

func (*MockNerdctlNetworkSvc) RemoveNetwork

func (m *MockNerdctlNetworkSvc) RemoveNetwork(arg0 *netutil.NetworkConfig) error

RemoveNetwork mocks base method.

func (*MockNerdctlNetworkSvc) UsedNetworkInfo

func (m *MockNerdctlNetworkSvc) UsedNetworkInfo(arg0 context.Context) (map[string][]string, error)

UsedNetworkInfo mocks base method.

type MockNerdctlNetworkSvcMockRecorder

type MockNerdctlNetworkSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlNetworkSvcMockRecorder is the mock recorder for MockNerdctlNetworkSvc.

func (*MockNerdctlNetworkSvcMockRecorder) AddNetworkList

func (mr *MockNerdctlNetworkSvcMockRecorder) AddNetworkList(arg0, arg1, arg2 interface{}) *gomock.Call

AddNetworkList indicates an expected call of AddNetworkList.

func (*MockNerdctlNetworkSvcMockRecorder) CreateNetwork

func (mr *MockNerdctlNetworkSvcMockRecorder) CreateNetwork(arg0 interface{}) *gomock.Call

CreateNetwork indicates an expected call of CreateNetwork.

func (*MockNerdctlNetworkSvcMockRecorder) FilterNetworks

func (mr *MockNerdctlNetworkSvcMockRecorder) FilterNetworks(arg0 interface{}) *gomock.Call

FilterNetworks indicates an expected call of FilterNetworks.

func (*MockNerdctlNetworkSvcMockRecorder) InspectNetwork

func (mr *MockNerdctlNetworkSvcMockRecorder) InspectNetwork(arg0, arg1 interface{}) *gomock.Call

InspectNetwork indicates an expected call of InspectNetwork.

func (*MockNerdctlNetworkSvcMockRecorder) NetconfPath

func (mr *MockNerdctlNetworkSvcMockRecorder) NetconfPath() *gomock.Call

NetconfPath indicates an expected call of NetconfPath.

func (*MockNerdctlNetworkSvcMockRecorder) RemoveNetwork

func (mr *MockNerdctlNetworkSvcMockRecorder) RemoveNetwork(arg0 interface{}) *gomock.Call

RemoveNetwork indicates an expected call of RemoveNetwork.

func (*MockNerdctlNetworkSvcMockRecorder) UsedNetworkInfo

func (mr *MockNerdctlNetworkSvcMockRecorder) UsedNetworkInfo(arg0 interface{}) *gomock.Call

UsedNetworkInfo indicates an expected call of UsedNetworkInfo.

type MockNerdctlSystemSvc

type MockNerdctlSystemSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlSystemSvc is a mock of NerdctlSystemSvc interface.

func NewMockNerdctlSystemSvc

func NewMockNerdctlSystemSvc(ctrl *gomock.Controller) *MockNerdctlSystemSvc

NewMockNerdctlSystemSvc creates a new mock instance.

func (*MockNerdctlSystemSvc) EXPECT

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

func (*MockNerdctlSystemSvc) GetServerVersion

func (m *MockNerdctlSystemSvc) GetServerVersion(arg0 context.Context) (*dockercompat.ServerVersion, error)

GetServerVersion mocks base method.

type MockNerdctlSystemSvcMockRecorder

type MockNerdctlSystemSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlSystemSvcMockRecorder is the mock recorder for MockNerdctlSystemSvc.

func (*MockNerdctlSystemSvcMockRecorder) GetServerVersion

func (mr *MockNerdctlSystemSvcMockRecorder) GetServerVersion(arg0 interface{}) *gomock.Call

GetServerVersion indicates an expected call of GetServerVersion.

type MockNerdctlVolumeSvc

type MockNerdctlVolumeSvc struct {
	// contains filtered or unexported fields
}

MockNerdctlVolumeSvc is a mock of NerdctlVolumeSvc interface.

func NewMockNerdctlVolumeSvc

func NewMockNerdctlVolumeSvc(ctrl *gomock.Controller) *MockNerdctlVolumeSvc

NewMockNerdctlVolumeSvc creates a new mock instance.

func (*MockNerdctlVolumeSvc) CreateVolume

func (m *MockNerdctlVolumeSvc) CreateVolume(arg0 string, arg1 []string) (*native.Volume, error)

CreateVolume mocks base method.

func (*MockNerdctlVolumeSvc) EXPECT

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

func (*MockNerdctlVolumeSvc) GetVolume

func (m *MockNerdctlVolumeSvc) GetVolume(arg0 string) (*native.Volume, error)

GetVolume mocks base method.

func (*MockNerdctlVolumeSvc) ListVolumes

func (m *MockNerdctlVolumeSvc) ListVolumes(arg0 bool, arg1 []string) (map[string]native.Volume, error)

ListVolumes mocks base method.

func (*MockNerdctlVolumeSvc) RemoveVolume

func (m *MockNerdctlVolumeSvc) RemoveVolume(arg0 context.Context, arg1 string, arg2 bool, arg3 io.Writer) error

RemoveVolume mocks base method.

type MockNerdctlVolumeSvcMockRecorder

type MockNerdctlVolumeSvcMockRecorder struct {
	// contains filtered or unexported fields
}

MockNerdctlVolumeSvcMockRecorder is the mock recorder for MockNerdctlVolumeSvc.

func (*MockNerdctlVolumeSvcMockRecorder) CreateVolume

func (mr *MockNerdctlVolumeSvcMockRecorder) CreateVolume(arg0, arg1 interface{}) *gomock.Call

CreateVolume indicates an expected call of CreateVolume.

func (*MockNerdctlVolumeSvcMockRecorder) GetVolume

func (mr *MockNerdctlVolumeSvcMockRecorder) GetVolume(arg0 interface{}) *gomock.Call

GetVolume indicates an expected call of GetVolume.

func (*MockNerdctlVolumeSvcMockRecorder) ListVolumes

func (mr *MockNerdctlVolumeSvcMockRecorder) ListVolumes(arg0, arg1 interface{}) *gomock.Call

ListVolumes indicates an expected call of ListVolumes.

func (*MockNerdctlVolumeSvcMockRecorder) RemoveVolume

func (mr *MockNerdctlVolumeSvcMockRecorder) RemoveVolume(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RemoveVolume indicates an expected call of RemoveVolume.

Jump to

Keyboard shortcuts

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