plugin

package
v0.0.0-...-7c21e21 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Package plugin is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockApplicationService

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

MockApplicationService is a mock of ApplicationService interface

func NewMockApplicationService

func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService

NewMockApplicationService creates a new mock instance

func (*MockApplicationService) Create

func (m *MockApplicationService) Create(arg0 string, arg1 *v1.Application) (*v1.Application, error)

Create mocks base method

func (*MockApplicationService) CreateWithBase

func (m *MockApplicationService) CreateWithBase(arg0 string, arg1, arg2 *v1.Application) (*v1.Application, error)

CreateWithBase mocks base method

func (*MockApplicationService) Delete

func (m *MockApplicationService) Delete(arg0, arg1, arg2 string) error

Delete mocks base method

func (*MockApplicationService) EXPECT

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

func (*MockApplicationService) Get

func (m *MockApplicationService) Get(arg0, arg1, arg2 string) (*v1.Application, error)

Get mocks base method

func (*MockApplicationService) List

List mocks base method

func (*MockApplicationService) Update

func (m *MockApplicationService) Update(arg0 string, arg1 *v1.Application) (*v1.Application, error)

Update mocks base method

type MockApplicationServiceMockRecorder

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

MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService

func (*MockApplicationServiceMockRecorder) Create

func (mr *MockApplicationServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockApplicationServiceMockRecorder) CreateWithBase

func (mr *MockApplicationServiceMockRecorder) CreateWithBase(arg0, arg1, arg2 interface{}) *gomock.Call

CreateWithBase indicates an expected call of CreateWithBase

func (*MockApplicationServiceMockRecorder) Delete

func (mr *MockApplicationServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockApplicationServiceMockRecorder) Get

func (mr *MockApplicationServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockApplicationServiceMockRecorder) List

func (mr *MockApplicationServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockApplicationServiceMockRecorder) Update

func (mr *MockApplicationServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockAuthService

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

MockAuthService is a mock of AuthService interface

func NewMockAuthService

func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService

NewMockAuthService creates a new mock instance

func (*MockAuthService) Authenticate

func (m *MockAuthService) Authenticate(arg0 *common.Context) error

Authenticate mocks base method

func (*MockAuthService) EXPECT

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

func (*MockAuthService) GenToken

func (m *MockAuthService) GenToken(arg0 map[string]interface{}) (string, error)

GenToken mocks base method

func (*MockAuthService) SignToken

func (m *MockAuthService) SignToken(arg0 []byte) ([]byte, error)

SignToken mocks base method

func (*MockAuthService) VerifyToken

func (m *MockAuthService) VerifyToken(arg0, arg1 []byte) bool

VerifyToken mocks base method

type MockAuthServiceMockRecorder

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

MockAuthServiceMockRecorder is the mock recorder for MockAuthService

func (*MockAuthServiceMockRecorder) Authenticate

func (mr *MockAuthServiceMockRecorder) Authenticate(arg0 interface{}) *gomock.Call

Authenticate indicates an expected call of Authenticate

func (*MockAuthServiceMockRecorder) GenToken

func (mr *MockAuthServiceMockRecorder) GenToken(arg0 interface{}) *gomock.Call

GenToken indicates an expected call of GenToken

func (*MockAuthServiceMockRecorder) SignToken

func (mr *MockAuthServiceMockRecorder) SignToken(arg0 interface{}) *gomock.Call

SignToken indicates an expected call of SignToken

func (*MockAuthServiceMockRecorder) VerifyToken

func (mr *MockAuthServiceMockRecorder) VerifyToken(arg0, arg1 interface{}) *gomock.Call

VerifyToken indicates an expected call of VerifyToken

type MockCallbackService

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

MockCallbackService is a mock of CallbackService interface

func NewMockCallbackService

func NewMockCallbackService(ctrl *gomock.Controller) *MockCallbackService

NewMockCallbackService creates a new mock instance

func (*MockCallbackService) Callback

func (m *MockCallbackService) Callback(arg0, arg1 string, arg2 map[string]string) ([]byte, error)

Callback mocks base method

func (*MockCallbackService) Create

func (m *MockCallbackService) Create(arg0 *models.Callback) (*models.Callback, error)

Create mocks base method

func (*MockCallbackService) Delete

func (m *MockCallbackService) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockCallbackService) EXPECT

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

func (*MockCallbackService) Get

func (m *MockCallbackService) Get(arg0, arg1 string) (*models.Callback, error)

Get mocks base method

func (*MockCallbackService) Update

func (m *MockCallbackService) Update(arg0 *models.Callback) (*models.Callback, error)

Update mocks base method

type MockCallbackServiceMockRecorder

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

MockCallbackServiceMockRecorder is the mock recorder for MockCallbackService

func (*MockCallbackServiceMockRecorder) Callback

func (mr *MockCallbackServiceMockRecorder) Callback(arg0, arg1, arg2 interface{}) *gomock.Call

Callback indicates an expected call of Callback

func (*MockCallbackServiceMockRecorder) Create

func (mr *MockCallbackServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockCallbackServiceMockRecorder) Delete

func (mr *MockCallbackServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockCallbackServiceMockRecorder) Get

func (mr *MockCallbackServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockCallbackServiceMockRecorder) Update

func (mr *MockCallbackServiceMockRecorder) Update(arg0 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockConfigService

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

MockConfigService is a mock of ConfigService interface

func NewMockConfigService

func NewMockConfigService(ctrl *gomock.Controller) *MockConfigService

NewMockConfigService creates a new mock instance

func (*MockConfigService) Create

func (m *MockConfigService) Create(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)

Create mocks base method

func (*MockConfigService) Delete

func (m *MockConfigService) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockConfigService) EXPECT

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

func (*MockConfigService) Get

func (m *MockConfigService) Get(arg0, arg1, arg2 string) (*v1.Configuration, error)

Get mocks base method

func (*MockConfigService) List

List mocks base method

func (*MockConfigService) Update

func (m *MockConfigService) Update(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)

Update mocks base method

func (*MockConfigService) Upsert

func (m *MockConfigService) Upsert(arg0 string, arg1 *v1.Configuration) (*v1.Configuration, error)

Upsert mocks base method

type MockConfigServiceMockRecorder

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

MockConfigServiceMockRecorder is the mock recorder for MockConfigService

func (*MockConfigServiceMockRecorder) Create

func (mr *MockConfigServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockConfigServiceMockRecorder) Delete

func (mr *MockConfigServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockConfigServiceMockRecorder) Get

func (mr *MockConfigServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockConfigServiceMockRecorder) List

func (mr *MockConfigServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockConfigServiceMockRecorder) Update

func (mr *MockConfigServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockConfigServiceMockRecorder) Upsert

func (mr *MockConfigServiceMockRecorder) Upsert(arg0, arg1 interface{}) *gomock.Call

Upsert indicates an expected call of Upsert

type MockFunctionService

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

MockFunctionService is a mock of FunctionService interface

func NewMockFunctionService

func NewMockFunctionService(ctrl *gomock.Controller) *MockFunctionService

NewMockFunctionService creates a new mock instance

func (*MockFunctionService) EXPECT

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

func (*MockFunctionService) GetFunction

func (m *MockFunctionService) GetFunction(arg0, arg1, arg2, arg3 string) (*models.Function, error)

GetFunction mocks base method

func (*MockFunctionService) List

func (m *MockFunctionService) List(arg0, arg1 string) ([]models.Function, error)

List mocks base method

func (*MockFunctionService) ListFunctionVersions

func (m *MockFunctionService) ListFunctionVersions(arg0, arg1, arg2 string) ([]models.Function, error)

ListFunctionVersions mocks base method

func (*MockFunctionService) ListSources

func (m *MockFunctionService) ListSources() []models.FunctionSource

ListSources mocks base method

type MockFunctionServiceMockRecorder

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

MockFunctionServiceMockRecorder is the mock recorder for MockFunctionService

func (*MockFunctionServiceMockRecorder) GetFunction

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

GetFunction indicates an expected call of GetFunction

func (*MockFunctionServiceMockRecorder) List

func (mr *MockFunctionServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockFunctionServiceMockRecorder) ListFunctionVersions

func (mr *MockFunctionServiceMockRecorder) ListFunctionVersions(arg0, arg1, arg2 interface{}) *gomock.Call

ListFunctionVersions indicates an expected call of ListFunctionVersions

func (*MockFunctionServiceMockRecorder) ListSources

func (mr *MockFunctionServiceMockRecorder) ListSources() *gomock.Call

ListSources indicates an expected call of ListSources

type MockIndexService

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

MockIndexService is a mock of IndexService interface

func NewMockIndexService

func NewMockIndexService(ctrl *gomock.Controller) *MockIndexService

NewMockIndexService creates a new mock instance

func (*MockIndexService) EXPECT

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

func (*MockIndexService) ListAppIndexByConfig

func (m *MockIndexService) ListAppIndexByConfig(arg0, arg1 string) ([]string, error)

ListAppIndexByConfig mocks base method

func (*MockIndexService) ListAppIndexBySecret

func (m *MockIndexService) ListAppIndexBySecret(arg0, arg1 string) ([]string, error)

ListAppIndexBySecret mocks base method

func (*MockIndexService) ListAppsByNode

func (m *MockIndexService) ListAppsByNode(arg0, arg1 string) ([]string, error)

ListAppsByNode mocks base method

func (*MockIndexService) ListConfigIndexByApp

func (m *MockIndexService) ListConfigIndexByApp(arg0, arg1 string) ([]string, error)

ListConfigIndexByApp mocks base method

func (*MockIndexService) ListIndex

func (m *MockIndexService) ListIndex(arg0 string, arg1, arg2 common.Resource, arg3 string) ([]string, error)

ListIndex mocks base method

func (*MockIndexService) ListNodesByApp

func (m *MockIndexService) ListNodesByApp(arg0, arg1 string) ([]string, error)

ListNodesByApp mocks base method

func (*MockIndexService) RefreshAppIndexByConfig

func (m *MockIndexService) RefreshAppIndexByConfig(arg0, arg1 string, arg2 []string) error

RefreshAppIndexByConfig mocks base method

func (*MockIndexService) RefreshAppsIndexByNode

func (m *MockIndexService) RefreshAppsIndexByNode(arg0, arg1 string, arg2 []string) error

RefreshAppsIndexByNode mocks base method

func (*MockIndexService) RefreshConfigIndexByApp

func (m *MockIndexService) RefreshConfigIndexByApp(arg0, arg1 string, arg2 []string) error

RefreshConfigIndexByApp mocks base method

func (*MockIndexService) RefreshIndex

func (m *MockIndexService) RefreshIndex(arg0 string, arg1, arg2 common.Resource, arg3 string, arg4 []string) error

RefreshIndex mocks base method

func (*MockIndexService) RefreshNodesIndexByApp

func (m *MockIndexService) RefreshNodesIndexByApp(arg0, arg1 string, arg2 []string) error

RefreshNodesIndexByApp mocks base method

func (*MockIndexService) RefreshSecretIndexByApp

func (m *MockIndexService) RefreshSecretIndexByApp(arg0, arg1 string, arg2 []string) error

RefreshSecretIndexByApp mocks base method

type MockIndexServiceMockRecorder

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

MockIndexServiceMockRecorder is the mock recorder for MockIndexService

func (*MockIndexServiceMockRecorder) ListAppIndexByConfig

func (mr *MockIndexServiceMockRecorder) ListAppIndexByConfig(arg0, arg1 interface{}) *gomock.Call

ListAppIndexByConfig indicates an expected call of ListAppIndexByConfig

func (*MockIndexServiceMockRecorder) ListAppIndexBySecret

func (mr *MockIndexServiceMockRecorder) ListAppIndexBySecret(arg0, arg1 interface{}) *gomock.Call

ListAppIndexBySecret indicates an expected call of ListAppIndexBySecret

func (*MockIndexServiceMockRecorder) ListAppsByNode

func (mr *MockIndexServiceMockRecorder) ListAppsByNode(arg0, arg1 interface{}) *gomock.Call

ListAppsByNode indicates an expected call of ListAppsByNode

func (*MockIndexServiceMockRecorder) ListConfigIndexByApp

func (mr *MockIndexServiceMockRecorder) ListConfigIndexByApp(arg0, arg1 interface{}) *gomock.Call

ListConfigIndexByApp indicates an expected call of ListConfigIndexByApp

func (*MockIndexServiceMockRecorder) ListIndex

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

ListIndex indicates an expected call of ListIndex

func (*MockIndexServiceMockRecorder) ListNodesByApp

func (mr *MockIndexServiceMockRecorder) ListNodesByApp(arg0, arg1 interface{}) *gomock.Call

ListNodesByApp indicates an expected call of ListNodesByApp

func (*MockIndexServiceMockRecorder) RefreshAppIndexByConfig

func (mr *MockIndexServiceMockRecorder) RefreshAppIndexByConfig(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshAppIndexByConfig indicates an expected call of RefreshAppIndexByConfig

func (*MockIndexServiceMockRecorder) RefreshAppsIndexByNode

func (mr *MockIndexServiceMockRecorder) RefreshAppsIndexByNode(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshAppsIndexByNode indicates an expected call of RefreshAppsIndexByNode

func (*MockIndexServiceMockRecorder) RefreshConfigIndexByApp

func (mr *MockIndexServiceMockRecorder) RefreshConfigIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshConfigIndexByApp indicates an expected call of RefreshConfigIndexByApp

func (*MockIndexServiceMockRecorder) RefreshIndex

func (mr *MockIndexServiceMockRecorder) RefreshIndex(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

RefreshIndex indicates an expected call of RefreshIndex

func (*MockIndexServiceMockRecorder) RefreshNodesIndexByApp

func (mr *MockIndexServiceMockRecorder) RefreshNodesIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshNodesIndexByApp indicates an expected call of RefreshNodesIndexByApp

func (*MockIndexServiceMockRecorder) RefreshSecretIndexByApp

func (mr *MockIndexServiceMockRecorder) RefreshSecretIndexByApp(arg0, arg1, arg2 interface{}) *gomock.Call

RefreshSecretIndexByApp indicates an expected call of RefreshSecretIndexByApp

type MockInitializeService

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

MockInitializeService is a mock of InitializeService interface

func NewMockInitializeService

func NewMockInitializeService(ctrl *gomock.Controller) *MockInitializeService

NewMockInitializeService creates a new mock instance

func (*MockInitializeService) EXPECT

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

func (*MockInitializeService) GetResource

func (m *MockInitializeService) GetResource(arg0 string) (string, error)

GetResource mocks base method

func (*MockInitializeService) GetSyncCert

func (m *MockInitializeService) GetSyncCert(arg0, arg1 string) (*v1.Secret, error)

GetSyncCert mocks base method

func (*MockInitializeService) InitWithBitch

func (m *MockInitializeService) InitWithBitch(arg0 *models.Batch, arg1 string) ([]byte, error)

InitWithBitch mocks base method

func (*MockInitializeService) InitWithNode

func (m *MockInitializeService) InitWithNode(arg0, arg1, arg2 string) ([]byte, error)

InitWithNode mocks base method

type MockInitializeServiceMockRecorder

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

MockInitializeServiceMockRecorder is the mock recorder for MockInitializeService

func (*MockInitializeServiceMockRecorder) GetResource

func (mr *MockInitializeServiceMockRecorder) GetResource(arg0 interface{}) *gomock.Call

GetResource indicates an expected call of GetResource

func (*MockInitializeServiceMockRecorder) GetSyncCert

func (mr *MockInitializeServiceMockRecorder) GetSyncCert(arg0, arg1 interface{}) *gomock.Call

GetSyncCert indicates an expected call of GetSyncCert

func (*MockInitializeServiceMockRecorder) InitWithBitch

func (mr *MockInitializeServiceMockRecorder) InitWithBitch(arg0, arg1 interface{}) *gomock.Call

InitWithBitch indicates an expected call of InitWithBitch

func (*MockInitializeServiceMockRecorder) InitWithNode

func (mr *MockInitializeServiceMockRecorder) InitWithNode(arg0, arg1, arg2 interface{}) *gomock.Call

InitWithNode indicates an expected call of InitWithNode

type MockNamespaceService

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

MockNamespaceService is a mock of NamespaceService interface

func NewMockNamespaceService

func NewMockNamespaceService(ctrl *gomock.Controller) *MockNamespaceService

NewMockNamespaceService creates a new mock instance

func (*MockNamespaceService) Create

Create mocks base method

func (*MockNamespaceService) Delete

func (m *MockNamespaceService) Delete(arg0 *models.Namespace) error

Delete mocks base method

func (*MockNamespaceService) EXPECT

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

func (*MockNamespaceService) Get

Get mocks base method

type MockNamespaceServiceMockRecorder

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

MockNamespaceServiceMockRecorder is the mock recorder for MockNamespaceService

func (*MockNamespaceServiceMockRecorder) Create

func (mr *MockNamespaceServiceMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNamespaceServiceMockRecorder) Delete

func (mr *MockNamespaceServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockNamespaceServiceMockRecorder) Get

func (mr *MockNamespaceServiceMockRecorder) Get(arg0 interface{}) *gomock.Call

Get indicates an expected call of Get

type MockNodeService

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

MockNodeService is a mock of NodeService interface

func NewMockNodeService

func NewMockNodeService(ctrl *gomock.Controller) *MockNodeService

NewMockNodeService creates a new mock instance

func (*MockNodeService) Create

func (m *MockNodeService) Create(arg0 string, arg1 *v1.Node) (*v1.Node, error)

Create mocks base method

func (*MockNodeService) Delete

func (m *MockNodeService) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockNodeService) DeleteNodeAppVersion

func (m *MockNodeService) DeleteNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)

DeleteNodeAppVersion mocks base method

func (*MockNodeService) EXPECT

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

func (*MockNodeService) Get

func (m *MockNodeService) Get(arg0, arg1 string) (*v1.Node, error)

Get mocks base method

func (*MockNodeService) List

func (m *MockNodeService) List(arg0 string, arg1 *models.ListOptions) (*models.NodeList, error)

List mocks base method

func (*MockNodeService) Update

func (m *MockNodeService) Update(arg0 string, arg1 *v1.Node) (*v1.Node, error)

Update mocks base method

func (*MockNodeService) UpdateDesire

func (m *MockNodeService) UpdateDesire(arg0, arg1 string, arg2 v1.Desire) (*models.Shadow, error)

UpdateDesire mocks base method

func (*MockNodeService) UpdateNodeAppVersion

func (m *MockNodeService) UpdateNodeAppVersion(arg0 string, arg1 *v1.Application) ([]string, error)

UpdateNodeAppVersion mocks base method

func (*MockNodeService) UpdateReport

func (m *MockNodeService) UpdateReport(arg0, arg1 string, arg2 v1.Report) (*models.Shadow, error)

UpdateReport mocks base method

type MockNodeServiceMockRecorder

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

MockNodeServiceMockRecorder is the mock recorder for MockNodeService

func (*MockNodeServiceMockRecorder) Create

func (mr *MockNodeServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockNodeServiceMockRecorder) Delete

func (mr *MockNodeServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockNodeServiceMockRecorder) DeleteNodeAppVersion

func (mr *MockNodeServiceMockRecorder) DeleteNodeAppVersion(arg0, arg1 interface{}) *gomock.Call

DeleteNodeAppVersion indicates an expected call of DeleteNodeAppVersion

func (*MockNodeServiceMockRecorder) Get

func (mr *MockNodeServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockNodeServiceMockRecorder) List

func (mr *MockNodeServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockNodeServiceMockRecorder) Update

func (mr *MockNodeServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

func (*MockNodeServiceMockRecorder) UpdateDesire

func (mr *MockNodeServiceMockRecorder) UpdateDesire(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateDesire indicates an expected call of UpdateDesire

func (*MockNodeServiceMockRecorder) UpdateNodeAppVersion

func (mr *MockNodeServiceMockRecorder) UpdateNodeAppVersion(arg0, arg1 interface{}) *gomock.Call

UpdateNodeAppVersion indicates an expected call of UpdateNodeAppVersion

func (*MockNodeServiceMockRecorder) UpdateReport

func (mr *MockNodeServiceMockRecorder) UpdateReport(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateReport indicates an expected call of UpdateReport

type MockObjectService

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

MockObjectService is a mock of ObjectService interface

func NewMockObjectService

func NewMockObjectService(ctrl *gomock.Controller) *MockObjectService

NewMockObjectService creates a new mock instance

func (*MockObjectService) CreateBucketIfNotExist

func (m *MockObjectService) CreateBucketIfNotExist(arg0, arg1, arg2, arg3 string) (*models.Bucket, error)

CreateBucketIfNotExist mocks base method

func (*MockObjectService) EXPECT

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

func (*MockObjectService) GenObjectURL

func (m *MockObjectService) GenObjectURL(arg0 string, arg1 models.ConfigObjectItem) (*models.ObjectURL, error)

GenObjectURL mocks base method

func (*MockObjectService) ListBucketObjects

func (m *MockObjectService) ListBucketObjects(arg0, arg1, arg2 string) (*models.ListObjectsResult, error)

ListBucketObjects mocks base method

func (*MockObjectService) ListBuckets

func (m *MockObjectService) ListBuckets(arg0, arg1 string) ([]models.Bucket, error)

ListBuckets mocks base method

func (*MockObjectService) ListSources

func (m *MockObjectService) ListSources() []models.ObjectStorageSource

ListSources mocks base method

func (*MockObjectService) PutObjectFromURLIfNotExist

func (m *MockObjectService) PutObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 string) error

PutObjectFromURLIfNotExist mocks base method

type MockObjectServiceMockRecorder

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

MockObjectServiceMockRecorder is the mock recorder for MockObjectService

func (*MockObjectServiceMockRecorder) CreateBucketIfNotExist

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

CreateBucketIfNotExist indicates an expected call of CreateBucketIfNotExist

func (*MockObjectServiceMockRecorder) GenObjectURL

func (mr *MockObjectServiceMockRecorder) GenObjectURL(arg0, arg1 interface{}) *gomock.Call

GenObjectURL indicates an expected call of GenObjectURL

func (*MockObjectServiceMockRecorder) ListBucketObjects

func (mr *MockObjectServiceMockRecorder) ListBucketObjects(arg0, arg1, arg2 interface{}) *gomock.Call

ListBucketObjects indicates an expected call of ListBucketObjects

func (*MockObjectServiceMockRecorder) ListBuckets

func (mr *MockObjectServiceMockRecorder) ListBuckets(arg0, arg1 interface{}) *gomock.Call

ListBuckets indicates an expected call of ListBuckets

func (*MockObjectServiceMockRecorder) ListSources

func (mr *MockObjectServiceMockRecorder) ListSources() *gomock.Call

ListSources indicates an expected call of ListSources

func (*MockObjectServiceMockRecorder) PutObjectFromURLIfNotExist

func (mr *MockObjectServiceMockRecorder) PutObjectFromURLIfNotExist(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PutObjectFromURLIfNotExist indicates an expected call of PutObjectFromURLIfNotExist

type MockPKIService

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

MockPKIService is a mock of PKIService interface

func NewMockPKIService

func NewMockPKIService(ctrl *gomock.Controller) *MockPKIService

NewMockPKIService creates a new mock instance

func (*MockPKIService) DeleteClientCertificate

func (m *MockPKIService) DeleteClientCertificate(arg0 string) error

DeleteClientCertificate mocks base method

func (*MockPKIService) DeleteServerCertificate

func (m *MockPKIService) DeleteServerCertificate(arg0 string) error

DeleteServerCertificate mocks base method

func (*MockPKIService) EXPECT

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

func (*MockPKIService) GetCA

func (m *MockPKIService) GetCA() ([]byte, error)

GetCA mocks base method

func (*MockPKIService) SignClientCertificate

func (m *MockPKIService) SignClientCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)

SignClientCertificate mocks base method

func (*MockPKIService) SignServerCertificate

func (m *MockPKIService) SignServerCertificate(arg0 string, arg1 models.AltNames) (*models.PEMCredential, error)

SignServerCertificate mocks base method

type MockPKIServiceMockRecorder

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

MockPKIServiceMockRecorder is the mock recorder for MockPKIService

func (*MockPKIServiceMockRecorder) DeleteClientCertificate

func (mr *MockPKIServiceMockRecorder) DeleteClientCertificate(arg0 interface{}) *gomock.Call

DeleteClientCertificate indicates an expected call of DeleteClientCertificate

func (*MockPKIServiceMockRecorder) DeleteServerCertificate

func (mr *MockPKIServiceMockRecorder) DeleteServerCertificate(arg0 interface{}) *gomock.Call

DeleteServerCertificate indicates an expected call of DeleteServerCertificate

func (*MockPKIServiceMockRecorder) GetCA

func (mr *MockPKIServiceMockRecorder) GetCA() *gomock.Call

GetCA indicates an expected call of GetCA

func (*MockPKIServiceMockRecorder) SignClientCertificate

func (mr *MockPKIServiceMockRecorder) SignClientCertificate(arg0, arg1 interface{}) *gomock.Call

SignClientCertificate indicates an expected call of SignClientCertificate

func (*MockPKIServiceMockRecorder) SignServerCertificate

func (mr *MockPKIServiceMockRecorder) SignServerCertificate(arg0, arg1 interface{}) *gomock.Call

SignServerCertificate indicates an expected call of SignServerCertificate

type MockRegisterService

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

MockRegisterService is a mock of RegisterService interface

func NewMockRegisterService

func NewMockRegisterService(ctrl *gomock.Controller) *MockRegisterService

NewMockRegisterService creates a new mock instance

func (*MockRegisterService) CreateBatch

func (m *MockRegisterService) CreateBatch(arg0 *models.Batch) (*models.Batch, error)

CreateBatch mocks base method

func (*MockRegisterService) CreateRecord

func (m *MockRegisterService) CreateRecord(arg0 *models.Record) (*models.Record, error)

CreateRecord mocks base method

func (*MockRegisterService) DeleteBatch

func (m *MockRegisterService) DeleteBatch(arg0, arg1 string) error

DeleteBatch mocks base method

func (*MockRegisterService) DeleteRecord

func (m *MockRegisterService) DeleteRecord(arg0, arg1, arg2 string) error

DeleteRecord mocks base method

func (*MockRegisterService) DownloadRecords

func (m *MockRegisterService) DownloadRecords(arg0, arg1 string) ([]byte, error)

DownloadRecords mocks base method

func (*MockRegisterService) EXPECT

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

func (*MockRegisterService) GenRecordRandom

func (m *MockRegisterService) GenRecordRandom(arg0, arg1 string, arg2 int) ([]string, error)

GenRecordRandom mocks base method

func (*MockRegisterService) GetBatch

func (m *MockRegisterService) GetBatch(arg0, arg1 string) (*models.Batch, error)

GetBatch mocks base method

func (*MockRegisterService) GetRecord

func (m *MockRegisterService) GetRecord(arg0, arg1, arg2 string) (*models.Record, error)

GetRecord mocks base method

func (*MockRegisterService) GetRecordByFingerprint

func (m *MockRegisterService) GetRecordByFingerprint(arg0, arg1, arg2 string) (*models.Record, error)

GetRecordByFingerprint mocks base method

func (*MockRegisterService) ListBatch

func (m *MockRegisterService) ListBatch(arg0 string, arg1 *models.Filter) (*models.ListView, error)

ListBatch mocks base method

func (*MockRegisterService) ListRecord

func (m *MockRegisterService) ListRecord(arg0, arg1 string, arg2 *models.Filter) (*models.ListView, error)

ListRecord mocks base method

func (*MockRegisterService) UpdateBatch

func (m *MockRegisterService) UpdateBatch(arg0 *models.Batch) (*models.Batch, error)

UpdateBatch mocks base method

func (*MockRegisterService) UpdateRecord

func (m *MockRegisterService) UpdateRecord(arg0 *models.Record) (*models.Record, error)

UpdateRecord mocks base method

type MockRegisterServiceMockRecorder

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

MockRegisterServiceMockRecorder is the mock recorder for MockRegisterService

func (*MockRegisterServiceMockRecorder) CreateBatch

func (mr *MockRegisterServiceMockRecorder) CreateBatch(arg0 interface{}) *gomock.Call

CreateBatch indicates an expected call of CreateBatch

func (*MockRegisterServiceMockRecorder) CreateRecord

func (mr *MockRegisterServiceMockRecorder) CreateRecord(arg0 interface{}) *gomock.Call

CreateRecord indicates an expected call of CreateRecord

func (*MockRegisterServiceMockRecorder) DeleteBatch

func (mr *MockRegisterServiceMockRecorder) DeleteBatch(arg0, arg1 interface{}) *gomock.Call

DeleteBatch indicates an expected call of DeleteBatch

func (*MockRegisterServiceMockRecorder) DeleteRecord

func (mr *MockRegisterServiceMockRecorder) DeleteRecord(arg0, arg1, arg2 interface{}) *gomock.Call

DeleteRecord indicates an expected call of DeleteRecord

func (*MockRegisterServiceMockRecorder) DownloadRecords

func (mr *MockRegisterServiceMockRecorder) DownloadRecords(arg0, arg1 interface{}) *gomock.Call

DownloadRecords indicates an expected call of DownloadRecords

func (*MockRegisterServiceMockRecorder) GenRecordRandom

func (mr *MockRegisterServiceMockRecorder) GenRecordRandom(arg0, arg1, arg2 interface{}) *gomock.Call

GenRecordRandom indicates an expected call of GenRecordRandom

func (*MockRegisterServiceMockRecorder) GetBatch

func (mr *MockRegisterServiceMockRecorder) GetBatch(arg0, arg1 interface{}) *gomock.Call

GetBatch indicates an expected call of GetBatch

func (*MockRegisterServiceMockRecorder) GetRecord

func (mr *MockRegisterServiceMockRecorder) GetRecord(arg0, arg1, arg2 interface{}) *gomock.Call

GetRecord indicates an expected call of GetRecord

func (*MockRegisterServiceMockRecorder) GetRecordByFingerprint

func (mr *MockRegisterServiceMockRecorder) GetRecordByFingerprint(arg0, arg1, arg2 interface{}) *gomock.Call

GetRecordByFingerprint indicates an expected call of GetRecordByFingerprint

func (*MockRegisterServiceMockRecorder) ListBatch

func (mr *MockRegisterServiceMockRecorder) ListBatch(arg0, arg1 interface{}) *gomock.Call

ListBatch indicates an expected call of ListBatch

func (*MockRegisterServiceMockRecorder) ListRecord

func (mr *MockRegisterServiceMockRecorder) ListRecord(arg0, arg1, arg2 interface{}) *gomock.Call

ListRecord indicates an expected call of ListRecord

func (*MockRegisterServiceMockRecorder) UpdateBatch

func (mr *MockRegisterServiceMockRecorder) UpdateBatch(arg0 interface{}) *gomock.Call

UpdateBatch indicates an expected call of UpdateBatch

func (*MockRegisterServiceMockRecorder) UpdateRecord

func (mr *MockRegisterServiceMockRecorder) UpdateRecord(arg0 interface{}) *gomock.Call

UpdateRecord indicates an expected call of UpdateRecord

type MockSecretService

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

MockSecretService is a mock of SecretService interface

func NewMockSecretService

func NewMockSecretService(ctrl *gomock.Controller) *MockSecretService

NewMockSecretService creates a new mock instance

func (*MockSecretService) Create

func (m *MockSecretService) Create(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)

Create mocks base method

func (*MockSecretService) Delete

func (m *MockSecretService) Delete(arg0, arg1 string) error

Delete mocks base method

func (*MockSecretService) EXPECT

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

func (*MockSecretService) Get

func (m *MockSecretService) Get(arg0, arg1, arg2 string) (*v1.Secret, error)

Get mocks base method

func (*MockSecretService) List

List mocks base method

func (*MockSecretService) Update

func (m *MockSecretService) Update(arg0 string, arg1 *v1.Secret) (*v1.Secret, error)

Update mocks base method

type MockSecretServiceMockRecorder

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

MockSecretServiceMockRecorder is the mock recorder for MockSecretService

func (*MockSecretServiceMockRecorder) Create

func (mr *MockSecretServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockSecretServiceMockRecorder) Delete

func (mr *MockSecretServiceMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockSecretServiceMockRecorder) Get

func (mr *MockSecretServiceMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockSecretServiceMockRecorder) List

func (mr *MockSecretServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call

List indicates an expected call of List

func (*MockSecretServiceMockRecorder) Update

func (mr *MockSecretServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call

Update indicates an expected call of Update

type MockSyncService

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

MockSyncService is a mock of SyncService interface

func NewMockSyncService

func NewMockSyncService(ctrl *gomock.Controller) *MockSyncService

NewMockSyncService creates a new mock instance

func (*MockSyncService) Desire

func (m *MockSyncService) Desire(arg0 string, arg1 []v1.ResourceInfo) ([]v1.ResourceValue, error)

Desire mocks base method

func (*MockSyncService) EXPECT

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

func (*MockSyncService) Report

func (m *MockSyncService) Report(arg0, arg1 string, arg2 v1.Report) (v1.Desire, error)

Report mocks base method

type MockSyncServiceMockRecorder

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

MockSyncServiceMockRecorder is the mock recorder for MockSyncService

func (*MockSyncServiceMockRecorder) Desire

func (mr *MockSyncServiceMockRecorder) Desire(arg0, arg1 interface{}) *gomock.Call

Desire indicates an expected call of Desire

func (*MockSyncServiceMockRecorder) Report

func (mr *MockSyncServiceMockRecorder) Report(arg0, arg1, arg2 interface{}) *gomock.Call

Report indicates an expected call of Report

type MockSysConfigService

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

MockSysConfigService is a mock of SysConfigService interface

func NewMockSysConfigService

func NewMockSysConfigService(ctrl *gomock.Controller) *MockSysConfigService

NewMockSysConfigService creates a new mock instance

func (*MockSysConfigService) EXPECT

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

func (*MockSysConfigService) GetSysConfig

func (m *MockSysConfigService) GetSysConfig(arg0, arg1 string) (*models.SysConfig, error)

GetSysConfig mocks base method

func (*MockSysConfigService) ListSysConfigAll

func (m *MockSysConfigService) ListSysConfigAll(arg0 string) ([]models.SysConfig, error)

ListSysConfigAll mocks base method

type MockSysConfigServiceMockRecorder

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

MockSysConfigServiceMockRecorder is the mock recorder for MockSysConfigService

func (*MockSysConfigServiceMockRecorder) GetSysConfig

func (mr *MockSysConfigServiceMockRecorder) GetSysConfig(arg0, arg1 interface{}) *gomock.Call

GetSysConfig indicates an expected call of GetSysConfig

func (*MockSysConfigServiceMockRecorder) ListSysConfigAll

func (mr *MockSysConfigServiceMockRecorder) ListSysConfigAll(arg0 interface{}) *gomock.Call

ListSysConfigAll indicates an expected call of ListSysConfigAll

Jump to

Keyboard shortcuts

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