mock_update

package
v0.11.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_update is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncHandler

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

MockSyncHandler is a mock of SyncHandler interface.

func NewMockSyncHandler

func NewMockSyncHandler(ctrl *gomock.Controller) *MockSyncHandler

NewMockSyncHandler creates a new mock instance.

func (*MockSyncHandler) EXPECT

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

func (*MockSyncHandler) GetCurrentManifest

func (m *MockSyncHandler) GetCurrentManifest(arg0 context.Context) (*v1.UpdateManifest, error)

GetCurrentManifest mocks base method.

func (*MockSyncHandler) HandleSyncResults

func (m *MockSyncHandler) HandleSyncResults(arg0 context.Context, arg1 *v1.SyncResults) error

HandleSyncResults mocks base method.

func (*MockSyncHandler) Strategy

func (m *MockSyncHandler) Strategy() string

Strategy mocks base method.

type MockSyncHandlerMockRecorder

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

MockSyncHandlerMockRecorder is the mock recorder for MockSyncHandler.

func (*MockSyncHandlerMockRecorder) GetCurrentManifest

func (mr *MockSyncHandlerMockRecorder) GetCurrentManifest(arg0 interface{}) *gomock.Call

GetCurrentManifest indicates an expected call of GetCurrentManifest.

func (*MockSyncHandlerMockRecorder) HandleSyncResults

func (mr *MockSyncHandlerMockRecorder) HandleSyncResults(arg0, arg1 interface{}) *gomock.Call

HandleSyncResults indicates an expected call of HandleSyncResults.

func (*MockSyncHandlerMockRecorder) Strategy

func (mr *MockSyncHandlerMockRecorder) Strategy() *gomock.Call

Strategy indicates an expected call of Strategy.

type MockUpdateStreamInterceptor

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

MockUpdateStreamInterceptor is a mock of UpdateStreamInterceptor interface.

func NewMockUpdateStreamInterceptor

func NewMockUpdateStreamInterceptor(ctrl *gomock.Controller) *MockUpdateStreamInterceptor

NewMockUpdateStreamInterceptor creates a new mock instance.

func (*MockUpdateStreamInterceptor) EXPECT

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

func (*MockUpdateStreamInterceptor) StreamServerInterceptor

func (m *MockUpdateStreamInterceptor) StreamServerInterceptor() grpc.StreamServerInterceptor

StreamServerInterceptor mocks base method.

type MockUpdateStreamInterceptorMockRecorder

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

MockUpdateStreamInterceptorMockRecorder is the mock recorder for MockUpdateStreamInterceptor.

func (*MockUpdateStreamInterceptorMockRecorder) StreamServerInterceptor

func (mr *MockUpdateStreamInterceptorMockRecorder) StreamServerInterceptor() *gomock.Call

StreamServerInterceptor indicates an expected call of StreamServerInterceptor.

type MockUpdateTypeHandler

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

MockUpdateTypeHandler is a mock of UpdateTypeHandler interface.

func NewMockUpdateTypeHandler

func NewMockUpdateTypeHandler(ctrl *gomock.Controller) *MockUpdateTypeHandler

NewMockUpdateTypeHandler creates a new mock instance.

func (*MockUpdateTypeHandler) CalculateExpectedManifest

func (m *MockUpdateTypeHandler) CalculateExpectedManifest(arg0 context.Context, arg1 urn.UpdateType) (*v1.UpdateManifest, error)

CalculateExpectedManifest mocks base method.

func (*MockUpdateTypeHandler) CalculateUpdate

func (m *MockUpdateTypeHandler) CalculateUpdate(arg0 context.Context, arg1 *v1.UpdateManifest) (*v1.PatchList, error)

CalculateUpdate mocks base method.

func (*MockUpdateTypeHandler) Collectors

func (m *MockUpdateTypeHandler) Collectors() []prometheus.Collector

Collectors mocks base method.

func (*MockUpdateTypeHandler) EXPECT

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

func (*MockUpdateTypeHandler) Strategy

func (m *MockUpdateTypeHandler) Strategy() string

Strategy mocks base method.

type MockUpdateTypeHandlerMockRecorder

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

MockUpdateTypeHandlerMockRecorder is the mock recorder for MockUpdateTypeHandler.

func (*MockUpdateTypeHandlerMockRecorder) CalculateExpectedManifest

func (mr *MockUpdateTypeHandlerMockRecorder) CalculateExpectedManifest(arg0, arg1 interface{}) *gomock.Call

CalculateExpectedManifest indicates an expected call of CalculateExpectedManifest.

func (*MockUpdateTypeHandlerMockRecorder) CalculateUpdate

func (mr *MockUpdateTypeHandlerMockRecorder) CalculateUpdate(arg0, arg1 interface{}) *gomock.Call

CalculateUpdate indicates an expected call of CalculateUpdate.

func (*MockUpdateTypeHandlerMockRecorder) Collectors

func (mr *MockUpdateTypeHandlerMockRecorder) Collectors() *gomock.Call

Collectors indicates an expected call of Collectors.

func (*MockUpdateTypeHandlerMockRecorder) Strategy

Strategy indicates an expected call of Strategy.

type Mockentry

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

Mockentry is a mock of entry interface.

func NewMockentry

func NewMockentry(ctrl *gomock.Controller) *Mockentry

NewMockentry creates a new mock instance.

func (*Mockentry) EXPECT

func (m *Mockentry) EXPECT() *MockentryMockRecorder

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

func (*Mockentry) GetPackage

func (m *Mockentry) GetPackage() string

GetPackage mocks base method.

type MockentryMockRecorder

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

MockentryMockRecorder is the mock recorder for Mockentry.

func (*MockentryMockRecorder) GetPackage

func (mr *MockentryMockRecorder) GetPackage() *gomock.Call

GetPackage indicates an expected call of GetPackage.

Jump to

Keyboard shortcuts

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