Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockStorage
- func (m *MockStorage) EXPECT() *MockStorageMockRecorder
- func (m *MockStorage) GetIPPoolDetailInfo(clusterID string) ([]*storage.IPPool, error)
- func (m *MockStorage) QueryK8SPod(cluster string) ([]*storage.Pod, error)
- func (m *MockStorage) QueryMesosTaskgroup(cluster string) ([]*storage.Taskgroup, error)
- type MockStorageMockRecorder
- type MockUserManager
- type MockUserManagerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStorage ¶
type MockStorage struct {
// contains filtered or unexported fields
}
MockStorage is a mock of Storage interface
func NewMockStorage ¶
func NewMockStorage(ctrl *gomock.Controller) *MockStorage
NewMockStorage creates a new mock instance
func (*MockStorage) EXPECT ¶
func (m *MockStorage) EXPECT() *MockStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockStorage) GetIPPoolDetailInfo ¶
func (m *MockStorage) GetIPPoolDetailInfo(clusterID string) ([]*storage.IPPool, error)
GetIPPoolDetailInfo mocks base method
func (*MockStorage) QueryK8SPod ¶
func (m *MockStorage) QueryK8SPod(cluster string) ([]*storage.Pod, error)
QueryK8SPod mocks base method
func (*MockStorage) QueryMesosTaskgroup ¶
func (m *MockStorage) QueryMesosTaskgroup(cluster string) ([]*storage.Taskgroup, error)
QueryMesosTaskgroup mocks base method
type MockStorageMockRecorder ¶
type MockStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockStorageMockRecorder is the mock recorder for MockStorage
func (*MockStorageMockRecorder) GetIPPoolDetailInfo ¶
func (mr *MockStorageMockRecorder) GetIPPoolDetailInfo(clusterID interface{}) *gomock.Call
GetIPPoolDetailInfo indicates an expected call of GetIPPoolDetailInfo
func (*MockStorageMockRecorder) QueryK8SPod ¶
func (mr *MockStorageMockRecorder) QueryK8SPod(cluster interface{}) *gomock.Call
QueryK8SPod indicates an expected call of QueryK8SPod
func (*MockStorageMockRecorder) QueryMesosTaskgroup ¶
func (mr *MockStorageMockRecorder) QueryMesosTaskgroup(cluster interface{}) *gomock.Call
QueryMesosTaskgroup indicates an expected call of QueryMesosTaskgroup
type MockUserManager ¶
type MockUserManager struct {
// contains filtered or unexported fields
}
MockUserManager is a mock of UserManager interface
func NewMockUserManager ¶
func NewMockUserManager(ctrl *gomock.Controller) *MockUserManager
NewMockUserManager creates a new mock instance
func (*MockUserManager) EXPECT ¶
func (m *MockUserManager) EXPECT() *MockUserManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUserManager) ListAllClusters ¶
func (m *MockUserManager) ListAllClusters() ([]*bcsapi.ClusterCredential, error)
ListAllClusters mocks base method
type MockUserManagerMockRecorder ¶
type MockUserManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockUserManagerMockRecorder is the mock recorder for MockUserManager
func (*MockUserManagerMockRecorder) ListAllClusters ¶
func (mr *MockUserManagerMockRecorder) ListAllClusters() *gomock.Call
ListAllClusters indicates an expected call of ListAllClusters