Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
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 MockClusterUtils
- func (m *MockClusterUtils) EXPECT() *MockClusterUtilsMockRecorder
- func (m *MockClusterUtils) GetBackplaneCluster(arg0 ...string) (utils.BackplaneCluster, error)
- func (m *MockClusterUtils) GetBackplaneClusterFromClusterKey(arg0 string) (utils.BackplaneCluster, error)
- func (m *MockClusterUtils) GetBackplaneClusterFromConfig() (utils.BackplaneCluster, error)
- func (m *MockClusterUtils) GetCloudProvider(arg0 *v1.Cluster) string
- func (m *MockClusterUtils) GetClusterIDAndHostFromClusterURL(arg0 string) (string, string, error)
- type MockClusterUtilsMockRecorder
- func (mr *MockClusterUtilsMockRecorder) GetBackplaneCluster(arg0 ...interface{}) *gomock.Call
- func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromClusterKey(arg0 interface{}) *gomock.Call
- func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromConfig() *gomock.Call
- func (mr *MockClusterUtilsMockRecorder) GetCloudProvider(arg0 interface{}) *gomock.Call
- func (mr *MockClusterUtilsMockRecorder) GetClusterIDAndHostFromClusterURL(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) GetPullSecret() (string, error)
- func (m *MockOCMInterface) GetServiceCluster(arg0 string) (string, 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) GetPullSecret() *gomock.Call
- func (mr *MockOCMInterfaceMockRecorder) GetServiceCluster(arg0 interface{}) *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 MockClusterUtils ¶ added in v0.1.2
type MockClusterUtils struct {
// contains filtered or unexported fields
}
MockClusterUtils is a mock of ClusterUtils interface.
func NewMockClusterUtils ¶ added in v0.1.2
func NewMockClusterUtils(ctrl *gomock.Controller) *MockClusterUtils
NewMockClusterUtils creates a new mock instance.
func (*MockClusterUtils) EXPECT ¶ added in v0.1.2
func (m *MockClusterUtils) EXPECT() *MockClusterUtilsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClusterUtils) GetBackplaneCluster ¶ added in v0.1.2
func (m *MockClusterUtils) GetBackplaneCluster(arg0 ...string) (utils.BackplaneCluster, error)
GetBackplaneCluster mocks base method.
func (*MockClusterUtils) GetBackplaneClusterFromClusterKey ¶ added in v0.1.2
func (m *MockClusterUtils) GetBackplaneClusterFromClusterKey(arg0 string) (utils.BackplaneCluster, error)
GetBackplaneClusterFromClusterKey mocks base method.
func (*MockClusterUtils) GetBackplaneClusterFromConfig ¶ added in v0.1.2
func (m *MockClusterUtils) GetBackplaneClusterFromConfig() (utils.BackplaneCluster, error)
GetBackplaneClusterFromConfig mocks base method.
func (*MockClusterUtils) GetCloudProvider ¶ added in v0.1.2
func (m *MockClusterUtils) GetCloudProvider(arg0 *v1.Cluster) string
GetCloudProvider mocks base method.
func (*MockClusterUtils) GetClusterIDAndHostFromClusterURL ¶ added in v0.1.2
func (m *MockClusterUtils) GetClusterIDAndHostFromClusterURL(arg0 string) (string, string, error)
GetClusterIDAndHostFromClusterURL mocks base method.
type MockClusterUtilsMockRecorder ¶ added in v0.1.2
type MockClusterUtilsMockRecorder struct {
// contains filtered or unexported fields
}
MockClusterUtilsMockRecorder is the mock recorder for MockClusterUtils.
func (*MockClusterUtilsMockRecorder) GetBackplaneCluster ¶ added in v0.1.2
func (mr *MockClusterUtilsMockRecorder) GetBackplaneCluster(arg0 ...interface{}) *gomock.Call
GetBackplaneCluster indicates an expected call of GetBackplaneCluster.
func (*MockClusterUtilsMockRecorder) GetBackplaneClusterFromClusterKey ¶ added in v0.1.2
func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromClusterKey(arg0 interface{}) *gomock.Call
GetBackplaneClusterFromClusterKey indicates an expected call of GetBackplaneClusterFromClusterKey.
func (*MockClusterUtilsMockRecorder) GetBackplaneClusterFromConfig ¶ added in v0.1.2
func (mr *MockClusterUtilsMockRecorder) GetBackplaneClusterFromConfig() *gomock.Call
GetBackplaneClusterFromConfig indicates an expected call of GetBackplaneClusterFromConfig.
func (*MockClusterUtilsMockRecorder) GetCloudProvider ¶ added in v0.1.2
func (mr *MockClusterUtilsMockRecorder) GetCloudProvider(arg0 interface{}) *gomock.Call
GetCloudProvider indicates an expected call of GetCloudProvider.
func (*MockClusterUtilsMockRecorder) GetClusterIDAndHostFromClusterURL ¶ added in v0.1.2
func (mr *MockClusterUtilsMockRecorder) GetClusterIDAndHostFromClusterURL(arg0 interface{}) *gomock.Call
GetClusterIDAndHostFromClusterURL indicates an expected call of GetClusterIDAndHostFromClusterURL.
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) GetPullSecret ¶ added in v0.1.4
func (m *MockOCMInterface) GetPullSecret() (string, error)
GetPullSecret mocks base method.
func (*MockOCMInterface) GetServiceCluster ¶ added in v0.1.3
func (m *MockOCMInterface) GetServiceCluster(arg0 string) (string, string, error)
GetServiceCluster 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) GetPullSecret ¶ added in v0.1.4
func (mr *MockOCMInterfaceMockRecorder) GetPullSecret() *gomock.Call
GetPullSecret indicates an expected call of GetPullSecret.
func (*MockOCMInterfaceMockRecorder) GetServiceCluster ¶ added in v0.1.3
func (mr *MockOCMInterfaceMockRecorder) GetServiceCluster(arg0 interface{}) *gomock.Call
GetServiceCluster indicates an expected call of GetServiceCluster.
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.