mock_register

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_register is a generated GoMock package.

Index

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

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

Jump to

Keyboard shortcuts

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