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 ¶
func (m *MockServerVersion) EXPECT() *MockServerVersionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerVersion) Get ¶
func (m *MockServerVersion) Get(ctx context.Context) ([]*version.ServerVersion, error)
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.
Click to show internal directories.
Click to hide internal directories.