mock_version

package
v1.18.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_version is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServerVersion

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

MockServerVersion is a mock of ServerVersion interface.

func NewMockServerVersion

func NewMockServerVersion(ctrl *gomock.Controller) *MockServerVersion

NewMockServerVersion creates a new mock instance.

func (*MockServerVersion) EXPECT

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

func (*MockServerVersion) Get

Get mocks base method.

func (*MockServerVersion) GetClusterVersion added in v1.17.0

func (m *MockServerVersion) GetClusterVersion() (*version.KubernetesClusterVersion, error)

GetClusterVersion mocks base method.

type MockServerVersionMockRecorder

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

MockServerVersionMockRecorder is the mock recorder for MockServerVersion.

func (*MockServerVersionMockRecorder) Get

func (mr *MockServerVersionMockRecorder) Get(ctx interface{}) *gomock.Call

Get indicates an expected call of Get.

func (*MockServerVersionMockRecorder) GetClusterVersion added in v1.17.0

func (mr *MockServerVersionMockRecorder) GetClusterVersion() *gomock.Call

GetClusterVersion indicates an expected call of GetClusterVersion.

Jump to

Keyboard shortcuts

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