mock

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBuilder

type MockBuilder struct {
	// contains filtered or unexported fields
}

MockBuilder is a mock of Builder interface

func NewMockBuilder

func NewMockBuilder(ctrl *gomock.Controller) *MockBuilder

NewMockBuilder creates a new mock instance

func (*MockBuilder) Build

func (m *MockBuilder) Build() (client.Client, error)

Build mocks base method

func (*MockBuilder) BuildDynamic

func (m *MockBuilder) BuildDynamic() (dynamic.Interface, error)

BuildDynamic mocks base method

func (*MockBuilder) BuildKubeClient added in v1.0.6

func (m *MockBuilder) BuildKubeClient() (kubernetes.Interface, error)

BuildKubeClient mocks base method

func (*MockBuilder) EXPECT

func (m *MockBuilder) EXPECT() *MockBuilderMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBuilder) RESTConfig

func (m *MockBuilder) RESTConfig() (*rest.Config, error)

RESTConfig mocks base method

func (*MockBuilder) UsePrimaryAPIURL

func (m *MockBuilder) UsePrimaryAPIURL() remoteclient.Builder

UsePrimaryAPIURL mocks base method

func (*MockBuilder) UseSecondaryAPIURL

func (m *MockBuilder) UseSecondaryAPIURL() remoteclient.Builder

UseSecondaryAPIURL mocks base method

type MockBuilderMockRecorder

type MockBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockBuilderMockRecorder is the mock recorder for MockBuilder

func (*MockBuilderMockRecorder) Build

func (mr *MockBuilderMockRecorder) Build() *gomock.Call

Build indicates an expected call of Build

func (*MockBuilderMockRecorder) BuildDynamic

func (mr *MockBuilderMockRecorder) BuildDynamic() *gomock.Call

BuildDynamic indicates an expected call of BuildDynamic

func (*MockBuilderMockRecorder) BuildKubeClient added in v1.0.6

func (mr *MockBuilderMockRecorder) BuildKubeClient() *gomock.Call

BuildKubeClient indicates an expected call of BuildKubeClient

func (*MockBuilderMockRecorder) RESTConfig

func (mr *MockBuilderMockRecorder) RESTConfig() *gomock.Call

RESTConfig indicates an expected call of RESTConfig

func (*MockBuilderMockRecorder) UsePrimaryAPIURL

func (mr *MockBuilderMockRecorder) UsePrimaryAPIURL() *gomock.Call

UsePrimaryAPIURL indicates an expected call of UsePrimaryAPIURL

func (*MockBuilderMockRecorder) UseSecondaryAPIURL

func (mr *MockBuilderMockRecorder) UseSecondaryAPIURL() *gomock.Call

UseSecondaryAPIURL indicates an expected call of UseSecondaryAPIURL

Jump to

Keyboard shortcuts

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