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 ¶
- type MockContainerdClient
- func (m *MockContainerdClient) ConvertImage(ctx context.Context, dstRef, srcRef string, opts ...converter.Opt) (*images.Image, error)
- func (m *MockContainerdClient) DefaultDockerHost(refDomain string) (string, error)
- func (m *MockContainerdClient) DefaultPlatformSpec() v1.Platform
- func (m *MockContainerdClient) DefaultPlatformStrict() platforms.MatchComparer
- func (m *MockContainerdClient) DeleteImage(ctx context.Context, img string) error
- func (m *MockContainerdClient) EXPECT() *MockContainerdClientMockRecorder
- func (m *MockContainerdClient) GetClient() *client.Client
- func (m *MockContainerdClient) GetContainerRemoveEvent(ctx context.Context, c client.Container) (<-chan *events.Envelope, <-chan error)
- func (m *MockContainerdClient) GetContainerStatus(ctx context.Context, c client.Container) client.ProcessStatus
- func (m *MockContainerdClient) GetContainerTaskWait(ctx context.Context, attach cio.Attach, c client.Container) (client.Task, <-chan client.ExitStatus, error)
- func (m *MockContainerdClient) GetContainers(ctx context.Context, filters ...string) ([]client.Container, error)
- func (m *MockContainerdClient) GetCurrentCapabilities() ([]string, error)
- func (m *MockContainerdClient) GetImage(ctx context.Context, ref string) (client.Image, error)
- func (m *MockContainerdClient) GetImageDigests(ctx context.Context, img *images.Image) ([]digest.Digest, error)
- func (m *MockContainerdClient) GetUsedImages(ctx context.Context) (map[string]string, map[string]string, error)
- func (m *MockContainerdClient) ImageService() images.Store
- func (m *MockContainerdClient) ListSnapshotMounts(ctx context.Context, cid string) ([]mount.Mount, error)
- func (m *MockContainerdClient) MountAll(mounts []mount.Mount, mPath string) error
- func (m *MockContainerdClient) NewDirectCIO(ctx context.Context, fifos *cio.FIFOSet) (*cio.DirectIO, error)
- func (m *MockContainerdClient) NewFIFOSetInDir(root, id string, terminal bool) (*cio.FIFOSet, error)
- func (m *MockContainerdClient) OCISpecWithAdditionalGIDs(user string) oci.SpecOpts
- func (m *MockContainerdClient) OCISpecWithUser(user string) oci.SpecOpts
- func (m *MockContainerdClient) ParseDockerRef(rawRef string) (string, string, error)
- func (m *MockContainerdClient) ParsePlatform(platform string) (v1.Platform, error)
- func (m *MockContainerdClient) PublishEvent(ctx context.Context, topic string, event events.Event) error
- func (m *MockContainerdClient) SearchContainer(ctx context.Context, searchText string) ([]client.Container, error)
- func (m *MockContainerdClient) SearchImage(ctx context.Context, searchText string) ([]images.Image, error)
- func (m *MockContainerdClient) SubscribeToEvents(ctx context.Context, filters ...string) (<-chan *events.Envelope, <-chan error)
- func (m *MockContainerdClient) Unmount(mPath string, flags int) error
- type MockContainerdClientMockRecorder
- func (mr *MockContainerdClientMockRecorder) ConvertImage(ctx, dstRef, srcRef any, opts ...any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) DefaultDockerHost(refDomain any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) DefaultPlatformSpec() *gomock.Call
- func (mr *MockContainerdClientMockRecorder) DefaultPlatformStrict() *gomock.Call
- func (mr *MockContainerdClientMockRecorder) DeleteImage(ctx, img any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetClient() *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetContainerRemoveEvent(ctx, c any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetContainerStatus(ctx, c any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetContainerTaskWait(ctx, attach, c any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetContainers(ctx any, filters ...any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetCurrentCapabilities() *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetImage(ctx, ref any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetImageDigests(ctx, img any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) GetUsedImages(ctx any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) ImageService() *gomock.Call
- func (mr *MockContainerdClientMockRecorder) ListSnapshotMounts(ctx, cid any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) MountAll(mounts, mPath any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) NewDirectCIO(ctx, fifos any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) NewFIFOSetInDir(root, id, terminal any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) OCISpecWithAdditionalGIDs(user any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) OCISpecWithUser(user any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) ParseDockerRef(rawRef any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) ParsePlatform(platform any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) PublishEvent(ctx, topic, event any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) SearchContainer(ctx, searchText any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) SearchImage(ctx, searchText any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) SubscribeToEvents(ctx any, filters ...any) *gomock.Call
- func (mr *MockContainerdClientMockRecorder) Unmount(mPath, flags any) *gomock.Call
- type MockNerdctlBuilderSvc
- type MockNerdctlBuilderSvcMockRecorder
- type MockNerdctlContainerSvc
- func (m *MockNerdctlContainerSvc) ContainerTop(ctx context.Context, cid string, options types.ContainerTopOptions) error
- func (m *MockNerdctlContainerSvc) ContainerWait(ctx context.Context, cid string, options types.ContainerWaitOptions) error
- func (m *MockNerdctlContainerSvc) CreateContainer(ctx context.Context, args []string, ...) (client.Container, func(), error)
- func (m *MockNerdctlContainerSvc) EXPECT() *MockNerdctlContainerSvcMockRecorder
- func (m *MockNerdctlContainerSvc) GetDataStore() (string, error)
- func (m *MockNerdctlContainerSvc) GetNerdctlExe() (string, error)
- func (m *MockNerdctlContainerSvc) InspectContainer(ctx context.Context, c client.Container, size bool) (*dockercompat.Container, error)
- func (m *MockNerdctlContainerSvc) InspectNetNS(ctx context.Context, pid int) (*native.NetNS, error)
- func (m *MockNerdctlContainerSvc) KillContainer(ctx context.Context, cid string, options types.ContainerKillOptions) error
- func (m *MockNerdctlContainerSvc) ListContainers(ctx context.Context, options types.ContainerListOptions) ([]container.ListItem, error)
- func (m *MockNerdctlContainerSvc) LoggingInitContainerLogViewer(containerLabels map[string]string, lvopts logging.LogViewOptions, ...) (*logging.ContainerLogViewer, error)
- func (m *MockNerdctlContainerSvc) LoggingPrintLogsTo(stdout, stderr io.Writer, clv *logging.ContainerLogViewer) error
- func (m *MockNerdctlContainerSvc) NewNetworkingOptionsManager(arg0 types.NetworkOptions) (containerutil.NetworkOptionsManager, error)
- func (m *MockNerdctlContainerSvc) PauseContainer(ctx context.Context, cid string, options types.ContainerPauseOptions) error
- func (m *MockNerdctlContainerSvc) RemoveContainer(ctx context.Context, c client.Container, force, removeAnonVolumes bool) error
- func (m *MockNerdctlContainerSvc) RenameContainer(ctx context.Context, arg1 client.Container, newName string, ...) error
- func (m *MockNerdctlContainerSvc) StartContainer(ctx context.Context, cid string, options types.ContainerStartOptions) error
- func (m *MockNerdctlContainerSvc) StopContainer(ctx context.Context, cid string, options types.ContainerStopOptions) error
- func (m *MockNerdctlContainerSvc) UnpauseContainer(ctx context.Context, cid string, options types.ContainerUnpauseOptions) error
- type MockNerdctlContainerSvcMockRecorder
- func (mr *MockNerdctlContainerSvcMockRecorder) ContainerTop(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) ContainerWait(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) CreateContainer(ctx, args, netManager, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) GetDataStore() *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) GetNerdctlExe() *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) InspectContainer(ctx, c, size any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) InspectNetNS(ctx, pid any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) KillContainer(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) ListContainers(ctx, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) LoggingInitContainerLogViewer(containerLabels, lvopts, stopChannel, experimental any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) LoggingPrintLogsTo(stdout, stderr, clv any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) NewNetworkingOptionsManager(arg0 any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) PauseContainer(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) RemoveContainer(ctx, c, force, removeAnonVolumes any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) RenameContainer(ctx, arg1, newName, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) StartContainer(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) StopContainer(ctx, cid, options any) *gomock.Call
- func (mr *MockNerdctlContainerSvcMockRecorder) UnpauseContainer(ctx, cid, options any) *gomock.Call
- type MockNerdctlImageSvc
- func (m *MockNerdctlImageSvc) EXPECT() *MockNerdctlImageSvcMockRecorder
- func (m *MockNerdctlImageSvc) ExportImage(ctx context.Context, imageNames []string, platform *v1.Platform, ...) error
- func (m *MockNerdctlImageSvc) GetDataStore() (string, error)
- func (m *MockNerdctlImageSvc) GetDockerResolver(ctx context.Context, refDomain string, creds dockerconfigresolver.AuthCreds) (remotes.Resolver, docker.StatusTracker, error)
- func (m *MockNerdctlImageSvc) InspectImage(ctx context.Context, image images.Image) (*dockercompat.Image, error)
- func (m *MockNerdctlImageSvc) LoadImage(ctx context.Context, img string, stdout io.Writer, quiet bool) error
- func (m *MockNerdctlImageSvc) Namespace() string
- func (m *MockNerdctlImageSvc) PullImage(ctx context.Context, stdout, stderr io.Writer, resolver remotes.Resolver, ...) (*imgutil.EnsuredImage, error)
- func (m *MockNerdctlImageSvc) PushImage(ctx context.Context, resolver remotes.Resolver, tracker docker.StatusTracker, ...) error
- func (m *MockNerdctlImageSvc) SearchImage(ctx context.Context, name string) (int, int, []*images.Image, error)
- type MockNerdctlImageSvcMockRecorder
- func (mr *MockNerdctlImageSvcMockRecorder) ExportImage(ctx, imgs, platform, writer any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) GetDataStore() *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) GetDockerResolver(ctx, refDomain, creds any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) InspectImage(ctx, image any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) LoadImage(ctx, img, stdout, quiet any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) Namespace() *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) PullImage(ctx, stdout, stderr, resolver, ref, arg5 any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) PushImage(ctx, resolver, tracker, stdout, pushRef, ref, platMC any) *gomock.Call
- func (mr *MockNerdctlImageSvcMockRecorder) SearchImage(ctx, name any) *gomock.Call
- type MockNerdctlNetworkSvc
- func (m *MockNerdctlNetworkSvc) AddNetworkList(ctx context.Context, netconflist *libcni.NetworkConfigList, ...) (types0.Result, error)
- func (m *MockNerdctlNetworkSvc) CreateNetwork(opts types.NetworkCreateOptions) (*netutil.NetworkConfig, error)
- func (m *MockNerdctlNetworkSvc) EXPECT() *MockNerdctlNetworkSvcMockRecorder
- func (m *MockNerdctlNetworkSvc) FilterNetworks(filterf func(*netutil.NetworkConfig) bool) ([]*netutil.NetworkConfig, error)
- func (m *MockNerdctlNetworkSvc) InspectNetwork(ctx context.Context, networkConfig *netutil.NetworkConfig) (*dockercompat.Network, error)
- func (m *MockNerdctlNetworkSvc) Namespace() string
- func (m *MockNerdctlNetworkSvc) NetconfPath() string
- func (m *MockNerdctlNetworkSvc) RemoveNetwork(networkConfig *netutil.NetworkConfig) error
- func (m *MockNerdctlNetworkSvc) UsedNetworkInfo(ctx context.Context) (map[string][]string, error)
- type MockNerdctlNetworkSvcMockRecorder
- func (mr *MockNerdctlNetworkSvcMockRecorder) AddNetworkList(ctx, netconflist, conf any) *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) CreateNetwork(opts any) *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) FilterNetworks(filterf any) *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) InspectNetwork(ctx, networkConfig any) *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) Namespace() *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) NetconfPath() *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) RemoveNetwork(networkConfig any) *gomock.Call
- func (mr *MockNerdctlNetworkSvcMockRecorder) UsedNetworkInfo(ctx any) *gomock.Call
- type MockNerdctlSystemSvc
- type MockNerdctlSystemSvcMockRecorder
- type MockNerdctlVolumeSvc
- func (m *MockNerdctlVolumeSvc) CreateVolume(name string, labels []string) (*native.Volume, error)
- func (m *MockNerdctlVolumeSvc) EXPECT() *MockNerdctlVolumeSvcMockRecorder
- func (m *MockNerdctlVolumeSvc) GetVolume(name string) (*native.Volume, error)
- func (m *MockNerdctlVolumeSvc) ListVolumes(size bool, filters []string) (map[string]native.Volume, error)
- func (m *MockNerdctlVolumeSvc) RemoveVolume(ctx context.Context, name string, force bool, stdout io.Writer) error
- type MockNerdctlVolumeSvcMockRecorder
- func (mr *MockNerdctlVolumeSvcMockRecorder) CreateVolume(name, labels any) *gomock.Call
- func (mr *MockNerdctlVolumeSvcMockRecorder) GetVolume(name any) *gomock.Call
- func (mr *MockNerdctlVolumeSvcMockRecorder) ListVolumes(size, filters any) *gomock.Call
- func (mr *MockNerdctlVolumeSvcMockRecorder) RemoveVolume(ctx, name, force, stdout any) *gomock.Call
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(ctx context.Context, dstRef, srcRef string, opts ...converter.Opt) (*images.Image, error)
ConvertImage mocks base method.
func (*MockContainerdClient) DefaultDockerHost ¶
func (m *MockContainerdClient) DefaultDockerHost(refDomain 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(ctx context.Context, img string) error
DeleteImage mocks base method.
func (*MockContainerdClient) EXPECT ¶
func (m *MockContainerdClient) EXPECT() *MockContainerdClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerdClient) GetClient ¶
func (m *MockContainerdClient) GetClient() *client.Client
GetClient mocks base method.
func (*MockContainerdClient) GetContainerRemoveEvent ¶
func (m *MockContainerdClient) GetContainerRemoveEvent(ctx context.Context, c client.Container) (<-chan *events.Envelope, <-chan error)
GetContainerRemoveEvent mocks base method.
func (*MockContainerdClient) GetContainerStatus ¶
func (m *MockContainerdClient) GetContainerStatus(ctx context.Context, c client.Container) client.ProcessStatus
GetContainerStatus mocks base method.
func (*MockContainerdClient) GetContainerTaskWait ¶
func (m *MockContainerdClient) GetContainerTaskWait(ctx context.Context, attach cio.Attach, c client.Container) (client.Task, <-chan client.ExitStatus, error)
GetContainerTaskWait mocks base method.
func (*MockContainerdClient) GetContainers ¶ added in v0.23.0
func (m *MockContainerdClient) GetContainers(ctx context.Context, filters ...string) ([]client.Container, error)
GetContainers mocks base method.
func (*MockContainerdClient) GetCurrentCapabilities ¶
func (m *MockContainerdClient) GetCurrentCapabilities() ([]string, error)
GetCurrentCapabilities mocks base method.
func (*MockContainerdClient) GetImageDigests ¶
func (m *MockContainerdClient) GetImageDigests(ctx context.Context, img *images.Image) ([]digest.Digest, error)
GetImageDigests mocks base method.
func (*MockContainerdClient) GetUsedImages ¶
func (m *MockContainerdClient) GetUsedImages(ctx 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(ctx context.Context, cid string) ([]mount.Mount, error)
ListSnapshotMounts mocks base method.
func (*MockContainerdClient) MountAll ¶
func (m *MockContainerdClient) MountAll(mounts []mount.Mount, mPath string) error
MountAll mocks base method.
func (*MockContainerdClient) NewDirectCIO ¶
func (m *MockContainerdClient) NewDirectCIO(ctx context.Context, fifos *cio.FIFOSet) (*cio.DirectIO, error)
NewDirectCIO mocks base method.
func (*MockContainerdClient) NewFIFOSetInDir ¶
func (m *MockContainerdClient) NewFIFOSetInDir(root, id string, terminal bool) (*cio.FIFOSet, error)
NewFIFOSetInDir mocks base method.
func (*MockContainerdClient) OCISpecWithAdditionalGIDs ¶
func (m *MockContainerdClient) OCISpecWithAdditionalGIDs(user string) oci.SpecOpts
OCISpecWithAdditionalGIDs mocks base method.
func (*MockContainerdClient) OCISpecWithUser ¶
func (m *MockContainerdClient) OCISpecWithUser(user string) oci.SpecOpts
OCISpecWithUser mocks base method.
func (*MockContainerdClient) ParseDockerRef ¶
func (m *MockContainerdClient) ParseDockerRef(rawRef string) (string, string, error)
ParseDockerRef mocks base method.
func (*MockContainerdClient) ParsePlatform ¶
func (m *MockContainerdClient) ParsePlatform(platform string) (v1.Platform, error)
ParsePlatform mocks base method.
func (*MockContainerdClient) PublishEvent ¶
func (m *MockContainerdClient) PublishEvent(ctx context.Context, topic string, event events.Event) error
PublishEvent mocks base method.
func (*MockContainerdClient) SearchContainer ¶
func (m *MockContainerdClient) SearchContainer(ctx context.Context, searchText string) ([]client.Container, error)
SearchContainer mocks base method.
func (*MockContainerdClient) SearchImage ¶
func (m *MockContainerdClient) SearchImage(ctx context.Context, searchText string) ([]images.Image, error)
SearchImage mocks base method.
func (*MockContainerdClient) SubscribeToEvents ¶
func (m *MockContainerdClient) SubscribeToEvents(ctx context.Context, filters ...string) (<-chan *events.Envelope, <-chan error)
SubscribeToEvents 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(ctx, dstRef, srcRef any, opts ...any) *gomock.Call
ConvertImage indicates an expected call of ConvertImage.
func (*MockContainerdClientMockRecorder) DefaultDockerHost ¶
func (mr *MockContainerdClientMockRecorder) DefaultDockerHost(refDomain any) *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(ctx, img any) *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(ctx, c any) *gomock.Call
GetContainerRemoveEvent indicates an expected call of GetContainerRemoveEvent.
func (*MockContainerdClientMockRecorder) GetContainerStatus ¶
func (mr *MockContainerdClientMockRecorder) GetContainerStatus(ctx, c any) *gomock.Call
GetContainerStatus indicates an expected call of GetContainerStatus.
func (*MockContainerdClientMockRecorder) GetContainerTaskWait ¶
func (mr *MockContainerdClientMockRecorder) GetContainerTaskWait(ctx, attach, c any) *gomock.Call
GetContainerTaskWait indicates an expected call of GetContainerTaskWait.
func (*MockContainerdClientMockRecorder) GetContainers ¶ added in v0.23.0
func (mr *MockContainerdClientMockRecorder) GetContainers(ctx any, filters ...any) *gomock.Call
GetContainers indicates an expected call of GetContainers.
func (*MockContainerdClientMockRecorder) GetCurrentCapabilities ¶
func (mr *MockContainerdClientMockRecorder) GetCurrentCapabilities() *gomock.Call
GetCurrentCapabilities indicates an expected call of GetCurrentCapabilities.
func (*MockContainerdClientMockRecorder) GetImage ¶
func (mr *MockContainerdClientMockRecorder) GetImage(ctx, ref any) *gomock.Call
GetImage indicates an expected call of GetImage.
func (*MockContainerdClientMockRecorder) GetImageDigests ¶
func (mr *MockContainerdClientMockRecorder) GetImageDigests(ctx, img any) *gomock.Call
GetImageDigests indicates an expected call of GetImageDigests.
func (*MockContainerdClientMockRecorder) GetUsedImages ¶
func (mr *MockContainerdClientMockRecorder) GetUsedImages(ctx any) *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(ctx, cid any) *gomock.Call
ListSnapshotMounts indicates an expected call of ListSnapshotMounts.
func (*MockContainerdClientMockRecorder) MountAll ¶
func (mr *MockContainerdClientMockRecorder) MountAll(mounts, mPath any) *gomock.Call
MountAll indicates an expected call of MountAll.
func (*MockContainerdClientMockRecorder) NewDirectCIO ¶
func (mr *MockContainerdClientMockRecorder) NewDirectCIO(ctx, fifos any) *gomock.Call
NewDirectCIO indicates an expected call of NewDirectCIO.
func (*MockContainerdClientMockRecorder) NewFIFOSetInDir ¶
func (mr *MockContainerdClientMockRecorder) NewFIFOSetInDir(root, id, terminal any) *gomock.Call
NewFIFOSetInDir indicates an expected call of NewFIFOSetInDir.
func (*MockContainerdClientMockRecorder) OCISpecWithAdditionalGIDs ¶
func (mr *MockContainerdClientMockRecorder) OCISpecWithAdditionalGIDs(user any) *gomock.Call
OCISpecWithAdditionalGIDs indicates an expected call of OCISpecWithAdditionalGIDs.
func (*MockContainerdClientMockRecorder) OCISpecWithUser ¶
func (mr *MockContainerdClientMockRecorder) OCISpecWithUser(user any) *gomock.Call
OCISpecWithUser indicates an expected call of OCISpecWithUser.
func (*MockContainerdClientMockRecorder) ParseDockerRef ¶
func (mr *MockContainerdClientMockRecorder) ParseDockerRef(rawRef any) *gomock.Call
ParseDockerRef indicates an expected call of ParseDockerRef.
func (*MockContainerdClientMockRecorder) ParsePlatform ¶
func (mr *MockContainerdClientMockRecorder) ParsePlatform(platform any) *gomock.Call
ParsePlatform indicates an expected call of ParsePlatform.
func (*MockContainerdClientMockRecorder) PublishEvent ¶
func (mr *MockContainerdClientMockRecorder) PublishEvent(ctx, topic, event any) *gomock.Call
PublishEvent indicates an expected call of PublishEvent.
func (*MockContainerdClientMockRecorder) SearchContainer ¶
func (mr *MockContainerdClientMockRecorder) SearchContainer(ctx, searchText any) *gomock.Call
SearchContainer indicates an expected call of SearchContainer.
func (*MockContainerdClientMockRecorder) SearchImage ¶
func (mr *MockContainerdClientMockRecorder) SearchImage(ctx, searchText any) *gomock.Call
SearchImage indicates an expected call of SearchImage.
func (*MockContainerdClientMockRecorder) SubscribeToEvents ¶
func (mr *MockContainerdClientMockRecorder) SubscribeToEvents(ctx any, filters ...any) *gomock.Call
SubscribeToEvents indicates an expected call of SubscribeToEvents.
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 ¶
func (m *MockNerdctlBuilderSvc) Build(ctx context.Context, client backend.ContainerdClient, options types.BuilderBuildOptions, buildID string) error
Build mocks base method.
func (*MockNerdctlBuilderSvc) EXPECT ¶
func (m *MockNerdctlBuilderSvc) EXPECT() *MockNerdctlBuilderSvcMockRecorder
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(ctx, client, options, buildID any) *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) ContainerTop ¶ added in v0.20.0
func (m *MockNerdctlContainerSvc) ContainerTop(ctx context.Context, cid string, options types.ContainerTopOptions) error
ContainerTop mocks base method.
func (*MockNerdctlContainerSvc) ContainerWait ¶ added in v0.14.0
func (m *MockNerdctlContainerSvc) ContainerWait(ctx context.Context, cid string, options types.ContainerWaitOptions) error
ContainerWait mocks base method.
func (*MockNerdctlContainerSvc) CreateContainer ¶
func (m *MockNerdctlContainerSvc) CreateContainer(ctx context.Context, args []string, netManager containerutil.NetworkOptionsManager, options types.ContainerCreateOptions) (client.Container, func(), error)
CreateContainer mocks base method.
func (*MockNerdctlContainerSvc) EXPECT ¶
func (m *MockNerdctlContainerSvc) EXPECT() *MockNerdctlContainerSvcMockRecorder
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 ¶
func (m *MockNerdctlContainerSvc) InspectContainer(ctx context.Context, c client.Container, size bool) (*dockercompat.Container, error)
InspectContainer mocks base method.
func (*MockNerdctlContainerSvc) InspectNetNS ¶
InspectNetNS mocks base method.
func (*MockNerdctlContainerSvc) KillContainer ¶ added in v0.13.0
func (m *MockNerdctlContainerSvc) KillContainer(ctx context.Context, cid string, options types.ContainerKillOptions) error
KillContainer mocks base method.
func (*MockNerdctlContainerSvc) ListContainers ¶
func (m *MockNerdctlContainerSvc) ListContainers(ctx context.Context, options types.ContainerListOptions) ([]container.ListItem, error)
ListContainers mocks base method.
func (*MockNerdctlContainerSvc) LoggingInitContainerLogViewer ¶
func (m *MockNerdctlContainerSvc) LoggingInitContainerLogViewer(containerLabels map[string]string, lvopts logging.LogViewOptions, stopChannel chan os.Signal, experimental bool) (*logging.ContainerLogViewer, error)
LoggingInitContainerLogViewer mocks base method.
func (*MockNerdctlContainerSvc) LoggingPrintLogsTo ¶
func (m *MockNerdctlContainerSvc) LoggingPrintLogsTo(stdout, stderr io.Writer, clv *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) PauseContainer ¶ added in v0.15.0
func (m *MockNerdctlContainerSvc) PauseContainer(ctx context.Context, cid string, options types.ContainerPauseOptions) error
PauseContainer mocks base method.
func (*MockNerdctlContainerSvc) RemoveContainer ¶
func (m *MockNerdctlContainerSvc) RemoveContainer(ctx context.Context, c client.Container, force, removeAnonVolumes bool) error
RemoveContainer mocks base method.
func (*MockNerdctlContainerSvc) RenameContainer ¶
func (m *MockNerdctlContainerSvc) RenameContainer(ctx context.Context, arg1 client.Container, newName string, options types.ContainerRenameOptions) error
RenameContainer mocks base method.
func (*MockNerdctlContainerSvc) StartContainer ¶
func (m *MockNerdctlContainerSvc) StartContainer(ctx context.Context, cid string, options types.ContainerStartOptions) error
StartContainer mocks base method.
func (*MockNerdctlContainerSvc) StopContainer ¶
func (m *MockNerdctlContainerSvc) StopContainer(ctx context.Context, cid string, options types.ContainerStopOptions) error
StopContainer mocks base method.
func (*MockNerdctlContainerSvc) UnpauseContainer ¶ added in v0.16.0
func (m *MockNerdctlContainerSvc) UnpauseContainer(ctx context.Context, cid string, options types.ContainerUnpauseOptions) error
UnpauseContainer mocks base method.
type MockNerdctlContainerSvcMockRecorder ¶
type MockNerdctlContainerSvcMockRecorder struct {
// contains filtered or unexported fields
}
MockNerdctlContainerSvcMockRecorder is the mock recorder for MockNerdctlContainerSvc.
func (*MockNerdctlContainerSvcMockRecorder) ContainerTop ¶ added in v0.20.0
func (mr *MockNerdctlContainerSvcMockRecorder) ContainerTop(ctx, cid, options any) *gomock.Call
ContainerTop indicates an expected call of ContainerTop.
func (*MockNerdctlContainerSvcMockRecorder) ContainerWait ¶ added in v0.14.0
func (mr *MockNerdctlContainerSvcMockRecorder) ContainerWait(ctx, cid, options any) *gomock.Call
ContainerWait indicates an expected call of ContainerWait.
func (*MockNerdctlContainerSvcMockRecorder) CreateContainer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) CreateContainer(ctx, args, netManager, options any) *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(ctx, c, size any) *gomock.Call
InspectContainer indicates an expected call of InspectContainer.
func (*MockNerdctlContainerSvcMockRecorder) InspectNetNS ¶
func (mr *MockNerdctlContainerSvcMockRecorder) InspectNetNS(ctx, pid any) *gomock.Call
InspectNetNS indicates an expected call of InspectNetNS.
func (*MockNerdctlContainerSvcMockRecorder) KillContainer ¶ added in v0.13.0
func (mr *MockNerdctlContainerSvcMockRecorder) KillContainer(ctx, cid, options any) *gomock.Call
KillContainer indicates an expected call of KillContainer.
func (*MockNerdctlContainerSvcMockRecorder) ListContainers ¶
func (mr *MockNerdctlContainerSvcMockRecorder) ListContainers(ctx, options any) *gomock.Call
ListContainers indicates an expected call of ListContainers.
func (*MockNerdctlContainerSvcMockRecorder) LoggingInitContainerLogViewer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) LoggingInitContainerLogViewer(containerLabels, lvopts, stopChannel, experimental any) *gomock.Call
LoggingInitContainerLogViewer indicates an expected call of LoggingInitContainerLogViewer.
func (*MockNerdctlContainerSvcMockRecorder) LoggingPrintLogsTo ¶
func (mr *MockNerdctlContainerSvcMockRecorder) LoggingPrintLogsTo(stdout, stderr, clv any) *gomock.Call
LoggingPrintLogsTo indicates an expected call of LoggingPrintLogsTo.
func (*MockNerdctlContainerSvcMockRecorder) NewNetworkingOptionsManager ¶
func (mr *MockNerdctlContainerSvcMockRecorder) NewNetworkingOptionsManager(arg0 any) *gomock.Call
NewNetworkingOptionsManager indicates an expected call of NewNetworkingOptionsManager.
func (*MockNerdctlContainerSvcMockRecorder) PauseContainer ¶ added in v0.15.0
func (mr *MockNerdctlContainerSvcMockRecorder) PauseContainer(ctx, cid, options any) *gomock.Call
PauseContainer indicates an expected call of PauseContainer.
func (*MockNerdctlContainerSvcMockRecorder) RemoveContainer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) RemoveContainer(ctx, c, force, removeAnonVolumes any) *gomock.Call
RemoveContainer indicates an expected call of RemoveContainer.
func (*MockNerdctlContainerSvcMockRecorder) RenameContainer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) RenameContainer(ctx, arg1, newName, options any) *gomock.Call
RenameContainer indicates an expected call of RenameContainer.
func (*MockNerdctlContainerSvcMockRecorder) StartContainer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) StartContainer(ctx, cid, options any) *gomock.Call
StartContainer indicates an expected call of StartContainer.
func (*MockNerdctlContainerSvcMockRecorder) StopContainer ¶
func (mr *MockNerdctlContainerSvcMockRecorder) StopContainer(ctx, cid, options any) *gomock.Call
StopContainer indicates an expected call of StopContainer.
func (*MockNerdctlContainerSvcMockRecorder) UnpauseContainer ¶ added in v0.16.0
func (mr *MockNerdctlContainerSvcMockRecorder) UnpauseContainer(ctx, cid, options any) *gomock.Call
UnpauseContainer indicates an expected call of UnpauseContainer.
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 ¶
func (m *MockNerdctlImageSvc) EXPECT() *MockNerdctlImageSvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNerdctlImageSvc) ExportImage ¶ added in v0.23.0
func (m *MockNerdctlImageSvc) ExportImage(ctx context.Context, imageNames []string, platform *v1.Platform, writer io.Writer) error
ExportImage mocks base method.
func (*MockNerdctlImageSvc) GetDataStore ¶
func (m *MockNerdctlImageSvc) GetDataStore() (string, error)
GetDataStore mocks base method.
func (*MockNerdctlImageSvc) GetDockerResolver ¶
func (m *MockNerdctlImageSvc) GetDockerResolver(ctx context.Context, refDomain string, creds dockerconfigresolver.AuthCreds) (remotes.Resolver, docker.StatusTracker, error)
GetDockerResolver mocks base method.
func (*MockNerdctlImageSvc) InspectImage ¶
func (m *MockNerdctlImageSvc) InspectImage(ctx context.Context, image images.Image) (*dockercompat.Image, error)
InspectImage mocks base method.
func (*MockNerdctlImageSvc) LoadImage ¶
func (m *MockNerdctlImageSvc) LoadImage(ctx context.Context, img string, stdout io.Writer, quiet bool) error
LoadImage mocks base method.
func (*MockNerdctlImageSvc) Namespace ¶ added in v0.13.0
func (m *MockNerdctlImageSvc) Namespace() string
Namespace mocks base method.
func (*MockNerdctlImageSvc) PullImage ¶
func (m *MockNerdctlImageSvc) PullImage(ctx context.Context, stdout, stderr io.Writer, resolver remotes.Resolver, ref string, arg5 []v1.Platform) (*imgutil.EnsuredImage, error)
PullImage mocks base method.
func (*MockNerdctlImageSvc) PushImage ¶
func (m *MockNerdctlImageSvc) PushImage(ctx context.Context, resolver remotes.Resolver, tracker docker.StatusTracker, stdout io.Writer, pushRef, ref string, platMC platforms.MatchComparer) error
PushImage mocks base method.
type MockNerdctlImageSvcMockRecorder ¶
type MockNerdctlImageSvcMockRecorder struct {
// contains filtered or unexported fields
}
MockNerdctlImageSvcMockRecorder is the mock recorder for MockNerdctlImageSvc.
func (*MockNerdctlImageSvcMockRecorder) ExportImage ¶ added in v0.23.0
func (mr *MockNerdctlImageSvcMockRecorder) ExportImage(ctx, imgs, platform, writer any) *gomock.Call
ExportImage indicates an expected call of ExportImage.
func (*MockNerdctlImageSvcMockRecorder) GetDataStore ¶
func (mr *MockNerdctlImageSvcMockRecorder) GetDataStore() *gomock.Call
GetDataStore indicates an expected call of GetDataStore.
func (*MockNerdctlImageSvcMockRecorder) GetDockerResolver ¶
func (mr *MockNerdctlImageSvcMockRecorder) GetDockerResolver(ctx, refDomain, creds any) *gomock.Call
GetDockerResolver indicates an expected call of GetDockerResolver.
func (*MockNerdctlImageSvcMockRecorder) InspectImage ¶
func (mr *MockNerdctlImageSvcMockRecorder) InspectImage(ctx, image any) *gomock.Call
InspectImage indicates an expected call of InspectImage.
func (*MockNerdctlImageSvcMockRecorder) LoadImage ¶
func (mr *MockNerdctlImageSvcMockRecorder) LoadImage(ctx, img, stdout, quiet any) *gomock.Call
LoadImage indicates an expected call of LoadImage.
func (*MockNerdctlImageSvcMockRecorder) Namespace ¶ added in v0.13.0
func (mr *MockNerdctlImageSvcMockRecorder) Namespace() *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockNerdctlImageSvcMockRecorder) PullImage ¶
func (mr *MockNerdctlImageSvcMockRecorder) PullImage(ctx, stdout, stderr, resolver, ref, arg5 any) *gomock.Call
PullImage indicates an expected call of PullImage.
func (*MockNerdctlImageSvcMockRecorder) PushImage ¶
func (mr *MockNerdctlImageSvcMockRecorder) PushImage(ctx, resolver, tracker, stdout, pushRef, ref, platMC any) *gomock.Call
PushImage indicates an expected call of PushImage.
func (*MockNerdctlImageSvcMockRecorder) SearchImage ¶
func (mr *MockNerdctlImageSvcMockRecorder) SearchImage(ctx, name any) *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 ¶
func (m *MockNerdctlNetworkSvc) AddNetworkList(ctx context.Context, netconflist *libcni.NetworkConfigList, conf *libcni.RuntimeConf) (types0.Result, error)
AddNetworkList mocks base method.
func (*MockNerdctlNetworkSvc) CreateNetwork ¶
func (m *MockNerdctlNetworkSvc) CreateNetwork(opts types.NetworkCreateOptions) (*netutil.NetworkConfig, error)
CreateNetwork mocks base method.
func (*MockNerdctlNetworkSvc) EXPECT ¶
func (m *MockNerdctlNetworkSvc) EXPECT() *MockNerdctlNetworkSvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNerdctlNetworkSvc) FilterNetworks ¶
func (m *MockNerdctlNetworkSvc) FilterNetworks(filterf func(*netutil.NetworkConfig) bool) ([]*netutil.NetworkConfig, error)
FilterNetworks mocks base method.
func (*MockNerdctlNetworkSvc) InspectNetwork ¶
func (m *MockNerdctlNetworkSvc) InspectNetwork(ctx context.Context, networkConfig *netutil.NetworkConfig) (*dockercompat.Network, error)
InspectNetwork mocks base method.
func (*MockNerdctlNetworkSvc) Namespace ¶ added in v0.13.0
func (m *MockNerdctlNetworkSvc) Namespace() string
Namespace mocks base method.
func (*MockNerdctlNetworkSvc) NetconfPath ¶
func (m *MockNerdctlNetworkSvc) NetconfPath() string
NetconfPath mocks base method.
func (*MockNerdctlNetworkSvc) RemoveNetwork ¶
func (m *MockNerdctlNetworkSvc) RemoveNetwork(networkConfig *netutil.NetworkConfig) error
RemoveNetwork mocks base method.
func (*MockNerdctlNetworkSvc) UsedNetworkInfo ¶
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(ctx, netconflist, conf any) *gomock.Call
AddNetworkList indicates an expected call of AddNetworkList.
func (*MockNerdctlNetworkSvcMockRecorder) CreateNetwork ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) CreateNetwork(opts any) *gomock.Call
CreateNetwork indicates an expected call of CreateNetwork.
func (*MockNerdctlNetworkSvcMockRecorder) FilterNetworks ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) FilterNetworks(filterf any) *gomock.Call
FilterNetworks indicates an expected call of FilterNetworks.
func (*MockNerdctlNetworkSvcMockRecorder) InspectNetwork ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) InspectNetwork(ctx, networkConfig any) *gomock.Call
InspectNetwork indicates an expected call of InspectNetwork.
func (*MockNerdctlNetworkSvcMockRecorder) Namespace ¶ added in v0.13.0
func (mr *MockNerdctlNetworkSvcMockRecorder) Namespace() *gomock.Call
Namespace indicates an expected call of Namespace.
func (*MockNerdctlNetworkSvcMockRecorder) NetconfPath ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) NetconfPath() *gomock.Call
NetconfPath indicates an expected call of NetconfPath.
func (*MockNerdctlNetworkSvcMockRecorder) RemoveNetwork ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) RemoveNetwork(networkConfig any) *gomock.Call
RemoveNetwork indicates an expected call of RemoveNetwork.
func (*MockNerdctlNetworkSvcMockRecorder) UsedNetworkInfo ¶
func (mr *MockNerdctlNetworkSvcMockRecorder) UsedNetworkInfo(ctx any) *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 ¶
func (m *MockNerdctlSystemSvc) EXPECT() *MockNerdctlSystemSvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNerdctlSystemSvc) GetServerVersion ¶
func (m *MockNerdctlSystemSvc) GetServerVersion(ctx 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(ctx any) *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 ¶
CreateVolume mocks base method.
func (*MockNerdctlVolumeSvc) EXPECT ¶
func (m *MockNerdctlVolumeSvc) EXPECT() *MockNerdctlVolumeSvcMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNerdctlVolumeSvc) GetVolume ¶
func (m *MockNerdctlVolumeSvc) GetVolume(name string) (*native.Volume, error)
GetVolume mocks base method.
func (*MockNerdctlVolumeSvc) ListVolumes ¶
func (m *MockNerdctlVolumeSvc) ListVolumes(size bool, filters []string) (map[string]native.Volume, error)
ListVolumes mocks base method.
func (*MockNerdctlVolumeSvc) RemoveVolume ¶
func (m *MockNerdctlVolumeSvc) RemoveVolume(ctx context.Context, name string, force bool, stdout 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(name, labels any) *gomock.Call
CreateVolume indicates an expected call of CreateVolume.
func (*MockNerdctlVolumeSvcMockRecorder) GetVolume ¶
func (mr *MockNerdctlVolumeSvcMockRecorder) GetVolume(name any) *gomock.Call
GetVolume indicates an expected call of GetVolume.
func (*MockNerdctlVolumeSvcMockRecorder) ListVolumes ¶
func (mr *MockNerdctlVolumeSvcMockRecorder) ListVolumes(size, filters any) *gomock.Call
ListVolumes indicates an expected call of ListVolumes.
func (*MockNerdctlVolumeSvcMockRecorder) RemoveVolume ¶
func (mr *MockNerdctlVolumeSvcMockRecorder) RemoveVolume(ctx, name, force, stdout any) *gomock.Call
RemoveVolume indicates an expected call of RemoveVolume.