cluster

package
v0.0.0-...-5e97683 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package cluster is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster interface {
	Version(context.Context) (string, string, error)
	VersionHistory(context.Context) ([]string, error)
	OSImageURL(context.Context) (string, error)
	OperatingSystem(*corev1.NodeList) (string, string, string, error)
}

func NewCluster

func NewCluster(clients clients.ClientsInterface) Cluster

type MockCluster

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

MockCluster is a mock of Cluster interface.

func NewMockCluster

func NewMockCluster(ctrl *gomock.Controller) *MockCluster

NewMockCluster creates a new mock instance.

func (*MockCluster) EXPECT

func (m *MockCluster) EXPECT() *MockClusterMockRecorder

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

func (*MockCluster) OSImageURL

func (m *MockCluster) OSImageURL(arg0 context.Context) (string, error)

OSImageURL mocks base method.

func (*MockCluster) OperatingSystem

func (m *MockCluster) OperatingSystem(arg0 *v1.NodeList) (string, string, string, error)

OperatingSystem mocks base method.

func (*MockCluster) Version

func (m *MockCluster) Version(arg0 context.Context) (string, string, error)

Version mocks base method.

func (*MockCluster) VersionHistory

func (m *MockCluster) VersionHistory(arg0 context.Context) ([]string, error)

VersionHistory mocks base method.

type MockClusterMockRecorder

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

MockClusterMockRecorder is the mock recorder for MockCluster.

func (*MockClusterMockRecorder) OSImageURL

func (mr *MockClusterMockRecorder) OSImageURL(arg0 interface{}) *gomock.Call

OSImageURL indicates an expected call of OSImageURL.

func (*MockClusterMockRecorder) OperatingSystem

func (mr *MockClusterMockRecorder) OperatingSystem(arg0 interface{}) *gomock.Call

OperatingSystem indicates an expected call of OperatingSystem.

func (*MockClusterMockRecorder) Version

func (mr *MockClusterMockRecorder) Version(arg0 interface{}) *gomock.Call

Version indicates an expected call of Version.

func (*MockClusterMockRecorder) VersionHistory

func (mr *MockClusterMockRecorder) VersionHistory(arg0 interface{}) *gomock.Call

VersionHistory indicates an expected call of VersionHistory.

Jump to

Keyboard shortcuts

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