Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockClientUtils
- func (m *MockClientUtils) EXPECT() *MockClientUtilsMockRecorder
- func (m *MockClientUtils) GetBackplaneClient(arg0 string) (Openapi.ClientInterface, error)
- func (m *MockClientUtils) MakeBackplaneAPIClient(arg0 string) (Openapi.ClientWithResponsesInterface, error)
- func (m *MockClientUtils) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientWithResponsesInterface, error)
- func (m *MockClientUtils) MakeRawBackplaneAPIClient(arg0 string) (Openapi.ClientInterface, error)
- func (m *MockClientUtils) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientInterface, error)
- func (m *MockClientUtils) SetClientProxyUrl(arg0 string) error
- type MockClientUtilsMockRecorder
- func (mr *MockClientUtilsMockRecorder) GetBackplaneClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClient(arg0 interface{}) *gomock.Call
- func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientUtilsMockRecorder) SetClientProxyUrl(arg0 interface{}) *gomock.Call
- type MockOCMInterface
- func (m *MockOCMInterface) EXPECT() *MockOCMInterfaceMockRecorder
- func (m *MockOCMInterface) GetClusterInfoByID(arg0 string) (*v1.Cluster, error)
- func (m *MockOCMInterface) GetManagingCluster(arg0 string) (string, string, error)
- func (m *MockOCMInterface) GetOCMAccessToken() (*string, error)
- func (m *MockOCMInterface) GetTargetCluster(arg0 string) (string, string, error)
- func (m *MockOCMInterface) IsClusterHibernating(arg0 string) (bool, error)
- func (m *MockOCMInterface) IsProduction() (bool, error)
- type MockOCMInterfaceMockRecorder
- func (mr *MockOCMInterfaceMockRecorder) GetClusterInfoByID(arg0 interface{}) *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) GetManagingCluster(arg0 interface{}) *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) GetOCMAccessToken() *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) GetTargetCluster(arg0 interface{}) *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) IsClusterHibernating(arg0 interface{}) *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) IsProduction() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientUtils ¶
type MockClientUtils struct {
// contains filtered or unexported fields
}
MockClientUtils is a mock of ClientUtils interface.
func NewMockClientUtils ¶
func NewMockClientUtils(ctrl *gomock.Controller) *MockClientUtils
NewMockClientUtils creates a new mock instance.
func (*MockClientUtils) EXPECT ¶
func (m *MockClientUtils) EXPECT() *MockClientUtilsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientUtils) GetBackplaneClient ¶
func (m *MockClientUtils) GetBackplaneClient(arg0 string) (Openapi.ClientInterface, error)
GetBackplaneClient mocks base method.
func (*MockClientUtils) MakeBackplaneAPIClient ¶
func (m *MockClientUtils) MakeBackplaneAPIClient(arg0 string) (Openapi.ClientWithResponsesInterface, error)
MakeBackplaneAPIClient mocks base method.
func (*MockClientUtils) MakeBackplaneAPIClientWithAccessToken ¶
func (m *MockClientUtils) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientWithResponsesInterface, error)
MakeBackplaneAPIClientWithAccessToken mocks base method.
func (*MockClientUtils) MakeRawBackplaneAPIClient ¶
func (m *MockClientUtils) MakeRawBackplaneAPIClient(arg0 string) (Openapi.ClientInterface, error)
MakeRawBackplaneAPIClient mocks base method.
func (*MockClientUtils) MakeRawBackplaneAPIClientWithAccessToken ¶
func (m *MockClientUtils) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 string) (Openapi.ClientInterface, error)
MakeRawBackplaneAPIClientWithAccessToken mocks base method.
func (*MockClientUtils) SetClientProxyUrl ¶
func (m *MockClientUtils) SetClientProxyUrl(arg0 string) error
SetClientProxyUrl mocks base method.
type MockClientUtilsMockRecorder ¶
type MockClientUtilsMockRecorder struct {
// contains filtered or unexported fields
}
MockClientUtilsMockRecorder is the mock recorder for MockClientUtils.
func (*MockClientUtilsMockRecorder) GetBackplaneClient ¶
func (mr *MockClientUtilsMockRecorder) GetBackplaneClient(arg0 interface{}) *gomock.Call
GetBackplaneClient indicates an expected call of GetBackplaneClient.
func (*MockClientUtilsMockRecorder) MakeBackplaneAPIClient ¶
func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClient(arg0 interface{}) *gomock.Call
MakeBackplaneAPIClient indicates an expected call of MakeBackplaneAPIClient.
func (*MockClientUtilsMockRecorder) MakeBackplaneAPIClientWithAccessToken ¶
func (mr *MockClientUtilsMockRecorder) MakeBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call
MakeBackplaneAPIClientWithAccessToken indicates an expected call of MakeBackplaneAPIClientWithAccessToken.
func (*MockClientUtilsMockRecorder) MakeRawBackplaneAPIClient ¶
func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClient(arg0 interface{}) *gomock.Call
MakeRawBackplaneAPIClient indicates an expected call of MakeRawBackplaneAPIClient.
func (*MockClientUtilsMockRecorder) MakeRawBackplaneAPIClientWithAccessToken ¶
func (mr *MockClientUtilsMockRecorder) MakeRawBackplaneAPIClientWithAccessToken(arg0, arg1 interface{}) *gomock.Call
MakeRawBackplaneAPIClientWithAccessToken indicates an expected call of MakeRawBackplaneAPIClientWithAccessToken.
func (*MockClientUtilsMockRecorder) SetClientProxyUrl ¶
func (mr *MockClientUtilsMockRecorder) SetClientProxyUrl(arg0 interface{}) *gomock.Call
SetClientProxyUrl indicates an expected call of SetClientProxyUrl.
type MockOCMInterface ¶
type MockOCMInterface struct {
// contains filtered or unexported fields
}
MockOCMInterface is a mock of OCMInterface interface.
func NewMockOCMInterface ¶
func NewMockOCMInterface(ctrl *gomock.Controller) *MockOCMInterface
NewMockOCMInterface creates a new mock instance.
func (*MockOCMInterface) EXPECT ¶
func (m *MockOCMInterface) EXPECT() *MockOCMInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOCMInterface) GetClusterInfoByID ¶
func (m *MockOCMInterface) GetClusterInfoByID(arg0 string) (*v1.Cluster, error)
GetClusterInfoByID mocks base method.
func (*MockOCMInterface) GetManagingCluster ¶
func (m *MockOCMInterface) GetManagingCluster(arg0 string) (string, string, error)
GetManagingCluster mocks base method.
func (*MockOCMInterface) GetOCMAccessToken ¶
func (m *MockOCMInterface) GetOCMAccessToken() (*string, error)
GetOCMAccessToken mocks base method.
func (*MockOCMInterface) GetTargetCluster ¶
func (m *MockOCMInterface) GetTargetCluster(arg0 string) (string, string, error)
GetTargetCluster mocks base method.
func (*MockOCMInterface) IsClusterHibernating ¶
func (m *MockOCMInterface) IsClusterHibernating(arg0 string) (bool, error)
IsClusterHibernating mocks base method.
func (*MockOCMInterface) IsProduction ¶
func (m *MockOCMInterface) IsProduction() (bool, error)
IsProduction mocks base method.
type MockOCMInterfaceMockRecorder ¶
type MockOCMInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockOCMInterfaceMockRecorder is the mock recorder for MockOCMInterface.
func (*MockOCMInterfaceMockRecorder) GetClusterInfoByID ¶
func (mr *MockOCMInterfaceMockRecorder) GetClusterInfoByID(arg0 interface{}) *gomock.Call
GetClusterInfoByID indicates an expected call of GetClusterInfoByID.
func (*MockOCMInterfaceMockRecorder) GetManagingCluster ¶
func (mr *MockOCMInterfaceMockRecorder) GetManagingCluster(arg0 interface{}) *gomock.Call
GetManagingCluster indicates an expected call of GetManagingCluster.
func (*MockOCMInterfaceMockRecorder) GetOCMAccessToken ¶
func (mr *MockOCMInterfaceMockRecorder) GetOCMAccessToken() *gomock.Call
GetOCMAccessToken indicates an expected call of GetOCMAccessToken.
func (*MockOCMInterfaceMockRecorder) GetTargetCluster ¶
func (mr *MockOCMInterfaceMockRecorder) GetTargetCluster(arg0 interface{}) *gomock.Call
GetTargetCluster indicates an expected call of GetTargetCluster.
func (*MockOCMInterfaceMockRecorder) IsClusterHibernating ¶
func (mr *MockOCMInterfaceMockRecorder) IsClusterHibernating(arg0 interface{}) *gomock.Call
IsClusterHibernating indicates an expected call of IsClusterHibernating.
func (*MockOCMInterfaceMockRecorder) IsProduction ¶
func (mr *MockOCMInterfaceMockRecorder) IsProduction() *gomock.Call
IsProduction indicates an expected call of IsProduction.