mock_register

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 7 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.RbacOptions) (string, error)

CreateRemoteAccessToken mocks base method.

func (*MockClusterRegistrant) EXPECT

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.

Jump to

Keyboard shortcuts

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