Documentation ¶
Overview ¶
Package mock_registration is a generated GoMock package.
Index ¶
- type MockRegistrationClient
- func (m *MockRegistrationClient) CreateEntry(arg0 context.Context, arg1 *common.RegistrationEntry, arg2 ...grpc.CallOption) (*registration.RegistrationEntryID, error)
- func (m *MockRegistrationClient) CreateEntryIfNotExists(arg0 context.Context, arg1 *common.RegistrationEntry, arg2 ...grpc.CallOption) (*registration.CreateEntryIfNotExistsResponse, error)
- func (m *MockRegistrationClient) CreateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle, ...) (*common.Empty, error)
- func (m *MockRegistrationClient) CreateJoinToken(arg0 context.Context, arg1 *registration.JoinToken, arg2 ...grpc.CallOption) (*registration.JoinToken, error)
- func (m *MockRegistrationClient) DeleteEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID, ...) (*common.RegistrationEntry, error)
- func (m *MockRegistrationClient) DeleteFederatedBundle(arg0 context.Context, arg1 *registration.DeleteFederatedBundleRequest, ...) (*common.Empty, error)
- func (m *MockRegistrationClient) EXPECT() *MockRegistrationClientMockRecorder
- func (m *MockRegistrationClient) EvictAgent(arg0 context.Context, arg1 *registration.EvictAgentRequest, ...) (*registration.EvictAgentResponse, error)
- func (m *MockRegistrationClient) FetchBundle(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (*registration.Bundle, error)
- func (m *MockRegistrationClient) FetchEntries(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
- func (m *MockRegistrationClient) FetchEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID, ...) (*common.RegistrationEntry, error)
- func (m *MockRegistrationClient) FetchFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundleID, ...) (*registration.FederatedBundle, error)
- func (m *MockRegistrationClient) GetNodeSelectors(arg0 context.Context, arg1 *registration.GetNodeSelectorsRequest, ...) (*registration.GetNodeSelectorsResponse, error)
- func (m *MockRegistrationClient) ListAgents(arg0 context.Context, arg1 *registration.ListAgentsRequest, ...) (*registration.ListAgentsResponse, error)
- func (m *MockRegistrationClient) ListAllEntriesWithPages(arg0 context.Context, arg1 *registration.ListAllEntriesRequest, ...) (*registration.ListAllEntriesResponse, error)
- func (m *MockRegistrationClient) ListByParentID(arg0 context.Context, arg1 *registration.ParentID, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
- func (m *MockRegistrationClient) ListBySelector(arg0 context.Context, arg1 *common.Selector, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
- func (m *MockRegistrationClient) ListBySelectors(arg0 context.Context, arg1 *common.Selectors, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
- func (m *MockRegistrationClient) ListBySpiffeID(arg0 context.Context, arg1 *registration.SpiffeID, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
- func (m *MockRegistrationClient) ListFederatedBundles(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (registration.Registration_ListFederatedBundlesClient, error)
- func (m *MockRegistrationClient) MintJWTSVID(arg0 context.Context, arg1 *registration.MintJWTSVIDRequest, ...) (*registration.MintJWTSVIDResponse, error)
- func (m *MockRegistrationClient) MintX509SVID(arg0 context.Context, arg1 *registration.MintX509SVIDRequest, ...) (*registration.MintX509SVIDResponse, error)
- func (m *MockRegistrationClient) UpdateEntry(arg0 context.Context, arg1 *registration.UpdateEntryRequest, ...) (*common.RegistrationEntry, error)
- func (m *MockRegistrationClient) UpdateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle, ...) (*common.Empty, error)
- type MockRegistrationClientMockRecorder
- func (mr *MockRegistrationClientMockRecorder) CreateEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) CreateEntryIfNotExists(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) CreateFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) CreateJoinToken(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) DeleteEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) DeleteFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) EvictAgent(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) FetchBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) FetchEntries(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) FetchEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) FetchFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) GetNodeSelectors(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListAgents(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListAllEntriesWithPages(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListByParentID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListBySelector(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListBySelectors(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListBySpiffeID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) ListFederatedBundles(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) MintJWTSVID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) MintX509SVID(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) UpdateEntry(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockRegistrationClientMockRecorder) UpdateFederatedBundle(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- type MockRegistrationServer
- func (m *MockRegistrationServer) CreateEntry(arg0 context.Context, arg1 *common.RegistrationEntry) (*registration.RegistrationEntryID, error)
- func (m *MockRegistrationServer) CreateEntryIfNotExists(arg0 context.Context, arg1 *common.RegistrationEntry) (*registration.CreateEntryIfNotExistsResponse, error)
- func (m *MockRegistrationServer) CreateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle) (*common.Empty, error)
- func (m *MockRegistrationServer) CreateJoinToken(arg0 context.Context, arg1 *registration.JoinToken) (*registration.JoinToken, error)
- func (m *MockRegistrationServer) DeleteEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID) (*common.RegistrationEntry, error)
- func (m *MockRegistrationServer) DeleteFederatedBundle(arg0 context.Context, arg1 *registration.DeleteFederatedBundleRequest) (*common.Empty, error)
- func (m *MockRegistrationServer) EXPECT() *MockRegistrationServerMockRecorder
- func (m *MockRegistrationServer) EvictAgent(arg0 context.Context, arg1 *registration.EvictAgentRequest) (*registration.EvictAgentResponse, error)
- func (m *MockRegistrationServer) FetchBundle(arg0 context.Context, arg1 *common.Empty) (*registration.Bundle, error)
- func (m *MockRegistrationServer) FetchEntries(arg0 context.Context, arg1 *common.Empty) (*common.RegistrationEntries, error)
- func (m *MockRegistrationServer) FetchEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID) (*common.RegistrationEntry, error)
- func (m *MockRegistrationServer) FetchFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundleID) (*registration.FederatedBundle, error)
- func (m *MockRegistrationServer) GetNodeSelectors(arg0 context.Context, arg1 *registration.GetNodeSelectorsRequest) (*registration.GetNodeSelectorsResponse, error)
- func (m *MockRegistrationServer) ListAgents(arg0 context.Context, arg1 *registration.ListAgentsRequest) (*registration.ListAgentsResponse, error)
- func (m *MockRegistrationServer) ListAllEntriesWithPages(arg0 context.Context, arg1 *registration.ListAllEntriesRequest) (*registration.ListAllEntriesResponse, error)
- func (m *MockRegistrationServer) ListByParentID(arg0 context.Context, arg1 *registration.ParentID) (*common.RegistrationEntries, error)
- func (m *MockRegistrationServer) ListBySelector(arg0 context.Context, arg1 *common.Selector) (*common.RegistrationEntries, error)
- func (m *MockRegistrationServer) ListBySelectors(arg0 context.Context, arg1 *common.Selectors) (*common.RegistrationEntries, error)
- func (m *MockRegistrationServer) ListBySpiffeID(arg0 context.Context, arg1 *registration.SpiffeID) (*common.RegistrationEntries, error)
- func (m *MockRegistrationServer) ListFederatedBundles(arg0 *common.Empty, arg1 registration.Registration_ListFederatedBundlesServer) error
- func (m *MockRegistrationServer) MintJWTSVID(arg0 context.Context, arg1 *registration.MintJWTSVIDRequest) (*registration.MintJWTSVIDResponse, error)
- func (m *MockRegistrationServer) MintX509SVID(arg0 context.Context, arg1 *registration.MintX509SVIDRequest) (*registration.MintX509SVIDResponse, error)
- func (m *MockRegistrationServer) UpdateEntry(arg0 context.Context, arg1 *registration.UpdateEntryRequest) (*common.RegistrationEntry, error)
- func (m *MockRegistrationServer) UpdateFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundle) (*common.Empty, error)
- type MockRegistrationServerMockRecorder
- func (mr *MockRegistrationServerMockRecorder) CreateEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) CreateEntryIfNotExists(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) CreateFederatedBundle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) CreateJoinToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) DeleteEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) DeleteFederatedBundle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) EvictAgent(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) FetchBundle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) FetchEntries(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) FetchEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) FetchFederatedBundle(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) GetNodeSelectors(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListAgents(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListAllEntriesWithPages(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListByParentID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListBySelector(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListBySelectors(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListBySpiffeID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) ListFederatedBundles(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) MintJWTSVID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) MintX509SVID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) UpdateEntry(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistrationServerMockRecorder) UpdateFederatedBundle(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockRegistrationClient) CreateEntry(arg0 context.Context, arg1 *common.RegistrationEntry, arg2 ...grpc.CallOption) (*registration.RegistrationEntryID, error)
CreateEntry mocks base method
func (*MockRegistrationClient) CreateEntryIfNotExists ¶ added in v0.10.0
func (m *MockRegistrationClient) CreateEntryIfNotExists(arg0 context.Context, arg1 *common.RegistrationEntry, arg2 ...grpc.CallOption) (*registration.CreateEntryIfNotExistsResponse, error)
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 ¶
func (m *MockRegistrationClient) CreateJoinToken(arg0 context.Context, arg1 *registration.JoinToken, arg2 ...grpc.CallOption) (*registration.JoinToken, error)
CreateJoinToken mocks base method
func (*MockRegistrationClient) DeleteEntry ¶
func (m *MockRegistrationClient) DeleteEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID, arg2 ...grpc.CallOption) (*common.RegistrationEntry, error)
DeleteEntry mocks base method
func (*MockRegistrationClient) DeleteFederatedBundle ¶
func (m *MockRegistrationClient) DeleteFederatedBundle(arg0 context.Context, arg1 *registration.DeleteFederatedBundleRequest, arg2 ...grpc.CallOption) (*common.Empty, error)
DeleteFederatedBundle mocks base method
func (*MockRegistrationClient) EXPECT ¶
func (m *MockRegistrationClient) EXPECT() *MockRegistrationClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistrationClient) EvictAgent ¶
func (m *MockRegistrationClient) EvictAgent(arg0 context.Context, arg1 *registration.EvictAgentRequest, arg2 ...grpc.CallOption) (*registration.EvictAgentResponse, error)
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 ¶
func (m *MockRegistrationClient) FetchEntries(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
FetchEntries mocks base method
func (*MockRegistrationClient) FetchEntry ¶
func (m *MockRegistrationClient) FetchEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID, arg2 ...grpc.CallOption) (*common.RegistrationEntry, error)
FetchEntry mocks base method
func (*MockRegistrationClient) FetchFederatedBundle ¶
func (m *MockRegistrationClient) FetchFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundleID, arg2 ...grpc.CallOption) (*registration.FederatedBundle, error)
FetchFederatedBundle mocks base method
func (*MockRegistrationClient) GetNodeSelectors ¶
func (m *MockRegistrationClient) GetNodeSelectors(arg0 context.Context, arg1 *registration.GetNodeSelectorsRequest, arg2 ...grpc.CallOption) (*registration.GetNodeSelectorsResponse, error)
GetNodeSelectors mocks base method
func (*MockRegistrationClient) ListAgents ¶
func (m *MockRegistrationClient) ListAgents(arg0 context.Context, arg1 *registration.ListAgentsRequest, arg2 ...grpc.CallOption) (*registration.ListAgentsResponse, error)
ListAgents mocks base method
func (*MockRegistrationClient) ListAllEntriesWithPages ¶ added in v0.9.3
func (m *MockRegistrationClient) ListAllEntriesWithPages(arg0 context.Context, arg1 *registration.ListAllEntriesRequest, arg2 ...grpc.CallOption) (*registration.ListAllEntriesResponse, error)
ListAllEntriesWithPages mocks base method
func (*MockRegistrationClient) ListByParentID ¶
func (m *MockRegistrationClient) ListByParentID(arg0 context.Context, arg1 *registration.ParentID, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
ListByParentID mocks base method
func (*MockRegistrationClient) ListBySelector ¶
func (m *MockRegistrationClient) ListBySelector(arg0 context.Context, arg1 *common.Selector, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
ListBySelector mocks base method
func (*MockRegistrationClient) ListBySelectors ¶
func (m *MockRegistrationClient) ListBySelectors(arg0 context.Context, arg1 *common.Selectors, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
ListBySelectors mocks base method
func (*MockRegistrationClient) ListBySpiffeID ¶
func (m *MockRegistrationClient) ListBySpiffeID(arg0 context.Context, arg1 *registration.SpiffeID, arg2 ...grpc.CallOption) (*common.RegistrationEntries, error)
ListBySpiffeID mocks base method
func (*MockRegistrationClient) ListFederatedBundles ¶
func (m *MockRegistrationClient) ListFederatedBundles(arg0 context.Context, arg1 *common.Empty, arg2 ...grpc.CallOption) (registration.Registration_ListFederatedBundlesClient, error)
ListFederatedBundles mocks base method
func (*MockRegistrationClient) MintJWTSVID ¶
func (m *MockRegistrationClient) MintJWTSVID(arg0 context.Context, arg1 *registration.MintJWTSVIDRequest, arg2 ...grpc.CallOption) (*registration.MintJWTSVIDResponse, error)
MintJWTSVID mocks base method
func (*MockRegistrationClient) MintX509SVID ¶
func (m *MockRegistrationClient) MintX509SVID(arg0 context.Context, arg1 *registration.MintX509SVIDRequest, arg2 ...grpc.CallOption) (*registration.MintX509SVIDResponse, error)
MintX509SVID mocks base method
func (*MockRegistrationClient) UpdateEntry ¶
func (m *MockRegistrationClient) UpdateEntry(arg0 context.Context, arg1 *registration.UpdateEntryRequest, arg2 ...grpc.CallOption) (*common.RegistrationEntry, error)
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 ¶
func (m *MockRegistrationServer) CreateEntry(arg0 context.Context, arg1 *common.RegistrationEntry) (*registration.RegistrationEntryID, error)
CreateEntry mocks base method
func (*MockRegistrationServer) CreateEntryIfNotExists ¶ added in v0.10.0
func (m *MockRegistrationServer) CreateEntryIfNotExists(arg0 context.Context, arg1 *common.RegistrationEntry) (*registration.CreateEntryIfNotExistsResponse, error)
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 ¶
func (m *MockRegistrationServer) CreateJoinToken(arg0 context.Context, arg1 *registration.JoinToken) (*registration.JoinToken, error)
CreateJoinToken mocks base method
func (*MockRegistrationServer) DeleteEntry ¶
func (m *MockRegistrationServer) DeleteEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID) (*common.RegistrationEntry, error)
DeleteEntry mocks base method
func (*MockRegistrationServer) DeleteFederatedBundle ¶
func (m *MockRegistrationServer) DeleteFederatedBundle(arg0 context.Context, arg1 *registration.DeleteFederatedBundleRequest) (*common.Empty, error)
DeleteFederatedBundle mocks base method
func (*MockRegistrationServer) EXPECT ¶
func (m *MockRegistrationServer) EXPECT() *MockRegistrationServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistrationServer) EvictAgent ¶
func (m *MockRegistrationServer) EvictAgent(arg0 context.Context, arg1 *registration.EvictAgentRequest) (*registration.EvictAgentResponse, error)
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 ¶
func (m *MockRegistrationServer) FetchEntries(arg0 context.Context, arg1 *common.Empty) (*common.RegistrationEntries, error)
FetchEntries mocks base method
func (*MockRegistrationServer) FetchEntry ¶
func (m *MockRegistrationServer) FetchEntry(arg0 context.Context, arg1 *registration.RegistrationEntryID) (*common.RegistrationEntry, error)
FetchEntry mocks base method
func (*MockRegistrationServer) FetchFederatedBundle ¶
func (m *MockRegistrationServer) FetchFederatedBundle(arg0 context.Context, arg1 *registration.FederatedBundleID) (*registration.FederatedBundle, error)
FetchFederatedBundle mocks base method
func (*MockRegistrationServer) GetNodeSelectors ¶
func (m *MockRegistrationServer) GetNodeSelectors(arg0 context.Context, arg1 *registration.GetNodeSelectorsRequest) (*registration.GetNodeSelectorsResponse, error)
GetNodeSelectors mocks base method
func (*MockRegistrationServer) ListAgents ¶
func (m *MockRegistrationServer) ListAgents(arg0 context.Context, arg1 *registration.ListAgentsRequest) (*registration.ListAgentsResponse, error)
ListAgents mocks base method
func (*MockRegistrationServer) ListAllEntriesWithPages ¶ added in v0.9.3
func (m *MockRegistrationServer) ListAllEntriesWithPages(arg0 context.Context, arg1 *registration.ListAllEntriesRequest) (*registration.ListAllEntriesResponse, error)
ListAllEntriesWithPages mocks base method
func (*MockRegistrationServer) ListByParentID ¶
func (m *MockRegistrationServer) ListByParentID(arg0 context.Context, arg1 *registration.ParentID) (*common.RegistrationEntries, error)
ListByParentID mocks base method
func (*MockRegistrationServer) ListBySelector ¶
func (m *MockRegistrationServer) ListBySelector(arg0 context.Context, arg1 *common.Selector) (*common.RegistrationEntries, error)
ListBySelector mocks base method
func (*MockRegistrationServer) ListBySelectors ¶
func (m *MockRegistrationServer) ListBySelectors(arg0 context.Context, arg1 *common.Selectors) (*common.RegistrationEntries, error)
ListBySelectors mocks base method
func (*MockRegistrationServer) ListBySpiffeID ¶
func (m *MockRegistrationServer) ListBySpiffeID(arg0 context.Context, arg1 *registration.SpiffeID) (*common.RegistrationEntries, error)
ListBySpiffeID mocks base method
func (*MockRegistrationServer) ListFederatedBundles ¶
func (m *MockRegistrationServer) ListFederatedBundles(arg0 *common.Empty, arg1 registration.Registration_ListFederatedBundlesServer) error
ListFederatedBundles mocks base method
func (*MockRegistrationServer) MintJWTSVID ¶
func (m *MockRegistrationServer) MintJWTSVID(arg0 context.Context, arg1 *registration.MintJWTSVIDRequest) (*registration.MintJWTSVIDResponse, error)
MintJWTSVID mocks base method
func (*MockRegistrationServer) MintX509SVID ¶
func (m *MockRegistrationServer) MintX509SVID(arg0 context.Context, arg1 *registration.MintX509SVIDRequest) (*registration.MintX509SVIDResponse, error)
MintX509SVID mocks base method
func (*MockRegistrationServer) UpdateEntry ¶
func (m *MockRegistrationServer) UpdateEntry(arg0 context.Context, arg1 *registration.UpdateEntryRequest) (*common.RegistrationEntry, error)
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