Documentation ¶
Overview ¶
Package cluster is a generated GoMock package.
Index ¶
- type Cluster
- type MockCluster
- func (m *MockCluster) EXPECT() *MockClusterMockRecorder
- func (m *MockCluster) GetDTKImages(arg0 context.Context) ([]string, error)
- func (m *MockCluster) OSImageURL(arg0 context.Context) (string, error)
- func (m *MockCluster) OperatingSystem(arg0 *v1.NodeList) (string, string, string, error)
- func (m *MockCluster) Version(arg0 context.Context) (string, string, error)
- type MockClusterMockRecorder
- func (mr *MockClusterMockRecorder) GetDTKImages(arg0 interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) OSImageURL(arg0 interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) OperatingSystem(arg0 interface{}) *gomock.Call
- func (mr *MockClusterMockRecorder) Version(arg0 interface{}) *gomock.Call
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) OSImageURL(context.Context) (string, error) OperatingSystem(*corev1.NodeList) (string, string, string, error) GetDTKImages(context.Context) ([]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) GetDTKImages ¶
func (m *MockCluster) GetDTKImages(arg0 context.Context) ([]string, error)
GetDTKImages mocks base method.
func (*MockCluster) OSImageURL ¶
func (m *MockCluster) OSImageURL(arg0 context.Context) (string, error)
OSImageURL mocks base method.
func (*MockCluster) OperatingSystem ¶
OperatingSystem mocks base method.
type MockClusterMockRecorder ¶
type MockClusterMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterMockRecorder is the mock recorder for MockCluster.
func (*MockClusterMockRecorder) GetDTKImages ¶
func (mr *MockClusterMockRecorder) GetDTKImages(arg0 interface{}) *gomock.Call
GetDTKImages indicates an expected call of GetDTKImages.
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.
Click to show internal directories.
Click to hide internal directories.