Documentation
¶
Index ¶
- type MockAuthzAccessEvaluator
- type MockAuthzAccessEvaluator_AccessAuthorized_Call
- func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) Return(_a0 error) *MockAuthzAccessEvaluator_AccessAuthorized_Call
- func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) Run(run func(ctx context.Context, opts ...authz.AccessRuleOption)) *MockAuthzAccessEvaluator_AccessAuthorized_Call
- func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) RunAndReturn(run func(context.Context, ...authz.AccessRuleOption) error) *MockAuthzAccessEvaluator_AccessAuthorized_Call
- type MockAuthzAccessEvaluator_Expecter
- type MockCacheSnapshotCache
- func (_m *MockCacheSnapshotCache) ClearSnapshot(node string)
- func (_m *MockCacheSnapshotCache) CreateDeltaWatch(_a0 *cache.DeltaRequest, _a1 stream.StreamState, _a2 chan cache.DeltaResponse) func()
- func (_m *MockCacheSnapshotCache) CreateWatch(_a0 *cache.Request, _a1 stream.StreamState, _a2 chan cache.Response) func()
- func (_m *MockCacheSnapshotCache) EXPECT() *MockCacheSnapshotCache_Expecter
- func (_m *MockCacheSnapshotCache) Fetch(_a0 context.Context, _a1 *cache.Request) (cache.Response, error)
- func (_m *MockCacheSnapshotCache) GetSnapshot(node string) (cache.ResourceSnapshot, error)
- func (_m *MockCacheSnapshotCache) GetStatusInfo(_a0 string) cache.StatusInfo
- func (_m *MockCacheSnapshotCache) GetStatusKeys() []string
- func (_m *MockCacheSnapshotCache) SetSnapshot(ctx context.Context, node string, snapshot cache.ResourceSnapshot) error
- type MockCacheSnapshotCache_ClearSnapshot_Call
- func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) Return() *MockCacheSnapshotCache_ClearSnapshot_Call
- func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) Run(run func(node string)) *MockCacheSnapshotCache_ClearSnapshot_Call
- func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) RunAndReturn(run func(string)) *MockCacheSnapshotCache_ClearSnapshot_Call
- type MockCacheSnapshotCache_CreateDeltaWatch_Call
- func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) Return(cancel func()) *MockCacheSnapshotCache_CreateDeltaWatch_Call
- func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) Run(...) *MockCacheSnapshotCache_CreateDeltaWatch_Call
- func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) RunAndReturn(...) *MockCacheSnapshotCache_CreateDeltaWatch_Call
- type MockCacheSnapshotCache_CreateWatch_Call
- func (_c *MockCacheSnapshotCache_CreateWatch_Call) Return(cancel func()) *MockCacheSnapshotCache_CreateWatch_Call
- func (_c *MockCacheSnapshotCache_CreateWatch_Call) Run(run func(_a0 *cache.Request, _a1 stream.StreamState, _a2 chan cache.Response)) *MockCacheSnapshotCache_CreateWatch_Call
- func (_c *MockCacheSnapshotCache_CreateWatch_Call) RunAndReturn(run func(*cache.Request, stream.StreamState, chan cache.Response) func()) *MockCacheSnapshotCache_CreateWatch_Call
- type MockCacheSnapshotCache_Expecter
- func (_e *MockCacheSnapshotCache_Expecter) ClearSnapshot(node interface{}) *MockCacheSnapshotCache_ClearSnapshot_Call
- func (_e *MockCacheSnapshotCache_Expecter) CreateDeltaWatch(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockCacheSnapshotCache_CreateDeltaWatch_Call
- func (_e *MockCacheSnapshotCache_Expecter) CreateWatch(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockCacheSnapshotCache_CreateWatch_Call
- func (_e *MockCacheSnapshotCache_Expecter) Fetch(_a0 interface{}, _a1 interface{}) *MockCacheSnapshotCache_Fetch_Call
- func (_e *MockCacheSnapshotCache_Expecter) GetSnapshot(node interface{}) *MockCacheSnapshotCache_GetSnapshot_Call
- func (_e *MockCacheSnapshotCache_Expecter) GetStatusInfo(_a0 interface{}) *MockCacheSnapshotCache_GetStatusInfo_Call
- func (_e *MockCacheSnapshotCache_Expecter) GetStatusKeys() *MockCacheSnapshotCache_GetStatusKeys_Call
- func (_e *MockCacheSnapshotCache_Expecter) SetSnapshot(ctx interface{}, node interface{}, snapshot interface{}) *MockCacheSnapshotCache_SetSnapshot_Call
- type MockCacheSnapshotCache_Fetch_Call
- func (_c *MockCacheSnapshotCache_Fetch_Call) Return(_a0 cache.Response, _a1 error) *MockCacheSnapshotCache_Fetch_Call
- func (_c *MockCacheSnapshotCache_Fetch_Call) Run(run func(_a0 context.Context, _a1 *cache.Request)) *MockCacheSnapshotCache_Fetch_Call
- func (_c *MockCacheSnapshotCache_Fetch_Call) RunAndReturn(run func(context.Context, *cache.Request) (cache.Response, error)) *MockCacheSnapshotCache_Fetch_Call
- type MockCacheSnapshotCache_GetSnapshot_Call
- func (_c *MockCacheSnapshotCache_GetSnapshot_Call) Return(_a0 cache.ResourceSnapshot, _a1 error) *MockCacheSnapshotCache_GetSnapshot_Call
- func (_c *MockCacheSnapshotCache_GetSnapshot_Call) Run(run func(node string)) *MockCacheSnapshotCache_GetSnapshot_Call
- func (_c *MockCacheSnapshotCache_GetSnapshot_Call) RunAndReturn(run func(string) (cache.ResourceSnapshot, error)) *MockCacheSnapshotCache_GetSnapshot_Call
- type MockCacheSnapshotCache_GetStatusInfo_Call
- func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) Return(_a0 cache.StatusInfo) *MockCacheSnapshotCache_GetStatusInfo_Call
- func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) Run(run func(_a0 string)) *MockCacheSnapshotCache_GetStatusInfo_Call
- func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) RunAndReturn(run func(string) cache.StatusInfo) *MockCacheSnapshotCache_GetStatusInfo_Call
- type MockCacheSnapshotCache_GetStatusKeys_Call
- func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) Return(_a0 []string) *MockCacheSnapshotCache_GetStatusKeys_Call
- func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) Run(run func()) *MockCacheSnapshotCache_GetStatusKeys_Call
- func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) RunAndReturn(run func() []string) *MockCacheSnapshotCache_GetStatusKeys_Call
- type MockCacheSnapshotCache_SetSnapshot_Call
- func (_c *MockCacheSnapshotCache_SetSnapshot_Call) Return(_a0 error) *MockCacheSnapshotCache_SetSnapshot_Call
- func (_c *MockCacheSnapshotCache_SetSnapshot_Call) Run(run func(ctx context.Context, node string, snapshot cache.ResourceSnapshot)) *MockCacheSnapshotCache_SetSnapshot_Call
- func (_c *MockCacheSnapshotCache_SetSnapshot_Call) RunAndReturn(run func(context.Context, string, cache.ResourceSnapshot) error) *MockCacheSnapshotCache_SetSnapshot_Call
- type MockChunkRepository
- func (_m *MockChunkRepository) ChunkExists(ctx context.Context, id string) (bool, error)
- func (_m *MockChunkRepository) CreateChunk(ctx context.Context, _a1 resource.Chunk) (resource.Chunk, error)
- func (_m *MockChunkRepository) CreateFlavor(ctx context.Context, chunkID string, flavor resource.Flavor) (resource.Flavor, error)
- func (_m *MockChunkRepository) CreateFlavorVersion(ctx context.Context, flavorID string, version resource.FlavorVersion, ...) (resource.FlavorVersion, error)
- func (_m *MockChunkRepository) EXPECT() *MockChunkRepository_Expecter
- func (_m *MockChunkRepository) FlavorNameExists(ctx context.Context, chunkID string, name string) (bool, error)
- func (_m *MockChunkRepository) FlavorVersionByID(ctx context.Context, id string) (resource.FlavorVersion, error)
- func (_m *MockChunkRepository) FlavorVersionExists(ctx context.Context, flavorID string, version string) (bool, error)
- func (_m *MockChunkRepository) FlavorVersionHashByID(ctx context.Context, id string) (string, error)
- func (_m *MockChunkRepository) GetChunkByID(ctx context.Context, id string) (resource.Chunk, error)
- func (_m *MockChunkRepository) LatestFlavorVersion(ctx context.Context, flavorID string) (resource.FlavorVersion, error)
- func (_m *MockChunkRepository) ListChunks(ctx context.Context) ([]resource.Chunk, error)
- func (_m *MockChunkRepository) MarkFlavorVersionFilesUploaded(ctx context.Context, flavorVersionID string) error
- func (_m *MockChunkRepository) MinecraftVersionExists(_a0 context.Context, _a1 string) (bool, error)
- func (_m *MockChunkRepository) SupportedMinecraftVersions(ctx context.Context) ([]string, error)
- func (_m *MockChunkRepository) UpdateChunk(ctx context.Context, _a1 resource.Chunk) (resource.Chunk, error)
- func (_m *MockChunkRepository) UpdateFlavorVersionBuildStatus(ctx context.Context, flavorVersionID string, ...) error
- func (_m *MockChunkRepository) UpdateFlavorVersionPresignedURLData(ctx context.Context, flavorVersionID string, date time.Time, url string) error
- type MockChunkRepository_ChunkExists_Call
- func (_c *MockChunkRepository_ChunkExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_ChunkExists_Call
- func (_c *MockChunkRepository_ChunkExists_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_ChunkExists_Call
- func (_c *MockChunkRepository_ChunkExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *MockChunkRepository_ChunkExists_Call
- type MockChunkRepository_CreateChunk_Call
- func (_c *MockChunkRepository_CreateChunk_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_CreateChunk_Call
- func (_c *MockChunkRepository_CreateChunk_Call) Run(run func(ctx context.Context, _a1 resource.Chunk)) *MockChunkRepository_CreateChunk_Call
- func (_c *MockChunkRepository_CreateChunk_Call) RunAndReturn(run func(context.Context, resource.Chunk) (resource.Chunk, error)) *MockChunkRepository_CreateChunk_Call
- type MockChunkRepository_CreateFlavorVersion_Call
- func (_c *MockChunkRepository_CreateFlavorVersion_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_CreateFlavorVersion_Call
- func (_c *MockChunkRepository_CreateFlavorVersion_Call) Run(...) *MockChunkRepository_CreateFlavorVersion_Call
- func (_c *MockChunkRepository_CreateFlavorVersion_Call) RunAndReturn(...) *MockChunkRepository_CreateFlavorVersion_Call
- type MockChunkRepository_CreateFlavor_Call
- func (_c *MockChunkRepository_CreateFlavor_Call) Return(_a0 resource.Flavor, _a1 error) *MockChunkRepository_CreateFlavor_Call
- func (_c *MockChunkRepository_CreateFlavor_Call) Run(run func(ctx context.Context, chunkID string, flavor resource.Flavor)) *MockChunkRepository_CreateFlavor_Call
- func (_c *MockChunkRepository_CreateFlavor_Call) RunAndReturn(run func(context.Context, string, resource.Flavor) (resource.Flavor, error)) *MockChunkRepository_CreateFlavor_Call
- type MockChunkRepository_Expecter
- func (_e *MockChunkRepository_Expecter) ChunkExists(ctx interface{}, id interface{}) *MockChunkRepository_ChunkExists_Call
- func (_e *MockChunkRepository_Expecter) CreateChunk(ctx interface{}, _a1 interface{}) *MockChunkRepository_CreateChunk_Call
- func (_e *MockChunkRepository_Expecter) CreateFlavor(ctx interface{}, chunkID interface{}, flavor interface{}) *MockChunkRepository_CreateFlavor_Call
- func (_e *MockChunkRepository_Expecter) CreateFlavorVersion(ctx interface{}, flavorID interface{}, version interface{}, ...) *MockChunkRepository_CreateFlavorVersion_Call
- func (_e *MockChunkRepository_Expecter) FlavorNameExists(ctx interface{}, chunkID interface{}, name interface{}) *MockChunkRepository_FlavorNameExists_Call
- func (_e *MockChunkRepository_Expecter) FlavorVersionByID(ctx interface{}, id interface{}) *MockChunkRepository_FlavorVersionByID_Call
- func (_e *MockChunkRepository_Expecter) FlavorVersionExists(ctx interface{}, flavorID interface{}, version interface{}) *MockChunkRepository_FlavorVersionExists_Call
- func (_e *MockChunkRepository_Expecter) FlavorVersionHashByID(ctx interface{}, id interface{}) *MockChunkRepository_FlavorVersionHashByID_Call
- func (_e *MockChunkRepository_Expecter) GetChunkByID(ctx interface{}, id interface{}) *MockChunkRepository_GetChunkByID_Call
- func (_e *MockChunkRepository_Expecter) LatestFlavorVersion(ctx interface{}, flavorID interface{}) *MockChunkRepository_LatestFlavorVersion_Call
- func (_e *MockChunkRepository_Expecter) ListChunks(ctx interface{}) *MockChunkRepository_ListChunks_Call
- func (_e *MockChunkRepository_Expecter) MarkFlavorVersionFilesUploaded(ctx interface{}, flavorVersionID interface{}) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
- func (_e *MockChunkRepository_Expecter) MinecraftVersionExists(_a0 interface{}, _a1 interface{}) *MockChunkRepository_MinecraftVersionExists_Call
- func (_e *MockChunkRepository_Expecter) SupportedMinecraftVersions(ctx interface{}) *MockChunkRepository_SupportedMinecraftVersions_Call
- func (_e *MockChunkRepository_Expecter) UpdateChunk(ctx interface{}, _a1 interface{}) *MockChunkRepository_UpdateChunk_Call
- func (_e *MockChunkRepository_Expecter) UpdateFlavorVersionBuildStatus(ctx interface{}, flavorVersionID interface{}, status interface{}) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
- func (_e *MockChunkRepository_Expecter) UpdateFlavorVersionPresignedURLData(ctx interface{}, flavorVersionID interface{}, date interface{}, ...) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
- type MockChunkRepository_FlavorNameExists_Call
- func (_c *MockChunkRepository_FlavorNameExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_FlavorNameExists_Call
- func (_c *MockChunkRepository_FlavorNameExists_Call) Run(run func(ctx context.Context, chunkID string, name string)) *MockChunkRepository_FlavorNameExists_Call
- func (_c *MockChunkRepository_FlavorNameExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockChunkRepository_FlavorNameExists_Call
- type MockChunkRepository_FlavorVersionByID_Call
- func (_c *MockChunkRepository_FlavorVersionByID_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_FlavorVersionByID_Call
- func (_c *MockChunkRepository_FlavorVersionByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_FlavorVersionByID_Call
- func (_c *MockChunkRepository_FlavorVersionByID_Call) RunAndReturn(run func(context.Context, string) (resource.FlavorVersion, error)) *MockChunkRepository_FlavorVersionByID_Call
- type MockChunkRepository_FlavorVersionExists_Call
- func (_c *MockChunkRepository_FlavorVersionExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_FlavorVersionExists_Call
- func (_c *MockChunkRepository_FlavorVersionExists_Call) Run(run func(ctx context.Context, flavorID string, version string)) *MockChunkRepository_FlavorVersionExists_Call
- func (_c *MockChunkRepository_FlavorVersionExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockChunkRepository_FlavorVersionExists_Call
- type MockChunkRepository_FlavorVersionHashByID_Call
- func (_c *MockChunkRepository_FlavorVersionHashByID_Call) Return(_a0 string, _a1 error) *MockChunkRepository_FlavorVersionHashByID_Call
- func (_c *MockChunkRepository_FlavorVersionHashByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_FlavorVersionHashByID_Call
- func (_c *MockChunkRepository_FlavorVersionHashByID_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockChunkRepository_FlavorVersionHashByID_Call
- type MockChunkRepository_GetChunkByID_Call
- func (_c *MockChunkRepository_GetChunkByID_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_GetChunkByID_Call
- func (_c *MockChunkRepository_GetChunkByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_GetChunkByID_Call
- func (_c *MockChunkRepository_GetChunkByID_Call) RunAndReturn(run func(context.Context, string) (resource.Chunk, error)) *MockChunkRepository_GetChunkByID_Call
- type MockChunkRepository_LatestFlavorVersion_Call
- func (_c *MockChunkRepository_LatestFlavorVersion_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_LatestFlavorVersion_Call
- func (_c *MockChunkRepository_LatestFlavorVersion_Call) Run(run func(ctx context.Context, flavorID string)) *MockChunkRepository_LatestFlavorVersion_Call
- func (_c *MockChunkRepository_LatestFlavorVersion_Call) RunAndReturn(run func(context.Context, string) (resource.FlavorVersion, error)) *MockChunkRepository_LatestFlavorVersion_Call
- type MockChunkRepository_ListChunks_Call
- func (_c *MockChunkRepository_ListChunks_Call) Return(_a0 []resource.Chunk, _a1 error) *MockChunkRepository_ListChunks_Call
- func (_c *MockChunkRepository_ListChunks_Call) Run(run func(ctx context.Context)) *MockChunkRepository_ListChunks_Call
- func (_c *MockChunkRepository_ListChunks_Call) RunAndReturn(run func(context.Context) ([]resource.Chunk, error)) *MockChunkRepository_ListChunks_Call
- type MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
- func (_c *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) Return(_a0 error) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
- func (_c *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) Run(run func(ctx context.Context, flavorVersionID string)) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
- func (_c *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) RunAndReturn(run func(context.Context, string) error) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
- type MockChunkRepository_MinecraftVersionExists_Call
- func (_c *MockChunkRepository_MinecraftVersionExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_MinecraftVersionExists_Call
- func (_c *MockChunkRepository_MinecraftVersionExists_Call) Run(run func(_a0 context.Context, _a1 string)) *MockChunkRepository_MinecraftVersionExists_Call
- func (_c *MockChunkRepository_MinecraftVersionExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *MockChunkRepository_MinecraftVersionExists_Call
- type MockChunkRepository_SupportedMinecraftVersions_Call
- func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) Return(_a0 []string, _a1 error) *MockChunkRepository_SupportedMinecraftVersions_Call
- func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) Run(run func(ctx context.Context)) *MockChunkRepository_SupportedMinecraftVersions_Call
- func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) RunAndReturn(run func(context.Context) ([]string, error)) *MockChunkRepository_SupportedMinecraftVersions_Call
- type MockChunkRepository_UpdateChunk_Call
- func (_c *MockChunkRepository_UpdateChunk_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_UpdateChunk_Call
- func (_c *MockChunkRepository_UpdateChunk_Call) Run(run func(ctx context.Context, _a1 resource.Chunk)) *MockChunkRepository_UpdateChunk_Call
- func (_c *MockChunkRepository_UpdateChunk_Call) RunAndReturn(run func(context.Context, resource.Chunk) (resource.Chunk, error)) *MockChunkRepository_UpdateChunk_Call
- type MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) Return(_a0 error) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) Run(run func(ctx context.Context, flavorVersionID string, ...)) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) RunAndReturn(run func(context.Context, string, resource.FlavorVersionBuildStatus) error) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
- type MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) Return(_a0 error) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) Run(...) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
- func (_c *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) RunAndReturn(run func(context.Context, string, time.Time, string) error) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
- type MockCniHandler
- func (_m *MockCniHandler) AddDNATTarget(veth datapath.VethPair, port uint16) error
- func (_m *MockCniHandler) AddDefaultRoute(veth datapath.VethPair, nsPath string) error
- func (_m *MockCniHandler) AddFullMatchRoute(veth datapath.VethPair) error
- func (_m *MockCniHandler) AddNetData(data datapath.NetData) error
- func (_m *MockCniHandler) AllocIPs(plugin string, stdinData []byte) ([]net.IPNet, error)
- func (_m *MockCniHandler) AllocVethPair(netNS string, hostAddr net.IPNet, podAddr net.IPNet) (datapath.VethPair, error)
- func (_m *MockCniHandler) AttachCtrVethBPF(veth datapath.VethPair, netNS string) error
- func (_m *MockCniHandler) AttachHostVethBPF(veth datapath.VethPair) error
- func (_m *MockCniHandler) DeallocIPs(plugin string, stdinData []byte) error
- func (_m *MockCniHandler) DeallocVethPair(veth datapath.VethPair) error
- func (_m *MockCniHandler) DelFullMatchRoute(veth datapath.VethPair) error
- func (_m *MockCniHandler) DelMapEntries(veth datapath.VethPair, hostPort uint16) error
- func (_m *MockCniHandler) EXPECT() *MockCniHandler_Expecter
- func (_m *MockCniHandler) GetVethPair(hostPort uint16) (datapath.VethPair, error)
- type MockCniHandler_AddDNATTarget_Call
- func (_c *MockCniHandler_AddDNATTarget_Call) Return(_a0 error) *MockCniHandler_AddDNATTarget_Call
- func (_c *MockCniHandler_AddDNATTarget_Call) Run(run func(veth datapath.VethPair, port uint16)) *MockCniHandler_AddDNATTarget_Call
- func (_c *MockCniHandler_AddDNATTarget_Call) RunAndReturn(run func(datapath.VethPair, uint16) error) *MockCniHandler_AddDNATTarget_Call
- type MockCniHandler_AddDefaultRoute_Call
- func (_c *MockCniHandler_AddDefaultRoute_Call) Return(_a0 error) *MockCniHandler_AddDefaultRoute_Call
- func (_c *MockCniHandler_AddDefaultRoute_Call) Run(run func(veth datapath.VethPair, nsPath string)) *MockCniHandler_AddDefaultRoute_Call
- func (_c *MockCniHandler_AddDefaultRoute_Call) RunAndReturn(run func(datapath.VethPair, string) error) *MockCniHandler_AddDefaultRoute_Call
- type MockCniHandler_AddFullMatchRoute_Call
- func (_c *MockCniHandler_AddFullMatchRoute_Call) Return(_a0 error) *MockCniHandler_AddFullMatchRoute_Call
- func (_c *MockCniHandler_AddFullMatchRoute_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_AddFullMatchRoute_Call
- func (_c *MockCniHandler_AddFullMatchRoute_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_AddFullMatchRoute_Call
- type MockCniHandler_AddNetData_Call
- func (_c *MockCniHandler_AddNetData_Call) Return(_a0 error) *MockCniHandler_AddNetData_Call
- func (_c *MockCniHandler_AddNetData_Call) Run(run func(data datapath.NetData)) *MockCniHandler_AddNetData_Call
- func (_c *MockCniHandler_AddNetData_Call) RunAndReturn(run func(datapath.NetData) error) *MockCniHandler_AddNetData_Call
- type MockCniHandler_AllocIPs_Call
- func (_c *MockCniHandler_AllocIPs_Call) Return(_a0 []net.IPNet, _a1 error) *MockCniHandler_AllocIPs_Call
- func (_c *MockCniHandler_AllocIPs_Call) Run(run func(plugin string, stdinData []byte)) *MockCniHandler_AllocIPs_Call
- func (_c *MockCniHandler_AllocIPs_Call) RunAndReturn(run func(string, []byte) ([]net.IPNet, error)) *MockCniHandler_AllocIPs_Call
- type MockCniHandler_AllocVethPair_Call
- func (_c *MockCniHandler_AllocVethPair_Call) Return(_a0 datapath.VethPair, _a1 error) *MockCniHandler_AllocVethPair_Call
- func (_c *MockCniHandler_AllocVethPair_Call) Run(run func(netNS string, hostAddr net.IPNet, podAddr net.IPNet)) *MockCniHandler_AllocVethPair_Call
- func (_c *MockCniHandler_AllocVethPair_Call) RunAndReturn(run func(string, net.IPNet, net.IPNet) (datapath.VethPair, error)) *MockCniHandler_AllocVethPair_Call
- type MockCniHandler_AttachCtrVethBPF_Call
- func (_c *MockCniHandler_AttachCtrVethBPF_Call) Return(_a0 error) *MockCniHandler_AttachCtrVethBPF_Call
- func (_c *MockCniHandler_AttachCtrVethBPF_Call) Run(run func(veth datapath.VethPair, netNS string)) *MockCniHandler_AttachCtrVethBPF_Call
- func (_c *MockCniHandler_AttachCtrVethBPF_Call) RunAndReturn(run func(datapath.VethPair, string) error) *MockCniHandler_AttachCtrVethBPF_Call
- type MockCniHandler_AttachHostVethBPF_Call
- func (_c *MockCniHandler_AttachHostVethBPF_Call) Return(_a0 error) *MockCniHandler_AttachHostVethBPF_Call
- func (_c *MockCniHandler_AttachHostVethBPF_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_AttachHostVethBPF_Call
- func (_c *MockCniHandler_AttachHostVethBPF_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_AttachHostVethBPF_Call
- type MockCniHandler_DeallocIPs_Call
- func (_c *MockCniHandler_DeallocIPs_Call) Return(_a0 error) *MockCniHandler_DeallocIPs_Call
- func (_c *MockCniHandler_DeallocIPs_Call) Run(run func(plugin string, stdinData []byte)) *MockCniHandler_DeallocIPs_Call
- func (_c *MockCniHandler_DeallocIPs_Call) RunAndReturn(run func(string, []byte) error) *MockCniHandler_DeallocIPs_Call
- type MockCniHandler_DeallocVethPair_Call
- func (_c *MockCniHandler_DeallocVethPair_Call) Return(_a0 error) *MockCniHandler_DeallocVethPair_Call
- func (_c *MockCniHandler_DeallocVethPair_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_DeallocVethPair_Call
- func (_c *MockCniHandler_DeallocVethPair_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_DeallocVethPair_Call
- type MockCniHandler_DelFullMatchRoute_Call
- func (_c *MockCniHandler_DelFullMatchRoute_Call) Return(_a0 error) *MockCniHandler_DelFullMatchRoute_Call
- func (_c *MockCniHandler_DelFullMatchRoute_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_DelFullMatchRoute_Call
- func (_c *MockCniHandler_DelFullMatchRoute_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_DelFullMatchRoute_Call
- type MockCniHandler_DelMapEntries_Call
- func (_c *MockCniHandler_DelMapEntries_Call) Return(_a0 error) *MockCniHandler_DelMapEntries_Call
- func (_c *MockCniHandler_DelMapEntries_Call) Run(run func(veth datapath.VethPair, hostPort uint16)) *MockCniHandler_DelMapEntries_Call
- func (_c *MockCniHandler_DelMapEntries_Call) RunAndReturn(run func(datapath.VethPair, uint16) error) *MockCniHandler_DelMapEntries_Call
- type MockCniHandler_Expecter
- func (_e *MockCniHandler_Expecter) AddDNATTarget(veth interface{}, port interface{}) *MockCniHandler_AddDNATTarget_Call
- func (_e *MockCniHandler_Expecter) AddDefaultRoute(veth interface{}, nsPath interface{}) *MockCniHandler_AddDefaultRoute_Call
- func (_e *MockCniHandler_Expecter) AddFullMatchRoute(veth interface{}) *MockCniHandler_AddFullMatchRoute_Call
- func (_e *MockCniHandler_Expecter) AddNetData(data interface{}) *MockCniHandler_AddNetData_Call
- func (_e *MockCniHandler_Expecter) AllocIPs(plugin interface{}, stdinData interface{}) *MockCniHandler_AllocIPs_Call
- func (_e *MockCniHandler_Expecter) AllocVethPair(netNS interface{}, hostAddr interface{}, podAddr interface{}) *MockCniHandler_AllocVethPair_Call
- func (_e *MockCniHandler_Expecter) AttachCtrVethBPF(veth interface{}, netNS interface{}) *MockCniHandler_AttachCtrVethBPF_Call
- func (_e *MockCniHandler_Expecter) AttachHostVethBPF(veth interface{}) *MockCniHandler_AttachHostVethBPF_Call
- func (_e *MockCniHandler_Expecter) DeallocIPs(plugin interface{}, stdinData interface{}) *MockCniHandler_DeallocIPs_Call
- func (_e *MockCniHandler_Expecter) DeallocVethPair(veth interface{}) *MockCniHandler_DeallocVethPair_Call
- func (_e *MockCniHandler_Expecter) DelFullMatchRoute(veth interface{}) *MockCniHandler_DelFullMatchRoute_Call
- func (_e *MockCniHandler_Expecter) DelMapEntries(veth interface{}, hostPort interface{}) *MockCniHandler_DelMapEntries_Call
- func (_e *MockCniHandler_Expecter) GetVethPair(hostPort interface{}) *MockCniHandler_GetVethPair_Call
- type MockCniHandler_GetVethPair_Call
- func (_c *MockCniHandler_GetVethPair_Call) Return(_a0 datapath.VethPair, _a1 error) *MockCniHandler_GetVethPair_Call
- func (_c *MockCniHandler_GetVethPair_Call) Run(run func(hostPort uint16)) *MockCniHandler_GetVethPair_Call
- func (_c *MockCniHandler_GetVethPair_Call) RunAndReturn(run func(uint16) (datapath.VethPair, error)) *MockCniHandler_GetVethPair_Call
- type MockCriService
- func (_m *MockCriService) Attach(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption) (*v1.AttachResponse, error)
- func (_m *MockCriService) CheckpointContainer(ctx context.Context, in *v1.CheckpointContainerRequest, ...) (*v1.CheckpointContainerResponse, error)
- func (_m *MockCriService) ContainerStats(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption) (*v1.ContainerStatsResponse, error)
- func (_m *MockCriService) ContainerStatus(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption) (*v1.ContainerStatusResponse, error)
- func (_m *MockCriService) CreateContainer(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption) (*v1.CreateContainerResponse, error)
- func (_m *MockCriService) EXPECT() *MockCriService_Expecter
- func (_m *MockCriService) EnsureImage(ctx context.Context, imageURL string, auth cri.RegistryAuth) (bool, error)
- func (_m *MockCriService) EnsurePod(ctx context.Context, opts cri.RunOptions) error
- func (_m *MockCriService) Exec(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption) (*v1.ExecResponse, error)
- func (_m *MockCriService) ExecSync(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption) (*v1.ExecSyncResponse, error)
- func (_m *MockCriService) GetContainerEvents(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)
- func (_m *MockCriService) ListContainerStats(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)
- func (_m *MockCriService) ListContainers(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption) (*v1.ListContainersResponse, error)
- func (_m *MockCriService) ListMetricDescriptors(ctx context.Context, in *v1.ListMetricDescriptorsRequest, ...) (*v1.ListMetricDescriptorsResponse, error)
- func (_m *MockCriService) ListPodSandbox(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)
- func (_m *MockCriService) ListPodSandboxMetrics(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, ...) (*v1.ListPodSandboxMetricsResponse, error)
- func (_m *MockCriService) ListPodSandboxStats(ctx context.Context, in *v1.ListPodSandboxStatsRequest, ...) (*v1.ListPodSandboxStatsResponse, error)
- func (_m *MockCriService) PodSandboxStats(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)
- func (_m *MockCriService) PodSandboxStatus(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)
- func (_m *MockCriService) PortForward(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption) (*v1.PortForwardResponse, error)
- func (_m *MockCriService) RemoveContainer(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption) (*v1.RemoveContainerResponse, error)
- func (_m *MockCriService) RemovePodSandbox(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)
- func (_m *MockCriService) ReopenContainerLog(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)
- func (_m *MockCriService) RunContainer(ctx context.Context, req *v1.CreateContainerRequest) (string, error)
- func (_m *MockCriService) RunPodSandbox(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)
- func (_m *MockCriService) RuntimeConfig(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)
- func (_m *MockCriService) StartContainer(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption) (*v1.StartContainerResponse, error)
- func (_m *MockCriService) Status(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption) (*v1.StatusResponse, error)
- func (_m *MockCriService) StopContainer(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption) (*v1.StopContainerResponse, error)
- func (_m *MockCriService) StopPodSandbox(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)
- func (_m *MockCriService) UpdateContainerResources(ctx context.Context, in *v1.UpdateContainerResourcesRequest, ...) (*v1.UpdateContainerResourcesResponse, error)
- func (_m *MockCriService) UpdateRuntimeConfig(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, ...) (*v1.UpdateRuntimeConfigResponse, error)
- func (_m *MockCriService) Version(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption) (*v1.VersionResponse, error)
- type MockCriService_Attach_Call
- func (_c *MockCriService_Attach_Call) Return(_a0 *v1.AttachResponse, _a1 error) *MockCriService_Attach_Call
- func (_c *MockCriService_Attach_Call) Run(run func(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption)) *MockCriService_Attach_Call
- func (_c *MockCriService_Attach_Call) RunAndReturn(...) *MockCriService_Attach_Call
- type MockCriService_CheckpointContainer_Call
- func (_c *MockCriService_CheckpointContainer_Call) Return(_a0 *v1.CheckpointContainerResponse, _a1 error) *MockCriService_CheckpointContainer_Call
- func (_c *MockCriService_CheckpointContainer_Call) Run(run func(ctx context.Context, in *v1.CheckpointContainerRequest, ...)) *MockCriService_CheckpointContainer_Call
- func (_c *MockCriService_CheckpointContainer_Call) RunAndReturn(...) *MockCriService_CheckpointContainer_Call
- type MockCriService_ContainerStats_Call
- func (_c *MockCriService_ContainerStats_Call) Return(_a0 *v1.ContainerStatsResponse, _a1 error) *MockCriService_ContainerStats_Call
- func (_c *MockCriService_ContainerStats_Call) Run(...) *MockCriService_ContainerStats_Call
- func (_c *MockCriService_ContainerStats_Call) RunAndReturn(...) *MockCriService_ContainerStats_Call
- type MockCriService_ContainerStatus_Call
- func (_c *MockCriService_ContainerStatus_Call) Return(_a0 *v1.ContainerStatusResponse, _a1 error) *MockCriService_ContainerStatus_Call
- func (_c *MockCriService_ContainerStatus_Call) Run(...) *MockCriService_ContainerStatus_Call
- func (_c *MockCriService_ContainerStatus_Call) RunAndReturn(...) *MockCriService_ContainerStatus_Call
- type MockCriService_CreateContainer_Call
- func (_c *MockCriService_CreateContainer_Call) Return(_a0 *v1.CreateContainerResponse, _a1 error) *MockCriService_CreateContainer_Call
- func (_c *MockCriService_CreateContainer_Call) Run(...) *MockCriService_CreateContainer_Call
- func (_c *MockCriService_CreateContainer_Call) RunAndReturn(...) *MockCriService_CreateContainer_Call
- type MockCriService_EnsureImage_Call
- func (_c *MockCriService_EnsureImage_Call) Return(_a0 bool, _a1 error) *MockCriService_EnsureImage_Call
- func (_c *MockCriService_EnsureImage_Call) Run(run func(ctx context.Context, imageURL string, auth cri.RegistryAuth)) *MockCriService_EnsureImage_Call
- func (_c *MockCriService_EnsureImage_Call) RunAndReturn(run func(context.Context, string, cri.RegistryAuth) (bool, error)) *MockCriService_EnsureImage_Call
- type MockCriService_EnsurePod_Call
- func (_c *MockCriService_EnsurePod_Call) Return(_a0 error) *MockCriService_EnsurePod_Call
- func (_c *MockCriService_EnsurePod_Call) Run(run func(ctx context.Context, opts cri.RunOptions)) *MockCriService_EnsurePod_Call
- func (_c *MockCriService_EnsurePod_Call) RunAndReturn(run func(context.Context, cri.RunOptions) error) *MockCriService_EnsurePod_Call
- type MockCriService_ExecSync_Call
- func (_c *MockCriService_ExecSync_Call) Return(_a0 *v1.ExecSyncResponse, _a1 error) *MockCriService_ExecSync_Call
- func (_c *MockCriService_ExecSync_Call) Run(run func(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption)) *MockCriService_ExecSync_Call
- func (_c *MockCriService_ExecSync_Call) RunAndReturn(...) *MockCriService_ExecSync_Call
- type MockCriService_Exec_Call
- func (_c *MockCriService_Exec_Call) Return(_a0 *v1.ExecResponse, _a1 error) *MockCriService_Exec_Call
- func (_c *MockCriService_Exec_Call) Run(run func(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption)) *MockCriService_Exec_Call
- func (_c *MockCriService_Exec_Call) RunAndReturn(...) *MockCriService_Exec_Call
- type MockCriService_Expecter
- func (_e *MockCriService_Expecter) Attach(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Attach_Call
- func (_e *MockCriService_Expecter) CheckpointContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_CheckpointContainer_Call
- func (_e *MockCriService_Expecter) ContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ContainerStats_Call
- func (_e *MockCriService_Expecter) ContainerStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ContainerStatus_Call
- func (_e *MockCriService_Expecter) CreateContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_CreateContainer_Call
- func (_e *MockCriService_Expecter) EnsureImage(ctx interface{}, imageURL interface{}, auth interface{}) *MockCriService_EnsureImage_Call
- func (_e *MockCriService_Expecter) EnsurePod(ctx interface{}, opts interface{}) *MockCriService_EnsurePod_Call
- func (_e *MockCriService_Expecter) Exec(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Exec_Call
- func (_e *MockCriService_Expecter) ExecSync(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ExecSync_Call
- func (_e *MockCriService_Expecter) GetContainerEvents(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_GetContainerEvents_Call
- func (_e *MockCriService_Expecter) ListContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListContainerStats_Call
- func (_e *MockCriService_Expecter) ListContainers(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListContainers_Call
- func (_e *MockCriService_Expecter) ListMetricDescriptors(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListMetricDescriptors_Call
- func (_e *MockCriService_Expecter) ListPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandbox_Call
- func (_e *MockCriService_Expecter) ListPodSandboxMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandboxMetrics_Call
- func (_e *MockCriService_Expecter) ListPodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandboxStats_Call
- func (_e *MockCriService_Expecter) PodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PodSandboxStats_Call
- func (_e *MockCriService_Expecter) PodSandboxStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PodSandboxStatus_Call
- func (_e *MockCriService_Expecter) PortForward(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PortForward_Call
- func (_e *MockCriService_Expecter) RemoveContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RemoveContainer_Call
- func (_e *MockCriService_Expecter) RemovePodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RemovePodSandbox_Call
- func (_e *MockCriService_Expecter) ReopenContainerLog(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ReopenContainerLog_Call
- func (_e *MockCriService_Expecter) RunContainer(ctx interface{}, req interface{}) *MockCriService_RunContainer_Call
- func (_e *MockCriService_Expecter) RunPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RunPodSandbox_Call
- func (_e *MockCriService_Expecter) RuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RuntimeConfig_Call
- func (_e *MockCriService_Expecter) StartContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StartContainer_Call
- func (_e *MockCriService_Expecter) Status(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Status_Call
- func (_e *MockCriService_Expecter) StopContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StopContainer_Call
- func (_e *MockCriService_Expecter) StopPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StopPodSandbox_Call
- func (_e *MockCriService_Expecter) UpdateContainerResources(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_UpdateContainerResources_Call
- func (_e *MockCriService_Expecter) UpdateRuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_UpdateRuntimeConfig_Call
- func (_e *MockCriService_Expecter) Version(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Version_Call
- type MockCriService_GetContainerEvents_Call
- func (_c *MockCriService_GetContainerEvents_Call) Return(_a0 v1.RuntimeService_GetContainerEventsClient, _a1 error) *MockCriService_GetContainerEvents_Call
- func (_c *MockCriService_GetContainerEvents_Call) Run(...) *MockCriService_GetContainerEvents_Call
- func (_c *MockCriService_GetContainerEvents_Call) RunAndReturn(...) *MockCriService_GetContainerEvents_Call
- type MockCriService_ListContainerStats_Call
- func (_c *MockCriService_ListContainerStats_Call) Return(_a0 *v1.ListContainerStatsResponse, _a1 error) *MockCriService_ListContainerStats_Call
- func (_c *MockCriService_ListContainerStats_Call) Run(...) *MockCriService_ListContainerStats_Call
- func (_c *MockCriService_ListContainerStats_Call) RunAndReturn(...) *MockCriService_ListContainerStats_Call
- type MockCriService_ListContainers_Call
- func (_c *MockCriService_ListContainers_Call) Return(_a0 *v1.ListContainersResponse, _a1 error) *MockCriService_ListContainers_Call
- func (_c *MockCriService_ListContainers_Call) Run(...) *MockCriService_ListContainers_Call
- func (_c *MockCriService_ListContainers_Call) RunAndReturn(...) *MockCriService_ListContainers_Call
- type MockCriService_ListMetricDescriptors_Call
- func (_c *MockCriService_ListMetricDescriptors_Call) Return(_a0 *v1.ListMetricDescriptorsResponse, _a1 error) *MockCriService_ListMetricDescriptors_Call
- func (_c *MockCriService_ListMetricDescriptors_Call) Run(run func(ctx context.Context, in *v1.ListMetricDescriptorsRequest, ...)) *MockCriService_ListMetricDescriptors_Call
- func (_c *MockCriService_ListMetricDescriptors_Call) RunAndReturn(...) *MockCriService_ListMetricDescriptors_Call
- type MockCriService_ListPodSandboxMetrics_Call
- func (_c *MockCriService_ListPodSandboxMetrics_Call) Return(_a0 *v1.ListPodSandboxMetricsResponse, _a1 error) *MockCriService_ListPodSandboxMetrics_Call
- func (_c *MockCriService_ListPodSandboxMetrics_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, ...)) *MockCriService_ListPodSandboxMetrics_Call
- func (_c *MockCriService_ListPodSandboxMetrics_Call) RunAndReturn(...) *MockCriService_ListPodSandboxMetrics_Call
- type MockCriService_ListPodSandboxStats_Call
- func (_c *MockCriService_ListPodSandboxStats_Call) Return(_a0 *v1.ListPodSandboxStatsResponse, _a1 error) *MockCriService_ListPodSandboxStats_Call
- func (_c *MockCriService_ListPodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxStatsRequest, ...)) *MockCriService_ListPodSandboxStats_Call
- func (_c *MockCriService_ListPodSandboxStats_Call) RunAndReturn(...) *MockCriService_ListPodSandboxStats_Call
- type MockCriService_ListPodSandbox_Call
- func (_c *MockCriService_ListPodSandbox_Call) Return(_a0 *v1.ListPodSandboxResponse, _a1 error) *MockCriService_ListPodSandbox_Call
- func (_c *MockCriService_ListPodSandbox_Call) Run(...) *MockCriService_ListPodSandbox_Call
- func (_c *MockCriService_ListPodSandbox_Call) RunAndReturn(...) *MockCriService_ListPodSandbox_Call
- type MockCriService_PodSandboxStats_Call
- func (_c *MockCriService_PodSandboxStats_Call) Return(_a0 *v1.PodSandboxStatsResponse, _a1 error) *MockCriService_PodSandboxStats_Call
- func (_c *MockCriService_PodSandboxStats_Call) Run(...) *MockCriService_PodSandboxStats_Call
- func (_c *MockCriService_PodSandboxStats_Call) RunAndReturn(...) *MockCriService_PodSandboxStats_Call
- type MockCriService_PodSandboxStatus_Call
- func (_c *MockCriService_PodSandboxStatus_Call) Return(_a0 *v1.PodSandboxStatusResponse, _a1 error) *MockCriService_PodSandboxStatus_Call
- func (_c *MockCriService_PodSandboxStatus_Call) Run(...) *MockCriService_PodSandboxStatus_Call
- func (_c *MockCriService_PodSandboxStatus_Call) RunAndReturn(...) *MockCriService_PodSandboxStatus_Call
- type MockCriService_PortForward_Call
- func (_c *MockCriService_PortForward_Call) Return(_a0 *v1.PortForwardResponse, _a1 error) *MockCriService_PortForward_Call
- func (_c *MockCriService_PortForward_Call) Run(...) *MockCriService_PortForward_Call
- func (_c *MockCriService_PortForward_Call) RunAndReturn(...) *MockCriService_PortForward_Call
- type MockCriService_RemoveContainer_Call
- func (_c *MockCriService_RemoveContainer_Call) Return(_a0 *v1.RemoveContainerResponse, _a1 error) *MockCriService_RemoveContainer_Call
- func (_c *MockCriService_RemoveContainer_Call) Run(...) *MockCriService_RemoveContainer_Call
- func (_c *MockCriService_RemoveContainer_Call) RunAndReturn(...) *MockCriService_RemoveContainer_Call
- type MockCriService_RemovePodSandbox_Call
- func (_c *MockCriService_RemovePodSandbox_Call) Return(_a0 *v1.RemovePodSandboxResponse, _a1 error) *MockCriService_RemovePodSandbox_Call
- func (_c *MockCriService_RemovePodSandbox_Call) Run(...) *MockCriService_RemovePodSandbox_Call
- func (_c *MockCriService_RemovePodSandbox_Call) RunAndReturn(...) *MockCriService_RemovePodSandbox_Call
- type MockCriService_ReopenContainerLog_Call
- func (_c *MockCriService_ReopenContainerLog_Call) Return(_a0 *v1.ReopenContainerLogResponse, _a1 error) *MockCriService_ReopenContainerLog_Call
- func (_c *MockCriService_ReopenContainerLog_Call) Run(...) *MockCriService_ReopenContainerLog_Call
- func (_c *MockCriService_ReopenContainerLog_Call) RunAndReturn(...) *MockCriService_ReopenContainerLog_Call
- type MockCriService_RunContainer_Call
- func (_c *MockCriService_RunContainer_Call) Return(_a0 string, _a1 error) *MockCriService_RunContainer_Call
- func (_c *MockCriService_RunContainer_Call) Run(run func(ctx context.Context, req *v1.CreateContainerRequest)) *MockCriService_RunContainer_Call
- func (_c *MockCriService_RunContainer_Call) RunAndReturn(run func(context.Context, *v1.CreateContainerRequest) (string, error)) *MockCriService_RunContainer_Call
- type MockCriService_RunPodSandbox_Call
- func (_c *MockCriService_RunPodSandbox_Call) Return(_a0 *v1.RunPodSandboxResponse, _a1 error) *MockCriService_RunPodSandbox_Call
- func (_c *MockCriService_RunPodSandbox_Call) Run(...) *MockCriService_RunPodSandbox_Call
- func (_c *MockCriService_RunPodSandbox_Call) RunAndReturn(...) *MockCriService_RunPodSandbox_Call
- type MockCriService_RuntimeConfig_Call
- func (_c *MockCriService_RuntimeConfig_Call) Return(_a0 *v1.RuntimeConfigResponse, _a1 error) *MockCriService_RuntimeConfig_Call
- func (_c *MockCriService_RuntimeConfig_Call) Run(...) *MockCriService_RuntimeConfig_Call
- func (_c *MockCriService_RuntimeConfig_Call) RunAndReturn(...) *MockCriService_RuntimeConfig_Call
- type MockCriService_StartContainer_Call
- func (_c *MockCriService_StartContainer_Call) Return(_a0 *v1.StartContainerResponse, _a1 error) *MockCriService_StartContainer_Call
- func (_c *MockCriService_StartContainer_Call) Run(...) *MockCriService_StartContainer_Call
- func (_c *MockCriService_StartContainer_Call) RunAndReturn(...) *MockCriService_StartContainer_Call
- type MockCriService_Status_Call
- func (_c *MockCriService_Status_Call) Return(_a0 *v1.StatusResponse, _a1 error) *MockCriService_Status_Call
- func (_c *MockCriService_Status_Call) Run(run func(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption)) *MockCriService_Status_Call
- func (_c *MockCriService_Status_Call) RunAndReturn(...) *MockCriService_Status_Call
- type MockCriService_StopContainer_Call
- func (_c *MockCriService_StopContainer_Call) Return(_a0 *v1.StopContainerResponse, _a1 error) *MockCriService_StopContainer_Call
- func (_c *MockCriService_StopContainer_Call) Run(...) *MockCriService_StopContainer_Call
- func (_c *MockCriService_StopContainer_Call) RunAndReturn(...) *MockCriService_StopContainer_Call
- type MockCriService_StopPodSandbox_Call
- func (_c *MockCriService_StopPodSandbox_Call) Return(_a0 *v1.StopPodSandboxResponse, _a1 error) *MockCriService_StopPodSandbox_Call
- func (_c *MockCriService_StopPodSandbox_Call) Run(...) *MockCriService_StopPodSandbox_Call
- func (_c *MockCriService_StopPodSandbox_Call) RunAndReturn(...) *MockCriService_StopPodSandbox_Call
- type MockCriService_UpdateContainerResources_Call
- func (_c *MockCriService_UpdateContainerResources_Call) Return(_a0 *v1.UpdateContainerResourcesResponse, _a1 error) *MockCriService_UpdateContainerResources_Call
- func (_c *MockCriService_UpdateContainerResources_Call) Run(run func(ctx context.Context, in *v1.UpdateContainerResourcesRequest, ...)) *MockCriService_UpdateContainerResources_Call
- func (_c *MockCriService_UpdateContainerResources_Call) RunAndReturn(...) *MockCriService_UpdateContainerResources_Call
- type MockCriService_UpdateRuntimeConfig_Call
- func (_c *MockCriService_UpdateRuntimeConfig_Call) Return(_a0 *v1.UpdateRuntimeConfigResponse, _a1 error) *MockCriService_UpdateRuntimeConfig_Call
- func (_c *MockCriService_UpdateRuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, ...)) *MockCriService_UpdateRuntimeConfig_Call
- func (_c *MockCriService_UpdateRuntimeConfig_Call) RunAndReturn(...) *MockCriService_UpdateRuntimeConfig_Call
- type MockCriService_Version_Call
- func (_c *MockCriService_Version_Call) Return(_a0 *v1.VersionResponse, _a1 error) *MockCriService_Version_Call
- func (_c *MockCriService_Version_Call) Run(run func(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption)) *MockCriService_Version_Call
- func (_c *MockCriService_Version_Call) RunAndReturn(...) *MockCriService_Version_Call
- type MockImageService
- type MockImageService_Expecter
- type MockImageService_Pull_Call
- func (_c *MockImageService_Pull_Call) Return(_a0 v1.Image, _a1 error) *MockImageService_Pull_Call
- func (_c *MockImageService_Pull_Call) Run(run func(ctx context.Context, imgRef string, platform string)) *MockImageService_Pull_Call
- func (_c *MockImageService_Pull_Call) RunAndReturn(run func(context.Context, string, string) (v1.Image, error)) *MockImageService_Pull_Call
- type MockImageService_Push_Call
- func (_c *MockImageService_Push_Call) Return(_a0 error) *MockImageService_Push_Call
- func (_c *MockImageService_Push_Call) Run(run func(ctx context.Context, img v1.Image, imgRef string)) *MockImageService_Push_Call
- func (_c *MockImageService_Push_Call) RunAndReturn(run func(context.Context, v1.Image, string) error) *MockImageService_Push_Call
- type MockJobClient
- type MockJobClient_Expecter
- type MockJobClient_InsertJob_Call
- func (_c *MockJobClient_InsertJob_Call) Return(_a0 error) *MockJobClient_InsertJob_Call
- func (_c *MockJobClient_InsertJob_Call) Run(...) *MockJobClient_InsertJob_Call
- func (_c *MockJobClient_InsertJob_Call) RunAndReturn(run func(context.Context, string, string, river.JobArgs) error) *MockJobClient_InsertJob_Call
- type MockNodeRepository
- type MockNodeRepository_Expecter
- type MockNodeRepository_RandomNode_Call
- func (_c *MockNodeRepository_RandomNode_Call) Return(_a0 node.Node, _a1 error) *MockNodeRepository_RandomNode_Call
- func (_c *MockNodeRepository_RandomNode_Call) Run(run func(ctx context.Context)) *MockNodeRepository_RandomNode_Call
- func (_c *MockNodeRepository_RandomNode_Call) RunAndReturn(run func(context.Context) (node.Node, error)) *MockNodeRepository_RandomNode_Call
- type MockStatusStore
- type MockStatusStore_Del_Call
- type MockStatusStore_Expecter
- func (_e *MockStatusStore_Expecter) Del(id interface{}) *MockStatusStore_Del_Call
- func (_e *MockStatusStore_Expecter) Get(id interface{}) *MockStatusStore_Get_Call
- func (_e *MockStatusStore_Expecter) Update(id interface{}, _a1 interface{}) *MockStatusStore_Update_Call
- func (_e *MockStatusStore_Expecter) View() *MockStatusStore_View_Call
- type MockStatusStore_Get_Call
- type MockStatusStore_Update_Call
- func (_c *MockStatusStore_Update_Call) Return() *MockStatusStore_Update_Call
- func (_c *MockStatusStore_Update_Call) Run(run func(id string, _a1 status.Status)) *MockStatusStore_Update_Call
- func (_c *MockStatusStore_Update_Call) RunAndReturn(run func(string, status.Status)) *MockStatusStore_Update_Call
- type MockStatusStore_View_Call
- type MockV1ImageServiceClient
- func (_m *MockV1ImageServiceClient) EXPECT() *MockV1ImageServiceClient_Expecter
- func (_m *MockV1ImageServiceClient) ImageFsInfo(ctx context.Context, in *v1.ImageFsInfoRequest, opts ...grpc.CallOption) (*v1.ImageFsInfoResponse, error)
- func (_m *MockV1ImageServiceClient) ImageStatus(ctx context.Context, in *v1.ImageStatusRequest, opts ...grpc.CallOption) (*v1.ImageStatusResponse, error)
- func (_m *MockV1ImageServiceClient) ListImages(ctx context.Context, in *v1.ListImagesRequest, opts ...grpc.CallOption) (*v1.ListImagesResponse, error)
- func (_m *MockV1ImageServiceClient) PullImage(ctx context.Context, in *v1.PullImageRequest, opts ...grpc.CallOption) (*v1.PullImageResponse, error)
- func (_m *MockV1ImageServiceClient) RemoveImage(ctx context.Context, in *v1.RemoveImageRequest, opts ...grpc.CallOption) (*v1.RemoveImageResponse, error)
- type MockV1ImageServiceClient_Expecter
- func (_e *MockV1ImageServiceClient_Expecter) ImageFsInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ImageFsInfo_Call
- func (_e *MockV1ImageServiceClient_Expecter) ImageStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ImageStatus_Call
- func (_e *MockV1ImageServiceClient_Expecter) ListImages(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ListImages_Call
- func (_e *MockV1ImageServiceClient_Expecter) PullImage(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_PullImage_Call
- func (_e *MockV1ImageServiceClient_Expecter) RemoveImage(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_RemoveImage_Call
- type MockV1ImageServiceClient_ImageFsInfo_Call
- func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) Return(_a0 *v1.ImageFsInfoResponse, _a1 error) *MockV1ImageServiceClient_ImageFsInfo_Call
- func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) Run(...) *MockV1ImageServiceClient_ImageFsInfo_Call
- func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) RunAndReturn(...) *MockV1ImageServiceClient_ImageFsInfo_Call
- type MockV1ImageServiceClient_ImageStatus_Call
- func (_c *MockV1ImageServiceClient_ImageStatus_Call) Return(_a0 *v1.ImageStatusResponse, _a1 error) *MockV1ImageServiceClient_ImageStatus_Call
- func (_c *MockV1ImageServiceClient_ImageStatus_Call) Run(...) *MockV1ImageServiceClient_ImageStatus_Call
- func (_c *MockV1ImageServiceClient_ImageStatus_Call) RunAndReturn(...) *MockV1ImageServiceClient_ImageStatus_Call
- type MockV1ImageServiceClient_ListImages_Call
- func (_c *MockV1ImageServiceClient_ListImages_Call) Return(_a0 *v1.ListImagesResponse, _a1 error) *MockV1ImageServiceClient_ListImages_Call
- func (_c *MockV1ImageServiceClient_ListImages_Call) Run(...) *MockV1ImageServiceClient_ListImages_Call
- func (_c *MockV1ImageServiceClient_ListImages_Call) RunAndReturn(...) *MockV1ImageServiceClient_ListImages_Call
- type MockV1ImageServiceClient_PullImage_Call
- func (_c *MockV1ImageServiceClient_PullImage_Call) Return(_a0 *v1.PullImageResponse, _a1 error) *MockV1ImageServiceClient_PullImage_Call
- func (_c *MockV1ImageServiceClient_PullImage_Call) Run(...) *MockV1ImageServiceClient_PullImage_Call
- func (_c *MockV1ImageServiceClient_PullImage_Call) RunAndReturn(...) *MockV1ImageServiceClient_PullImage_Call
- type MockV1ImageServiceClient_RemoveImage_Call
- func (_c *MockV1ImageServiceClient_RemoveImage_Call) Return(_a0 *v1.RemoveImageResponse, _a1 error) *MockV1ImageServiceClient_RemoveImage_Call
- func (_c *MockV1ImageServiceClient_RemoveImage_Call) Run(...) *MockV1ImageServiceClient_RemoveImage_Call
- func (_c *MockV1ImageServiceClient_RemoveImage_Call) RunAndReturn(...) *MockV1ImageServiceClient_RemoveImage_Call
- type MockV1RuntimeServiceClient
- func (_m *MockV1RuntimeServiceClient) Attach(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption) (*v1.AttachResponse, error)
- func (_m *MockV1RuntimeServiceClient) CheckpointContainer(ctx context.Context, in *v1.CheckpointContainerRequest, ...) (*v1.CheckpointContainerResponse, error)
- func (_m *MockV1RuntimeServiceClient) ContainerStats(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption) (*v1.ContainerStatsResponse, error)
- func (_m *MockV1RuntimeServiceClient) ContainerStatus(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption) (*v1.ContainerStatusResponse, error)
- func (_m *MockV1RuntimeServiceClient) CreateContainer(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption) (*v1.CreateContainerResponse, error)
- func (_m *MockV1RuntimeServiceClient) EXPECT() *MockV1RuntimeServiceClient_Expecter
- func (_m *MockV1RuntimeServiceClient) Exec(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption) (*v1.ExecResponse, error)
- func (_m *MockV1RuntimeServiceClient) ExecSync(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption) (*v1.ExecSyncResponse, error)
- func (_m *MockV1RuntimeServiceClient) GetContainerEvents(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)
- func (_m *MockV1RuntimeServiceClient) ListContainerStats(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)
- func (_m *MockV1RuntimeServiceClient) ListContainers(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption) (*v1.ListContainersResponse, error)
- func (_m *MockV1RuntimeServiceClient) ListMetricDescriptors(ctx context.Context, in *v1.ListMetricDescriptorsRequest, ...) (*v1.ListMetricDescriptorsResponse, error)
- func (_m *MockV1RuntimeServiceClient) ListPodSandbox(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)
- func (_m *MockV1RuntimeServiceClient) ListPodSandboxMetrics(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, ...) (*v1.ListPodSandboxMetricsResponse, error)
- func (_m *MockV1RuntimeServiceClient) ListPodSandboxStats(ctx context.Context, in *v1.ListPodSandboxStatsRequest, ...) (*v1.ListPodSandboxStatsResponse, error)
- func (_m *MockV1RuntimeServiceClient) PodSandboxStats(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)
- func (_m *MockV1RuntimeServiceClient) PodSandboxStatus(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)
- func (_m *MockV1RuntimeServiceClient) PortForward(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption) (*v1.PortForwardResponse, error)
- func (_m *MockV1RuntimeServiceClient) RemoveContainer(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption) (*v1.RemoveContainerResponse, error)
- func (_m *MockV1RuntimeServiceClient) RemovePodSandbox(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)
- func (_m *MockV1RuntimeServiceClient) ReopenContainerLog(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)
- func (_m *MockV1RuntimeServiceClient) RunPodSandbox(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)
- func (_m *MockV1RuntimeServiceClient) RuntimeConfig(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)
- func (_m *MockV1RuntimeServiceClient) StartContainer(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption) (*v1.StartContainerResponse, error)
- func (_m *MockV1RuntimeServiceClient) Status(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption) (*v1.StatusResponse, error)
- func (_m *MockV1RuntimeServiceClient) StopContainer(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption) (*v1.StopContainerResponse, error)
- func (_m *MockV1RuntimeServiceClient) StopPodSandbox(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)
- func (_m *MockV1RuntimeServiceClient) UpdateContainerResources(ctx context.Context, in *v1.UpdateContainerResourcesRequest, ...) (*v1.UpdateContainerResourcesResponse, error)
- func (_m *MockV1RuntimeServiceClient) UpdateRuntimeConfig(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, ...) (*v1.UpdateRuntimeConfigResponse, error)
- func (_m *MockV1RuntimeServiceClient) Version(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption) (*v1.VersionResponse, error)
- type MockV1RuntimeServiceClient_Attach_Call
- func (_c *MockV1RuntimeServiceClient_Attach_Call) Return(_a0 *v1.AttachResponse, _a1 error) *MockV1RuntimeServiceClient_Attach_Call
- func (_c *MockV1RuntimeServiceClient_Attach_Call) Run(run func(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Attach_Call
- func (_c *MockV1RuntimeServiceClient_Attach_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_Attach_Call
- type MockV1RuntimeServiceClient_CheckpointContainer_Call
- func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) Return(_a0 *v1.CheckpointContainerResponse, _a1 error) *MockV1RuntimeServiceClient_CheckpointContainer_Call
- func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) Run(run func(ctx context.Context, in *v1.CheckpointContainerRequest, ...)) *MockV1RuntimeServiceClient_CheckpointContainer_Call
- func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_CheckpointContainer_Call
- type MockV1RuntimeServiceClient_ContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) Return(_a0 *v1.ContainerStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) Run(...) *MockV1RuntimeServiceClient_ContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ContainerStats_Call
- type MockV1RuntimeServiceClient_ContainerStatus_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) Return(_a0 *v1.ContainerStatusResponse, _a1 error) *MockV1RuntimeServiceClient_ContainerStatus_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) Run(...) *MockV1RuntimeServiceClient_ContainerStatus_Call
- func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ContainerStatus_Call
- type MockV1RuntimeServiceClient_CreateContainer_Call
- func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) Return(_a0 *v1.CreateContainerResponse, _a1 error) *MockV1RuntimeServiceClient_CreateContainer_Call
- func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) Run(...) *MockV1RuntimeServiceClient_CreateContainer_Call
- func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_CreateContainer_Call
- type MockV1RuntimeServiceClient_ExecSync_Call
- func (_c *MockV1RuntimeServiceClient_ExecSync_Call) Return(_a0 *v1.ExecSyncResponse, _a1 error) *MockV1RuntimeServiceClient_ExecSync_Call
- func (_c *MockV1RuntimeServiceClient_ExecSync_Call) Run(run func(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ExecSync_Call
- func (_c *MockV1RuntimeServiceClient_ExecSync_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ExecSync_Call
- type MockV1RuntimeServiceClient_Exec_Call
- func (_c *MockV1RuntimeServiceClient_Exec_Call) Return(_a0 *v1.ExecResponse, _a1 error) *MockV1RuntimeServiceClient_Exec_Call
- func (_c *MockV1RuntimeServiceClient_Exec_Call) Run(run func(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Exec_Call
- func (_c *MockV1RuntimeServiceClient_Exec_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_Exec_Call
- type MockV1RuntimeServiceClient_Expecter
- func (_e *MockV1RuntimeServiceClient_Expecter) Attach(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Attach_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) CheckpointContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_CheckpointContainer_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ContainerStats_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ContainerStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ContainerStatus_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) CreateContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_CreateContainer_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) Exec(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Exec_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ExecSync(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ExecSync_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) GetContainerEvents(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_GetContainerEvents_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListContainerStats_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListContainers(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListContainers_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListMetricDescriptors(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandbox_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandboxMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) PodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PodSandboxStats_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) PodSandboxStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) PortForward(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PortForward_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) RemoveContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RemoveContainer_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) RemovePodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) ReopenContainerLog(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) RunPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RunPodSandbox_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) RuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RuntimeConfig_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) StartContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StartContainer_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) Status(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Status_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) StopContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StopContainer_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) StopPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StopPodSandbox_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) UpdateContainerResources(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) UpdateRuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
- func (_e *MockV1RuntimeServiceClient_Expecter) Version(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Version_Call
- type MockV1RuntimeServiceClient_GetContainerEvents_Call
- func (_c *MockV1RuntimeServiceClient_GetContainerEvents_Call) Return(_a0 v1.RuntimeService_GetContainerEventsClient, _a1 error) *MockV1RuntimeServiceClient_GetContainerEvents_Call
- func (_c *MockV1RuntimeServiceClient_GetContainerEvents_Call) Run(...) *MockV1RuntimeServiceClient_GetContainerEvents_Call
- func (_c *MockV1RuntimeServiceClient_GetContainerEvents_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_GetContainerEvents_Call
- type MockV1RuntimeServiceClient_ListContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) Return(_a0 *v1.ListContainerStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ListContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) Run(...) *MockV1RuntimeServiceClient_ListContainerStats_Call
- func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListContainerStats_Call
- type MockV1RuntimeServiceClient_ListContainers_Call
- func (_c *MockV1RuntimeServiceClient_ListContainers_Call) Return(_a0 *v1.ListContainersResponse, _a1 error) *MockV1RuntimeServiceClient_ListContainers_Call
- func (_c *MockV1RuntimeServiceClient_ListContainers_Call) Run(...) *MockV1RuntimeServiceClient_ListContainers_Call
- func (_c *MockV1RuntimeServiceClient_ListContainers_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListContainers_Call
- type MockV1RuntimeServiceClient_ListMetricDescriptors_Call
- func (_c *MockV1RuntimeServiceClient_ListMetricDescriptors_Call) Return(_a0 *v1.ListMetricDescriptorsResponse, _a1 error) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
- func (_c *MockV1RuntimeServiceClient_ListMetricDescriptors_Call) Run(run func(ctx context.Context, in *v1.ListMetricDescriptorsRequest, ...)) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
- func (_c *MockV1RuntimeServiceClient_ListMetricDescriptors_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
- type MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) Return(_a0 *v1.ListPodSandboxMetricsResponse, _a1 error) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, ...)) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
- type MockV1RuntimeServiceClient_ListPodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Return(_a0 *v1.ListPodSandboxStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxStatsRequest, ...)) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
- type MockV1RuntimeServiceClient_ListPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) Return(_a0 *v1.ListPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_ListPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) Run(...) *MockV1RuntimeServiceClient_ListPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ListPodSandbox_Call
- type MockV1RuntimeServiceClient_PodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) Return(_a0 *v1.PodSandboxStatsResponse, _a1 error) *MockV1RuntimeServiceClient_PodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) Run(...) *MockV1RuntimeServiceClient_PodSandboxStats_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_PodSandboxStats_Call
- type MockV1RuntimeServiceClient_PodSandboxStatus_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) Return(_a0 *v1.PodSandboxStatusResponse, _a1 error) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) Run(...) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
- func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
- type MockV1RuntimeServiceClient_PortForward_Call
- func (_c *MockV1RuntimeServiceClient_PortForward_Call) Return(_a0 *v1.PortForwardResponse, _a1 error) *MockV1RuntimeServiceClient_PortForward_Call
- func (_c *MockV1RuntimeServiceClient_PortForward_Call) Run(...) *MockV1RuntimeServiceClient_PortForward_Call
- func (_c *MockV1RuntimeServiceClient_PortForward_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_PortForward_Call
- type MockV1RuntimeServiceClient_RemoveContainer_Call
- func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) Return(_a0 *v1.RemoveContainerResponse, _a1 error) *MockV1RuntimeServiceClient_RemoveContainer_Call
- func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) Run(...) *MockV1RuntimeServiceClient_RemoveContainer_Call
- func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_RemoveContainer_Call
- type MockV1RuntimeServiceClient_RemovePodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) Return(_a0 *v1.RemovePodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) Run(...) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
- type MockV1RuntimeServiceClient_ReopenContainerLog_Call
- func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) Return(_a0 *v1.ReopenContainerLogResponse, _a1 error) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
- func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) Run(...) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
- func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
- type MockV1RuntimeServiceClient_RunPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) Return(_a0 *v1.RunPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_RunPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) Run(...) *MockV1RuntimeServiceClient_RunPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_RunPodSandbox_Call
- type MockV1RuntimeServiceClient_RuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) Return(_a0 *v1.RuntimeConfigResponse, _a1 error) *MockV1RuntimeServiceClient_RuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) Run(...) *MockV1RuntimeServiceClient_RuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_RuntimeConfig_Call
- type MockV1RuntimeServiceClient_StartContainer_Call
- func (_c *MockV1RuntimeServiceClient_StartContainer_Call) Return(_a0 *v1.StartContainerResponse, _a1 error) *MockV1RuntimeServiceClient_StartContainer_Call
- func (_c *MockV1RuntimeServiceClient_StartContainer_Call) Run(...) *MockV1RuntimeServiceClient_StartContainer_Call
- func (_c *MockV1RuntimeServiceClient_StartContainer_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_StartContainer_Call
- type MockV1RuntimeServiceClient_Status_Call
- func (_c *MockV1RuntimeServiceClient_Status_Call) Return(_a0 *v1.StatusResponse, _a1 error) *MockV1RuntimeServiceClient_Status_Call
- func (_c *MockV1RuntimeServiceClient_Status_Call) Run(run func(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Status_Call
- func (_c *MockV1RuntimeServiceClient_Status_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_Status_Call
- type MockV1RuntimeServiceClient_StopContainer_Call
- func (_c *MockV1RuntimeServiceClient_StopContainer_Call) Return(_a0 *v1.StopContainerResponse, _a1 error) *MockV1RuntimeServiceClient_StopContainer_Call
- func (_c *MockV1RuntimeServiceClient_StopContainer_Call) Run(...) *MockV1RuntimeServiceClient_StopContainer_Call
- func (_c *MockV1RuntimeServiceClient_StopContainer_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_StopContainer_Call
- type MockV1RuntimeServiceClient_StopPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) Return(_a0 *v1.StopPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_StopPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) Run(...) *MockV1RuntimeServiceClient_StopPodSandbox_Call
- func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_StopPodSandbox_Call
- type MockV1RuntimeServiceClient_UpdateContainerResources_Call
- func (_c *MockV1RuntimeServiceClient_UpdateContainerResources_Call) Return(_a0 *v1.UpdateContainerResourcesResponse, _a1 error) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
- func (_c *MockV1RuntimeServiceClient_UpdateContainerResources_Call) Run(run func(ctx context.Context, in *v1.UpdateContainerResourcesRequest, ...)) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
- func (_c *MockV1RuntimeServiceClient_UpdateContainerResources_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
- type MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Return(_a0 *v1.UpdateRuntimeConfigResponse, _a1 error) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, ...)) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
- func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
- type MockV1RuntimeServiceClient_Version_Call
- func (_c *MockV1RuntimeServiceClient_Version_Call) Return(_a0 *v1.VersionResponse, _a1 error) *MockV1RuntimeServiceClient_Version_Call
- func (_c *MockV1RuntimeServiceClient_Version_Call) Run(run func(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Version_Call
- func (_c *MockV1RuntimeServiceClient_Version_Call) RunAndReturn(...) *MockV1RuntimeServiceClient_Version_Call
- type MockV1alpha1CheckpointServiceClient
- func (_m *MockV1alpha1CheckpointServiceClient) CheckpointStatus(ctx context.Context, in *v1alpha1.CheckpointStatusRequest, ...) (*v1alpha1.CheckpointStatusResponse, error)
- func (_m *MockV1alpha1CheckpointServiceClient) CreateCheckpoint(ctx context.Context, in *v1alpha1.CreateCheckpointRequest, ...) (*v1alpha1.CreateCheckpointResponse, error)
- func (_m *MockV1alpha1CheckpointServiceClient) EXPECT() *MockV1alpha1CheckpointServiceClient_Expecter
- type MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) Return(_a0 *v1alpha1.CheckpointStatusResponse, _a1 error) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) Run(run func(ctx context.Context, in *v1alpha1.CheckpointStatusRequest, ...)) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) RunAndReturn(...) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
- type MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) Return(_a0 *v1alpha1.CreateCheckpointResponse, _a1 error) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) Run(run func(ctx context.Context, in *v1alpha1.CreateCheckpointRequest, ...)) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
- func (_c *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) RunAndReturn(...) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
- type MockV1alpha1CheckpointServiceClient_Expecter
- func (_e *MockV1alpha1CheckpointServiceClient_Expecter) CheckpointStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
- func (_e *MockV1alpha1CheckpointServiceClient_Expecter) CreateCheckpoint(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
- type MockV1alpha1InstanceServiceClient
- func (_m *MockV1alpha1InstanceServiceClient) DiscoverInstances(ctx context.Context, in *v1alpha1.DiscoverInstanceRequest, ...) (*v1alpha1.DiscoverInstanceResponse, error)
- func (_m *MockV1alpha1InstanceServiceClient) EXPECT() *MockV1alpha1InstanceServiceClient_Expecter
- func (_m *MockV1alpha1InstanceServiceClient) GetInstance(ctx context.Context, in *v1alpha1.GetInstanceRequest, opts ...grpc.CallOption) (*v1alpha1.GetInstanceResponse, error)
- func (_m *MockV1alpha1InstanceServiceClient) ListInstances(ctx context.Context, in *v1alpha1.ListInstancesRequest, ...) (*v1alpha1.ListInstancesResponse, error)
- func (_m *MockV1alpha1InstanceServiceClient) ReceiveInstanceStatusReports(ctx context.Context, in *v1alpha1.ReceiveInstanceStatusReportsRequest, ...) (*v1alpha1.ReceiveInstanceStatusReportsResponse, error)
- func (_m *MockV1alpha1InstanceServiceClient) RunFlavorVersion(ctx context.Context, in *v1alpha1.RunFlavorVersionRequest, ...) (*v1alpha1.RunFlavorVersionResponse, error)
- type MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) Return(_a0 *v1alpha1.DiscoverInstanceResponse, _a1 error) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) Run(run func(ctx context.Context, in *v1alpha1.DiscoverInstanceRequest, ...)) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) RunAndReturn(...) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
- type MockV1alpha1InstanceServiceClient_Expecter
- func (_e *MockV1alpha1InstanceServiceClient_Expecter) DiscoverInstances(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
- func (_e *MockV1alpha1InstanceServiceClient_Expecter) GetInstance(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_GetInstance_Call
- func (_e *MockV1alpha1InstanceServiceClient_Expecter) ListInstances(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_ListInstances_Call
- func (_e *MockV1alpha1InstanceServiceClient_Expecter) ReceiveInstanceStatusReports(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
- func (_e *MockV1alpha1InstanceServiceClient_Expecter) RunFlavorVersion(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
- type MockV1alpha1InstanceServiceClient_GetInstance_Call
- func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) Return(_a0 *v1alpha1.GetInstanceResponse, _a1 error) *MockV1alpha1InstanceServiceClient_GetInstance_Call
- func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) Run(...) *MockV1alpha1InstanceServiceClient_GetInstance_Call
- func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) RunAndReturn(...) *MockV1alpha1InstanceServiceClient_GetInstance_Call
- type MockV1alpha1InstanceServiceClient_ListInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_ListInstances_Call) Return(_a0 *v1alpha1.ListInstancesResponse, _a1 error) *MockV1alpha1InstanceServiceClient_ListInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_ListInstances_Call) Run(run func(ctx context.Context, in *v1alpha1.ListInstancesRequest, ...)) *MockV1alpha1InstanceServiceClient_ListInstances_Call
- func (_c *MockV1alpha1InstanceServiceClient_ListInstances_Call) RunAndReturn(...) *MockV1alpha1InstanceServiceClient_ListInstances_Call
- type MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
- func (_c *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) Return(_a0 *v1alpha1.ReceiveInstanceStatusReportsResponse, _a1 error) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
- func (_c *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) Run(...) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
- func (_c *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) RunAndReturn(...) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
- type MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
- func (_c *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) Return(_a0 *v1alpha1.RunFlavorVersionResponse, _a1 error) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
- func (_c *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) Run(run func(ctx context.Context, in *v1alpha1.RunFlavorVersionRequest, ...)) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
- func (_c *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) RunAndReturn(...) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
- type MockV1alpha1ProxyServiceClient
- func (_m *MockV1alpha1ProxyServiceClient) CreateListeners(ctx context.Context, in *v1alpha1.CreateListenersRequest, ...) (*v1alpha1.CreateListenersResponse, error)
- func (_m *MockV1alpha1ProxyServiceClient) DeleteListeners(ctx context.Context, in *v1alpha1.DeleteListenersRequest, ...) (*v1alpha1.DeleteListenersResponse, error)
- func (_m *MockV1alpha1ProxyServiceClient) EXPECT() *MockV1alpha1ProxyServiceClient_Expecter
- type MockV1alpha1ProxyServiceClient_CreateListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_CreateListeners_Call) Return(_a0 *v1alpha1.CreateListenersResponse, _a1 error) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_CreateListeners_Call) Run(run func(ctx context.Context, in *v1alpha1.CreateListenersRequest, ...)) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_CreateListeners_Call) RunAndReturn(...) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
- type MockV1alpha1ProxyServiceClient_DeleteListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_DeleteListeners_Call) Return(_a0 *v1alpha1.DeleteListenersResponse, _a1 error) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_DeleteListeners_Call) Run(run func(ctx context.Context, in *v1alpha1.DeleteListenersRequest, ...)) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
- func (_c *MockV1alpha1ProxyServiceClient_DeleteListeners_Call) RunAndReturn(...) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
- type MockV1alpha1ProxyServiceClient_Expecter
- func (_e *MockV1alpha1ProxyServiceClient_Expecter) CreateListeners(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
- func (_e *MockV1alpha1ProxyServiceClient_Expecter) DeleteListeners(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
- type MockV1alpha2WorkloadServiceClient
- type MockV1alpha2WorkloadServiceClient_Expecter
- type MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
- func (_c *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) Return(_a0 *v1alpha2.WorkloadStatusResponse, _a1 error) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
- func (_c *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) Run(run func(ctx context.Context, in *v1alpha2.WorkloadStatusRequest, ...)) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
- func (_c *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) RunAndReturn(...) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
- type MockWorkloadService
- func (_m *MockWorkloadService) EXPECT() *MockWorkloadService_Expecter
- func (_m *MockWorkloadService) GetWorkloadHealth(ctx context.Context, id string) (status.WorkloadHealthStatus, error)
- func (_m *MockWorkloadService) RemoveWorkload(ctx context.Context, id string) error
- func (_m *MockWorkloadService) RunWorkload(ctx context.Context, w workload.Workload, attempt uint) error
- type MockWorkloadService_Expecter
- func (_e *MockWorkloadService_Expecter) GetWorkloadHealth(ctx interface{}, id interface{}) *MockWorkloadService_GetWorkloadHealth_Call
- func (_e *MockWorkloadService_Expecter) RemoveWorkload(ctx interface{}, id interface{}) *MockWorkloadService_RemoveWorkload_Call
- func (_e *MockWorkloadService_Expecter) RunWorkload(ctx interface{}, w interface{}, attempt interface{}) *MockWorkloadService_RunWorkload_Call
- type MockWorkloadService_GetWorkloadHealth_Call
- func (_c *MockWorkloadService_GetWorkloadHealth_Call) Return(_a0 status.WorkloadHealthStatus, _a1 error) *MockWorkloadService_GetWorkloadHealth_Call
- func (_c *MockWorkloadService_GetWorkloadHealth_Call) Run(run func(ctx context.Context, id string)) *MockWorkloadService_GetWorkloadHealth_Call
- func (_c *MockWorkloadService_GetWorkloadHealth_Call) RunAndReturn(run func(context.Context, string) (status.WorkloadHealthStatus, error)) *MockWorkloadService_GetWorkloadHealth_Call
- type MockWorkloadService_RemoveWorkload_Call
- func (_c *MockWorkloadService_RemoveWorkload_Call) Return(_a0 error) *MockWorkloadService_RemoveWorkload_Call
- func (_c *MockWorkloadService_RemoveWorkload_Call) Run(run func(ctx context.Context, id string)) *MockWorkloadService_RemoveWorkload_Call
- func (_c *MockWorkloadService_RemoveWorkload_Call) RunAndReturn(run func(context.Context, string) error) *MockWorkloadService_RemoveWorkload_Call
- type MockWorkloadService_RunWorkload_Call
- func (_c *MockWorkloadService_RunWorkload_Call) Return(_a0 error) *MockWorkloadService_RunWorkload_Call
- func (_c *MockWorkloadService_RunWorkload_Call) Run(run func(ctx context.Context, w workload.Workload, attempt uint)) *MockWorkloadService_RunWorkload_Call
- func (_c *MockWorkloadService_RunWorkload_Call) RunAndReturn(run func(context.Context, workload.Workload, uint) error) *MockWorkloadService_RunWorkload_Call
- type MockXdsMap
- type MockXdsMap_Del_Call
- func (_c *MockXdsMap_Del_Call) Return(_a0 *cache.Snapshot, _a1 error) *MockXdsMap_Del_Call
- func (_c *MockXdsMap_Del_Call) Run(run func(ctx context.Context, key string)) *MockXdsMap_Del_Call
- func (_c *MockXdsMap_Del_Call) RunAndReturn(run func(context.Context, string) (*cache.Snapshot, error)) *MockXdsMap_Del_Call
- type MockXdsMap_Expecter
- type MockXdsMap_Get_Call
- type MockXdsMap_Put_Call
- func (_c *MockXdsMap_Put_Call) Return(_a0 *cache.Snapshot, _a1 error) *MockXdsMap_Put_Call
- func (_c *MockXdsMap_Put_Call) Run(run func(ctx context.Context, key string, rg xds.ResourceGroup)) *MockXdsMap_Put_Call
- func (_c *MockXdsMap_Put_Call) RunAndReturn(run func(context.Context, string, xds.ResourceGroup) (*cache.Snapshot, error)) *MockXdsMap_Put_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAuthzAccessEvaluator ¶
MockAuthzAccessEvaluator is an autogenerated mock type for the AccessEvaluator type
func NewMockAuthzAccessEvaluator ¶
func NewMockAuthzAccessEvaluator(t interface {
mock.TestingT
Cleanup(func())
}) *MockAuthzAccessEvaluator
NewMockAuthzAccessEvaluator creates a new instance of MockAuthzAccessEvaluator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockAuthzAccessEvaluator) AccessAuthorized ¶
func (_m *MockAuthzAccessEvaluator) AccessAuthorized(ctx context.Context, opts ...authz.AccessRuleOption) error
AccessAuthorized provides a mock function with given fields: ctx, opts
func (*MockAuthzAccessEvaluator) EXPECT ¶
func (_m *MockAuthzAccessEvaluator) EXPECT() *MockAuthzAccessEvaluator_Expecter
type MockAuthzAccessEvaluator_AccessAuthorized_Call ¶
MockAuthzAccessEvaluator_AccessAuthorized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AccessAuthorized'
func (*MockAuthzAccessEvaluator_AccessAuthorized_Call) Return ¶
func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) Return(_a0 error) *MockAuthzAccessEvaluator_AccessAuthorized_Call
func (*MockAuthzAccessEvaluator_AccessAuthorized_Call) Run ¶
func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) Run(run func(ctx context.Context, opts ...authz.AccessRuleOption)) *MockAuthzAccessEvaluator_AccessAuthorized_Call
func (*MockAuthzAccessEvaluator_AccessAuthorized_Call) RunAndReturn ¶
func (_c *MockAuthzAccessEvaluator_AccessAuthorized_Call) RunAndReturn(run func(context.Context, ...authz.AccessRuleOption) error) *MockAuthzAccessEvaluator_AccessAuthorized_Call
type MockAuthzAccessEvaluator_Expecter ¶
type MockAuthzAccessEvaluator_Expecter struct {
// contains filtered or unexported fields
}
func (*MockAuthzAccessEvaluator_Expecter) AccessAuthorized ¶
func (_e *MockAuthzAccessEvaluator_Expecter) AccessAuthorized(ctx interface{}, opts ...interface{}) *MockAuthzAccessEvaluator_AccessAuthorized_Call
AccessAuthorized is a helper method to define mock.On call
- ctx context.Context
- opts ...authz.AccessRuleOption
type MockCacheSnapshotCache ¶
MockCacheSnapshotCache is an autogenerated mock type for the SnapshotCache type
func NewMockCacheSnapshotCache ¶
func NewMockCacheSnapshotCache(t interface {
mock.TestingT
Cleanup(func())
}) *MockCacheSnapshotCache
NewMockCacheSnapshotCache creates a new instance of MockCacheSnapshotCache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCacheSnapshotCache) ClearSnapshot ¶
func (_m *MockCacheSnapshotCache) ClearSnapshot(node string)
ClearSnapshot provides a mock function with given fields: node
func (*MockCacheSnapshotCache) CreateDeltaWatch ¶
func (_m *MockCacheSnapshotCache) CreateDeltaWatch(_a0 *cache.DeltaRequest, _a1 stream.StreamState, _a2 chan cache.DeltaResponse) func()
CreateDeltaWatch provides a mock function with given fields: _a0, _a1, _a2
func (*MockCacheSnapshotCache) CreateWatch ¶
func (_m *MockCacheSnapshotCache) CreateWatch(_a0 *cache.Request, _a1 stream.StreamState, _a2 chan cache.Response) func()
CreateWatch provides a mock function with given fields: _a0, _a1, _a2
func (*MockCacheSnapshotCache) EXPECT ¶
func (_m *MockCacheSnapshotCache) EXPECT() *MockCacheSnapshotCache_Expecter
func (*MockCacheSnapshotCache) Fetch ¶
func (_m *MockCacheSnapshotCache) Fetch(_a0 context.Context, _a1 *cache.Request) (cache.Response, error)
Fetch provides a mock function with given fields: _a0, _a1
func (*MockCacheSnapshotCache) GetSnapshot ¶
func (_m *MockCacheSnapshotCache) GetSnapshot(node string) (cache.ResourceSnapshot, error)
GetSnapshot provides a mock function with given fields: node
func (*MockCacheSnapshotCache) GetStatusInfo ¶
func (_m *MockCacheSnapshotCache) GetStatusInfo(_a0 string) cache.StatusInfo
GetStatusInfo provides a mock function with given fields: _a0
func (*MockCacheSnapshotCache) GetStatusKeys ¶
func (_m *MockCacheSnapshotCache) GetStatusKeys() []string
GetStatusKeys provides a mock function with given fields:
func (*MockCacheSnapshotCache) SetSnapshot ¶
func (_m *MockCacheSnapshotCache) SetSnapshot(ctx context.Context, node string, snapshot cache.ResourceSnapshot) error
SetSnapshot provides a mock function with given fields: ctx, node, snapshot
type MockCacheSnapshotCache_ClearSnapshot_Call ¶
MockCacheSnapshotCache_ClearSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearSnapshot'
func (*MockCacheSnapshotCache_ClearSnapshot_Call) Return ¶
func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) Return() *MockCacheSnapshotCache_ClearSnapshot_Call
func (*MockCacheSnapshotCache_ClearSnapshot_Call) Run ¶
func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) Run(run func(node string)) *MockCacheSnapshotCache_ClearSnapshot_Call
func (*MockCacheSnapshotCache_ClearSnapshot_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_ClearSnapshot_Call) RunAndReturn(run func(string)) *MockCacheSnapshotCache_ClearSnapshot_Call
type MockCacheSnapshotCache_CreateDeltaWatch_Call ¶
MockCacheSnapshotCache_CreateDeltaWatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateDeltaWatch'
func (*MockCacheSnapshotCache_CreateDeltaWatch_Call) Return ¶
func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) Return(cancel func()) *MockCacheSnapshotCache_CreateDeltaWatch_Call
func (*MockCacheSnapshotCache_CreateDeltaWatch_Call) Run ¶
func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) Run(run func(_a0 *cache.DeltaRequest, _a1 stream.StreamState, _a2 chan cache.DeltaResponse)) *MockCacheSnapshotCache_CreateDeltaWatch_Call
func (*MockCacheSnapshotCache_CreateDeltaWatch_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_CreateDeltaWatch_Call) RunAndReturn(run func(*cache.DeltaRequest, stream.StreamState, chan cache.DeltaResponse) func()) *MockCacheSnapshotCache_CreateDeltaWatch_Call
type MockCacheSnapshotCache_CreateWatch_Call ¶
MockCacheSnapshotCache_CreateWatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateWatch'
func (*MockCacheSnapshotCache_CreateWatch_Call) Return ¶
func (_c *MockCacheSnapshotCache_CreateWatch_Call) Return(cancel func()) *MockCacheSnapshotCache_CreateWatch_Call
func (*MockCacheSnapshotCache_CreateWatch_Call) Run ¶
func (_c *MockCacheSnapshotCache_CreateWatch_Call) Run(run func(_a0 *cache.Request, _a1 stream.StreamState, _a2 chan cache.Response)) *MockCacheSnapshotCache_CreateWatch_Call
func (*MockCacheSnapshotCache_CreateWatch_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_CreateWatch_Call) RunAndReturn(run func(*cache.Request, stream.StreamState, chan cache.Response) func()) *MockCacheSnapshotCache_CreateWatch_Call
type MockCacheSnapshotCache_Expecter ¶
type MockCacheSnapshotCache_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCacheSnapshotCache_Expecter) ClearSnapshot ¶
func (_e *MockCacheSnapshotCache_Expecter) ClearSnapshot(node interface{}) *MockCacheSnapshotCache_ClearSnapshot_Call
ClearSnapshot is a helper method to define mock.On call
- node string
func (*MockCacheSnapshotCache_Expecter) CreateDeltaWatch ¶
func (_e *MockCacheSnapshotCache_Expecter) CreateDeltaWatch(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockCacheSnapshotCache_CreateDeltaWatch_Call
CreateDeltaWatch is a helper method to define mock.On call
- _a0 *cache.DeltaRequest
- _a1 stream.StreamState
- _a2 chan cache.DeltaResponse
func (*MockCacheSnapshotCache_Expecter) CreateWatch ¶
func (_e *MockCacheSnapshotCache_Expecter) CreateWatch(_a0 interface{}, _a1 interface{}, _a2 interface{}) *MockCacheSnapshotCache_CreateWatch_Call
CreateWatch is a helper method to define mock.On call
- _a0 *cache.Request
- _a1 stream.StreamState
- _a2 chan cache.Response
func (*MockCacheSnapshotCache_Expecter) Fetch ¶
func (_e *MockCacheSnapshotCache_Expecter) Fetch(_a0 interface{}, _a1 interface{}) *MockCacheSnapshotCache_Fetch_Call
Fetch is a helper method to define mock.On call
- _a0 context.Context
- _a1 *cache.Request
func (*MockCacheSnapshotCache_Expecter) GetSnapshot ¶
func (_e *MockCacheSnapshotCache_Expecter) GetSnapshot(node interface{}) *MockCacheSnapshotCache_GetSnapshot_Call
GetSnapshot is a helper method to define mock.On call
- node string
func (*MockCacheSnapshotCache_Expecter) GetStatusInfo ¶
func (_e *MockCacheSnapshotCache_Expecter) GetStatusInfo(_a0 interface{}) *MockCacheSnapshotCache_GetStatusInfo_Call
GetStatusInfo is a helper method to define mock.On call
- _a0 string
func (*MockCacheSnapshotCache_Expecter) GetStatusKeys ¶
func (_e *MockCacheSnapshotCache_Expecter) GetStatusKeys() *MockCacheSnapshotCache_GetStatusKeys_Call
GetStatusKeys is a helper method to define mock.On call
func (*MockCacheSnapshotCache_Expecter) SetSnapshot ¶
func (_e *MockCacheSnapshotCache_Expecter) SetSnapshot(ctx interface{}, node interface{}, snapshot interface{}) *MockCacheSnapshotCache_SetSnapshot_Call
SetSnapshot is a helper method to define mock.On call
- ctx context.Context
- node string
- snapshot cache.ResourceSnapshot
type MockCacheSnapshotCache_Fetch_Call ¶
MockCacheSnapshotCache_Fetch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fetch'
func (*MockCacheSnapshotCache_Fetch_Call) Return ¶
func (_c *MockCacheSnapshotCache_Fetch_Call) Return(_a0 cache.Response, _a1 error) *MockCacheSnapshotCache_Fetch_Call
func (*MockCacheSnapshotCache_Fetch_Call) Run ¶
func (_c *MockCacheSnapshotCache_Fetch_Call) Run(run func(_a0 context.Context, _a1 *cache.Request)) *MockCacheSnapshotCache_Fetch_Call
func (*MockCacheSnapshotCache_Fetch_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_Fetch_Call) RunAndReturn(run func(context.Context, *cache.Request) (cache.Response, error)) *MockCacheSnapshotCache_Fetch_Call
type MockCacheSnapshotCache_GetSnapshot_Call ¶
MockCacheSnapshotCache_GetSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSnapshot'
func (*MockCacheSnapshotCache_GetSnapshot_Call) Return ¶
func (_c *MockCacheSnapshotCache_GetSnapshot_Call) Return(_a0 cache.ResourceSnapshot, _a1 error) *MockCacheSnapshotCache_GetSnapshot_Call
func (*MockCacheSnapshotCache_GetSnapshot_Call) Run ¶
func (_c *MockCacheSnapshotCache_GetSnapshot_Call) Run(run func(node string)) *MockCacheSnapshotCache_GetSnapshot_Call
func (*MockCacheSnapshotCache_GetSnapshot_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_GetSnapshot_Call) RunAndReturn(run func(string) (cache.ResourceSnapshot, error)) *MockCacheSnapshotCache_GetSnapshot_Call
type MockCacheSnapshotCache_GetStatusInfo_Call ¶
MockCacheSnapshotCache_GetStatusInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatusInfo'
func (*MockCacheSnapshotCache_GetStatusInfo_Call) Return ¶
func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) Return(_a0 cache.StatusInfo) *MockCacheSnapshotCache_GetStatusInfo_Call
func (*MockCacheSnapshotCache_GetStatusInfo_Call) Run ¶
func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) Run(run func(_a0 string)) *MockCacheSnapshotCache_GetStatusInfo_Call
func (*MockCacheSnapshotCache_GetStatusInfo_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_GetStatusInfo_Call) RunAndReturn(run func(string) cache.StatusInfo) *MockCacheSnapshotCache_GetStatusInfo_Call
type MockCacheSnapshotCache_GetStatusKeys_Call ¶
MockCacheSnapshotCache_GetStatusKeys_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStatusKeys'
func (*MockCacheSnapshotCache_GetStatusKeys_Call) Return ¶
func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) Return(_a0 []string) *MockCacheSnapshotCache_GetStatusKeys_Call
func (*MockCacheSnapshotCache_GetStatusKeys_Call) Run ¶
func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) Run(run func()) *MockCacheSnapshotCache_GetStatusKeys_Call
func (*MockCacheSnapshotCache_GetStatusKeys_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_GetStatusKeys_Call) RunAndReturn(run func() []string) *MockCacheSnapshotCache_GetStatusKeys_Call
type MockCacheSnapshotCache_SetSnapshot_Call ¶
MockCacheSnapshotCache_SetSnapshot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSnapshot'
func (*MockCacheSnapshotCache_SetSnapshot_Call) Return ¶
func (_c *MockCacheSnapshotCache_SetSnapshot_Call) Return(_a0 error) *MockCacheSnapshotCache_SetSnapshot_Call
func (*MockCacheSnapshotCache_SetSnapshot_Call) Run ¶
func (_c *MockCacheSnapshotCache_SetSnapshot_Call) Run(run func(ctx context.Context, node string, snapshot cache.ResourceSnapshot)) *MockCacheSnapshotCache_SetSnapshot_Call
func (*MockCacheSnapshotCache_SetSnapshot_Call) RunAndReturn ¶
func (_c *MockCacheSnapshotCache_SetSnapshot_Call) RunAndReturn(run func(context.Context, string, cache.ResourceSnapshot) error) *MockCacheSnapshotCache_SetSnapshot_Call
type MockChunkRepository ¶
MockChunkRepository is an autogenerated mock type for the Repository type
func NewMockChunkRepository ¶
func NewMockChunkRepository(t interface {
mock.TestingT
Cleanup(func())
}) *MockChunkRepository
NewMockChunkRepository creates a new instance of MockChunkRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockChunkRepository) ChunkExists ¶
ChunkExists provides a mock function with given fields: ctx, id
func (*MockChunkRepository) CreateChunk ¶
func (_m *MockChunkRepository) CreateChunk(ctx context.Context, _a1 resource.Chunk) (resource.Chunk, error)
CreateChunk provides a mock function with given fields: ctx, _a1
func (*MockChunkRepository) CreateFlavor ¶
func (_m *MockChunkRepository) CreateFlavor(ctx context.Context, chunkID string, flavor resource.Flavor) (resource.Flavor, error)
CreateFlavor provides a mock function with given fields: ctx, chunkID, flavor
func (*MockChunkRepository) CreateFlavorVersion ¶
func (_m *MockChunkRepository) CreateFlavorVersion(ctx context.Context, flavorID string, version resource.FlavorVersion, prevVersionID string) (resource.FlavorVersion, error)
CreateFlavorVersion provides a mock function with given fields: ctx, flavorID, version, prevVersionID
func (*MockChunkRepository) EXPECT ¶
func (_m *MockChunkRepository) EXPECT() *MockChunkRepository_Expecter
func (*MockChunkRepository) FlavorNameExists ¶
func (_m *MockChunkRepository) FlavorNameExists(ctx context.Context, chunkID string, name string) (bool, error)
FlavorNameExists provides a mock function with given fields: ctx, chunkID, name
func (*MockChunkRepository) FlavorVersionByID ¶
func (_m *MockChunkRepository) FlavorVersionByID(ctx context.Context, id string) (resource.FlavorVersion, error)
FlavorVersionByID provides a mock function with given fields: ctx, id
func (*MockChunkRepository) FlavorVersionExists ¶
func (_m *MockChunkRepository) FlavorVersionExists(ctx context.Context, flavorID string, version string) (bool, error)
FlavorVersionExists provides a mock function with given fields: ctx, flavorID, version
func (*MockChunkRepository) FlavorVersionHashByID ¶
func (_m *MockChunkRepository) FlavorVersionHashByID(ctx context.Context, id string) (string, error)
FlavorVersionHashByID provides a mock function with given fields: ctx, id
func (*MockChunkRepository) GetChunkByID ¶
GetChunkByID provides a mock function with given fields: ctx, id
func (*MockChunkRepository) LatestFlavorVersion ¶
func (_m *MockChunkRepository) LatestFlavorVersion(ctx context.Context, flavorID string) (resource.FlavorVersion, error)
LatestFlavorVersion provides a mock function with given fields: ctx, flavorID
func (*MockChunkRepository) ListChunks ¶
ListChunks provides a mock function with given fields: ctx
func (*MockChunkRepository) MarkFlavorVersionFilesUploaded ¶
func (_m *MockChunkRepository) MarkFlavorVersionFilesUploaded(ctx context.Context, flavorVersionID string) error
MarkFlavorVersionFilesUploaded provides a mock function with given fields: ctx, flavorVersionID
func (*MockChunkRepository) MinecraftVersionExists ¶
func (_m *MockChunkRepository) MinecraftVersionExists(_a0 context.Context, _a1 string) (bool, error)
MinecraftVersionExists provides a mock function with given fields: _a0, _a1
func (*MockChunkRepository) SupportedMinecraftVersions ¶
func (_m *MockChunkRepository) SupportedMinecraftVersions(ctx context.Context) ([]string, error)
SupportedMinecraftVersions provides a mock function with given fields: ctx
func (*MockChunkRepository) UpdateChunk ¶
func (_m *MockChunkRepository) UpdateChunk(ctx context.Context, _a1 resource.Chunk) (resource.Chunk, error)
UpdateChunk provides a mock function with given fields: ctx, _a1
func (*MockChunkRepository) UpdateFlavorVersionBuildStatus ¶
func (_m *MockChunkRepository) UpdateFlavorVersionBuildStatus(ctx context.Context, flavorVersionID string, status resource.FlavorVersionBuildStatus) error
UpdateFlavorVersionBuildStatus provides a mock function with given fields: ctx, flavorVersionID, status
func (*MockChunkRepository) UpdateFlavorVersionPresignedURLData ¶
func (_m *MockChunkRepository) UpdateFlavorVersionPresignedURLData(ctx context.Context, flavorVersionID string, date time.Time, url string) error
UpdateFlavorVersionPresignedURLData provides a mock function with given fields: ctx, flavorVersionID, date, url
type MockChunkRepository_ChunkExists_Call ¶
MockChunkRepository_ChunkExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChunkExists'
func (*MockChunkRepository_ChunkExists_Call) Return ¶
func (_c *MockChunkRepository_ChunkExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_ChunkExists_Call
func (*MockChunkRepository_ChunkExists_Call) Run ¶
func (_c *MockChunkRepository_ChunkExists_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_ChunkExists_Call
func (*MockChunkRepository_ChunkExists_Call) RunAndReturn ¶
func (_c *MockChunkRepository_ChunkExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *MockChunkRepository_ChunkExists_Call
type MockChunkRepository_CreateChunk_Call ¶
MockChunkRepository_CreateChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateChunk'
func (*MockChunkRepository_CreateChunk_Call) Return ¶
func (_c *MockChunkRepository_CreateChunk_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_CreateChunk_Call
func (*MockChunkRepository_CreateChunk_Call) Run ¶
func (_c *MockChunkRepository_CreateChunk_Call) Run(run func(ctx context.Context, _a1 resource.Chunk)) *MockChunkRepository_CreateChunk_Call
func (*MockChunkRepository_CreateChunk_Call) RunAndReturn ¶
func (_c *MockChunkRepository_CreateChunk_Call) RunAndReturn(run func(context.Context, resource.Chunk) (resource.Chunk, error)) *MockChunkRepository_CreateChunk_Call
type MockChunkRepository_CreateFlavorVersion_Call ¶
MockChunkRepository_CreateFlavorVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFlavorVersion'
func (*MockChunkRepository_CreateFlavorVersion_Call) Return ¶
func (_c *MockChunkRepository_CreateFlavorVersion_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_CreateFlavorVersion_Call
func (*MockChunkRepository_CreateFlavorVersion_Call) Run ¶
func (_c *MockChunkRepository_CreateFlavorVersion_Call) Run(run func(ctx context.Context, flavorID string, version resource.FlavorVersion, prevVersionID string)) *MockChunkRepository_CreateFlavorVersion_Call
func (*MockChunkRepository_CreateFlavorVersion_Call) RunAndReturn ¶
func (_c *MockChunkRepository_CreateFlavorVersion_Call) RunAndReturn(run func(context.Context, string, resource.FlavorVersion, string) (resource.FlavorVersion, error)) *MockChunkRepository_CreateFlavorVersion_Call
type MockChunkRepository_CreateFlavor_Call ¶
MockChunkRepository_CreateFlavor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateFlavor'
func (*MockChunkRepository_CreateFlavor_Call) Return ¶
func (_c *MockChunkRepository_CreateFlavor_Call) Return(_a0 resource.Flavor, _a1 error) *MockChunkRepository_CreateFlavor_Call
func (*MockChunkRepository_CreateFlavor_Call) Run ¶
func (_c *MockChunkRepository_CreateFlavor_Call) Run(run func(ctx context.Context, chunkID string, flavor resource.Flavor)) *MockChunkRepository_CreateFlavor_Call
func (*MockChunkRepository_CreateFlavor_Call) RunAndReturn ¶
func (_c *MockChunkRepository_CreateFlavor_Call) RunAndReturn(run func(context.Context, string, resource.Flavor) (resource.Flavor, error)) *MockChunkRepository_CreateFlavor_Call
type MockChunkRepository_Expecter ¶
type MockChunkRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*MockChunkRepository_Expecter) ChunkExists ¶
func (_e *MockChunkRepository_Expecter) ChunkExists(ctx interface{}, id interface{}) *MockChunkRepository_ChunkExists_Call
ChunkExists is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockChunkRepository_Expecter) CreateChunk ¶
func (_e *MockChunkRepository_Expecter) CreateChunk(ctx interface{}, _a1 interface{}) *MockChunkRepository_CreateChunk_Call
CreateChunk is a helper method to define mock.On call
- ctx context.Context
- _a1 resource.Chunk
func (*MockChunkRepository_Expecter) CreateFlavor ¶
func (_e *MockChunkRepository_Expecter) CreateFlavor(ctx interface{}, chunkID interface{}, flavor interface{}) *MockChunkRepository_CreateFlavor_Call
CreateFlavor is a helper method to define mock.On call
- ctx context.Context
- chunkID string
- flavor resource.Flavor
func (*MockChunkRepository_Expecter) CreateFlavorVersion ¶
func (_e *MockChunkRepository_Expecter) CreateFlavorVersion(ctx interface{}, flavorID interface{}, version interface{}, prevVersionID interface{}) *MockChunkRepository_CreateFlavorVersion_Call
CreateFlavorVersion is a helper method to define mock.On call
- ctx context.Context
- flavorID string
- version resource.FlavorVersion
- prevVersionID string
func (*MockChunkRepository_Expecter) FlavorNameExists ¶
func (_e *MockChunkRepository_Expecter) FlavorNameExists(ctx interface{}, chunkID interface{}, name interface{}) *MockChunkRepository_FlavorNameExists_Call
FlavorNameExists is a helper method to define mock.On call
- ctx context.Context
- chunkID string
- name string
func (*MockChunkRepository_Expecter) FlavorVersionByID ¶
func (_e *MockChunkRepository_Expecter) FlavorVersionByID(ctx interface{}, id interface{}) *MockChunkRepository_FlavorVersionByID_Call
FlavorVersionByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockChunkRepository_Expecter) FlavorVersionExists ¶
func (_e *MockChunkRepository_Expecter) FlavorVersionExists(ctx interface{}, flavorID interface{}, version interface{}) *MockChunkRepository_FlavorVersionExists_Call
FlavorVersionExists is a helper method to define mock.On call
- ctx context.Context
- flavorID string
- version string
func (*MockChunkRepository_Expecter) FlavorVersionHashByID ¶
func (_e *MockChunkRepository_Expecter) FlavorVersionHashByID(ctx interface{}, id interface{}) *MockChunkRepository_FlavorVersionHashByID_Call
FlavorVersionHashByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockChunkRepository_Expecter) GetChunkByID ¶
func (_e *MockChunkRepository_Expecter) GetChunkByID(ctx interface{}, id interface{}) *MockChunkRepository_GetChunkByID_Call
GetChunkByID is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockChunkRepository_Expecter) LatestFlavorVersion ¶
func (_e *MockChunkRepository_Expecter) LatestFlavorVersion(ctx interface{}, flavorID interface{}) *MockChunkRepository_LatestFlavorVersion_Call
LatestFlavorVersion is a helper method to define mock.On call
- ctx context.Context
- flavorID string
func (*MockChunkRepository_Expecter) ListChunks ¶
func (_e *MockChunkRepository_Expecter) ListChunks(ctx interface{}) *MockChunkRepository_ListChunks_Call
ListChunks is a helper method to define mock.On call
- ctx context.Context
func (*MockChunkRepository_Expecter) MarkFlavorVersionFilesUploaded ¶
func (_e *MockChunkRepository_Expecter) MarkFlavorVersionFilesUploaded(ctx interface{}, flavorVersionID interface{}) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
MarkFlavorVersionFilesUploaded is a helper method to define mock.On call
- ctx context.Context
- flavorVersionID string
func (*MockChunkRepository_Expecter) MinecraftVersionExists ¶
func (_e *MockChunkRepository_Expecter) MinecraftVersionExists(_a0 interface{}, _a1 interface{}) *MockChunkRepository_MinecraftVersionExists_Call
MinecraftVersionExists is a helper method to define mock.On call
- _a0 context.Context
- _a1 string
func (*MockChunkRepository_Expecter) SupportedMinecraftVersions ¶
func (_e *MockChunkRepository_Expecter) SupportedMinecraftVersions(ctx interface{}) *MockChunkRepository_SupportedMinecraftVersions_Call
SupportedMinecraftVersions is a helper method to define mock.On call
- ctx context.Context
func (*MockChunkRepository_Expecter) UpdateChunk ¶
func (_e *MockChunkRepository_Expecter) UpdateChunk(ctx interface{}, _a1 interface{}) *MockChunkRepository_UpdateChunk_Call
UpdateChunk is a helper method to define mock.On call
- ctx context.Context
- _a1 resource.Chunk
func (*MockChunkRepository_Expecter) UpdateFlavorVersionBuildStatus ¶
func (_e *MockChunkRepository_Expecter) UpdateFlavorVersionBuildStatus(ctx interface{}, flavorVersionID interface{}, status interface{}) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
UpdateFlavorVersionBuildStatus is a helper method to define mock.On call
- ctx context.Context
- flavorVersionID string
- status resource.FlavorVersionBuildStatus
func (*MockChunkRepository_Expecter) UpdateFlavorVersionPresignedURLData ¶
func (_e *MockChunkRepository_Expecter) UpdateFlavorVersionPresignedURLData(ctx interface{}, flavorVersionID interface{}, date interface{}, url interface{}) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
UpdateFlavorVersionPresignedURLData is a helper method to define mock.On call
- ctx context.Context
- flavorVersionID string
- date time.Time
- url string
type MockChunkRepository_FlavorNameExists_Call ¶
MockChunkRepository_FlavorNameExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlavorNameExists'
func (*MockChunkRepository_FlavorNameExists_Call) Return ¶
func (_c *MockChunkRepository_FlavorNameExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_FlavorNameExists_Call
func (*MockChunkRepository_FlavorNameExists_Call) Run ¶
func (_c *MockChunkRepository_FlavorNameExists_Call) Run(run func(ctx context.Context, chunkID string, name string)) *MockChunkRepository_FlavorNameExists_Call
func (*MockChunkRepository_FlavorNameExists_Call) RunAndReturn ¶
func (_c *MockChunkRepository_FlavorNameExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockChunkRepository_FlavorNameExists_Call
type MockChunkRepository_FlavorVersionByID_Call ¶
MockChunkRepository_FlavorVersionByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlavorVersionByID'
func (*MockChunkRepository_FlavorVersionByID_Call) Return ¶
func (_c *MockChunkRepository_FlavorVersionByID_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_FlavorVersionByID_Call
func (*MockChunkRepository_FlavorVersionByID_Call) Run ¶
func (_c *MockChunkRepository_FlavorVersionByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_FlavorVersionByID_Call
func (*MockChunkRepository_FlavorVersionByID_Call) RunAndReturn ¶
func (_c *MockChunkRepository_FlavorVersionByID_Call) RunAndReturn(run func(context.Context, string) (resource.FlavorVersion, error)) *MockChunkRepository_FlavorVersionByID_Call
type MockChunkRepository_FlavorVersionExists_Call ¶
MockChunkRepository_FlavorVersionExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlavorVersionExists'
func (*MockChunkRepository_FlavorVersionExists_Call) Return ¶
func (_c *MockChunkRepository_FlavorVersionExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_FlavorVersionExists_Call
func (*MockChunkRepository_FlavorVersionExists_Call) Run ¶
func (_c *MockChunkRepository_FlavorVersionExists_Call) Run(run func(ctx context.Context, flavorID string, version string)) *MockChunkRepository_FlavorVersionExists_Call
func (*MockChunkRepository_FlavorVersionExists_Call) RunAndReturn ¶
func (_c *MockChunkRepository_FlavorVersionExists_Call) RunAndReturn(run func(context.Context, string, string) (bool, error)) *MockChunkRepository_FlavorVersionExists_Call
type MockChunkRepository_FlavorVersionHashByID_Call ¶
MockChunkRepository_FlavorVersionHashByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FlavorVersionHashByID'
func (*MockChunkRepository_FlavorVersionHashByID_Call) Return ¶
func (_c *MockChunkRepository_FlavorVersionHashByID_Call) Return(_a0 string, _a1 error) *MockChunkRepository_FlavorVersionHashByID_Call
func (*MockChunkRepository_FlavorVersionHashByID_Call) Run ¶
func (_c *MockChunkRepository_FlavorVersionHashByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_FlavorVersionHashByID_Call
func (*MockChunkRepository_FlavorVersionHashByID_Call) RunAndReturn ¶
func (_c *MockChunkRepository_FlavorVersionHashByID_Call) RunAndReturn(run func(context.Context, string) (string, error)) *MockChunkRepository_FlavorVersionHashByID_Call
type MockChunkRepository_GetChunkByID_Call ¶
MockChunkRepository_GetChunkByID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetChunkByID'
func (*MockChunkRepository_GetChunkByID_Call) Return ¶
func (_c *MockChunkRepository_GetChunkByID_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_GetChunkByID_Call
func (*MockChunkRepository_GetChunkByID_Call) Run ¶
func (_c *MockChunkRepository_GetChunkByID_Call) Run(run func(ctx context.Context, id string)) *MockChunkRepository_GetChunkByID_Call
func (*MockChunkRepository_GetChunkByID_Call) RunAndReturn ¶
func (_c *MockChunkRepository_GetChunkByID_Call) RunAndReturn(run func(context.Context, string) (resource.Chunk, error)) *MockChunkRepository_GetChunkByID_Call
type MockChunkRepository_LatestFlavorVersion_Call ¶
MockChunkRepository_LatestFlavorVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestFlavorVersion'
func (*MockChunkRepository_LatestFlavorVersion_Call) Return ¶
func (_c *MockChunkRepository_LatestFlavorVersion_Call) Return(_a0 resource.FlavorVersion, _a1 error) *MockChunkRepository_LatestFlavorVersion_Call
func (*MockChunkRepository_LatestFlavorVersion_Call) Run ¶
func (_c *MockChunkRepository_LatestFlavorVersion_Call) Run(run func(ctx context.Context, flavorID string)) *MockChunkRepository_LatestFlavorVersion_Call
func (*MockChunkRepository_LatestFlavorVersion_Call) RunAndReturn ¶
func (_c *MockChunkRepository_LatestFlavorVersion_Call) RunAndReturn(run func(context.Context, string) (resource.FlavorVersion, error)) *MockChunkRepository_LatestFlavorVersion_Call
type MockChunkRepository_ListChunks_Call ¶
MockChunkRepository_ListChunks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListChunks'
func (*MockChunkRepository_ListChunks_Call) Return ¶
func (_c *MockChunkRepository_ListChunks_Call) Return(_a0 []resource.Chunk, _a1 error) *MockChunkRepository_ListChunks_Call
func (*MockChunkRepository_ListChunks_Call) Run ¶
func (_c *MockChunkRepository_ListChunks_Call) Run(run func(ctx context.Context)) *MockChunkRepository_ListChunks_Call
func (*MockChunkRepository_ListChunks_Call) RunAndReturn ¶
func (_c *MockChunkRepository_ListChunks_Call) RunAndReturn(run func(context.Context) ([]resource.Chunk, error)) *MockChunkRepository_ListChunks_Call
type MockChunkRepository_MarkFlavorVersionFilesUploaded_Call ¶
MockChunkRepository_MarkFlavorVersionFilesUploaded_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MarkFlavorVersionFilesUploaded'
func (*MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) Run ¶
func (_c *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) Run(run func(ctx context.Context, flavorVersionID string)) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
func (*MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) RunAndReturn ¶
func (_c *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call) RunAndReturn(run func(context.Context, string) error) *MockChunkRepository_MarkFlavorVersionFilesUploaded_Call
type MockChunkRepository_MinecraftVersionExists_Call ¶
MockChunkRepository_MinecraftVersionExists_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MinecraftVersionExists'
func (*MockChunkRepository_MinecraftVersionExists_Call) Return ¶
func (_c *MockChunkRepository_MinecraftVersionExists_Call) Return(_a0 bool, _a1 error) *MockChunkRepository_MinecraftVersionExists_Call
func (*MockChunkRepository_MinecraftVersionExists_Call) Run ¶
func (_c *MockChunkRepository_MinecraftVersionExists_Call) Run(run func(_a0 context.Context, _a1 string)) *MockChunkRepository_MinecraftVersionExists_Call
func (*MockChunkRepository_MinecraftVersionExists_Call) RunAndReturn ¶
func (_c *MockChunkRepository_MinecraftVersionExists_Call) RunAndReturn(run func(context.Context, string) (bool, error)) *MockChunkRepository_MinecraftVersionExists_Call
type MockChunkRepository_SupportedMinecraftVersions_Call ¶
MockChunkRepository_SupportedMinecraftVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SupportedMinecraftVersions'
func (*MockChunkRepository_SupportedMinecraftVersions_Call) Return ¶
func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) Return(_a0 []string, _a1 error) *MockChunkRepository_SupportedMinecraftVersions_Call
func (*MockChunkRepository_SupportedMinecraftVersions_Call) Run ¶
func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) Run(run func(ctx context.Context)) *MockChunkRepository_SupportedMinecraftVersions_Call
func (*MockChunkRepository_SupportedMinecraftVersions_Call) RunAndReturn ¶
func (_c *MockChunkRepository_SupportedMinecraftVersions_Call) RunAndReturn(run func(context.Context) ([]string, error)) *MockChunkRepository_SupportedMinecraftVersions_Call
type MockChunkRepository_UpdateChunk_Call ¶
MockChunkRepository_UpdateChunk_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateChunk'
func (*MockChunkRepository_UpdateChunk_Call) Return ¶
func (_c *MockChunkRepository_UpdateChunk_Call) Return(_a0 resource.Chunk, _a1 error) *MockChunkRepository_UpdateChunk_Call
func (*MockChunkRepository_UpdateChunk_Call) Run ¶
func (_c *MockChunkRepository_UpdateChunk_Call) Run(run func(ctx context.Context, _a1 resource.Chunk)) *MockChunkRepository_UpdateChunk_Call
func (*MockChunkRepository_UpdateChunk_Call) RunAndReturn ¶
func (_c *MockChunkRepository_UpdateChunk_Call) RunAndReturn(run func(context.Context, resource.Chunk) (resource.Chunk, error)) *MockChunkRepository_UpdateChunk_Call
type MockChunkRepository_UpdateFlavorVersionBuildStatus_Call ¶
MockChunkRepository_UpdateFlavorVersionBuildStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFlavorVersionBuildStatus'
func (*MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) Run ¶
func (_c *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) Run(run func(ctx context.Context, flavorVersionID string, status resource.FlavorVersionBuildStatus)) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
func (*MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) RunAndReturn ¶
func (_c *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call) RunAndReturn(run func(context.Context, string, resource.FlavorVersionBuildStatus) error) *MockChunkRepository_UpdateFlavorVersionBuildStatus_Call
type MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call ¶
MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateFlavorVersionPresignedURLData'
func (*MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) Run ¶
func (_c *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) Run(run func(ctx context.Context, flavorVersionID string, date time.Time, url string)) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
func (*MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) RunAndReturn ¶
func (_c *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call) RunAndReturn(run func(context.Context, string, time.Time, string) error) *MockChunkRepository_UpdateFlavorVersionPresignedURLData_Call
type MockCniHandler ¶
MockCniHandler is an autogenerated mock type for the Handler type
func NewMockCniHandler ¶
func NewMockCniHandler(t interface {
mock.TestingT
Cleanup(func())
}) *MockCniHandler
NewMockCniHandler creates a new instance of MockCniHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCniHandler) AddDNATTarget ¶
func (_m *MockCniHandler) AddDNATTarget(veth datapath.VethPair, port uint16) error
AddDNATTarget provides a mock function with given fields: veth, port
func (*MockCniHandler) AddDefaultRoute ¶
func (_m *MockCniHandler) AddDefaultRoute(veth datapath.VethPair, nsPath string) error
AddDefaultRoute provides a mock function with given fields: veth, nsPath
func (*MockCniHandler) AddFullMatchRoute ¶
func (_m *MockCniHandler) AddFullMatchRoute(veth datapath.VethPair) error
AddFullMatchRoute provides a mock function with given fields: veth
func (*MockCniHandler) AddNetData ¶
func (_m *MockCniHandler) AddNetData(data datapath.NetData) error
AddNetData provides a mock function with given fields: data
func (*MockCniHandler) AllocIPs ¶
AllocIPs provides a mock function with given fields: plugin, stdinData
func (*MockCniHandler) AllocVethPair ¶
func (_m *MockCniHandler) AllocVethPair(netNS string, hostAddr net.IPNet, podAddr net.IPNet) (datapath.VethPair, error)
AllocVethPair provides a mock function with given fields: netNS, hostAddr, podAddr
func (*MockCniHandler) AttachCtrVethBPF ¶
func (_m *MockCniHandler) AttachCtrVethBPF(veth datapath.VethPair, netNS string) error
AttachCtrVethBPF provides a mock function with given fields: veth, netNS
func (*MockCniHandler) AttachHostVethBPF ¶
func (_m *MockCniHandler) AttachHostVethBPF(veth datapath.VethPair) error
AttachHostVethBPF provides a mock function with given fields: veth
func (*MockCniHandler) DeallocIPs ¶
func (_m *MockCniHandler) DeallocIPs(plugin string, stdinData []byte) error
DeallocIPs provides a mock function with given fields: plugin, stdinData
func (*MockCniHandler) DeallocVethPair ¶
func (_m *MockCniHandler) DeallocVethPair(veth datapath.VethPair) error
DeallocVethPair provides a mock function with given fields: veth
func (*MockCniHandler) DelFullMatchRoute ¶
func (_m *MockCniHandler) DelFullMatchRoute(veth datapath.VethPair) error
DelFullMatchRoute provides a mock function with given fields: veth
func (*MockCniHandler) DelMapEntries ¶
func (_m *MockCniHandler) DelMapEntries(veth datapath.VethPair, hostPort uint16) error
DelMapEntries provides a mock function with given fields: veth, hostPort
func (*MockCniHandler) EXPECT ¶
func (_m *MockCniHandler) EXPECT() *MockCniHandler_Expecter
func (*MockCniHandler) GetVethPair ¶
func (_m *MockCniHandler) GetVethPair(hostPort uint16) (datapath.VethPair, error)
GetVethPair provides a mock function with given fields: hostPort
type MockCniHandler_AddDNATTarget_Call ¶
MockCniHandler_AddDNATTarget_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDNATTarget'
func (*MockCniHandler_AddDNATTarget_Call) Return ¶
func (_c *MockCniHandler_AddDNATTarget_Call) Return(_a0 error) *MockCniHandler_AddDNATTarget_Call
func (*MockCniHandler_AddDNATTarget_Call) Run ¶
func (_c *MockCniHandler_AddDNATTarget_Call) Run(run func(veth datapath.VethPair, port uint16)) *MockCniHandler_AddDNATTarget_Call
func (*MockCniHandler_AddDNATTarget_Call) RunAndReturn ¶
func (_c *MockCniHandler_AddDNATTarget_Call) RunAndReturn(run func(datapath.VethPair, uint16) error) *MockCniHandler_AddDNATTarget_Call
type MockCniHandler_AddDefaultRoute_Call ¶
MockCniHandler_AddDefaultRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddDefaultRoute'
func (*MockCniHandler_AddDefaultRoute_Call) Return ¶
func (_c *MockCniHandler_AddDefaultRoute_Call) Return(_a0 error) *MockCniHandler_AddDefaultRoute_Call
func (*MockCniHandler_AddDefaultRoute_Call) Run ¶
func (_c *MockCniHandler_AddDefaultRoute_Call) Run(run func(veth datapath.VethPair, nsPath string)) *MockCniHandler_AddDefaultRoute_Call
func (*MockCniHandler_AddDefaultRoute_Call) RunAndReturn ¶
func (_c *MockCniHandler_AddDefaultRoute_Call) RunAndReturn(run func(datapath.VethPair, string) error) *MockCniHandler_AddDefaultRoute_Call
type MockCniHandler_AddFullMatchRoute_Call ¶
MockCniHandler_AddFullMatchRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFullMatchRoute'
func (*MockCniHandler_AddFullMatchRoute_Call) Return ¶
func (_c *MockCniHandler_AddFullMatchRoute_Call) Return(_a0 error) *MockCniHandler_AddFullMatchRoute_Call
func (*MockCniHandler_AddFullMatchRoute_Call) Run ¶
func (_c *MockCniHandler_AddFullMatchRoute_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_AddFullMatchRoute_Call
func (*MockCniHandler_AddFullMatchRoute_Call) RunAndReturn ¶
func (_c *MockCniHandler_AddFullMatchRoute_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_AddFullMatchRoute_Call
type MockCniHandler_AddNetData_Call ¶
MockCniHandler_AddNetData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddNetData'
func (*MockCniHandler_AddNetData_Call) Return ¶
func (_c *MockCniHandler_AddNetData_Call) Return(_a0 error) *MockCniHandler_AddNetData_Call
func (*MockCniHandler_AddNetData_Call) Run ¶
func (_c *MockCniHandler_AddNetData_Call) Run(run func(data datapath.NetData)) *MockCniHandler_AddNetData_Call
func (*MockCniHandler_AddNetData_Call) RunAndReturn ¶
func (_c *MockCniHandler_AddNetData_Call) RunAndReturn(run func(datapath.NetData) error) *MockCniHandler_AddNetData_Call
type MockCniHandler_AllocIPs_Call ¶
MockCniHandler_AllocIPs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocIPs'
func (*MockCniHandler_AllocIPs_Call) Return ¶
func (_c *MockCniHandler_AllocIPs_Call) Return(_a0 []net.IPNet, _a1 error) *MockCniHandler_AllocIPs_Call
func (*MockCniHandler_AllocIPs_Call) Run ¶
func (_c *MockCniHandler_AllocIPs_Call) Run(run func(plugin string, stdinData []byte)) *MockCniHandler_AllocIPs_Call
func (*MockCniHandler_AllocIPs_Call) RunAndReturn ¶
func (_c *MockCniHandler_AllocIPs_Call) RunAndReturn(run func(string, []byte) ([]net.IPNet, error)) *MockCniHandler_AllocIPs_Call
type MockCniHandler_AllocVethPair_Call ¶
MockCniHandler_AllocVethPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AllocVethPair'
func (*MockCniHandler_AllocVethPair_Call) Return ¶
func (_c *MockCniHandler_AllocVethPair_Call) Return(_a0 datapath.VethPair, _a1 error) *MockCniHandler_AllocVethPair_Call
func (*MockCniHandler_AllocVethPair_Call) Run ¶
func (_c *MockCniHandler_AllocVethPair_Call) Run(run func(netNS string, hostAddr net.IPNet, podAddr net.IPNet)) *MockCniHandler_AllocVethPair_Call
func (*MockCniHandler_AllocVethPair_Call) RunAndReturn ¶
func (_c *MockCniHandler_AllocVethPair_Call) RunAndReturn(run func(string, net.IPNet, net.IPNet) (datapath.VethPair, error)) *MockCniHandler_AllocVethPair_Call
type MockCniHandler_AttachCtrVethBPF_Call ¶
MockCniHandler_AttachCtrVethBPF_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachCtrVethBPF'
func (*MockCniHandler_AttachCtrVethBPF_Call) Return ¶
func (_c *MockCniHandler_AttachCtrVethBPF_Call) Return(_a0 error) *MockCniHandler_AttachCtrVethBPF_Call
func (*MockCniHandler_AttachCtrVethBPF_Call) Run ¶
func (_c *MockCniHandler_AttachCtrVethBPF_Call) Run(run func(veth datapath.VethPair, netNS string)) *MockCniHandler_AttachCtrVethBPF_Call
func (*MockCniHandler_AttachCtrVethBPF_Call) RunAndReturn ¶
func (_c *MockCniHandler_AttachCtrVethBPF_Call) RunAndReturn(run func(datapath.VethPair, string) error) *MockCniHandler_AttachCtrVethBPF_Call
type MockCniHandler_AttachHostVethBPF_Call ¶
MockCniHandler_AttachHostVethBPF_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AttachHostVethBPF'
func (*MockCniHandler_AttachHostVethBPF_Call) Return ¶
func (_c *MockCniHandler_AttachHostVethBPF_Call) Return(_a0 error) *MockCniHandler_AttachHostVethBPF_Call
func (*MockCniHandler_AttachHostVethBPF_Call) Run ¶
func (_c *MockCniHandler_AttachHostVethBPF_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_AttachHostVethBPF_Call
func (*MockCniHandler_AttachHostVethBPF_Call) RunAndReturn ¶
func (_c *MockCniHandler_AttachHostVethBPF_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_AttachHostVethBPF_Call
type MockCniHandler_DeallocIPs_Call ¶
MockCniHandler_DeallocIPs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeallocIPs'
func (*MockCniHandler_DeallocIPs_Call) Return ¶
func (_c *MockCniHandler_DeallocIPs_Call) Return(_a0 error) *MockCniHandler_DeallocIPs_Call
func (*MockCniHandler_DeallocIPs_Call) Run ¶
func (_c *MockCniHandler_DeallocIPs_Call) Run(run func(plugin string, stdinData []byte)) *MockCniHandler_DeallocIPs_Call
func (*MockCniHandler_DeallocIPs_Call) RunAndReturn ¶
func (_c *MockCniHandler_DeallocIPs_Call) RunAndReturn(run func(string, []byte) error) *MockCniHandler_DeallocIPs_Call
type MockCniHandler_DeallocVethPair_Call ¶
MockCniHandler_DeallocVethPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeallocVethPair'
func (*MockCniHandler_DeallocVethPair_Call) Return ¶
func (_c *MockCniHandler_DeallocVethPair_Call) Return(_a0 error) *MockCniHandler_DeallocVethPair_Call
func (*MockCniHandler_DeallocVethPair_Call) Run ¶
func (_c *MockCniHandler_DeallocVethPair_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_DeallocVethPair_Call
func (*MockCniHandler_DeallocVethPair_Call) RunAndReturn ¶
func (_c *MockCniHandler_DeallocVethPair_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_DeallocVethPair_Call
type MockCniHandler_DelFullMatchRoute_Call ¶
MockCniHandler_DelFullMatchRoute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DelFullMatchRoute'
func (*MockCniHandler_DelFullMatchRoute_Call) Return ¶
func (_c *MockCniHandler_DelFullMatchRoute_Call) Return(_a0 error) *MockCniHandler_DelFullMatchRoute_Call
func (*MockCniHandler_DelFullMatchRoute_Call) Run ¶
func (_c *MockCniHandler_DelFullMatchRoute_Call) Run(run func(veth datapath.VethPair)) *MockCniHandler_DelFullMatchRoute_Call
func (*MockCniHandler_DelFullMatchRoute_Call) RunAndReturn ¶
func (_c *MockCniHandler_DelFullMatchRoute_Call) RunAndReturn(run func(datapath.VethPair) error) *MockCniHandler_DelFullMatchRoute_Call
type MockCniHandler_DelMapEntries_Call ¶
MockCniHandler_DelMapEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DelMapEntries'
func (*MockCniHandler_DelMapEntries_Call) Return ¶
func (_c *MockCniHandler_DelMapEntries_Call) Return(_a0 error) *MockCniHandler_DelMapEntries_Call
func (*MockCniHandler_DelMapEntries_Call) Run ¶
func (_c *MockCniHandler_DelMapEntries_Call) Run(run func(veth datapath.VethPair, hostPort uint16)) *MockCniHandler_DelMapEntries_Call
func (*MockCniHandler_DelMapEntries_Call) RunAndReturn ¶
func (_c *MockCniHandler_DelMapEntries_Call) RunAndReturn(run func(datapath.VethPair, uint16) error) *MockCniHandler_DelMapEntries_Call
type MockCniHandler_Expecter ¶
type MockCniHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCniHandler_Expecter) AddDNATTarget ¶
func (_e *MockCniHandler_Expecter) AddDNATTarget(veth interface{}, port interface{}) *MockCniHandler_AddDNATTarget_Call
AddDNATTarget is a helper method to define mock.On call
- veth datapath.VethPair
- port uint16
func (*MockCniHandler_Expecter) AddDefaultRoute ¶
func (_e *MockCniHandler_Expecter) AddDefaultRoute(veth interface{}, nsPath interface{}) *MockCniHandler_AddDefaultRoute_Call
AddDefaultRoute is a helper method to define mock.On call
- veth datapath.VethPair
- nsPath string
func (*MockCniHandler_Expecter) AddFullMatchRoute ¶
func (_e *MockCniHandler_Expecter) AddFullMatchRoute(veth interface{}) *MockCniHandler_AddFullMatchRoute_Call
AddFullMatchRoute is a helper method to define mock.On call
- veth datapath.VethPair
func (*MockCniHandler_Expecter) AddNetData ¶
func (_e *MockCniHandler_Expecter) AddNetData(data interface{}) *MockCniHandler_AddNetData_Call
AddNetData is a helper method to define mock.On call
- data datapath.NetData
func (*MockCniHandler_Expecter) AllocIPs ¶
func (_e *MockCniHandler_Expecter) AllocIPs(plugin interface{}, stdinData interface{}) *MockCniHandler_AllocIPs_Call
AllocIPs is a helper method to define mock.On call
- plugin string
- stdinData []byte
func (*MockCniHandler_Expecter) AllocVethPair ¶
func (_e *MockCniHandler_Expecter) AllocVethPair(netNS interface{}, hostAddr interface{}, podAddr interface{}) *MockCniHandler_AllocVethPair_Call
AllocVethPair is a helper method to define mock.On call
- netNS string
- hostAddr net.IPNet
- podAddr net.IPNet
func (*MockCniHandler_Expecter) AttachCtrVethBPF ¶
func (_e *MockCniHandler_Expecter) AttachCtrVethBPF(veth interface{}, netNS interface{}) *MockCniHandler_AttachCtrVethBPF_Call
AttachCtrVethBPF is a helper method to define mock.On call
- veth datapath.VethPair
- netNS string
func (*MockCniHandler_Expecter) AttachHostVethBPF ¶
func (_e *MockCniHandler_Expecter) AttachHostVethBPF(veth interface{}) *MockCniHandler_AttachHostVethBPF_Call
AttachHostVethBPF is a helper method to define mock.On call
- veth datapath.VethPair
func (*MockCniHandler_Expecter) DeallocIPs ¶
func (_e *MockCniHandler_Expecter) DeallocIPs(plugin interface{}, stdinData interface{}) *MockCniHandler_DeallocIPs_Call
DeallocIPs is a helper method to define mock.On call
- plugin string
- stdinData []byte
func (*MockCniHandler_Expecter) DeallocVethPair ¶
func (_e *MockCniHandler_Expecter) DeallocVethPair(veth interface{}) *MockCniHandler_DeallocVethPair_Call
DeallocVethPair is a helper method to define mock.On call
- veth datapath.VethPair
func (*MockCniHandler_Expecter) DelFullMatchRoute ¶
func (_e *MockCniHandler_Expecter) DelFullMatchRoute(veth interface{}) *MockCniHandler_DelFullMatchRoute_Call
DelFullMatchRoute is a helper method to define mock.On call
- veth datapath.VethPair
func (*MockCniHandler_Expecter) DelMapEntries ¶
func (_e *MockCniHandler_Expecter) DelMapEntries(veth interface{}, hostPort interface{}) *MockCniHandler_DelMapEntries_Call
DelMapEntries is a helper method to define mock.On call
- veth datapath.VethPair
- hostPort uint16
func (*MockCniHandler_Expecter) GetVethPair ¶
func (_e *MockCniHandler_Expecter) GetVethPair(hostPort interface{}) *MockCniHandler_GetVethPair_Call
GetVethPair is a helper method to define mock.On call
- hostPort uint16
type MockCniHandler_GetVethPair_Call ¶
MockCniHandler_GetVethPair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVethPair'
func (*MockCniHandler_GetVethPair_Call) Return ¶
func (_c *MockCniHandler_GetVethPair_Call) Return(_a0 datapath.VethPair, _a1 error) *MockCniHandler_GetVethPair_Call
func (*MockCniHandler_GetVethPair_Call) Run ¶
func (_c *MockCniHandler_GetVethPair_Call) Run(run func(hostPort uint16)) *MockCniHandler_GetVethPair_Call
func (*MockCniHandler_GetVethPair_Call) RunAndReturn ¶
func (_c *MockCniHandler_GetVethPair_Call) RunAndReturn(run func(uint16) (datapath.VethPair, error)) *MockCniHandler_GetVethPair_Call
type MockCriService ¶
MockCriService is an autogenerated mock type for the Service type
func NewMockCriService ¶
func NewMockCriService(t interface {
mock.TestingT
Cleanup(func())
}) *MockCriService
NewMockCriService creates a new instance of MockCriService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCriService) Attach ¶
func (_m *MockCriService) Attach(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption) (*v1.AttachResponse, error)
Attach provides a mock function with given fields: ctx, in, opts
func (*MockCriService) CheckpointContainer ¶
func (_m *MockCriService) CheckpointContainer(ctx context.Context, in *v1.CheckpointContainerRequest, opts ...grpc.CallOption) (*v1.CheckpointContainerResponse, error)
CheckpointContainer provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ContainerStats ¶
func (_m *MockCriService) ContainerStats(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption) (*v1.ContainerStatsResponse, error)
ContainerStats provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ContainerStatus ¶
func (_m *MockCriService) ContainerStatus(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption) (*v1.ContainerStatusResponse, error)
ContainerStatus provides a mock function with given fields: ctx, in, opts
func (*MockCriService) CreateContainer ¶
func (_m *MockCriService) CreateContainer(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption) (*v1.CreateContainerResponse, error)
CreateContainer provides a mock function with given fields: ctx, in, opts
func (*MockCriService) EXPECT ¶
func (_m *MockCriService) EXPECT() *MockCriService_Expecter
func (*MockCriService) EnsureImage ¶
func (_m *MockCriService) EnsureImage(ctx context.Context, imageURL string, auth cri.RegistryAuth) (bool, error)
EnsureImage provides a mock function with given fields: ctx, imageURL, auth
func (*MockCriService) EnsurePod ¶
func (_m *MockCriService) EnsurePod(ctx context.Context, opts cri.RunOptions) error
EnsurePod provides a mock function with given fields: ctx, opts
func (*MockCriService) Exec ¶
func (_m *MockCriService) Exec(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption) (*v1.ExecResponse, error)
Exec provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ExecSync ¶
func (_m *MockCriService) ExecSync(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption) (*v1.ExecSyncResponse, error)
ExecSync provides a mock function with given fields: ctx, in, opts
func (*MockCriService) GetContainerEvents ¶
func (_m *MockCriService) GetContainerEvents(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)
GetContainerEvents provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListContainerStats ¶
func (_m *MockCriService) ListContainerStats(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)
ListContainerStats provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListContainers ¶
func (_m *MockCriService) ListContainers(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption) (*v1.ListContainersResponse, error)
ListContainers provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListMetricDescriptors ¶
func (_m *MockCriService) ListMetricDescriptors(ctx context.Context, in *v1.ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*v1.ListMetricDescriptorsResponse, error)
ListMetricDescriptors provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListPodSandbox ¶
func (_m *MockCriService) ListPodSandbox(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)
ListPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListPodSandboxMetrics ¶
func (_m *MockCriService) ListPodSandboxMetrics(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxMetricsResponse, error)
ListPodSandboxMetrics provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ListPodSandboxStats ¶
func (_m *MockCriService) ListPodSandboxStats(ctx context.Context, in *v1.ListPodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxStatsResponse, error)
ListPodSandboxStats provides a mock function with given fields: ctx, in, opts
func (*MockCriService) PodSandboxStats ¶
func (_m *MockCriService) PodSandboxStats(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)
PodSandboxStats provides a mock function with given fields: ctx, in, opts
func (*MockCriService) PodSandboxStatus ¶
func (_m *MockCriService) PodSandboxStatus(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)
PodSandboxStatus provides a mock function with given fields: ctx, in, opts
func (*MockCriService) PortForward ¶
func (_m *MockCriService) PortForward(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption) (*v1.PortForwardResponse, error)
PortForward provides a mock function with given fields: ctx, in, opts
func (*MockCriService) RemoveContainer ¶
func (_m *MockCriService) RemoveContainer(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption) (*v1.RemoveContainerResponse, error)
RemoveContainer provides a mock function with given fields: ctx, in, opts
func (*MockCriService) RemovePodSandbox ¶
func (_m *MockCriService) RemovePodSandbox(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)
RemovePodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockCriService) ReopenContainerLog ¶
func (_m *MockCriService) ReopenContainerLog(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)
ReopenContainerLog provides a mock function with given fields: ctx, in, opts
func (*MockCriService) RunContainer ¶
func (_m *MockCriService) RunContainer(ctx context.Context, req *v1.CreateContainerRequest) (string, error)
RunContainer provides a mock function with given fields: ctx, req
func (*MockCriService) RunPodSandbox ¶
func (_m *MockCriService) RunPodSandbox(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)
RunPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockCriService) RuntimeConfig ¶
func (_m *MockCriService) RuntimeConfig(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)
RuntimeConfig provides a mock function with given fields: ctx, in, opts
func (*MockCriService) StartContainer ¶
func (_m *MockCriService) StartContainer(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption) (*v1.StartContainerResponse, error)
StartContainer provides a mock function with given fields: ctx, in, opts
func (*MockCriService) Status ¶
func (_m *MockCriService) Status(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption) (*v1.StatusResponse, error)
Status provides a mock function with given fields: ctx, in, opts
func (*MockCriService) StopContainer ¶
func (_m *MockCriService) StopContainer(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption) (*v1.StopContainerResponse, error)
StopContainer provides a mock function with given fields: ctx, in, opts
func (*MockCriService) StopPodSandbox ¶
func (_m *MockCriService) StopPodSandbox(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)
StopPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockCriService) UpdateContainerResources ¶
func (_m *MockCriService) UpdateContainerResources(ctx context.Context, in *v1.UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*v1.UpdateContainerResourcesResponse, error)
UpdateContainerResources provides a mock function with given fields: ctx, in, opts
func (*MockCriService) UpdateRuntimeConfig ¶
func (_m *MockCriService) UpdateRuntimeConfig(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, opts ...grpc.CallOption) (*v1.UpdateRuntimeConfigResponse, error)
UpdateRuntimeConfig provides a mock function with given fields: ctx, in, opts
func (*MockCriService) Version ¶
func (_m *MockCriService) Version(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption) (*v1.VersionResponse, error)
Version provides a mock function with given fields: ctx, in, opts
type MockCriService_Attach_Call ¶
MockCriService_Attach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Attach'
func (*MockCriService_Attach_Call) Return ¶
func (_c *MockCriService_Attach_Call) Return(_a0 *v1.AttachResponse, _a1 error) *MockCriService_Attach_Call
func (*MockCriService_Attach_Call) Run ¶
func (_c *MockCriService_Attach_Call) Run(run func(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption)) *MockCriService_Attach_Call
func (*MockCriService_Attach_Call) RunAndReturn ¶
func (_c *MockCriService_Attach_Call) RunAndReturn(run func(context.Context, *v1.AttachRequest, ...grpc.CallOption) (*v1.AttachResponse, error)) *MockCriService_Attach_Call
type MockCriService_CheckpointContainer_Call ¶
MockCriService_CheckpointContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointContainer'
func (*MockCriService_CheckpointContainer_Call) Return ¶
func (_c *MockCriService_CheckpointContainer_Call) Return(_a0 *v1.CheckpointContainerResponse, _a1 error) *MockCriService_CheckpointContainer_Call
func (*MockCriService_CheckpointContainer_Call) Run ¶
func (_c *MockCriService_CheckpointContainer_Call) Run(run func(ctx context.Context, in *v1.CheckpointContainerRequest, opts ...grpc.CallOption)) *MockCriService_CheckpointContainer_Call
func (*MockCriService_CheckpointContainer_Call) RunAndReturn ¶
func (_c *MockCriService_CheckpointContainer_Call) RunAndReturn(run func(context.Context, *v1.CheckpointContainerRequest, ...grpc.CallOption) (*v1.CheckpointContainerResponse, error)) *MockCriService_CheckpointContainer_Call
type MockCriService_ContainerStats_Call ¶
MockCriService_ContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStats'
func (*MockCriService_ContainerStats_Call) Return ¶
func (_c *MockCriService_ContainerStats_Call) Return(_a0 *v1.ContainerStatsResponse, _a1 error) *MockCriService_ContainerStats_Call
func (*MockCriService_ContainerStats_Call) Run ¶
func (_c *MockCriService_ContainerStats_Call) Run(run func(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption)) *MockCriService_ContainerStats_Call
func (*MockCriService_ContainerStats_Call) RunAndReturn ¶
func (_c *MockCriService_ContainerStats_Call) RunAndReturn(run func(context.Context, *v1.ContainerStatsRequest, ...grpc.CallOption) (*v1.ContainerStatsResponse, error)) *MockCriService_ContainerStats_Call
type MockCriService_ContainerStatus_Call ¶
MockCriService_ContainerStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatus'
func (*MockCriService_ContainerStatus_Call) Return ¶
func (_c *MockCriService_ContainerStatus_Call) Return(_a0 *v1.ContainerStatusResponse, _a1 error) *MockCriService_ContainerStatus_Call
func (*MockCriService_ContainerStatus_Call) Run ¶
func (_c *MockCriService_ContainerStatus_Call) Run(run func(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption)) *MockCriService_ContainerStatus_Call
func (*MockCriService_ContainerStatus_Call) RunAndReturn ¶
func (_c *MockCriService_ContainerStatus_Call) RunAndReturn(run func(context.Context, *v1.ContainerStatusRequest, ...grpc.CallOption) (*v1.ContainerStatusResponse, error)) *MockCriService_ContainerStatus_Call
type MockCriService_CreateContainer_Call ¶
MockCriService_CreateContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateContainer'
func (*MockCriService_CreateContainer_Call) Return ¶
func (_c *MockCriService_CreateContainer_Call) Return(_a0 *v1.CreateContainerResponse, _a1 error) *MockCriService_CreateContainer_Call
func (*MockCriService_CreateContainer_Call) Run ¶
func (_c *MockCriService_CreateContainer_Call) Run(run func(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption)) *MockCriService_CreateContainer_Call
func (*MockCriService_CreateContainer_Call) RunAndReturn ¶
func (_c *MockCriService_CreateContainer_Call) RunAndReturn(run func(context.Context, *v1.CreateContainerRequest, ...grpc.CallOption) (*v1.CreateContainerResponse, error)) *MockCriService_CreateContainer_Call
type MockCriService_EnsureImage_Call ¶
MockCriService_EnsureImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsureImage'
func (*MockCriService_EnsureImage_Call) Return ¶
func (_c *MockCriService_EnsureImage_Call) Return(_a0 bool, _a1 error) *MockCriService_EnsureImage_Call
func (*MockCriService_EnsureImage_Call) Run ¶
func (_c *MockCriService_EnsureImage_Call) Run(run func(ctx context.Context, imageURL string, auth cri.RegistryAuth)) *MockCriService_EnsureImage_Call
func (*MockCriService_EnsureImage_Call) RunAndReturn ¶
func (_c *MockCriService_EnsureImage_Call) RunAndReturn(run func(context.Context, string, cri.RegistryAuth) (bool, error)) *MockCriService_EnsureImage_Call
type MockCriService_EnsurePod_Call ¶
MockCriService_EnsurePod_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EnsurePod'
func (*MockCriService_EnsurePod_Call) Return ¶
func (_c *MockCriService_EnsurePod_Call) Return(_a0 error) *MockCriService_EnsurePod_Call
func (*MockCriService_EnsurePod_Call) Run ¶
func (_c *MockCriService_EnsurePod_Call) Run(run func(ctx context.Context, opts cri.RunOptions)) *MockCriService_EnsurePod_Call
func (*MockCriService_EnsurePod_Call) RunAndReturn ¶
func (_c *MockCriService_EnsurePod_Call) RunAndReturn(run func(context.Context, cri.RunOptions) error) *MockCriService_EnsurePod_Call
type MockCriService_ExecSync_Call ¶
MockCriService_ExecSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecSync'
func (*MockCriService_ExecSync_Call) Return ¶
func (_c *MockCriService_ExecSync_Call) Return(_a0 *v1.ExecSyncResponse, _a1 error) *MockCriService_ExecSync_Call
func (*MockCriService_ExecSync_Call) Run ¶
func (_c *MockCriService_ExecSync_Call) Run(run func(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption)) *MockCriService_ExecSync_Call
func (*MockCriService_ExecSync_Call) RunAndReturn ¶
func (_c *MockCriService_ExecSync_Call) RunAndReturn(run func(context.Context, *v1.ExecSyncRequest, ...grpc.CallOption) (*v1.ExecSyncResponse, error)) *MockCriService_ExecSync_Call
type MockCriService_Exec_Call ¶
MockCriService_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockCriService_Exec_Call) Return ¶
func (_c *MockCriService_Exec_Call) Return(_a0 *v1.ExecResponse, _a1 error) *MockCriService_Exec_Call
func (*MockCriService_Exec_Call) Run ¶
func (_c *MockCriService_Exec_Call) Run(run func(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption)) *MockCriService_Exec_Call
func (*MockCriService_Exec_Call) RunAndReturn ¶
func (_c *MockCriService_Exec_Call) RunAndReturn(run func(context.Context, *v1.ExecRequest, ...grpc.CallOption) (*v1.ExecResponse, error)) *MockCriService_Exec_Call
type MockCriService_Expecter ¶
type MockCriService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCriService_Expecter) Attach ¶
func (_e *MockCriService_Expecter) Attach(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Attach_Call
Attach is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttachRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) CheckpointContainer ¶
func (_e *MockCriService_Expecter) CheckpointContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_CheckpointContainer_Call
CheckpointContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.CheckpointContainerRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ContainerStats ¶
func (_e *MockCriService_Expecter) ContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ContainerStats_Call
ContainerStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ContainerStatsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ContainerStatus ¶
func (_e *MockCriService_Expecter) ContainerStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ContainerStatus_Call
ContainerStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1.ContainerStatusRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) CreateContainer ¶
func (_e *MockCriService_Expecter) CreateContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_CreateContainer_Call
CreateContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.CreateContainerRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) EnsureImage ¶
func (_e *MockCriService_Expecter) EnsureImage(ctx interface{}, imageURL interface{}, auth interface{}) *MockCriService_EnsureImage_Call
EnsureImage is a helper method to define mock.On call
- ctx context.Context
- imageURL string
- auth cri.RegistryAuth
func (*MockCriService_Expecter) EnsurePod ¶
func (_e *MockCriService_Expecter) EnsurePod(ctx interface{}, opts interface{}) *MockCriService_EnsurePod_Call
EnsurePod is a helper method to define mock.On call
- ctx context.Context
- opts cri.RunOptions
func (*MockCriService_Expecter) Exec ¶
func (_e *MockCriService_Expecter) Exec(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- in *v1.ExecRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ExecSync ¶
func (_e *MockCriService_Expecter) ExecSync(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ExecSync_Call
ExecSync is a helper method to define mock.On call
- ctx context.Context
- in *v1.ExecSyncRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) GetContainerEvents ¶
func (_e *MockCriService_Expecter) GetContainerEvents(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_GetContainerEvents_Call
GetContainerEvents is a helper method to define mock.On call
- ctx context.Context
- in *v1.GetEventsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListContainerStats ¶
func (_e *MockCriService_Expecter) ListContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListContainerStats_Call
ListContainerStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListContainerStatsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListContainers ¶
func (_e *MockCriService_Expecter) ListContainers(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListContainers_Call
ListContainers is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListContainersRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListMetricDescriptors ¶
func (_e *MockCriService_Expecter) ListMetricDescriptors(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListMetricDescriptors_Call
ListMetricDescriptors is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListMetricDescriptorsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListPodSandbox ¶
func (_e *MockCriService_Expecter) ListPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandbox_Call
ListPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListPodSandboxMetrics ¶
func (_e *MockCriService_Expecter) ListPodSandboxMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandboxMetrics_Call
ListPodSandboxMetrics is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxMetricsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ListPodSandboxStats ¶
func (_e *MockCriService_Expecter) ListPodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ListPodSandboxStats_Call
ListPodSandboxStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxStatsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) PodSandboxStats ¶
func (_e *MockCriService_Expecter) PodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PodSandboxStats_Call
PodSandboxStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.PodSandboxStatsRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) PodSandboxStatus ¶
func (_e *MockCriService_Expecter) PodSandboxStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PodSandboxStatus_Call
PodSandboxStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1.PodSandboxStatusRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) PortForward ¶
func (_e *MockCriService_Expecter) PortForward(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_PortForward_Call
PortForward is a helper method to define mock.On call
- ctx context.Context
- in *v1.PortForwardRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) RemoveContainer ¶
func (_e *MockCriService_Expecter) RemoveContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RemoveContainer_Call
RemoveContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.RemoveContainerRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) RemovePodSandbox ¶
func (_e *MockCriService_Expecter) RemovePodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RemovePodSandbox_Call
RemovePodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.RemovePodSandboxRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) ReopenContainerLog ¶
func (_e *MockCriService_Expecter) ReopenContainerLog(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_ReopenContainerLog_Call
ReopenContainerLog is a helper method to define mock.On call
- ctx context.Context
- in *v1.ReopenContainerLogRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) RunContainer ¶
func (_e *MockCriService_Expecter) RunContainer(ctx interface{}, req interface{}) *MockCriService_RunContainer_Call
RunContainer is a helper method to define mock.On call
- ctx context.Context
- req *v1.CreateContainerRequest
func (*MockCriService_Expecter) RunPodSandbox ¶
func (_e *MockCriService_Expecter) RunPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RunPodSandbox_Call
RunPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.RunPodSandboxRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) RuntimeConfig ¶
func (_e *MockCriService_Expecter) RuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_RuntimeConfig_Call
RuntimeConfig is a helper method to define mock.On call
- ctx context.Context
- in *v1.RuntimeConfigRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) StartContainer ¶
func (_e *MockCriService_Expecter) StartContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StartContainer_Call
StartContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.StartContainerRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) Status ¶
func (_e *MockCriService_Expecter) Status(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Status_Call
Status is a helper method to define mock.On call
- ctx context.Context
- in *v1.StatusRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) StopContainer ¶
func (_e *MockCriService_Expecter) StopContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StopContainer_Call
StopContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.StopContainerRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) StopPodSandbox ¶
func (_e *MockCriService_Expecter) StopPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_StopPodSandbox_Call
StopPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.StopPodSandboxRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) UpdateContainerResources ¶
func (_e *MockCriService_Expecter) UpdateContainerResources(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_UpdateContainerResources_Call
UpdateContainerResources is a helper method to define mock.On call
- ctx context.Context
- in *v1.UpdateContainerResourcesRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) UpdateRuntimeConfig ¶
func (_e *MockCriService_Expecter) UpdateRuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_UpdateRuntimeConfig_Call
UpdateRuntimeConfig is a helper method to define mock.On call
- ctx context.Context
- in *v1.UpdateRuntimeConfigRequest
- opts ...grpc.CallOption
func (*MockCriService_Expecter) Version ¶
func (_e *MockCriService_Expecter) Version(ctx interface{}, in interface{}, opts ...interface{}) *MockCriService_Version_Call
Version is a helper method to define mock.On call
- ctx context.Context
- in *v1.VersionRequest
- opts ...grpc.CallOption
type MockCriService_GetContainerEvents_Call ¶
MockCriService_GetContainerEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContainerEvents'
func (*MockCriService_GetContainerEvents_Call) Return ¶
func (_c *MockCriService_GetContainerEvents_Call) Return(_a0 v1.RuntimeService_GetContainerEventsClient, _a1 error) *MockCriService_GetContainerEvents_Call
func (*MockCriService_GetContainerEvents_Call) Run ¶
func (_c *MockCriService_GetContainerEvents_Call) Run(run func(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption)) *MockCriService_GetContainerEvents_Call
func (*MockCriService_GetContainerEvents_Call) RunAndReturn ¶
func (_c *MockCriService_GetContainerEvents_Call) RunAndReturn(run func(context.Context, *v1.GetEventsRequest, ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)) *MockCriService_GetContainerEvents_Call
type MockCriService_ListContainerStats_Call ¶
MockCriService_ListContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContainerStats'
func (*MockCriService_ListContainerStats_Call) Return ¶
func (_c *MockCriService_ListContainerStats_Call) Return(_a0 *v1.ListContainerStatsResponse, _a1 error) *MockCriService_ListContainerStats_Call
func (*MockCriService_ListContainerStats_Call) Run ¶
func (_c *MockCriService_ListContainerStats_Call) Run(run func(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption)) *MockCriService_ListContainerStats_Call
func (*MockCriService_ListContainerStats_Call) RunAndReturn ¶
func (_c *MockCriService_ListContainerStats_Call) RunAndReturn(run func(context.Context, *v1.ListContainerStatsRequest, ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)) *MockCriService_ListContainerStats_Call
type MockCriService_ListContainers_Call ¶
MockCriService_ListContainers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContainers'
func (*MockCriService_ListContainers_Call) Return ¶
func (_c *MockCriService_ListContainers_Call) Return(_a0 *v1.ListContainersResponse, _a1 error) *MockCriService_ListContainers_Call
func (*MockCriService_ListContainers_Call) Run ¶
func (_c *MockCriService_ListContainers_Call) Run(run func(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption)) *MockCriService_ListContainers_Call
func (*MockCriService_ListContainers_Call) RunAndReturn ¶
func (_c *MockCriService_ListContainers_Call) RunAndReturn(run func(context.Context, *v1.ListContainersRequest, ...grpc.CallOption) (*v1.ListContainersResponse, error)) *MockCriService_ListContainers_Call
type MockCriService_ListMetricDescriptors_Call ¶
MockCriService_ListMetricDescriptors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMetricDescriptors'
func (*MockCriService_ListMetricDescriptors_Call) Return ¶
func (_c *MockCriService_ListMetricDescriptors_Call) Return(_a0 *v1.ListMetricDescriptorsResponse, _a1 error) *MockCriService_ListMetricDescriptors_Call
func (*MockCriService_ListMetricDescriptors_Call) Run ¶
func (_c *MockCriService_ListMetricDescriptors_Call) Run(run func(ctx context.Context, in *v1.ListMetricDescriptorsRequest, opts ...grpc.CallOption)) *MockCriService_ListMetricDescriptors_Call
func (*MockCriService_ListMetricDescriptors_Call) RunAndReturn ¶
func (_c *MockCriService_ListMetricDescriptors_Call) RunAndReturn(run func(context.Context, *v1.ListMetricDescriptorsRequest, ...grpc.CallOption) (*v1.ListMetricDescriptorsResponse, error)) *MockCriService_ListMetricDescriptors_Call
type MockCriService_ListPodSandboxMetrics_Call ¶
MockCriService_ListPodSandboxMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandboxMetrics'
func (*MockCriService_ListPodSandboxMetrics_Call) Return ¶
func (_c *MockCriService_ListPodSandboxMetrics_Call) Return(_a0 *v1.ListPodSandboxMetricsResponse, _a1 error) *MockCriService_ListPodSandboxMetrics_Call
func (*MockCriService_ListPodSandboxMetrics_Call) Run ¶
func (_c *MockCriService_ListPodSandboxMetrics_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, opts ...grpc.CallOption)) *MockCriService_ListPodSandboxMetrics_Call
func (*MockCriService_ListPodSandboxMetrics_Call) RunAndReturn ¶
func (_c *MockCriService_ListPodSandboxMetrics_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxMetricsRequest, ...grpc.CallOption) (*v1.ListPodSandboxMetricsResponse, error)) *MockCriService_ListPodSandboxMetrics_Call
type MockCriService_ListPodSandboxStats_Call ¶
MockCriService_ListPodSandboxStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandboxStats'
func (*MockCriService_ListPodSandboxStats_Call) Return ¶
func (_c *MockCriService_ListPodSandboxStats_Call) Return(_a0 *v1.ListPodSandboxStatsResponse, _a1 error) *MockCriService_ListPodSandboxStats_Call
func (*MockCriService_ListPodSandboxStats_Call) Run ¶
func (_c *MockCriService_ListPodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxStatsRequest, opts ...grpc.CallOption)) *MockCriService_ListPodSandboxStats_Call
func (*MockCriService_ListPodSandboxStats_Call) RunAndReturn ¶
func (_c *MockCriService_ListPodSandboxStats_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxStatsRequest, ...grpc.CallOption) (*v1.ListPodSandboxStatsResponse, error)) *MockCriService_ListPodSandboxStats_Call
type MockCriService_ListPodSandbox_Call ¶
MockCriService_ListPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandbox'
func (*MockCriService_ListPodSandbox_Call) Return ¶
func (_c *MockCriService_ListPodSandbox_Call) Return(_a0 *v1.ListPodSandboxResponse, _a1 error) *MockCriService_ListPodSandbox_Call
func (*MockCriService_ListPodSandbox_Call) Run ¶
func (_c *MockCriService_ListPodSandbox_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption)) *MockCriService_ListPodSandbox_Call
func (*MockCriService_ListPodSandbox_Call) RunAndReturn ¶
func (_c *MockCriService_ListPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxRequest, ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)) *MockCriService_ListPodSandbox_Call
type MockCriService_PodSandboxStats_Call ¶
MockCriService_PodSandboxStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSandboxStats'
func (*MockCriService_PodSandboxStats_Call) Return ¶
func (_c *MockCriService_PodSandboxStats_Call) Return(_a0 *v1.PodSandboxStatsResponse, _a1 error) *MockCriService_PodSandboxStats_Call
func (*MockCriService_PodSandboxStats_Call) Run ¶
func (_c *MockCriService_PodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption)) *MockCriService_PodSandboxStats_Call
func (*MockCriService_PodSandboxStats_Call) RunAndReturn ¶
func (_c *MockCriService_PodSandboxStats_Call) RunAndReturn(run func(context.Context, *v1.PodSandboxStatsRequest, ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)) *MockCriService_PodSandboxStats_Call
type MockCriService_PodSandboxStatus_Call ¶
MockCriService_PodSandboxStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSandboxStatus'
func (*MockCriService_PodSandboxStatus_Call) Return ¶
func (_c *MockCriService_PodSandboxStatus_Call) Return(_a0 *v1.PodSandboxStatusResponse, _a1 error) *MockCriService_PodSandboxStatus_Call
func (*MockCriService_PodSandboxStatus_Call) Run ¶
func (_c *MockCriService_PodSandboxStatus_Call) Run(run func(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption)) *MockCriService_PodSandboxStatus_Call
func (*MockCriService_PodSandboxStatus_Call) RunAndReturn ¶
func (_c *MockCriService_PodSandboxStatus_Call) RunAndReturn(run func(context.Context, *v1.PodSandboxStatusRequest, ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)) *MockCriService_PodSandboxStatus_Call
type MockCriService_PortForward_Call ¶
MockCriService_PortForward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PortForward'
func (*MockCriService_PortForward_Call) Return ¶
func (_c *MockCriService_PortForward_Call) Return(_a0 *v1.PortForwardResponse, _a1 error) *MockCriService_PortForward_Call
func (*MockCriService_PortForward_Call) Run ¶
func (_c *MockCriService_PortForward_Call) Run(run func(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption)) *MockCriService_PortForward_Call
func (*MockCriService_PortForward_Call) RunAndReturn ¶
func (_c *MockCriService_PortForward_Call) RunAndReturn(run func(context.Context, *v1.PortForwardRequest, ...grpc.CallOption) (*v1.PortForwardResponse, error)) *MockCriService_PortForward_Call
type MockCriService_RemoveContainer_Call ¶
MockCriService_RemoveContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveContainer'
func (*MockCriService_RemoveContainer_Call) Return ¶
func (_c *MockCriService_RemoveContainer_Call) Return(_a0 *v1.RemoveContainerResponse, _a1 error) *MockCriService_RemoveContainer_Call
func (*MockCriService_RemoveContainer_Call) Run ¶
func (_c *MockCriService_RemoveContainer_Call) Run(run func(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption)) *MockCriService_RemoveContainer_Call
func (*MockCriService_RemoveContainer_Call) RunAndReturn ¶
func (_c *MockCriService_RemoveContainer_Call) RunAndReturn(run func(context.Context, *v1.RemoveContainerRequest, ...grpc.CallOption) (*v1.RemoveContainerResponse, error)) *MockCriService_RemoveContainer_Call
type MockCriService_RemovePodSandbox_Call ¶
MockCriService_RemovePodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePodSandbox'
func (*MockCriService_RemovePodSandbox_Call) Return ¶
func (_c *MockCriService_RemovePodSandbox_Call) Return(_a0 *v1.RemovePodSandboxResponse, _a1 error) *MockCriService_RemovePodSandbox_Call
func (*MockCriService_RemovePodSandbox_Call) Run ¶
func (_c *MockCriService_RemovePodSandbox_Call) Run(run func(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption)) *MockCriService_RemovePodSandbox_Call
func (*MockCriService_RemovePodSandbox_Call) RunAndReturn ¶
func (_c *MockCriService_RemovePodSandbox_Call) RunAndReturn(run func(context.Context, *v1.RemovePodSandboxRequest, ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)) *MockCriService_RemovePodSandbox_Call
type MockCriService_ReopenContainerLog_Call ¶
MockCriService_ReopenContainerLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReopenContainerLog'
func (*MockCriService_ReopenContainerLog_Call) Return ¶
func (_c *MockCriService_ReopenContainerLog_Call) Return(_a0 *v1.ReopenContainerLogResponse, _a1 error) *MockCriService_ReopenContainerLog_Call
func (*MockCriService_ReopenContainerLog_Call) Run ¶
func (_c *MockCriService_ReopenContainerLog_Call) Run(run func(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption)) *MockCriService_ReopenContainerLog_Call
func (*MockCriService_ReopenContainerLog_Call) RunAndReturn ¶
func (_c *MockCriService_ReopenContainerLog_Call) RunAndReturn(run func(context.Context, *v1.ReopenContainerLogRequest, ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)) *MockCriService_ReopenContainerLog_Call
type MockCriService_RunContainer_Call ¶
MockCriService_RunContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunContainer'
func (*MockCriService_RunContainer_Call) Return ¶
func (_c *MockCriService_RunContainer_Call) Return(_a0 string, _a1 error) *MockCriService_RunContainer_Call
func (*MockCriService_RunContainer_Call) Run ¶
func (_c *MockCriService_RunContainer_Call) Run(run func(ctx context.Context, req *v1.CreateContainerRequest)) *MockCriService_RunContainer_Call
func (*MockCriService_RunContainer_Call) RunAndReturn ¶
func (_c *MockCriService_RunContainer_Call) RunAndReturn(run func(context.Context, *v1.CreateContainerRequest) (string, error)) *MockCriService_RunContainer_Call
type MockCriService_RunPodSandbox_Call ¶
MockCriService_RunPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunPodSandbox'
func (*MockCriService_RunPodSandbox_Call) Return ¶
func (_c *MockCriService_RunPodSandbox_Call) Return(_a0 *v1.RunPodSandboxResponse, _a1 error) *MockCriService_RunPodSandbox_Call
func (*MockCriService_RunPodSandbox_Call) Run ¶
func (_c *MockCriService_RunPodSandbox_Call) Run(run func(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption)) *MockCriService_RunPodSandbox_Call
func (*MockCriService_RunPodSandbox_Call) RunAndReturn ¶
func (_c *MockCriService_RunPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.RunPodSandboxRequest, ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)) *MockCriService_RunPodSandbox_Call
type MockCriService_RuntimeConfig_Call ¶
MockCriService_RuntimeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeConfig'
func (*MockCriService_RuntimeConfig_Call) Return ¶
func (_c *MockCriService_RuntimeConfig_Call) Return(_a0 *v1.RuntimeConfigResponse, _a1 error) *MockCriService_RuntimeConfig_Call
func (*MockCriService_RuntimeConfig_Call) Run ¶
func (_c *MockCriService_RuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption)) *MockCriService_RuntimeConfig_Call
func (*MockCriService_RuntimeConfig_Call) RunAndReturn ¶
func (_c *MockCriService_RuntimeConfig_Call) RunAndReturn(run func(context.Context, *v1.RuntimeConfigRequest, ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)) *MockCriService_RuntimeConfig_Call
type MockCriService_StartContainer_Call ¶
MockCriService_StartContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartContainer'
func (*MockCriService_StartContainer_Call) Return ¶
func (_c *MockCriService_StartContainer_Call) Return(_a0 *v1.StartContainerResponse, _a1 error) *MockCriService_StartContainer_Call
func (*MockCriService_StartContainer_Call) Run ¶
func (_c *MockCriService_StartContainer_Call) Run(run func(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption)) *MockCriService_StartContainer_Call
func (*MockCriService_StartContainer_Call) RunAndReturn ¶
func (_c *MockCriService_StartContainer_Call) RunAndReturn(run func(context.Context, *v1.StartContainerRequest, ...grpc.CallOption) (*v1.StartContainerResponse, error)) *MockCriService_StartContainer_Call
type MockCriService_Status_Call ¶
MockCriService_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*MockCriService_Status_Call) Return ¶
func (_c *MockCriService_Status_Call) Return(_a0 *v1.StatusResponse, _a1 error) *MockCriService_Status_Call
func (*MockCriService_Status_Call) Run ¶
func (_c *MockCriService_Status_Call) Run(run func(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption)) *MockCriService_Status_Call
func (*MockCriService_Status_Call) RunAndReturn ¶
func (_c *MockCriService_Status_Call) RunAndReturn(run func(context.Context, *v1.StatusRequest, ...grpc.CallOption) (*v1.StatusResponse, error)) *MockCriService_Status_Call
type MockCriService_StopContainer_Call ¶
MockCriService_StopContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopContainer'
func (*MockCriService_StopContainer_Call) Return ¶
func (_c *MockCriService_StopContainer_Call) Return(_a0 *v1.StopContainerResponse, _a1 error) *MockCriService_StopContainer_Call
func (*MockCriService_StopContainer_Call) Run ¶
func (_c *MockCriService_StopContainer_Call) Run(run func(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption)) *MockCriService_StopContainer_Call
func (*MockCriService_StopContainer_Call) RunAndReturn ¶
func (_c *MockCriService_StopContainer_Call) RunAndReturn(run func(context.Context, *v1.StopContainerRequest, ...grpc.CallOption) (*v1.StopContainerResponse, error)) *MockCriService_StopContainer_Call
type MockCriService_StopPodSandbox_Call ¶
MockCriService_StopPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopPodSandbox'
func (*MockCriService_StopPodSandbox_Call) Return ¶
func (_c *MockCriService_StopPodSandbox_Call) Return(_a0 *v1.StopPodSandboxResponse, _a1 error) *MockCriService_StopPodSandbox_Call
func (*MockCriService_StopPodSandbox_Call) Run ¶
func (_c *MockCriService_StopPodSandbox_Call) Run(run func(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption)) *MockCriService_StopPodSandbox_Call
func (*MockCriService_StopPodSandbox_Call) RunAndReturn ¶
func (_c *MockCriService_StopPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.StopPodSandboxRequest, ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)) *MockCriService_StopPodSandbox_Call
type MockCriService_UpdateContainerResources_Call ¶
MockCriService_UpdateContainerResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateContainerResources'
func (*MockCriService_UpdateContainerResources_Call) Return ¶
func (_c *MockCriService_UpdateContainerResources_Call) Return(_a0 *v1.UpdateContainerResourcesResponse, _a1 error) *MockCriService_UpdateContainerResources_Call
func (*MockCriService_UpdateContainerResources_Call) Run ¶
func (_c *MockCriService_UpdateContainerResources_Call) Run(run func(ctx context.Context, in *v1.UpdateContainerResourcesRequest, opts ...grpc.CallOption)) *MockCriService_UpdateContainerResources_Call
func (*MockCriService_UpdateContainerResources_Call) RunAndReturn ¶
func (_c *MockCriService_UpdateContainerResources_Call) RunAndReturn(run func(context.Context, *v1.UpdateContainerResourcesRequest, ...grpc.CallOption) (*v1.UpdateContainerResourcesResponse, error)) *MockCriService_UpdateContainerResources_Call
type MockCriService_UpdateRuntimeConfig_Call ¶
MockCriService_UpdateRuntimeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRuntimeConfig'
func (*MockCriService_UpdateRuntimeConfig_Call) Return ¶
func (_c *MockCriService_UpdateRuntimeConfig_Call) Return(_a0 *v1.UpdateRuntimeConfigResponse, _a1 error) *MockCriService_UpdateRuntimeConfig_Call
func (*MockCriService_UpdateRuntimeConfig_Call) Run ¶
func (_c *MockCriService_UpdateRuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, opts ...grpc.CallOption)) *MockCriService_UpdateRuntimeConfig_Call
func (*MockCriService_UpdateRuntimeConfig_Call) RunAndReturn ¶
func (_c *MockCriService_UpdateRuntimeConfig_Call) RunAndReturn(run func(context.Context, *v1.UpdateRuntimeConfigRequest, ...grpc.CallOption) (*v1.UpdateRuntimeConfigResponse, error)) *MockCriService_UpdateRuntimeConfig_Call
type MockCriService_Version_Call ¶
MockCriService_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockCriService_Version_Call) Return ¶
func (_c *MockCriService_Version_Call) Return(_a0 *v1.VersionResponse, _a1 error) *MockCriService_Version_Call
func (*MockCriService_Version_Call) Run ¶
func (_c *MockCriService_Version_Call) Run(run func(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption)) *MockCriService_Version_Call
func (*MockCriService_Version_Call) RunAndReturn ¶
func (_c *MockCriService_Version_Call) RunAndReturn(run func(context.Context, *v1.VersionRequest, ...grpc.CallOption) (*v1.VersionResponse, error)) *MockCriService_Version_Call
type MockImageService ¶
MockImageService is an autogenerated mock type for the Service type
func NewMockImageService ¶
func NewMockImageService(t interface {
mock.TestingT
Cleanup(func())
}) *MockImageService
NewMockImageService creates a new instance of MockImageService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockImageService) EXPECT ¶
func (_m *MockImageService) EXPECT() *MockImageService_Expecter
type MockImageService_Expecter ¶
type MockImageService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockImageService_Expecter) Pull ¶
func (_e *MockImageService_Expecter) Pull(ctx interface{}, imgRef interface{}, platform interface{}) *MockImageService_Pull_Call
Pull is a helper method to define mock.On call
- ctx context.Context
- imgRef string
- platform string
func (*MockImageService_Expecter) Push ¶
func (_e *MockImageService_Expecter) Push(ctx interface{}, img interface{}, imgRef interface{}) *MockImageService_Push_Call
Push is a helper method to define mock.On call
- ctx context.Context
- img v1.Image
- imgRef string
type MockImageService_Pull_Call ¶
MockImageService_Pull_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pull'
func (*MockImageService_Pull_Call) Return ¶
func (_c *MockImageService_Pull_Call) Return(_a0 v1.Image, _a1 error) *MockImageService_Pull_Call
func (*MockImageService_Pull_Call) Run ¶
func (_c *MockImageService_Pull_Call) Run(run func(ctx context.Context, imgRef string, platform string)) *MockImageService_Pull_Call
func (*MockImageService_Pull_Call) RunAndReturn ¶
func (_c *MockImageService_Pull_Call) RunAndReturn(run func(context.Context, string, string) (v1.Image, error)) *MockImageService_Pull_Call
type MockImageService_Push_Call ¶
MockImageService_Push_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Push'
func (*MockImageService_Push_Call) Return ¶
func (_c *MockImageService_Push_Call) Return(_a0 error) *MockImageService_Push_Call
func (*MockImageService_Push_Call) Run ¶
func (_c *MockImageService_Push_Call) Run(run func(ctx context.Context, img v1.Image, imgRef string)) *MockImageService_Push_Call
func (*MockImageService_Push_Call) RunAndReturn ¶
func (_c *MockImageService_Push_Call) RunAndReturn(run func(context.Context, v1.Image, string) error) *MockImageService_Push_Call
type MockJobClient ¶
MockJobClient is an autogenerated mock type for the Client type
func NewMockJobClient ¶
func NewMockJobClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockJobClient
NewMockJobClient creates a new instance of MockJobClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockJobClient) EXPECT ¶
func (_m *MockJobClient) EXPECT() *MockJobClient_Expecter
type MockJobClient_Expecter ¶
type MockJobClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockJobClient_Expecter) InsertJob ¶
func (_e *MockJobClient_Expecter) InsertJob(ctx interface{}, flavorVersionID interface{}, status interface{}, _a3 interface{}) *MockJobClient_InsertJob_Call
InsertJob is a helper method to define mock.On call
- ctx context.Context
- flavorVersionID string
- status string
- _a3 river.JobArgs
type MockJobClient_InsertJob_Call ¶
MockJobClient_InsertJob_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InsertJob'
func (*MockJobClient_InsertJob_Call) Return ¶
func (_c *MockJobClient_InsertJob_Call) Return(_a0 error) *MockJobClient_InsertJob_Call
func (*MockJobClient_InsertJob_Call) Run ¶
func (_c *MockJobClient_InsertJob_Call) Run(run func(ctx context.Context, flavorVersionID string, status string, _a3 river.JobArgs)) *MockJobClient_InsertJob_Call
func (*MockJobClient_InsertJob_Call) RunAndReturn ¶
func (_c *MockJobClient_InsertJob_Call) RunAndReturn(run func(context.Context, string, string, river.JobArgs) error) *MockJobClient_InsertJob_Call
type MockNodeRepository ¶
MockNodeRepository is an autogenerated mock type for the Repository type
func NewMockNodeRepository ¶
func NewMockNodeRepository(t interface {
mock.TestingT
Cleanup(func())
}) *MockNodeRepository
NewMockNodeRepository creates a new instance of MockNodeRepository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockNodeRepository) EXPECT ¶
func (_m *MockNodeRepository) EXPECT() *MockNodeRepository_Expecter
func (*MockNodeRepository) RandomNode ¶
RandomNode provides a mock function with given fields: ctx
type MockNodeRepository_Expecter ¶
type MockNodeRepository_Expecter struct {
// contains filtered or unexported fields
}
func (*MockNodeRepository_Expecter) RandomNode ¶
func (_e *MockNodeRepository_Expecter) RandomNode(ctx interface{}) *MockNodeRepository_RandomNode_Call
RandomNode is a helper method to define mock.On call
- ctx context.Context
type MockNodeRepository_RandomNode_Call ¶
MockNodeRepository_RandomNode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RandomNode'
func (*MockNodeRepository_RandomNode_Call) Return ¶
func (_c *MockNodeRepository_RandomNode_Call) Return(_a0 node.Node, _a1 error) *MockNodeRepository_RandomNode_Call
func (*MockNodeRepository_RandomNode_Call) Run ¶
func (_c *MockNodeRepository_RandomNode_Call) Run(run func(ctx context.Context)) *MockNodeRepository_RandomNode_Call
func (*MockNodeRepository_RandomNode_Call) RunAndReturn ¶
func (_c *MockNodeRepository_RandomNode_Call) RunAndReturn(run func(context.Context) (node.Node, error)) *MockNodeRepository_RandomNode_Call
type MockStatusStore ¶
MockStatusStore is an autogenerated mock type for the Store type
func NewMockStatusStore ¶
func NewMockStatusStore(t interface {
mock.TestingT
Cleanup(func())
}) *MockStatusStore
NewMockStatusStore creates a new instance of MockStatusStore. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockStatusStore) Del ¶
func (_m *MockStatusStore) Del(id string)
Del provides a mock function with given fields: id
func (*MockStatusStore) EXPECT ¶
func (_m *MockStatusStore) EXPECT() *MockStatusStore_Expecter
func (*MockStatusStore) Get ¶
func (_m *MockStatusStore) Get(id string) *status.Status
Get provides a mock function with given fields: id
type MockStatusStore_Del_Call ¶
MockStatusStore_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*MockStatusStore_Del_Call) Return ¶
func (_c *MockStatusStore_Del_Call) Return() *MockStatusStore_Del_Call
func (*MockStatusStore_Del_Call) Run ¶
func (_c *MockStatusStore_Del_Call) Run(run func(id string)) *MockStatusStore_Del_Call
func (*MockStatusStore_Del_Call) RunAndReturn ¶
func (_c *MockStatusStore_Del_Call) RunAndReturn(run func(string)) *MockStatusStore_Del_Call
type MockStatusStore_Expecter ¶
type MockStatusStore_Expecter struct {
// contains filtered or unexported fields
}
func (*MockStatusStore_Expecter) Del ¶
func (_e *MockStatusStore_Expecter) Del(id interface{}) *MockStatusStore_Del_Call
Del is a helper method to define mock.On call
- id string
func (*MockStatusStore_Expecter) Get ¶
func (_e *MockStatusStore_Expecter) Get(id interface{}) *MockStatusStore_Get_Call
Get is a helper method to define mock.On call
- id string
func (*MockStatusStore_Expecter) Update ¶
func (_e *MockStatusStore_Expecter) Update(id interface{}, _a1 interface{}) *MockStatusStore_Update_Call
Update is a helper method to define mock.On call
- id string
- _a1 status.Status
func (*MockStatusStore_Expecter) View ¶
func (_e *MockStatusStore_Expecter) View() *MockStatusStore_View_Call
View is a helper method to define mock.On call
type MockStatusStore_Get_Call ¶
MockStatusStore_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockStatusStore_Get_Call) Return ¶
func (_c *MockStatusStore_Get_Call) Return(_a0 *status.Status) *MockStatusStore_Get_Call
func (*MockStatusStore_Get_Call) Run ¶
func (_c *MockStatusStore_Get_Call) Run(run func(id string)) *MockStatusStore_Get_Call
func (*MockStatusStore_Get_Call) RunAndReturn ¶
func (_c *MockStatusStore_Get_Call) RunAndReturn(run func(string) *status.Status) *MockStatusStore_Get_Call
type MockStatusStore_Update_Call ¶
MockStatusStore_Update_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Update'
func (*MockStatusStore_Update_Call) Return ¶
func (_c *MockStatusStore_Update_Call) Return() *MockStatusStore_Update_Call
func (*MockStatusStore_Update_Call) Run ¶
func (_c *MockStatusStore_Update_Call) Run(run func(id string, _a1 status.Status)) *MockStatusStore_Update_Call
func (*MockStatusStore_Update_Call) RunAndReturn ¶
func (_c *MockStatusStore_Update_Call) RunAndReturn(run func(string, status.Status)) *MockStatusStore_Update_Call
type MockStatusStore_View_Call ¶
MockStatusStore_View_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'View'
func (*MockStatusStore_View_Call) Return ¶
func (_c *MockStatusStore_View_Call) Return(_a0 map[string]status.Status) *MockStatusStore_View_Call
func (*MockStatusStore_View_Call) Run ¶
func (_c *MockStatusStore_View_Call) Run(run func()) *MockStatusStore_View_Call
func (*MockStatusStore_View_Call) RunAndReturn ¶
func (_c *MockStatusStore_View_Call) RunAndReturn(run func() map[string]status.Status) *MockStatusStore_View_Call
type MockV1ImageServiceClient ¶
MockV1ImageServiceClient is an autogenerated mock type for the ImageServiceClient type
func NewMockV1ImageServiceClient ¶
func NewMockV1ImageServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1ImageServiceClient
NewMockV1ImageServiceClient creates a new instance of MockV1ImageServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1ImageServiceClient) EXPECT ¶
func (_m *MockV1ImageServiceClient) EXPECT() *MockV1ImageServiceClient_Expecter
func (*MockV1ImageServiceClient) ImageFsInfo ¶
func (_m *MockV1ImageServiceClient) ImageFsInfo(ctx context.Context, in *v1.ImageFsInfoRequest, opts ...grpc.CallOption) (*v1.ImageFsInfoResponse, error)
ImageFsInfo provides a mock function with given fields: ctx, in, opts
func (*MockV1ImageServiceClient) ImageStatus ¶
func (_m *MockV1ImageServiceClient) ImageStatus(ctx context.Context, in *v1.ImageStatusRequest, opts ...grpc.CallOption) (*v1.ImageStatusResponse, error)
ImageStatus provides a mock function with given fields: ctx, in, opts
func (*MockV1ImageServiceClient) ListImages ¶
func (_m *MockV1ImageServiceClient) ListImages(ctx context.Context, in *v1.ListImagesRequest, opts ...grpc.CallOption) (*v1.ListImagesResponse, error)
ListImages provides a mock function with given fields: ctx, in, opts
func (*MockV1ImageServiceClient) PullImage ¶
func (_m *MockV1ImageServiceClient) PullImage(ctx context.Context, in *v1.PullImageRequest, opts ...grpc.CallOption) (*v1.PullImageResponse, error)
PullImage provides a mock function with given fields: ctx, in, opts
func (*MockV1ImageServiceClient) RemoveImage ¶
func (_m *MockV1ImageServiceClient) RemoveImage(ctx context.Context, in *v1.RemoveImageRequest, opts ...grpc.CallOption) (*v1.RemoveImageResponse, error)
RemoveImage provides a mock function with given fields: ctx, in, opts
type MockV1ImageServiceClient_Expecter ¶
type MockV1ImageServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1ImageServiceClient_Expecter) ImageFsInfo ¶
func (_e *MockV1ImageServiceClient_Expecter) ImageFsInfo(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ImageFsInfo_Call
ImageFsInfo is a helper method to define mock.On call
- ctx context.Context
- in *v1.ImageFsInfoRequest
- opts ...grpc.CallOption
func (*MockV1ImageServiceClient_Expecter) ImageStatus ¶
func (_e *MockV1ImageServiceClient_Expecter) ImageStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ImageStatus_Call
ImageStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1.ImageStatusRequest
- opts ...grpc.CallOption
func (*MockV1ImageServiceClient_Expecter) ListImages ¶
func (_e *MockV1ImageServiceClient_Expecter) ListImages(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_ListImages_Call
ListImages is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListImagesRequest
- opts ...grpc.CallOption
func (*MockV1ImageServiceClient_Expecter) PullImage ¶
func (_e *MockV1ImageServiceClient_Expecter) PullImage(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_PullImage_Call
PullImage is a helper method to define mock.On call
- ctx context.Context
- in *v1.PullImageRequest
- opts ...grpc.CallOption
func (*MockV1ImageServiceClient_Expecter) RemoveImage ¶
func (_e *MockV1ImageServiceClient_Expecter) RemoveImage(ctx interface{}, in interface{}, opts ...interface{}) *MockV1ImageServiceClient_RemoveImage_Call
RemoveImage is a helper method to define mock.On call
- ctx context.Context
- in *v1.RemoveImageRequest
- opts ...grpc.CallOption
type MockV1ImageServiceClient_ImageFsInfo_Call ¶
MockV1ImageServiceClient_ImageFsInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageFsInfo'
func (*MockV1ImageServiceClient_ImageFsInfo_Call) Return ¶
func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) Return(_a0 *v1.ImageFsInfoResponse, _a1 error) *MockV1ImageServiceClient_ImageFsInfo_Call
func (*MockV1ImageServiceClient_ImageFsInfo_Call) Run ¶
func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) Run(run func(ctx context.Context, in *v1.ImageFsInfoRequest, opts ...grpc.CallOption)) *MockV1ImageServiceClient_ImageFsInfo_Call
func (*MockV1ImageServiceClient_ImageFsInfo_Call) RunAndReturn ¶
func (_c *MockV1ImageServiceClient_ImageFsInfo_Call) RunAndReturn(run func(context.Context, *v1.ImageFsInfoRequest, ...grpc.CallOption) (*v1.ImageFsInfoResponse, error)) *MockV1ImageServiceClient_ImageFsInfo_Call
type MockV1ImageServiceClient_ImageStatus_Call ¶
MockV1ImageServiceClient_ImageStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageStatus'
func (*MockV1ImageServiceClient_ImageStatus_Call) Return ¶
func (_c *MockV1ImageServiceClient_ImageStatus_Call) Return(_a0 *v1.ImageStatusResponse, _a1 error) *MockV1ImageServiceClient_ImageStatus_Call
func (*MockV1ImageServiceClient_ImageStatus_Call) Run ¶
func (_c *MockV1ImageServiceClient_ImageStatus_Call) Run(run func(ctx context.Context, in *v1.ImageStatusRequest, opts ...grpc.CallOption)) *MockV1ImageServiceClient_ImageStatus_Call
func (*MockV1ImageServiceClient_ImageStatus_Call) RunAndReturn ¶
func (_c *MockV1ImageServiceClient_ImageStatus_Call) RunAndReturn(run func(context.Context, *v1.ImageStatusRequest, ...grpc.CallOption) (*v1.ImageStatusResponse, error)) *MockV1ImageServiceClient_ImageStatus_Call
type MockV1ImageServiceClient_ListImages_Call ¶
MockV1ImageServiceClient_ListImages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListImages'
func (*MockV1ImageServiceClient_ListImages_Call) Return ¶
func (_c *MockV1ImageServiceClient_ListImages_Call) Return(_a0 *v1.ListImagesResponse, _a1 error) *MockV1ImageServiceClient_ListImages_Call
func (*MockV1ImageServiceClient_ListImages_Call) Run ¶
func (_c *MockV1ImageServiceClient_ListImages_Call) Run(run func(ctx context.Context, in *v1.ListImagesRequest, opts ...grpc.CallOption)) *MockV1ImageServiceClient_ListImages_Call
func (*MockV1ImageServiceClient_ListImages_Call) RunAndReturn ¶
func (_c *MockV1ImageServiceClient_ListImages_Call) RunAndReturn(run func(context.Context, *v1.ListImagesRequest, ...grpc.CallOption) (*v1.ListImagesResponse, error)) *MockV1ImageServiceClient_ListImages_Call
type MockV1ImageServiceClient_PullImage_Call ¶
MockV1ImageServiceClient_PullImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PullImage'
func (*MockV1ImageServiceClient_PullImage_Call) Return ¶
func (_c *MockV1ImageServiceClient_PullImage_Call) Return(_a0 *v1.PullImageResponse, _a1 error) *MockV1ImageServiceClient_PullImage_Call
func (*MockV1ImageServiceClient_PullImage_Call) Run ¶
func (_c *MockV1ImageServiceClient_PullImage_Call) Run(run func(ctx context.Context, in *v1.PullImageRequest, opts ...grpc.CallOption)) *MockV1ImageServiceClient_PullImage_Call
func (*MockV1ImageServiceClient_PullImage_Call) RunAndReturn ¶
func (_c *MockV1ImageServiceClient_PullImage_Call) RunAndReturn(run func(context.Context, *v1.PullImageRequest, ...grpc.CallOption) (*v1.PullImageResponse, error)) *MockV1ImageServiceClient_PullImage_Call
type MockV1ImageServiceClient_RemoveImage_Call ¶
MockV1ImageServiceClient_RemoveImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveImage'
func (*MockV1ImageServiceClient_RemoveImage_Call) Return ¶
func (_c *MockV1ImageServiceClient_RemoveImage_Call) Return(_a0 *v1.RemoveImageResponse, _a1 error) *MockV1ImageServiceClient_RemoveImage_Call
func (*MockV1ImageServiceClient_RemoveImage_Call) Run ¶
func (_c *MockV1ImageServiceClient_RemoveImage_Call) Run(run func(ctx context.Context, in *v1.RemoveImageRequest, opts ...grpc.CallOption)) *MockV1ImageServiceClient_RemoveImage_Call
func (*MockV1ImageServiceClient_RemoveImage_Call) RunAndReturn ¶
func (_c *MockV1ImageServiceClient_RemoveImage_Call) RunAndReturn(run func(context.Context, *v1.RemoveImageRequest, ...grpc.CallOption) (*v1.RemoveImageResponse, error)) *MockV1ImageServiceClient_RemoveImage_Call
type MockV1RuntimeServiceClient ¶
MockV1RuntimeServiceClient is an autogenerated mock type for the RuntimeServiceClient type
func NewMockV1RuntimeServiceClient ¶
func NewMockV1RuntimeServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1RuntimeServiceClient
NewMockV1RuntimeServiceClient creates a new instance of MockV1RuntimeServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1RuntimeServiceClient) Attach ¶
func (_m *MockV1RuntimeServiceClient) Attach(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption) (*v1.AttachResponse, error)
Attach provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) CheckpointContainer ¶
func (_m *MockV1RuntimeServiceClient) CheckpointContainer(ctx context.Context, in *v1.CheckpointContainerRequest, opts ...grpc.CallOption) (*v1.CheckpointContainerResponse, error)
CheckpointContainer provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ContainerStats ¶
func (_m *MockV1RuntimeServiceClient) ContainerStats(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption) (*v1.ContainerStatsResponse, error)
ContainerStats provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ContainerStatus ¶
func (_m *MockV1RuntimeServiceClient) ContainerStatus(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption) (*v1.ContainerStatusResponse, error)
ContainerStatus provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) CreateContainer ¶
func (_m *MockV1RuntimeServiceClient) CreateContainer(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption) (*v1.CreateContainerResponse, error)
CreateContainer provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) EXPECT ¶
func (_m *MockV1RuntimeServiceClient) EXPECT() *MockV1RuntimeServiceClient_Expecter
func (*MockV1RuntimeServiceClient) Exec ¶
func (_m *MockV1RuntimeServiceClient) Exec(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption) (*v1.ExecResponse, error)
Exec provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ExecSync ¶
func (_m *MockV1RuntimeServiceClient) ExecSync(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption) (*v1.ExecSyncResponse, error)
ExecSync provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) GetContainerEvents ¶
func (_m *MockV1RuntimeServiceClient) GetContainerEvents(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)
GetContainerEvents provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListContainerStats ¶
func (_m *MockV1RuntimeServiceClient) ListContainerStats(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)
ListContainerStats provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListContainers ¶
func (_m *MockV1RuntimeServiceClient) ListContainers(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption) (*v1.ListContainersResponse, error)
ListContainers provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListMetricDescriptors ¶
func (_m *MockV1RuntimeServiceClient) ListMetricDescriptors(ctx context.Context, in *v1.ListMetricDescriptorsRequest, opts ...grpc.CallOption) (*v1.ListMetricDescriptorsResponse, error)
ListMetricDescriptors provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListPodSandbox ¶
func (_m *MockV1RuntimeServiceClient) ListPodSandbox(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)
ListPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListPodSandboxMetrics ¶
func (_m *MockV1RuntimeServiceClient) ListPodSandboxMetrics(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxMetricsResponse, error)
ListPodSandboxMetrics provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ListPodSandboxStats ¶
func (_m *MockV1RuntimeServiceClient) ListPodSandboxStats(ctx context.Context, in *v1.ListPodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.ListPodSandboxStatsResponse, error)
ListPodSandboxStats provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) PodSandboxStats ¶
func (_m *MockV1RuntimeServiceClient) PodSandboxStats(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)
PodSandboxStats provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) PodSandboxStatus ¶
func (_m *MockV1RuntimeServiceClient) PodSandboxStatus(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)
PodSandboxStatus provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) PortForward ¶
func (_m *MockV1RuntimeServiceClient) PortForward(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption) (*v1.PortForwardResponse, error)
PortForward provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) RemoveContainer ¶
func (_m *MockV1RuntimeServiceClient) RemoveContainer(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption) (*v1.RemoveContainerResponse, error)
RemoveContainer provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) RemovePodSandbox ¶
func (_m *MockV1RuntimeServiceClient) RemovePodSandbox(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)
RemovePodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) ReopenContainerLog ¶
func (_m *MockV1RuntimeServiceClient) ReopenContainerLog(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)
ReopenContainerLog provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) RunPodSandbox ¶
func (_m *MockV1RuntimeServiceClient) RunPodSandbox(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)
RunPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) RuntimeConfig ¶
func (_m *MockV1RuntimeServiceClient) RuntimeConfig(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)
RuntimeConfig provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) StartContainer ¶
func (_m *MockV1RuntimeServiceClient) StartContainer(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption) (*v1.StartContainerResponse, error)
StartContainer provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) Status ¶
func (_m *MockV1RuntimeServiceClient) Status(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption) (*v1.StatusResponse, error)
Status provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) StopContainer ¶
func (_m *MockV1RuntimeServiceClient) StopContainer(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption) (*v1.StopContainerResponse, error)
StopContainer provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) StopPodSandbox ¶
func (_m *MockV1RuntimeServiceClient) StopPodSandbox(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)
StopPodSandbox provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) UpdateContainerResources ¶
func (_m *MockV1RuntimeServiceClient) UpdateContainerResources(ctx context.Context, in *v1.UpdateContainerResourcesRequest, opts ...grpc.CallOption) (*v1.UpdateContainerResourcesResponse, error)
UpdateContainerResources provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) UpdateRuntimeConfig ¶
func (_m *MockV1RuntimeServiceClient) UpdateRuntimeConfig(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, opts ...grpc.CallOption) (*v1.UpdateRuntimeConfigResponse, error)
UpdateRuntimeConfig provides a mock function with given fields: ctx, in, opts
func (*MockV1RuntimeServiceClient) Version ¶
func (_m *MockV1RuntimeServiceClient) Version(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption) (*v1.VersionResponse, error)
Version provides a mock function with given fields: ctx, in, opts
type MockV1RuntimeServiceClient_Attach_Call ¶
MockV1RuntimeServiceClient_Attach_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Attach'
func (*MockV1RuntimeServiceClient_Attach_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_Attach_Call) Return(_a0 *v1.AttachResponse, _a1 error) *MockV1RuntimeServiceClient_Attach_Call
func (*MockV1RuntimeServiceClient_Attach_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_Attach_Call) Run(run func(ctx context.Context, in *v1.AttachRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Attach_Call
func (*MockV1RuntimeServiceClient_Attach_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_Attach_Call) RunAndReturn(run func(context.Context, *v1.AttachRequest, ...grpc.CallOption) (*v1.AttachResponse, error)) *MockV1RuntimeServiceClient_Attach_Call
type MockV1RuntimeServiceClient_CheckpointContainer_Call ¶
MockV1RuntimeServiceClient_CheckpointContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointContainer'
func (*MockV1RuntimeServiceClient_CheckpointContainer_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) Return(_a0 *v1.CheckpointContainerResponse, _a1 error) *MockV1RuntimeServiceClient_CheckpointContainer_Call
func (*MockV1RuntimeServiceClient_CheckpointContainer_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) Run(run func(ctx context.Context, in *v1.CheckpointContainerRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_CheckpointContainer_Call
func (*MockV1RuntimeServiceClient_CheckpointContainer_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_CheckpointContainer_Call) RunAndReturn(run func(context.Context, *v1.CheckpointContainerRequest, ...grpc.CallOption) (*v1.CheckpointContainerResponse, error)) *MockV1RuntimeServiceClient_CheckpointContainer_Call
type MockV1RuntimeServiceClient_ContainerStats_Call ¶
MockV1RuntimeServiceClient_ContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStats'
func (*MockV1RuntimeServiceClient_ContainerStats_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) Return(_a0 *v1.ContainerStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ContainerStats_Call
func (*MockV1RuntimeServiceClient_ContainerStats_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) Run(run func(ctx context.Context, in *v1.ContainerStatsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ContainerStats_Call
func (*MockV1RuntimeServiceClient_ContainerStats_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ContainerStats_Call) RunAndReturn(run func(context.Context, *v1.ContainerStatsRequest, ...grpc.CallOption) (*v1.ContainerStatsResponse, error)) *MockV1RuntimeServiceClient_ContainerStats_Call
type MockV1RuntimeServiceClient_ContainerStatus_Call ¶
MockV1RuntimeServiceClient_ContainerStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContainerStatus'
func (*MockV1RuntimeServiceClient_ContainerStatus_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) Return(_a0 *v1.ContainerStatusResponse, _a1 error) *MockV1RuntimeServiceClient_ContainerStatus_Call
func (*MockV1RuntimeServiceClient_ContainerStatus_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) Run(run func(ctx context.Context, in *v1.ContainerStatusRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ContainerStatus_Call
func (*MockV1RuntimeServiceClient_ContainerStatus_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ContainerStatus_Call) RunAndReturn(run func(context.Context, *v1.ContainerStatusRequest, ...grpc.CallOption) (*v1.ContainerStatusResponse, error)) *MockV1RuntimeServiceClient_ContainerStatus_Call
type MockV1RuntimeServiceClient_CreateContainer_Call ¶
MockV1RuntimeServiceClient_CreateContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateContainer'
func (*MockV1RuntimeServiceClient_CreateContainer_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) Return(_a0 *v1.CreateContainerResponse, _a1 error) *MockV1RuntimeServiceClient_CreateContainer_Call
func (*MockV1RuntimeServiceClient_CreateContainer_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) Run(run func(ctx context.Context, in *v1.CreateContainerRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_CreateContainer_Call
func (*MockV1RuntimeServiceClient_CreateContainer_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_CreateContainer_Call) RunAndReturn(run func(context.Context, *v1.CreateContainerRequest, ...grpc.CallOption) (*v1.CreateContainerResponse, error)) *MockV1RuntimeServiceClient_CreateContainer_Call
type MockV1RuntimeServiceClient_ExecSync_Call ¶
MockV1RuntimeServiceClient_ExecSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecSync'
func (*MockV1RuntimeServiceClient_ExecSync_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ExecSync_Call) Return(_a0 *v1.ExecSyncResponse, _a1 error) *MockV1RuntimeServiceClient_ExecSync_Call
func (*MockV1RuntimeServiceClient_ExecSync_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ExecSync_Call) Run(run func(ctx context.Context, in *v1.ExecSyncRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ExecSync_Call
func (*MockV1RuntimeServiceClient_ExecSync_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ExecSync_Call) RunAndReturn(run func(context.Context, *v1.ExecSyncRequest, ...grpc.CallOption) (*v1.ExecSyncResponse, error)) *MockV1RuntimeServiceClient_ExecSync_Call
type MockV1RuntimeServiceClient_Exec_Call ¶
MockV1RuntimeServiceClient_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockV1RuntimeServiceClient_Exec_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_Exec_Call) Return(_a0 *v1.ExecResponse, _a1 error) *MockV1RuntimeServiceClient_Exec_Call
func (*MockV1RuntimeServiceClient_Exec_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_Exec_Call) Run(run func(ctx context.Context, in *v1.ExecRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Exec_Call
func (*MockV1RuntimeServiceClient_Exec_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_Exec_Call) RunAndReturn(run func(context.Context, *v1.ExecRequest, ...grpc.CallOption) (*v1.ExecResponse, error)) *MockV1RuntimeServiceClient_Exec_Call
type MockV1RuntimeServiceClient_Expecter ¶
type MockV1RuntimeServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1RuntimeServiceClient_Expecter) Attach ¶
func (_e *MockV1RuntimeServiceClient_Expecter) Attach(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Attach_Call
Attach is a helper method to define mock.On call
- ctx context.Context
- in *v1.AttachRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) CheckpointContainer ¶
func (_e *MockV1RuntimeServiceClient_Expecter) CheckpointContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_CheckpointContainer_Call
CheckpointContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.CheckpointContainerRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ContainerStats ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ContainerStats_Call
ContainerStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ContainerStatsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ContainerStatus ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ContainerStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ContainerStatus_Call
ContainerStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1.ContainerStatusRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) CreateContainer ¶
func (_e *MockV1RuntimeServiceClient_Expecter) CreateContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_CreateContainer_Call
CreateContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.CreateContainerRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) Exec ¶
func (_e *MockV1RuntimeServiceClient_Expecter) Exec(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- in *v1.ExecRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ExecSync ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ExecSync(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ExecSync_Call
ExecSync is a helper method to define mock.On call
- ctx context.Context
- in *v1.ExecSyncRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) GetContainerEvents ¶
func (_e *MockV1RuntimeServiceClient_Expecter) GetContainerEvents(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_GetContainerEvents_Call
GetContainerEvents is a helper method to define mock.On call
- ctx context.Context
- in *v1.GetEventsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListContainerStats ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListContainerStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListContainerStats_Call
ListContainerStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListContainerStatsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListContainers ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListContainers(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListContainers_Call
ListContainers is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListContainersRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListMetricDescriptors ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListMetricDescriptors(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
ListMetricDescriptors is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListMetricDescriptorsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListPodSandbox ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandbox_Call
ListPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListPodSandboxMetrics ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandboxMetrics(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
ListPodSandboxMetrics is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxMetricsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ListPodSandboxStats ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ListPodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
ListPodSandboxStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.ListPodSandboxStatsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) PodSandboxStats ¶
func (_e *MockV1RuntimeServiceClient_Expecter) PodSandboxStats(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PodSandboxStats_Call
PodSandboxStats is a helper method to define mock.On call
- ctx context.Context
- in *v1.PodSandboxStatsRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) PodSandboxStatus ¶
func (_e *MockV1RuntimeServiceClient_Expecter) PodSandboxStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
PodSandboxStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1.PodSandboxStatusRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) PortForward ¶
func (_e *MockV1RuntimeServiceClient_Expecter) PortForward(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_PortForward_Call
PortForward is a helper method to define mock.On call
- ctx context.Context
- in *v1.PortForwardRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) RemoveContainer ¶
func (_e *MockV1RuntimeServiceClient_Expecter) RemoveContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RemoveContainer_Call
RemoveContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.RemoveContainerRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) RemovePodSandbox ¶
func (_e *MockV1RuntimeServiceClient_Expecter) RemovePodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
RemovePodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.RemovePodSandboxRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) ReopenContainerLog ¶
func (_e *MockV1RuntimeServiceClient_Expecter) ReopenContainerLog(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
ReopenContainerLog is a helper method to define mock.On call
- ctx context.Context
- in *v1.ReopenContainerLogRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) RunPodSandbox ¶
func (_e *MockV1RuntimeServiceClient_Expecter) RunPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RunPodSandbox_Call
RunPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.RunPodSandboxRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) RuntimeConfig ¶
func (_e *MockV1RuntimeServiceClient_Expecter) RuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_RuntimeConfig_Call
RuntimeConfig is a helper method to define mock.On call
- ctx context.Context
- in *v1.RuntimeConfigRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) StartContainer ¶
func (_e *MockV1RuntimeServiceClient_Expecter) StartContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StartContainer_Call
StartContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.StartContainerRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) Status ¶
func (_e *MockV1RuntimeServiceClient_Expecter) Status(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Status_Call
Status is a helper method to define mock.On call
- ctx context.Context
- in *v1.StatusRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) StopContainer ¶
func (_e *MockV1RuntimeServiceClient_Expecter) StopContainer(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StopContainer_Call
StopContainer is a helper method to define mock.On call
- ctx context.Context
- in *v1.StopContainerRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) StopPodSandbox ¶
func (_e *MockV1RuntimeServiceClient_Expecter) StopPodSandbox(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_StopPodSandbox_Call
StopPodSandbox is a helper method to define mock.On call
- ctx context.Context
- in *v1.StopPodSandboxRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) UpdateContainerResources ¶
func (_e *MockV1RuntimeServiceClient_Expecter) UpdateContainerResources(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
UpdateContainerResources is a helper method to define mock.On call
- ctx context.Context
- in *v1.UpdateContainerResourcesRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) UpdateRuntimeConfig ¶
func (_e *MockV1RuntimeServiceClient_Expecter) UpdateRuntimeConfig(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
UpdateRuntimeConfig is a helper method to define mock.On call
- ctx context.Context
- in *v1.UpdateRuntimeConfigRequest
- opts ...grpc.CallOption
func (*MockV1RuntimeServiceClient_Expecter) Version ¶
func (_e *MockV1RuntimeServiceClient_Expecter) Version(ctx interface{}, in interface{}, opts ...interface{}) *MockV1RuntimeServiceClient_Version_Call
Version is a helper method to define mock.On call
- ctx context.Context
- in *v1.VersionRequest
- opts ...grpc.CallOption
type MockV1RuntimeServiceClient_GetContainerEvents_Call ¶
MockV1RuntimeServiceClient_GetContainerEvents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContainerEvents'
func (*MockV1RuntimeServiceClient_GetContainerEvents_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_GetContainerEvents_Call) Run(run func(ctx context.Context, in *v1.GetEventsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_GetContainerEvents_Call
func (*MockV1RuntimeServiceClient_GetContainerEvents_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_GetContainerEvents_Call) RunAndReturn(run func(context.Context, *v1.GetEventsRequest, ...grpc.CallOption) (v1.RuntimeService_GetContainerEventsClient, error)) *MockV1RuntimeServiceClient_GetContainerEvents_Call
type MockV1RuntimeServiceClient_ListContainerStats_Call ¶
MockV1RuntimeServiceClient_ListContainerStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContainerStats'
func (*MockV1RuntimeServiceClient_ListContainerStats_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) Return(_a0 *v1.ListContainerStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ListContainerStats_Call
func (*MockV1RuntimeServiceClient_ListContainerStats_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) Run(run func(ctx context.Context, in *v1.ListContainerStatsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListContainerStats_Call
func (*MockV1RuntimeServiceClient_ListContainerStats_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListContainerStats_Call) RunAndReturn(run func(context.Context, *v1.ListContainerStatsRequest, ...grpc.CallOption) (*v1.ListContainerStatsResponse, error)) *MockV1RuntimeServiceClient_ListContainerStats_Call
type MockV1RuntimeServiceClient_ListContainers_Call ¶
MockV1RuntimeServiceClient_ListContainers_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListContainers'
func (*MockV1RuntimeServiceClient_ListContainers_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ListContainers_Call) Return(_a0 *v1.ListContainersResponse, _a1 error) *MockV1RuntimeServiceClient_ListContainers_Call
func (*MockV1RuntimeServiceClient_ListContainers_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListContainers_Call) Run(run func(ctx context.Context, in *v1.ListContainersRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListContainers_Call
func (*MockV1RuntimeServiceClient_ListContainers_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListContainers_Call) RunAndReturn(run func(context.Context, *v1.ListContainersRequest, ...grpc.CallOption) (*v1.ListContainersResponse, error)) *MockV1RuntimeServiceClient_ListContainers_Call
type MockV1RuntimeServiceClient_ListMetricDescriptors_Call ¶
MockV1RuntimeServiceClient_ListMetricDescriptors_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListMetricDescriptors'
func (*MockV1RuntimeServiceClient_ListMetricDescriptors_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListMetricDescriptors_Call) Run(run func(ctx context.Context, in *v1.ListMetricDescriptorsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
func (*MockV1RuntimeServiceClient_ListMetricDescriptors_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListMetricDescriptors_Call) RunAndReturn(run func(context.Context, *v1.ListMetricDescriptorsRequest, ...grpc.CallOption) (*v1.ListMetricDescriptorsResponse, error)) *MockV1RuntimeServiceClient_ListMetricDescriptors_Call
type MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call ¶
MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandboxMetrics'
func (*MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxMetricsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
func (*MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxMetricsRequest, ...grpc.CallOption) (*v1.ListPodSandboxMetricsResponse, error)) *MockV1RuntimeServiceClient_ListPodSandboxMetrics_Call
type MockV1RuntimeServiceClient_ListPodSandboxStats_Call ¶
MockV1RuntimeServiceClient_ListPodSandboxStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandboxStats'
func (*MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Return(_a0 *v1.ListPodSandboxStatsResponse, _a1 error) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
func (*MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxStatsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
func (*MockV1RuntimeServiceClient_ListPodSandboxStats_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandboxStats_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxStatsRequest, ...grpc.CallOption) (*v1.ListPodSandboxStatsResponse, error)) *MockV1RuntimeServiceClient_ListPodSandboxStats_Call
type MockV1RuntimeServiceClient_ListPodSandbox_Call ¶
MockV1RuntimeServiceClient_ListPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListPodSandbox'
func (*MockV1RuntimeServiceClient_ListPodSandbox_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) Return(_a0 *v1.ListPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_ListPodSandbox_Call
func (*MockV1RuntimeServiceClient_ListPodSandbox_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) Run(run func(ctx context.Context, in *v1.ListPodSandboxRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ListPodSandbox_Call
func (*MockV1RuntimeServiceClient_ListPodSandbox_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ListPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.ListPodSandboxRequest, ...grpc.CallOption) (*v1.ListPodSandboxResponse, error)) *MockV1RuntimeServiceClient_ListPodSandbox_Call
type MockV1RuntimeServiceClient_PodSandboxStats_Call ¶
MockV1RuntimeServiceClient_PodSandboxStats_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSandboxStats'
func (*MockV1RuntimeServiceClient_PodSandboxStats_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) Return(_a0 *v1.PodSandboxStatsResponse, _a1 error) *MockV1RuntimeServiceClient_PodSandboxStats_Call
func (*MockV1RuntimeServiceClient_PodSandboxStats_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) Run(run func(ctx context.Context, in *v1.PodSandboxStatsRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_PodSandboxStats_Call
func (*MockV1RuntimeServiceClient_PodSandboxStats_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStats_Call) RunAndReturn(run func(context.Context, *v1.PodSandboxStatsRequest, ...grpc.CallOption) (*v1.PodSandboxStatsResponse, error)) *MockV1RuntimeServiceClient_PodSandboxStats_Call
type MockV1RuntimeServiceClient_PodSandboxStatus_Call ¶
MockV1RuntimeServiceClient_PodSandboxStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSandboxStatus'
func (*MockV1RuntimeServiceClient_PodSandboxStatus_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) Return(_a0 *v1.PodSandboxStatusResponse, _a1 error) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
func (*MockV1RuntimeServiceClient_PodSandboxStatus_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) Run(run func(ctx context.Context, in *v1.PodSandboxStatusRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
func (*MockV1RuntimeServiceClient_PodSandboxStatus_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_PodSandboxStatus_Call) RunAndReturn(run func(context.Context, *v1.PodSandboxStatusRequest, ...grpc.CallOption) (*v1.PodSandboxStatusResponse, error)) *MockV1RuntimeServiceClient_PodSandboxStatus_Call
type MockV1RuntimeServiceClient_PortForward_Call ¶
MockV1RuntimeServiceClient_PortForward_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PortForward'
func (*MockV1RuntimeServiceClient_PortForward_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_PortForward_Call) Return(_a0 *v1.PortForwardResponse, _a1 error) *MockV1RuntimeServiceClient_PortForward_Call
func (*MockV1RuntimeServiceClient_PortForward_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_PortForward_Call) Run(run func(ctx context.Context, in *v1.PortForwardRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_PortForward_Call
func (*MockV1RuntimeServiceClient_PortForward_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_PortForward_Call) RunAndReturn(run func(context.Context, *v1.PortForwardRequest, ...grpc.CallOption) (*v1.PortForwardResponse, error)) *MockV1RuntimeServiceClient_PortForward_Call
type MockV1RuntimeServiceClient_RemoveContainer_Call ¶
MockV1RuntimeServiceClient_RemoveContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveContainer'
func (*MockV1RuntimeServiceClient_RemoveContainer_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) Return(_a0 *v1.RemoveContainerResponse, _a1 error) *MockV1RuntimeServiceClient_RemoveContainer_Call
func (*MockV1RuntimeServiceClient_RemoveContainer_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) Run(run func(ctx context.Context, in *v1.RemoveContainerRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_RemoveContainer_Call
func (*MockV1RuntimeServiceClient_RemoveContainer_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_RemoveContainer_Call) RunAndReturn(run func(context.Context, *v1.RemoveContainerRequest, ...grpc.CallOption) (*v1.RemoveContainerResponse, error)) *MockV1RuntimeServiceClient_RemoveContainer_Call
type MockV1RuntimeServiceClient_RemovePodSandbox_Call ¶
MockV1RuntimeServiceClient_RemovePodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemovePodSandbox'
func (*MockV1RuntimeServiceClient_RemovePodSandbox_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) Return(_a0 *v1.RemovePodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
func (*MockV1RuntimeServiceClient_RemovePodSandbox_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) Run(run func(ctx context.Context, in *v1.RemovePodSandboxRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
func (*MockV1RuntimeServiceClient_RemovePodSandbox_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_RemovePodSandbox_Call) RunAndReturn(run func(context.Context, *v1.RemovePodSandboxRequest, ...grpc.CallOption) (*v1.RemovePodSandboxResponse, error)) *MockV1RuntimeServiceClient_RemovePodSandbox_Call
type MockV1RuntimeServiceClient_ReopenContainerLog_Call ¶
MockV1RuntimeServiceClient_ReopenContainerLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReopenContainerLog'
func (*MockV1RuntimeServiceClient_ReopenContainerLog_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) Return(_a0 *v1.ReopenContainerLogResponse, _a1 error) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
func (*MockV1RuntimeServiceClient_ReopenContainerLog_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) Run(run func(ctx context.Context, in *v1.ReopenContainerLogRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
func (*MockV1RuntimeServiceClient_ReopenContainerLog_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_ReopenContainerLog_Call) RunAndReturn(run func(context.Context, *v1.ReopenContainerLogRequest, ...grpc.CallOption) (*v1.ReopenContainerLogResponse, error)) *MockV1RuntimeServiceClient_ReopenContainerLog_Call
type MockV1RuntimeServiceClient_RunPodSandbox_Call ¶
MockV1RuntimeServiceClient_RunPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunPodSandbox'
func (*MockV1RuntimeServiceClient_RunPodSandbox_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) Return(_a0 *v1.RunPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_RunPodSandbox_Call
func (*MockV1RuntimeServiceClient_RunPodSandbox_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) Run(run func(ctx context.Context, in *v1.RunPodSandboxRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_RunPodSandbox_Call
func (*MockV1RuntimeServiceClient_RunPodSandbox_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_RunPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.RunPodSandboxRequest, ...grpc.CallOption) (*v1.RunPodSandboxResponse, error)) *MockV1RuntimeServiceClient_RunPodSandbox_Call
type MockV1RuntimeServiceClient_RuntimeConfig_Call ¶
MockV1RuntimeServiceClient_RuntimeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RuntimeConfig'
func (*MockV1RuntimeServiceClient_RuntimeConfig_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) Return(_a0 *v1.RuntimeConfigResponse, _a1 error) *MockV1RuntimeServiceClient_RuntimeConfig_Call
func (*MockV1RuntimeServiceClient_RuntimeConfig_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.RuntimeConfigRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_RuntimeConfig_Call
func (*MockV1RuntimeServiceClient_RuntimeConfig_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_RuntimeConfig_Call) RunAndReturn(run func(context.Context, *v1.RuntimeConfigRequest, ...grpc.CallOption) (*v1.RuntimeConfigResponse, error)) *MockV1RuntimeServiceClient_RuntimeConfig_Call
type MockV1RuntimeServiceClient_StartContainer_Call ¶
MockV1RuntimeServiceClient_StartContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartContainer'
func (*MockV1RuntimeServiceClient_StartContainer_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_StartContainer_Call) Return(_a0 *v1.StartContainerResponse, _a1 error) *MockV1RuntimeServiceClient_StartContainer_Call
func (*MockV1RuntimeServiceClient_StartContainer_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_StartContainer_Call) Run(run func(ctx context.Context, in *v1.StartContainerRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_StartContainer_Call
func (*MockV1RuntimeServiceClient_StartContainer_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_StartContainer_Call) RunAndReturn(run func(context.Context, *v1.StartContainerRequest, ...grpc.CallOption) (*v1.StartContainerResponse, error)) *MockV1RuntimeServiceClient_StartContainer_Call
type MockV1RuntimeServiceClient_Status_Call ¶
MockV1RuntimeServiceClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*MockV1RuntimeServiceClient_Status_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_Status_Call) Return(_a0 *v1.StatusResponse, _a1 error) *MockV1RuntimeServiceClient_Status_Call
func (*MockV1RuntimeServiceClient_Status_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_Status_Call) Run(run func(ctx context.Context, in *v1.StatusRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Status_Call
func (*MockV1RuntimeServiceClient_Status_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_Status_Call) RunAndReturn(run func(context.Context, *v1.StatusRequest, ...grpc.CallOption) (*v1.StatusResponse, error)) *MockV1RuntimeServiceClient_Status_Call
type MockV1RuntimeServiceClient_StopContainer_Call ¶
MockV1RuntimeServiceClient_StopContainer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopContainer'
func (*MockV1RuntimeServiceClient_StopContainer_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_StopContainer_Call) Return(_a0 *v1.StopContainerResponse, _a1 error) *MockV1RuntimeServiceClient_StopContainer_Call
func (*MockV1RuntimeServiceClient_StopContainer_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_StopContainer_Call) Run(run func(ctx context.Context, in *v1.StopContainerRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_StopContainer_Call
func (*MockV1RuntimeServiceClient_StopContainer_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_StopContainer_Call) RunAndReturn(run func(context.Context, *v1.StopContainerRequest, ...grpc.CallOption) (*v1.StopContainerResponse, error)) *MockV1RuntimeServiceClient_StopContainer_Call
type MockV1RuntimeServiceClient_StopPodSandbox_Call ¶
MockV1RuntimeServiceClient_StopPodSandbox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopPodSandbox'
func (*MockV1RuntimeServiceClient_StopPodSandbox_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) Return(_a0 *v1.StopPodSandboxResponse, _a1 error) *MockV1RuntimeServiceClient_StopPodSandbox_Call
func (*MockV1RuntimeServiceClient_StopPodSandbox_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) Run(run func(ctx context.Context, in *v1.StopPodSandboxRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_StopPodSandbox_Call
func (*MockV1RuntimeServiceClient_StopPodSandbox_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_StopPodSandbox_Call) RunAndReturn(run func(context.Context, *v1.StopPodSandboxRequest, ...grpc.CallOption) (*v1.StopPodSandboxResponse, error)) *MockV1RuntimeServiceClient_StopPodSandbox_Call
type MockV1RuntimeServiceClient_UpdateContainerResources_Call ¶
MockV1RuntimeServiceClient_UpdateContainerResources_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateContainerResources'
func (*MockV1RuntimeServiceClient_UpdateContainerResources_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_UpdateContainerResources_Call) Run(run func(ctx context.Context, in *v1.UpdateContainerResourcesRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
func (*MockV1RuntimeServiceClient_UpdateContainerResources_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_UpdateContainerResources_Call) RunAndReturn(run func(context.Context, *v1.UpdateContainerResourcesRequest, ...grpc.CallOption) (*v1.UpdateContainerResourcesResponse, error)) *MockV1RuntimeServiceClient_UpdateContainerResources_Call
type MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call ¶
MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateRuntimeConfig'
func (*MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Return(_a0 *v1.UpdateRuntimeConfigResponse, _a1 error) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
func (*MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) Run(run func(ctx context.Context, in *v1.UpdateRuntimeConfigRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
func (*MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call) RunAndReturn(run func(context.Context, *v1.UpdateRuntimeConfigRequest, ...grpc.CallOption) (*v1.UpdateRuntimeConfigResponse, error)) *MockV1RuntimeServiceClient_UpdateRuntimeConfig_Call
type MockV1RuntimeServiceClient_Version_Call ¶
MockV1RuntimeServiceClient_Version_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Version'
func (*MockV1RuntimeServiceClient_Version_Call) Return ¶
func (_c *MockV1RuntimeServiceClient_Version_Call) Return(_a0 *v1.VersionResponse, _a1 error) *MockV1RuntimeServiceClient_Version_Call
func (*MockV1RuntimeServiceClient_Version_Call) Run ¶
func (_c *MockV1RuntimeServiceClient_Version_Call) Run(run func(ctx context.Context, in *v1.VersionRequest, opts ...grpc.CallOption)) *MockV1RuntimeServiceClient_Version_Call
func (*MockV1RuntimeServiceClient_Version_Call) RunAndReturn ¶
func (_c *MockV1RuntimeServiceClient_Version_Call) RunAndReturn(run func(context.Context, *v1.VersionRequest, ...grpc.CallOption) (*v1.VersionResponse, error)) *MockV1RuntimeServiceClient_Version_Call
type MockV1alpha1CheckpointServiceClient ¶
MockV1alpha1CheckpointServiceClient is an autogenerated mock type for the CheckpointServiceClient type
func NewMockV1alpha1CheckpointServiceClient ¶
func NewMockV1alpha1CheckpointServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1alpha1CheckpointServiceClient
NewMockV1alpha1CheckpointServiceClient creates a new instance of MockV1alpha1CheckpointServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1alpha1CheckpointServiceClient) CheckpointStatus ¶
func (_m *MockV1alpha1CheckpointServiceClient) CheckpointStatus(ctx context.Context, in *v1alpha1.CheckpointStatusRequest, opts ...grpc.CallOption) (*v1alpha1.CheckpointStatusResponse, error)
CheckpointStatus provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1CheckpointServiceClient) CreateCheckpoint ¶
func (_m *MockV1alpha1CheckpointServiceClient) CreateCheckpoint(ctx context.Context, in *v1alpha1.CreateCheckpointRequest, opts ...grpc.CallOption) (*v1alpha1.CreateCheckpointResponse, error)
CreateCheckpoint provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1CheckpointServiceClient) EXPECT ¶
func (_m *MockV1alpha1CheckpointServiceClient) EXPECT() *MockV1alpha1CheckpointServiceClient_Expecter
type MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call ¶
MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckpointStatus'
func (*MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) Run ¶
func (_c *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) Run(run func(ctx context.Context, in *v1alpha1.CheckpointStatusRequest, opts ...grpc.CallOption)) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
func (*MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) RunAndReturn ¶
func (_c *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call) RunAndReturn(run func(context.Context, *v1alpha1.CheckpointStatusRequest, ...grpc.CallOption) (*v1alpha1.CheckpointStatusResponse, error)) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
type MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call ¶
MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCheckpoint'
func (*MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) Run ¶
func (_c *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) Run(run func(ctx context.Context, in *v1alpha1.CreateCheckpointRequest, opts ...grpc.CallOption)) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
func (*MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) RunAndReturn ¶
func (_c *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call) RunAndReturn(run func(context.Context, *v1alpha1.CreateCheckpointRequest, ...grpc.CallOption) (*v1alpha1.CreateCheckpointResponse, error)) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
type MockV1alpha1CheckpointServiceClient_Expecter ¶
type MockV1alpha1CheckpointServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1alpha1CheckpointServiceClient_Expecter) CheckpointStatus ¶
func (_e *MockV1alpha1CheckpointServiceClient_Expecter) CheckpointStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1CheckpointServiceClient_CheckpointStatus_Call
CheckpointStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.CheckpointStatusRequest
- opts ...grpc.CallOption
func (*MockV1alpha1CheckpointServiceClient_Expecter) CreateCheckpoint ¶
func (_e *MockV1alpha1CheckpointServiceClient_Expecter) CreateCheckpoint(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1CheckpointServiceClient_CreateCheckpoint_Call
CreateCheckpoint is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.CreateCheckpointRequest
- opts ...grpc.CallOption
type MockV1alpha1InstanceServiceClient ¶
MockV1alpha1InstanceServiceClient is an autogenerated mock type for the InstanceServiceClient type
func NewMockV1alpha1InstanceServiceClient ¶
func NewMockV1alpha1InstanceServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1alpha1InstanceServiceClient
NewMockV1alpha1InstanceServiceClient creates a new instance of MockV1alpha1InstanceServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1alpha1InstanceServiceClient) DiscoverInstances ¶
func (_m *MockV1alpha1InstanceServiceClient) DiscoverInstances(ctx context.Context, in *v1alpha1.DiscoverInstanceRequest, opts ...grpc.CallOption) (*v1alpha1.DiscoverInstanceResponse, error)
DiscoverInstances provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1InstanceServiceClient) EXPECT ¶
func (_m *MockV1alpha1InstanceServiceClient) EXPECT() *MockV1alpha1InstanceServiceClient_Expecter
func (*MockV1alpha1InstanceServiceClient) GetInstance ¶
func (_m *MockV1alpha1InstanceServiceClient) GetInstance(ctx context.Context, in *v1alpha1.GetInstanceRequest, opts ...grpc.CallOption) (*v1alpha1.GetInstanceResponse, error)
GetInstance provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1InstanceServiceClient) ListInstances ¶
func (_m *MockV1alpha1InstanceServiceClient) ListInstances(ctx context.Context, in *v1alpha1.ListInstancesRequest, opts ...grpc.CallOption) (*v1alpha1.ListInstancesResponse, error)
ListInstances provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1InstanceServiceClient) ReceiveInstanceStatusReports ¶
func (_m *MockV1alpha1InstanceServiceClient) ReceiveInstanceStatusReports(ctx context.Context, in *v1alpha1.ReceiveInstanceStatusReportsRequest, opts ...grpc.CallOption) (*v1alpha1.ReceiveInstanceStatusReportsResponse, error)
ReceiveInstanceStatusReports provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1InstanceServiceClient) RunFlavorVersion ¶
func (_m *MockV1alpha1InstanceServiceClient) RunFlavorVersion(ctx context.Context, in *v1alpha1.RunFlavorVersionRequest, opts ...grpc.CallOption) (*v1alpha1.RunFlavorVersionResponse, error)
RunFlavorVersion provides a mock function with given fields: ctx, in, opts
type MockV1alpha1InstanceServiceClient_DiscoverInstances_Call ¶
MockV1alpha1InstanceServiceClient_DiscoverInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DiscoverInstances'
func (*MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) Run ¶
func (_c *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) Run(run func(ctx context.Context, in *v1alpha1.DiscoverInstanceRequest, opts ...grpc.CallOption)) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
func (*MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) RunAndReturn ¶
func (_c *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call) RunAndReturn(run func(context.Context, *v1alpha1.DiscoverInstanceRequest, ...grpc.CallOption) (*v1alpha1.DiscoverInstanceResponse, error)) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
type MockV1alpha1InstanceServiceClient_Expecter ¶
type MockV1alpha1InstanceServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1alpha1InstanceServiceClient_Expecter) DiscoverInstances ¶
func (_e *MockV1alpha1InstanceServiceClient_Expecter) DiscoverInstances(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_DiscoverInstances_Call
DiscoverInstances is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.DiscoverInstanceRequest
- opts ...grpc.CallOption
func (*MockV1alpha1InstanceServiceClient_Expecter) GetInstance ¶
func (_e *MockV1alpha1InstanceServiceClient_Expecter) GetInstance(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_GetInstance_Call
GetInstance is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.GetInstanceRequest
- opts ...grpc.CallOption
func (*MockV1alpha1InstanceServiceClient_Expecter) ListInstances ¶
func (_e *MockV1alpha1InstanceServiceClient_Expecter) ListInstances(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_ListInstances_Call
ListInstances is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.ListInstancesRequest
- opts ...grpc.CallOption
func (*MockV1alpha1InstanceServiceClient_Expecter) ReceiveInstanceStatusReports ¶
func (_e *MockV1alpha1InstanceServiceClient_Expecter) ReceiveInstanceStatusReports(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
ReceiveInstanceStatusReports is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.ReceiveInstanceStatusReportsRequest
- opts ...grpc.CallOption
func (*MockV1alpha1InstanceServiceClient_Expecter) RunFlavorVersion ¶
func (_e *MockV1alpha1InstanceServiceClient_Expecter) RunFlavorVersion(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
RunFlavorVersion is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.RunFlavorVersionRequest
- opts ...grpc.CallOption
type MockV1alpha1InstanceServiceClient_GetInstance_Call ¶
MockV1alpha1InstanceServiceClient_GetInstance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInstance'
func (*MockV1alpha1InstanceServiceClient_GetInstance_Call) Return ¶
func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) Return(_a0 *v1alpha1.GetInstanceResponse, _a1 error) *MockV1alpha1InstanceServiceClient_GetInstance_Call
func (*MockV1alpha1InstanceServiceClient_GetInstance_Call) Run ¶
func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) Run(run func(ctx context.Context, in *v1alpha1.GetInstanceRequest, opts ...grpc.CallOption)) *MockV1alpha1InstanceServiceClient_GetInstance_Call
func (*MockV1alpha1InstanceServiceClient_GetInstance_Call) RunAndReturn ¶
func (_c *MockV1alpha1InstanceServiceClient_GetInstance_Call) RunAndReturn(run func(context.Context, *v1alpha1.GetInstanceRequest, ...grpc.CallOption) (*v1alpha1.GetInstanceResponse, error)) *MockV1alpha1InstanceServiceClient_GetInstance_Call
type MockV1alpha1InstanceServiceClient_ListInstances_Call ¶
MockV1alpha1InstanceServiceClient_ListInstances_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListInstances'
func (*MockV1alpha1InstanceServiceClient_ListInstances_Call) Run ¶
func (_c *MockV1alpha1InstanceServiceClient_ListInstances_Call) Run(run func(ctx context.Context, in *v1alpha1.ListInstancesRequest, opts ...grpc.CallOption)) *MockV1alpha1InstanceServiceClient_ListInstances_Call
func (*MockV1alpha1InstanceServiceClient_ListInstances_Call) RunAndReturn ¶
func (_c *MockV1alpha1InstanceServiceClient_ListInstances_Call) RunAndReturn(run func(context.Context, *v1alpha1.ListInstancesRequest, ...grpc.CallOption) (*v1alpha1.ListInstancesResponse, error)) *MockV1alpha1InstanceServiceClient_ListInstances_Call
type MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call ¶
MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ReceiveInstanceStatusReports'
func (*MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) Run ¶
func (_c *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) Run(run func(ctx context.Context, in *v1alpha1.ReceiveInstanceStatusReportsRequest, opts ...grpc.CallOption)) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
func (*MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) RunAndReturn ¶
func (_c *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call) RunAndReturn(run func(context.Context, *v1alpha1.ReceiveInstanceStatusReportsRequest, ...grpc.CallOption) (*v1alpha1.ReceiveInstanceStatusReportsResponse, error)) *MockV1alpha1InstanceServiceClient_ReceiveInstanceStatusReports_Call
type MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call ¶
MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunFlavorVersion'
func (*MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) Run ¶
func (_c *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) Run(run func(ctx context.Context, in *v1alpha1.RunFlavorVersionRequest, opts ...grpc.CallOption)) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
func (*MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) RunAndReturn ¶
func (_c *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call) RunAndReturn(run func(context.Context, *v1alpha1.RunFlavorVersionRequest, ...grpc.CallOption) (*v1alpha1.RunFlavorVersionResponse, error)) *MockV1alpha1InstanceServiceClient_RunFlavorVersion_Call
type MockV1alpha1ProxyServiceClient ¶
MockV1alpha1ProxyServiceClient is an autogenerated mock type for the ProxyServiceClient type
func NewMockV1alpha1ProxyServiceClient ¶
func NewMockV1alpha1ProxyServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1alpha1ProxyServiceClient
NewMockV1alpha1ProxyServiceClient creates a new instance of MockV1alpha1ProxyServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1alpha1ProxyServiceClient) CreateListeners ¶
func (_m *MockV1alpha1ProxyServiceClient) CreateListeners(ctx context.Context, in *v1alpha1.CreateListenersRequest, opts ...grpc.CallOption) (*v1alpha1.CreateListenersResponse, error)
CreateListeners provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1ProxyServiceClient) DeleteListeners ¶
func (_m *MockV1alpha1ProxyServiceClient) DeleteListeners(ctx context.Context, in *v1alpha1.DeleteListenersRequest, opts ...grpc.CallOption) (*v1alpha1.DeleteListenersResponse, error)
DeleteListeners provides a mock function with given fields: ctx, in, opts
func (*MockV1alpha1ProxyServiceClient) EXPECT ¶
func (_m *MockV1alpha1ProxyServiceClient) EXPECT() *MockV1alpha1ProxyServiceClient_Expecter
type MockV1alpha1ProxyServiceClient_CreateListeners_Call ¶
MockV1alpha1ProxyServiceClient_CreateListeners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateListeners'
func (*MockV1alpha1ProxyServiceClient_CreateListeners_Call) Run ¶
func (_c *MockV1alpha1ProxyServiceClient_CreateListeners_Call) Run(run func(ctx context.Context, in *v1alpha1.CreateListenersRequest, opts ...grpc.CallOption)) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
func (*MockV1alpha1ProxyServiceClient_CreateListeners_Call) RunAndReturn ¶
func (_c *MockV1alpha1ProxyServiceClient_CreateListeners_Call) RunAndReturn(run func(context.Context, *v1alpha1.CreateListenersRequest, ...grpc.CallOption) (*v1alpha1.CreateListenersResponse, error)) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
type MockV1alpha1ProxyServiceClient_DeleteListeners_Call ¶
MockV1alpha1ProxyServiceClient_DeleteListeners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteListeners'
func (*MockV1alpha1ProxyServiceClient_DeleteListeners_Call) Run ¶
func (_c *MockV1alpha1ProxyServiceClient_DeleteListeners_Call) Run(run func(ctx context.Context, in *v1alpha1.DeleteListenersRequest, opts ...grpc.CallOption)) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
func (*MockV1alpha1ProxyServiceClient_DeleteListeners_Call) RunAndReturn ¶
func (_c *MockV1alpha1ProxyServiceClient_DeleteListeners_Call) RunAndReturn(run func(context.Context, *v1alpha1.DeleteListenersRequest, ...grpc.CallOption) (*v1alpha1.DeleteListenersResponse, error)) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
type MockV1alpha1ProxyServiceClient_Expecter ¶
type MockV1alpha1ProxyServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1alpha1ProxyServiceClient_Expecter) CreateListeners ¶
func (_e *MockV1alpha1ProxyServiceClient_Expecter) CreateListeners(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1ProxyServiceClient_CreateListeners_Call
CreateListeners is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.CreateListenersRequest
- opts ...grpc.CallOption
func (*MockV1alpha1ProxyServiceClient_Expecter) DeleteListeners ¶
func (_e *MockV1alpha1ProxyServiceClient_Expecter) DeleteListeners(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha1ProxyServiceClient_DeleteListeners_Call
DeleteListeners is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha1.DeleteListenersRequest
- opts ...grpc.CallOption
type MockV1alpha2WorkloadServiceClient ¶
MockV1alpha2WorkloadServiceClient is an autogenerated mock type for the WorkloadServiceClient type
func NewMockV1alpha2WorkloadServiceClient ¶
func NewMockV1alpha2WorkloadServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *MockV1alpha2WorkloadServiceClient
NewMockV1alpha2WorkloadServiceClient creates a new instance of MockV1alpha2WorkloadServiceClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockV1alpha2WorkloadServiceClient) EXPECT ¶
func (_m *MockV1alpha2WorkloadServiceClient) EXPECT() *MockV1alpha2WorkloadServiceClient_Expecter
func (*MockV1alpha2WorkloadServiceClient) WorkloadStatus ¶
func (_m *MockV1alpha2WorkloadServiceClient) WorkloadStatus(ctx context.Context, in *v1alpha2.WorkloadStatusRequest, opts ...grpc.CallOption) (*v1alpha2.WorkloadStatusResponse, error)
WorkloadStatus provides a mock function with given fields: ctx, in, opts
type MockV1alpha2WorkloadServiceClient_Expecter ¶
type MockV1alpha2WorkloadServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockV1alpha2WorkloadServiceClient_Expecter) WorkloadStatus ¶
func (_e *MockV1alpha2WorkloadServiceClient_Expecter) WorkloadStatus(ctx interface{}, in interface{}, opts ...interface{}) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
WorkloadStatus is a helper method to define mock.On call
- ctx context.Context
- in *v1alpha2.WorkloadStatusRequest
- opts ...grpc.CallOption
type MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call ¶
MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WorkloadStatus'
func (*MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) Run ¶
func (_c *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) Run(run func(ctx context.Context, in *v1alpha2.WorkloadStatusRequest, opts ...grpc.CallOption)) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
func (*MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) RunAndReturn ¶
func (_c *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call) RunAndReturn(run func(context.Context, *v1alpha2.WorkloadStatusRequest, ...grpc.CallOption) (*v1alpha2.WorkloadStatusResponse, error)) *MockV1alpha2WorkloadServiceClient_WorkloadStatus_Call
type MockWorkloadService ¶
MockWorkloadService is an autogenerated mock type for the Service type
func NewMockWorkloadService ¶
func NewMockWorkloadService(t interface {
mock.TestingT
Cleanup(func())
}) *MockWorkloadService
NewMockWorkloadService creates a new instance of MockWorkloadService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockWorkloadService) EXPECT ¶
func (_m *MockWorkloadService) EXPECT() *MockWorkloadService_Expecter
func (*MockWorkloadService) GetWorkloadHealth ¶
func (_m *MockWorkloadService) GetWorkloadHealth(ctx context.Context, id string) (status.WorkloadHealthStatus, error)
GetWorkloadHealth provides a mock function with given fields: ctx, id
func (*MockWorkloadService) RemoveWorkload ¶
func (_m *MockWorkloadService) RemoveWorkload(ctx context.Context, id string) error
RemoveWorkload provides a mock function with given fields: ctx, id
func (*MockWorkloadService) RunWorkload ¶
func (_m *MockWorkloadService) RunWorkload(ctx context.Context, w workload.Workload, attempt uint) error
RunWorkload provides a mock function with given fields: ctx, w, attempt
type MockWorkloadService_Expecter ¶
type MockWorkloadService_Expecter struct {
// contains filtered or unexported fields
}
func (*MockWorkloadService_Expecter) GetWorkloadHealth ¶
func (_e *MockWorkloadService_Expecter) GetWorkloadHealth(ctx interface{}, id interface{}) *MockWorkloadService_GetWorkloadHealth_Call
GetWorkloadHealth is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockWorkloadService_Expecter) RemoveWorkload ¶
func (_e *MockWorkloadService_Expecter) RemoveWorkload(ctx interface{}, id interface{}) *MockWorkloadService_RemoveWorkload_Call
RemoveWorkload is a helper method to define mock.On call
- ctx context.Context
- id string
func (*MockWorkloadService_Expecter) RunWorkload ¶
func (_e *MockWorkloadService_Expecter) RunWorkload(ctx interface{}, w interface{}, attempt interface{}) *MockWorkloadService_RunWorkload_Call
RunWorkload is a helper method to define mock.On call
- ctx context.Context
- w workload.Workload
- attempt uint
type MockWorkloadService_GetWorkloadHealth_Call ¶
MockWorkloadService_GetWorkloadHealth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWorkloadHealth'
func (*MockWorkloadService_GetWorkloadHealth_Call) Return ¶
func (_c *MockWorkloadService_GetWorkloadHealth_Call) Return(_a0 status.WorkloadHealthStatus, _a1 error) *MockWorkloadService_GetWorkloadHealth_Call
func (*MockWorkloadService_GetWorkloadHealth_Call) Run ¶
func (_c *MockWorkloadService_GetWorkloadHealth_Call) Run(run func(ctx context.Context, id string)) *MockWorkloadService_GetWorkloadHealth_Call
func (*MockWorkloadService_GetWorkloadHealth_Call) RunAndReturn ¶
func (_c *MockWorkloadService_GetWorkloadHealth_Call) RunAndReturn(run func(context.Context, string) (status.WorkloadHealthStatus, error)) *MockWorkloadService_GetWorkloadHealth_Call
type MockWorkloadService_RemoveWorkload_Call ¶
MockWorkloadService_RemoveWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveWorkload'
func (*MockWorkloadService_RemoveWorkload_Call) Return ¶
func (_c *MockWorkloadService_RemoveWorkload_Call) Return(_a0 error) *MockWorkloadService_RemoveWorkload_Call
func (*MockWorkloadService_RemoveWorkload_Call) Run ¶
func (_c *MockWorkloadService_RemoveWorkload_Call) Run(run func(ctx context.Context, id string)) *MockWorkloadService_RemoveWorkload_Call
func (*MockWorkloadService_RemoveWorkload_Call) RunAndReturn ¶
func (_c *MockWorkloadService_RemoveWorkload_Call) RunAndReturn(run func(context.Context, string) error) *MockWorkloadService_RemoveWorkload_Call
type MockWorkloadService_RunWorkload_Call ¶
MockWorkloadService_RunWorkload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunWorkload'
func (*MockWorkloadService_RunWorkload_Call) Return ¶
func (_c *MockWorkloadService_RunWorkload_Call) Return(_a0 error) *MockWorkloadService_RunWorkload_Call
func (*MockWorkloadService_RunWorkload_Call) Run ¶
func (_c *MockWorkloadService_RunWorkload_Call) Run(run func(ctx context.Context, w workload.Workload, attempt uint)) *MockWorkloadService_RunWorkload_Call
func (*MockWorkloadService_RunWorkload_Call) RunAndReturn ¶
func (_c *MockWorkloadService_RunWorkload_Call) RunAndReturn(run func(context.Context, workload.Workload, uint) error) *MockWorkloadService_RunWorkload_Call
type MockXdsMap ¶
MockXdsMap is an autogenerated mock type for the Map type
func NewMockXdsMap ¶
func NewMockXdsMap(t interface {
mock.TestingT
Cleanup(func())
}) *MockXdsMap
NewMockXdsMap creates a new instance of MockXdsMap. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockXdsMap) EXPECT ¶
func (_m *MockXdsMap) EXPECT() *MockXdsMap_Expecter
func (*MockXdsMap) Get ¶
func (_m *MockXdsMap) Get(key string) xds.ResourceGroup
Get provides a mock function with given fields: key
type MockXdsMap_Del_Call ¶
MockXdsMap_Del_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Del'
func (*MockXdsMap_Del_Call) Return ¶
func (_c *MockXdsMap_Del_Call) Return(_a0 *cache.Snapshot, _a1 error) *MockXdsMap_Del_Call
func (*MockXdsMap_Del_Call) Run ¶
func (_c *MockXdsMap_Del_Call) Run(run func(ctx context.Context, key string)) *MockXdsMap_Del_Call
func (*MockXdsMap_Del_Call) RunAndReturn ¶
func (_c *MockXdsMap_Del_Call) RunAndReturn(run func(context.Context, string) (*cache.Snapshot, error)) *MockXdsMap_Del_Call
type MockXdsMap_Expecter ¶
type MockXdsMap_Expecter struct {
// contains filtered or unexported fields
}
func (*MockXdsMap_Expecter) Del ¶
func (_e *MockXdsMap_Expecter) Del(ctx interface{}, key interface{}) *MockXdsMap_Del_Call
Del is a helper method to define mock.On call
- ctx context.Context
- key string
func (*MockXdsMap_Expecter) Get ¶
func (_e *MockXdsMap_Expecter) Get(key interface{}) *MockXdsMap_Get_Call
Get is a helper method to define mock.On call
- key string
func (*MockXdsMap_Expecter) Put ¶
func (_e *MockXdsMap_Expecter) Put(ctx interface{}, key interface{}, rg interface{}) *MockXdsMap_Put_Call
Put is a helper method to define mock.On call
- ctx context.Context
- key string
- rg xds.ResourceGroup
type MockXdsMap_Get_Call ¶
MockXdsMap_Get_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Get'
func (*MockXdsMap_Get_Call) Return ¶
func (_c *MockXdsMap_Get_Call) Return(_a0 xds.ResourceGroup) *MockXdsMap_Get_Call
func (*MockXdsMap_Get_Call) Run ¶
func (_c *MockXdsMap_Get_Call) Run(run func(key string)) *MockXdsMap_Get_Call
func (*MockXdsMap_Get_Call) RunAndReturn ¶
func (_c *MockXdsMap_Get_Call) RunAndReturn(run func(string) xds.ResourceGroup) *MockXdsMap_Get_Call
type MockXdsMap_Put_Call ¶
MockXdsMap_Put_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Put'
func (*MockXdsMap_Put_Call) Return ¶
func (_c *MockXdsMap_Put_Call) Return(_a0 *cache.Snapshot, _a1 error) *MockXdsMap_Put_Call
func (*MockXdsMap_Put_Call) Run ¶
func (_c *MockXdsMap_Put_Call) Run(run func(ctx context.Context, key string, rg xds.ResourceGroup)) *MockXdsMap_Put_Call
func (*MockXdsMap_Put_Call) RunAndReturn ¶
func (_c *MockXdsMap_Put_Call) RunAndReturn(run func(context.Context, string, xds.ResourceGroup) (*cache.Snapshot, error)) *MockXdsMap_Put_Call
Source Files
¶
- authz_access_evaluator.go
- cache_snapshot_cache.go
- chunk_repository.go
- cni_handler.go
- cri_service.go
- image_service.go
- job_client.go
- node_repository.go
- status_store.go
- v1_image_service_client.go
- v1_runtime_service_client.go
- v1alpha1_checkpoint_service_client.go
- v1alpha1_instance_service_client.go
- v1alpha1_proxy_service_client.go
- v1alpha2_workload_service_client.go
- workload_service.go
- xds_map.go