Documentation ¶
Overview ¶
Package inventory_client is a generated GoMock package.
Index ¶
- func CreateInventoryClient(clusterId string, host string, port int, logger *logrus.Logger) *inventoryClient
- type InventoryClient
- type MockInventoryClient
- func (m *MockInventoryClient) DownloadFile(filename, dest string) error
- func (m *MockInventoryClient) EXPECT() *MockInventoryClientMockRecorder
- func (m *MockInventoryClient) GetCluster() (*models.Cluster, error)
- func (m *MockInventoryClient) GetEnabledHostsNamesIds() (map[string]string, error)
- func (m *MockInventoryClient) UpdateHostStatus(newStatus, hostId string) error
- func (m *MockInventoryClient) UploadIngressCa(ingressCA, clusterId string) error
- type MockInventoryClientMockRecorder
- func (mr *MockInventoryClientMockRecorder) DownloadFile(filename, dest interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetCluster() *gomock.Call
- func (mr *MockInventoryClientMockRecorder) GetEnabledHostsNamesIds() *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UpdateHostStatus(newStatus, hostId interface{}) *gomock.Call
- func (mr *MockInventoryClientMockRecorder) UploadIngressCa(ingressCA, clusterId interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InventoryClient ¶
type MockInventoryClient ¶
type MockInventoryClient struct {
// contains filtered or unexported fields
}
MockInventoryClient is a mock of InventoryClient interface
func NewMockInventoryClient ¶
func NewMockInventoryClient(ctrl *gomock.Controller) *MockInventoryClient
NewMockInventoryClient creates a new mock instance
func (*MockInventoryClient) DownloadFile ¶
func (m *MockInventoryClient) DownloadFile(filename, dest string) error
DownloadFile mocks base method
func (*MockInventoryClient) EXPECT ¶
func (m *MockInventoryClient) EXPECT() *MockInventoryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockInventoryClient) GetCluster ¶
func (m *MockInventoryClient) GetCluster() (*models.Cluster, error)
GetCluster mocks base method
func (*MockInventoryClient) GetEnabledHostsNamesIds ¶
func (m *MockInventoryClient) GetEnabledHostsNamesIds() (map[string]string, error)
GetEnabledHostsNamesIds mocks base method
func (*MockInventoryClient) UpdateHostStatus ¶
func (m *MockInventoryClient) UpdateHostStatus(newStatus, hostId string) error
UpdateHostStatus mocks base method
func (*MockInventoryClient) UploadIngressCa ¶
func (m *MockInventoryClient) UploadIngressCa(ingressCA, clusterId string) error
UploadIngressCa mocks base method
type MockInventoryClientMockRecorder ¶
type MockInventoryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockInventoryClientMockRecorder is the mock recorder for MockInventoryClient
func (*MockInventoryClientMockRecorder) DownloadFile ¶
func (mr *MockInventoryClientMockRecorder) DownloadFile(filename, dest interface{}) *gomock.Call
DownloadFile indicates an expected call of DownloadFile
func (*MockInventoryClientMockRecorder) GetCluster ¶
func (mr *MockInventoryClientMockRecorder) GetCluster() *gomock.Call
GetCluster indicates an expected call of GetCluster
func (*MockInventoryClientMockRecorder) GetEnabledHostsNamesIds ¶
func (mr *MockInventoryClientMockRecorder) GetEnabledHostsNamesIds() *gomock.Call
GetEnabledHostsNamesIds indicates an expected call of GetEnabledHostsNamesIds
func (*MockInventoryClientMockRecorder) UpdateHostStatus ¶
func (mr *MockInventoryClientMockRecorder) UpdateHostStatus(newStatus, hostId interface{}) *gomock.Call
UpdateHostStatus indicates an expected call of UpdateHostStatus
func (*MockInventoryClientMockRecorder) UploadIngressCa ¶
func (mr *MockInventoryClientMockRecorder) UploadIngressCa(ingressCA, clusterId interface{}) *gomock.Call
UploadIngressCa indicates an expected call of UploadIngressCa