mock_registration

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_registration is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRegistrationClient

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

MockRegistrationClient is a mock of RegistrationClient interface

func NewMockRegistrationClient

func NewMockRegistrationClient(ctrl *gomock.Controller) *MockRegistrationClient

NewMockRegistrationClient creates a new mock instance

func (*MockRegistrationClient) CreateEntry

CreateEntry mocks base method

func (*MockRegistrationClient) CreateEntryIfNotExists added in v0.10.0

CreateEntryIfNotExists mocks base method

func (*MockRegistrationClient) CreateFederatedBundle

func (m *MockRegistrationClient) CreateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle, arg2 ...grpc.CallOption) (*common.Empty, error)

CreateFederatedBundle mocks base method

func (*MockRegistrationClient) CreateJoinToken

CreateJoinToken mocks base method

func (*MockRegistrationClient) DeleteEntry

DeleteEntry mocks base method

func (*MockRegistrationClient) DeleteFederatedBundle

DeleteFederatedBundle mocks base method

func (*MockRegistrationClient) EXPECT

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

func (*MockRegistrationClient) EvictAgent

EvictAgent mocks base method

func (*MockRegistrationClient) FetchBundle

func (m *MockRegistrationClient) FetchBundle(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (*registration.Bundle, error)

FetchBundle mocks base method

func (*MockRegistrationClient) FetchEntries

FetchEntries mocks base method

func (*MockRegistrationClient) FetchEntry

FetchEntry mocks base method

func (*MockRegistrationClient) FetchFederatedBundle

FetchFederatedBundle mocks base method

func (*MockRegistrationClient) GetNodeSelectors

GetNodeSelectors mocks base method

func (*MockRegistrationClient) ListAgents

ListAgents mocks base method

func (*MockRegistrationClient) ListAllEntriesWithPages added in v0.9.3

ListAllEntriesWithPages mocks base method

func (*MockRegistrationClient) ListByParentID

ListByParentID mocks base method

func (*MockRegistrationClient) ListBySelector

ListBySelector mocks base method

func (*MockRegistrationClient) ListBySelectors

ListBySelectors mocks base method

func (*MockRegistrationClient) ListBySpiffeID

ListBySpiffeID mocks base method

func (*MockRegistrationClient) ListFederatedBundles

ListFederatedBundles mocks base method

func (*MockRegistrationClient) MintJWTSVID

MintJWTSVID mocks base method

func (*MockRegistrationClient) MintX509SVID

MintX509SVID mocks base method

func (*MockRegistrationClient) UpdateEntry

UpdateEntry mocks base method

func (*MockRegistrationClient) UpdateFederatedBundle

func (m *MockRegistrationClient) UpdateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle, arg2 ...grpc.CallOption) (*common.Empty, error)

UpdateFederatedBundle mocks base method

type MockRegistrationClientMockRecorder

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

MockRegistrationClientMockRecorder is the mock recorder for MockRegistrationClient

func (*MockRegistrationClientMockRecorder) CreateEntry

func (mr *MockRegistrationClientMockRecorder) CreateEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateEntry indicates an expected call of CreateEntry

func (*MockRegistrationClientMockRecorder) CreateEntryIfNotExists added in v0.10.0

func (mr *MockRegistrationClientMockRecorder) CreateEntryIfNotExists(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateEntryIfNotExists indicates an expected call of CreateEntryIfNotExists

func (*MockRegistrationClientMockRecorder) CreateFederatedBundle

func (mr *MockRegistrationClientMockRecorder) CreateFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateFederatedBundle indicates an expected call of CreateFederatedBundle

func (*MockRegistrationClientMockRecorder) CreateJoinToken

func (mr *MockRegistrationClientMockRecorder) CreateJoinToken(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

CreateJoinToken indicates an expected call of CreateJoinToken

func (*MockRegistrationClientMockRecorder) DeleteEntry

func (mr *MockRegistrationClientMockRecorder) DeleteEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteEntry indicates an expected call of DeleteEntry

func (*MockRegistrationClientMockRecorder) DeleteFederatedBundle

func (mr *MockRegistrationClientMockRecorder) DeleteFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteFederatedBundle indicates an expected call of DeleteFederatedBundle

func (*MockRegistrationClientMockRecorder) EvictAgent

func (mr *MockRegistrationClientMockRecorder) EvictAgent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

EvictAgent indicates an expected call of EvictAgent

func (*MockRegistrationClientMockRecorder) FetchBundle

func (mr *MockRegistrationClientMockRecorder) FetchBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FetchBundle indicates an expected call of FetchBundle

func (*MockRegistrationClientMockRecorder) FetchEntries

func (mr *MockRegistrationClientMockRecorder) FetchEntries(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FetchEntries indicates an expected call of FetchEntries

func (*MockRegistrationClientMockRecorder) FetchEntry

func (mr *MockRegistrationClientMockRecorder) FetchEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FetchEntry indicates an expected call of FetchEntry

func (*MockRegistrationClientMockRecorder) FetchFederatedBundle

func (mr *MockRegistrationClientMockRecorder) FetchFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

FetchFederatedBundle indicates an expected call of FetchFederatedBundle

func (*MockRegistrationClientMockRecorder) GetNodeSelectors

func (mr *MockRegistrationClientMockRecorder) GetNodeSelectors(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetNodeSelectors indicates an expected call of GetNodeSelectors

func (*MockRegistrationClientMockRecorder) ListAgents

func (mr *MockRegistrationClientMockRecorder) ListAgents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListAgents indicates an expected call of ListAgents

func (*MockRegistrationClientMockRecorder) ListAllEntriesWithPages added in v0.9.3

func (mr *MockRegistrationClientMockRecorder) ListAllEntriesWithPages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListAllEntriesWithPages indicates an expected call of ListAllEntriesWithPages

func (*MockRegistrationClientMockRecorder) ListByParentID

func (mr *MockRegistrationClientMockRecorder) ListByParentID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListByParentID indicates an expected call of ListByParentID

func (*MockRegistrationClientMockRecorder) ListBySelector

func (mr *MockRegistrationClientMockRecorder) ListBySelector(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListBySelector indicates an expected call of ListBySelector

func (*MockRegistrationClientMockRecorder) ListBySelectors

func (mr *MockRegistrationClientMockRecorder) ListBySelectors(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListBySelectors indicates an expected call of ListBySelectors

func (*MockRegistrationClientMockRecorder) ListBySpiffeID

func (mr *MockRegistrationClientMockRecorder) ListBySpiffeID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListBySpiffeID indicates an expected call of ListBySpiffeID

func (*MockRegistrationClientMockRecorder) ListFederatedBundles

func (mr *MockRegistrationClientMockRecorder) ListFederatedBundles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListFederatedBundles indicates an expected call of ListFederatedBundles

func (*MockRegistrationClientMockRecorder) MintJWTSVID

func (mr *MockRegistrationClientMockRecorder) MintJWTSVID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

MintJWTSVID indicates an expected call of MintJWTSVID

func (*MockRegistrationClientMockRecorder) MintX509SVID

func (mr *MockRegistrationClientMockRecorder) MintX509SVID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

MintX509SVID indicates an expected call of MintX509SVID

func (*MockRegistrationClientMockRecorder) UpdateEntry

func (mr *MockRegistrationClientMockRecorder) UpdateEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateEntry indicates an expected call of UpdateEntry

func (*MockRegistrationClientMockRecorder) UpdateFederatedBundle

func (mr *MockRegistrationClientMockRecorder) UpdateFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

UpdateFederatedBundle indicates an expected call of UpdateFederatedBundle

type MockRegistrationServer

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

MockRegistrationServer is a mock of RegistrationServer interface

func NewMockRegistrationServer

func NewMockRegistrationServer(ctrl *gomock.Controller) *MockRegistrationServer

NewMockRegistrationServer creates a new mock instance

func (*MockRegistrationServer) CreateEntry

CreateEntry mocks base method

func (*MockRegistrationServer) CreateEntryIfNotExists added in v0.10.0

CreateEntryIfNotExists mocks base method

func (*MockRegistrationServer) CreateFederatedBundle

func (m *MockRegistrationServer) CreateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle) (*common.Empty, error)

CreateFederatedBundle mocks base method

func (*MockRegistrationServer) CreateJoinToken

CreateJoinToken mocks base method

func (*MockRegistrationServer) DeleteEntry

DeleteEntry mocks base method

func (*MockRegistrationServer) DeleteFederatedBundle

DeleteFederatedBundle mocks base method

func (*MockRegistrationServer) EXPECT

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

func (*MockRegistrationServer) EvictAgent

EvictAgent mocks base method

func (*MockRegistrationServer) FetchBundle

func (m *MockRegistrationServer) FetchBundle(arg0 context.Context, arg1 *common.Empty) (*registration.Bundle, error)

FetchBundle mocks base method

func (*MockRegistrationServer) FetchEntries

FetchEntries mocks base method

func (*MockRegistrationServer) FetchEntry

FetchEntry mocks base method

func (*MockRegistrationServer) FetchFederatedBundle

FetchFederatedBundle mocks base method

func (*MockRegistrationServer) GetNodeSelectors

GetNodeSelectors mocks base method

func (*MockRegistrationServer) ListAgents

ListAgents mocks base method

func (*MockRegistrationServer) ListAllEntriesWithPages added in v0.9.3

ListAllEntriesWithPages mocks base method

func (*MockRegistrationServer) ListByParentID

ListByParentID mocks base method

func (*MockRegistrationServer) ListBySelector

ListBySelector mocks base method

func (*MockRegistrationServer) ListBySelectors

ListBySelectors mocks base method

func (*MockRegistrationServer) ListBySpiffeID

ListBySpiffeID mocks base method

func (*MockRegistrationServer) ListFederatedBundles

ListFederatedBundles mocks base method

func (*MockRegistrationServer) MintJWTSVID

MintJWTSVID mocks base method

func (*MockRegistrationServer) MintX509SVID

MintX509SVID mocks base method

func (*MockRegistrationServer) UpdateEntry

UpdateEntry mocks base method

func (*MockRegistrationServer) UpdateFederatedBundle

func (m *MockRegistrationServer) UpdateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle) (*common.Empty, error)

UpdateFederatedBundle mocks base method

type MockRegistrationServerMockRecorder

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

MockRegistrationServerMockRecorder is the mock recorder for MockRegistrationServer

func (*MockRegistrationServerMockRecorder) CreateEntry

func (mr *MockRegistrationServerMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call

CreateEntry indicates an expected call of CreateEntry

func (*MockRegistrationServerMockRecorder) CreateEntryIfNotExists added in v0.10.0

func (mr *MockRegistrationServerMockRecorder) CreateEntryIfNotExists(arg0, arg1 interface{}) *gomock.Call

CreateEntryIfNotExists indicates an expected call of CreateEntryIfNotExists

func (*MockRegistrationServerMockRecorder) CreateFederatedBundle

func (mr *MockRegistrationServerMockRecorder) CreateFederatedBundle(arg0, arg1 interface{}) *gomock.Call

CreateFederatedBundle indicates an expected call of CreateFederatedBundle

func (*MockRegistrationServerMockRecorder) CreateJoinToken

func (mr *MockRegistrationServerMockRecorder) CreateJoinToken(arg0, arg1 interface{}) *gomock.Call

CreateJoinToken indicates an expected call of CreateJoinToken

func (*MockRegistrationServerMockRecorder) DeleteEntry

func (mr *MockRegistrationServerMockRecorder) DeleteEntry(arg0, arg1 interface{}) *gomock.Call

DeleteEntry indicates an expected call of DeleteEntry

func (*MockRegistrationServerMockRecorder) DeleteFederatedBundle

func (mr *MockRegistrationServerMockRecorder) DeleteFederatedBundle(arg0, arg1 interface{}) *gomock.Call

DeleteFederatedBundle indicates an expected call of DeleteFederatedBundle

func (*MockRegistrationServerMockRecorder) EvictAgent

func (mr *MockRegistrationServerMockRecorder) EvictAgent(arg0, arg1 interface{}) *gomock.Call

EvictAgent indicates an expected call of EvictAgent

func (*MockRegistrationServerMockRecorder) FetchBundle

func (mr *MockRegistrationServerMockRecorder) FetchBundle(arg0, arg1 interface{}) *gomock.Call

FetchBundle indicates an expected call of FetchBundle

func (*MockRegistrationServerMockRecorder) FetchEntries

func (mr *MockRegistrationServerMockRecorder) FetchEntries(arg0, arg1 interface{}) *gomock.Call

FetchEntries indicates an expected call of FetchEntries

func (*MockRegistrationServerMockRecorder) FetchEntry

func (mr *MockRegistrationServerMockRecorder) FetchEntry(arg0, arg1 interface{}) *gomock.Call

FetchEntry indicates an expected call of FetchEntry

func (*MockRegistrationServerMockRecorder) FetchFederatedBundle

func (mr *MockRegistrationServerMockRecorder) FetchFederatedBundle(arg0, arg1 interface{}) *gomock.Call

FetchFederatedBundle indicates an expected call of FetchFederatedBundle

func (*MockRegistrationServerMockRecorder) GetNodeSelectors

func (mr *MockRegistrationServerMockRecorder) GetNodeSelectors(arg0, arg1 interface{}) *gomock.Call

GetNodeSelectors indicates an expected call of GetNodeSelectors

func (*MockRegistrationServerMockRecorder) ListAgents

func (mr *MockRegistrationServerMockRecorder) ListAgents(arg0, arg1 interface{}) *gomock.Call

ListAgents indicates an expected call of ListAgents

func (*MockRegistrationServerMockRecorder) ListAllEntriesWithPages added in v0.9.3

func (mr *MockRegistrationServerMockRecorder) ListAllEntriesWithPages(arg0, arg1 interface{}) *gomock.Call

ListAllEntriesWithPages indicates an expected call of ListAllEntriesWithPages

func (*MockRegistrationServerMockRecorder) ListByParentID

func (mr *MockRegistrationServerMockRecorder) ListByParentID(arg0, arg1 interface{}) *gomock.Call

ListByParentID indicates an expected call of ListByParentID

func (*MockRegistrationServerMockRecorder) ListBySelector

func (mr *MockRegistrationServerMockRecorder) ListBySelector(arg0, arg1 interface{}) *gomock.Call

ListBySelector indicates an expected call of ListBySelector

func (*MockRegistrationServerMockRecorder) ListBySelectors

func (mr *MockRegistrationServerMockRecorder) ListBySelectors(arg0, arg1 interface{}) *gomock.Call

ListBySelectors indicates an expected call of ListBySelectors

func (*MockRegistrationServerMockRecorder) ListBySpiffeID

func (mr *MockRegistrationServerMockRecorder) ListBySpiffeID(arg0, arg1 interface{}) *gomock.Call

ListBySpiffeID indicates an expected call of ListBySpiffeID

func (*MockRegistrationServerMockRecorder) ListFederatedBundles

func (mr *MockRegistrationServerMockRecorder) ListFederatedBundles(arg0, arg1 interface{}) *gomock.Call

ListFederatedBundles indicates an expected call of ListFederatedBundles

func (*MockRegistrationServerMockRecorder) MintJWTSVID

func (mr *MockRegistrationServerMockRecorder) MintJWTSVID(arg0, arg1 interface{}) *gomock.Call

MintJWTSVID indicates an expected call of MintJWTSVID

func (*MockRegistrationServerMockRecorder) MintX509SVID

func (mr *MockRegistrationServerMockRecorder) MintX509SVID(arg0, arg1 interface{}) *gomock.Call

MintX509SVID indicates an expected call of MintX509SVID

func (*MockRegistrationServerMockRecorder) UpdateEntry

func (mr *MockRegistrationServerMockRecorder) UpdateEntry(arg0, arg1 interface{}) *gomock.Call

UpdateEntry indicates an expected call of UpdateEntry

func (*MockRegistrationServerMockRecorder) UpdateFederatedBundle

func (mr *MockRegistrationServerMockRecorder) UpdateFederatedBundle(arg0, arg1 interface{}) *gomock.Call

UpdateFederatedBundle indicates an expected call of UpdateFederatedBundle

Jump to

Keyboard shortcuts

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