Documentation ¶
Overview ¶
Package mock_register is a generated GoMock package.
Index ¶
- type MockClusterRegistrant
- func (m *MockClusterRegistrant) CreateRemoteAccessToken(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) (string, error)
- func (m *MockClusterRegistrant) EXPECT() *MockClusterRegistrantMockRecorder
- func (m *MockClusterRegistrant) EnsureRemoteServiceAccount(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) (*v1.ServiceAccount, error)
- func (m *MockClusterRegistrant) RegisterClusterWithToken(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, token string, ...) error
- type MockClusterRegistrantMockRecorder
- func (mr *MockClusterRegistrantMockRecorder) CreateRemoteAccessToken(ctx, remoteClientCfg, sa, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) EnsureRemoteServiceAccount(ctx, remoteClientCfg, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) RegisterClusterWithToken(ctx, remoteClientCfg, token, opts interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClusterRegistrant ¶
type MockClusterRegistrant struct {
// contains filtered or unexported fields
}
MockClusterRegistrant is a mock of ClusterRegistrant interface.
func NewMockClusterRegistrant ¶
func NewMockClusterRegistrant(ctrl *gomock.Controller) *MockClusterRegistrant
NewMockClusterRegistrant creates a new mock instance.
func (*MockClusterRegistrant) CreateRemoteAccessToken ¶
func (m *MockClusterRegistrant) CreateRemoteAccessToken(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, sa client.ObjectKey, opts register.RbacOptions) (string, error)
CreateRemoteAccessToken mocks base method.
func (*MockClusterRegistrant) EXPECT ¶
func (m *MockClusterRegistrant) EXPECT() *MockClusterRegistrantMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterRegistrant) EnsureRemoteServiceAccount ¶
func (m *MockClusterRegistrant) EnsureRemoteServiceAccount(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, opts register.Options) (*v1.ServiceAccount, error)
EnsureRemoteServiceAccount mocks base method.
func (*MockClusterRegistrant) RegisterClusterWithToken ¶
func (m *MockClusterRegistrant) RegisterClusterWithToken(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, token string, opts register.Options) error
RegisterClusterWithToken mocks base method.
type MockClusterRegistrantMockRecorder ¶
type MockClusterRegistrantMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterRegistrantMockRecorder is the mock recorder for MockClusterRegistrant.
func (*MockClusterRegistrantMockRecorder) CreateRemoteAccessToken ¶
func (mr *MockClusterRegistrantMockRecorder) CreateRemoteAccessToken(ctx, remoteClientCfg, sa, opts interface{}) *gomock.Call
CreateRemoteAccessToken indicates an expected call of CreateRemoteAccessToken.
func (*MockClusterRegistrantMockRecorder) EnsureRemoteServiceAccount ¶
func (mr *MockClusterRegistrantMockRecorder) EnsureRemoteServiceAccount(ctx, remoteClientCfg, opts interface{}) *gomock.Call
EnsureRemoteServiceAccount indicates an expected call of EnsureRemoteServiceAccount.
func (*MockClusterRegistrantMockRecorder) RegisterClusterWithToken ¶
func (mr *MockClusterRegistrantMockRecorder) RegisterClusterWithToken(ctx, remoteClientCfg, token, opts interface{}) *gomock.Call
RegisterClusterWithToken indicates an expected call of RegisterClusterWithToken.