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) DeleteRemoteAccessResources(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) error
- func (m *MockClusterRegistrant) DeleteRemoteServiceAccount(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) error
- func (m *MockClusterRegistrant) DeregisterCluster(ctx context.Context, masterClusterCfg *rest.Config, opts register.Options) error
- func (m *MockClusterRegistrant) EXPECT() *MockClusterRegistrantMockRecorder
- func (m *MockClusterRegistrant) EnsureRemoteNamespace(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) error
- func (m *MockClusterRegistrant) EnsureRemoteServiceAccount(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, ...) (*v1.ServiceAccount, error)
- func (m *MockClusterRegistrant) RegisterClusterWithToken(ctx context.Context, masterClusterCfg *rest.Config, ...) error
- type MockClusterRegistrantMockRecorder
- func (mr *MockClusterRegistrantMockRecorder) CreateRemoteAccessToken(ctx, remoteClientCfg, sa, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) DeleteRemoteAccessResources(ctx, remoteClientCfg, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) DeleteRemoteServiceAccount(ctx, remoteClientCfg, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) DeregisterCluster(ctx, masterClusterCfg, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) EnsureRemoteNamespace(ctx, remoteClientCfg, remoteNamespace interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) EnsureRemoteServiceAccount(ctx, remoteClientCfg, opts interface{}) *gomock.Call
- func (mr *MockClusterRegistrantMockRecorder) RegisterClusterWithToken(ctx, masterClusterCfg, 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.Options) (string, error)
CreateRemoteAccessToken mocks base method
func (*MockClusterRegistrant) DeleteRemoteAccessResources ¶ added in v0.7.17
func (m *MockClusterRegistrant) DeleteRemoteAccessResources(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, opts register.Options) error
DeleteRemoteAccessResources mocks base method
func (*MockClusterRegistrant) DeleteRemoteServiceAccount ¶ added in v0.7.17
func (m *MockClusterRegistrant) DeleteRemoteServiceAccount(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, opts register.Options) error
DeleteRemoteServiceAccount mocks base method
func (*MockClusterRegistrant) DeregisterCluster ¶ added in v0.7.17
func (m *MockClusterRegistrant) DeregisterCluster(ctx context.Context, masterClusterCfg *rest.Config, opts register.Options) error
DeregisterCluster 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) EnsureRemoteNamespace ¶ added in v0.7.17
func (m *MockClusterRegistrant) EnsureRemoteNamespace(ctx context.Context, remoteClientCfg clientcmd.ClientConfig, remoteNamespace string) error
EnsureRemoteNamespace mocks base method
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, masterClusterCfg *rest.Config, 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) DeleteRemoteAccessResources ¶ added in v0.7.17
func (mr *MockClusterRegistrantMockRecorder) DeleteRemoteAccessResources(ctx, remoteClientCfg, opts interface{}) *gomock.Call
DeleteRemoteAccessResources indicates an expected call of DeleteRemoteAccessResources
func (*MockClusterRegistrantMockRecorder) DeleteRemoteServiceAccount ¶ added in v0.7.17
func (mr *MockClusterRegistrantMockRecorder) DeleteRemoteServiceAccount(ctx, remoteClientCfg, opts interface{}) *gomock.Call
DeleteRemoteServiceAccount indicates an expected call of DeleteRemoteServiceAccount
func (*MockClusterRegistrantMockRecorder) DeregisterCluster ¶ added in v0.7.17
func (mr *MockClusterRegistrantMockRecorder) DeregisterCluster(ctx, masterClusterCfg, opts interface{}) *gomock.Call
DeregisterCluster indicates an expected call of DeregisterCluster
func (*MockClusterRegistrantMockRecorder) EnsureRemoteNamespace ¶ added in v0.7.17
func (mr *MockClusterRegistrantMockRecorder) EnsureRemoteNamespace(ctx, remoteClientCfg, remoteNamespace interface{}) *gomock.Call
EnsureRemoteNamespace indicates an expected call of EnsureRemoteNamespace
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, masterClusterCfg, remoteClientCfg, token, opts interface{}) *gomock.Call
RegisterClusterWithToken indicates an expected call of RegisterClusterWithToken