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