Documentation ¶
Overview ¶
Package mock_cluster is a generated GoMock package.
Package mock_cluster is a generated GoMock package.
Index ¶
- type MockHasher
- type MockHasherMockRecorder
- type MockUpgrader
- func (m *MockUpgrader) CreateClients(ctx context.Context, cs *api.OpenShiftManagedCluster, disableKeepAlives bool) error
- func (m *MockUpgrader) EXPECT() *MockUpgraderMockRecorder
- func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSet(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
- func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSetHashes(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
- func (m *MockUpgrader) HealthCheck(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
- func (m *MockUpgrader) Initialize(ctx context.Context, cs *api.OpenShiftManagedCluster) error
- func (m *MockUpgrader) InitializeUpdateBlob(cs *api.OpenShiftManagedCluster, suffix string) error
- func (m *MockUpgrader) SortedAgentPoolProfilesForRole(cs *api.OpenShiftManagedCluster, role api.AgentPoolProfileRole) []api.AgentPoolProfile
- func (m *MockUpgrader) UpdateMasterAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, ...) *api.PluginError
- func (m *MockUpgrader) UpdateWorkerAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, ...) *api.PluginError
- func (m *MockUpgrader) WaitForHealthzStatusOk(ctx context.Context, cs *api.OpenShiftManagedCluster) error
- func (m *MockUpgrader) WaitForNodesInAgentPoolProfile(ctx context.Context, cs *api.OpenShiftManagedCluster, ...) error
- type MockUpgraderMockRecorder
- func (mr *MockUpgraderMockRecorder) CreateClients(ctx, cs, disableKeepAlives interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSet(ctx, cs interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSetHashes(ctx, cs interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) HealthCheck(ctx, cs interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) Initialize(ctx, cs interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) InitializeUpdateBlob(cs, suffix interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) SortedAgentPoolProfilesForRole(cs, role interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) UpdateMasterAgentPool(ctx, cs, app interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) UpdateWorkerAgentPool(ctx, cs, app, suffix interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) WaitForHealthzStatusOk(ctx, cs interface{}) *gomock.Call
- func (mr *MockUpgraderMockRecorder) WaitForNodesInAgentPoolProfile(ctx, cs, app, suffix interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockHasher ¶
type MockHasher struct {
// contains filtered or unexported fields
}
MockHasher is a mock of Hasher interface
func NewMockHasher ¶
func NewMockHasher(ctrl *gomock.Controller) *MockHasher
NewMockHasher creates a new mock instance
func (*MockHasher) EXPECT ¶
func (m *MockHasher) EXPECT() *MockHasherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockHasher) HashScaleSet ¶
func (m *MockHasher) HashScaleSet(arg0 *api.OpenShiftManagedCluster, arg1 *api.AgentPoolProfile) ([]byte, error)
HashScaleSet mocks base method
type MockHasherMockRecorder ¶
type MockHasherMockRecorder struct {
// contains filtered or unexported fields
}
MockHasherMockRecorder is the mock recorder for MockHasher
func (*MockHasherMockRecorder) HashScaleSet ¶
func (mr *MockHasherMockRecorder) HashScaleSet(arg0, arg1 interface{}) *gomock.Call
HashScaleSet indicates an expected call of HashScaleSet
type MockUpgrader ¶
type MockUpgrader struct {
// contains filtered or unexported fields
}
MockUpgrader is a mock of Upgrader interface
func NewMockUpgrader ¶
func NewMockUpgrader(ctrl *gomock.Controller) *MockUpgrader
NewMockUpgrader creates a new mock instance
func (*MockUpgrader) CreateClients ¶
func (m *MockUpgrader) CreateClients(ctx context.Context, cs *api.OpenShiftManagedCluster, disableKeepAlives bool) error
CreateClients mocks base method
func (*MockUpgrader) EXPECT ¶
func (m *MockUpgrader) EXPECT() *MockUpgraderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockUpgrader) EtcdRestoreDeleteMasterScaleSet ¶
func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSet(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
EtcdRestoreDeleteMasterScaleSet mocks base method
func (*MockUpgrader) EtcdRestoreDeleteMasterScaleSetHashes ¶
func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSetHashes(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
EtcdRestoreDeleteMasterScaleSetHashes mocks base method
func (*MockUpgrader) HealthCheck ¶
func (m *MockUpgrader) HealthCheck(ctx context.Context, cs *api.OpenShiftManagedCluster) *api.PluginError
HealthCheck mocks base method
func (*MockUpgrader) Initialize ¶
func (m *MockUpgrader) Initialize(ctx context.Context, cs *api.OpenShiftManagedCluster) error
Initialize mocks base method
func (*MockUpgrader) InitializeUpdateBlob ¶
func (m *MockUpgrader) InitializeUpdateBlob(cs *api.OpenShiftManagedCluster, suffix string) error
InitializeUpdateBlob mocks base method
func (*MockUpgrader) SortedAgentPoolProfilesForRole ¶
func (m *MockUpgrader) SortedAgentPoolProfilesForRole(cs *api.OpenShiftManagedCluster, role api.AgentPoolProfileRole) []api.AgentPoolProfile
SortedAgentPoolProfilesForRole mocks base method
func (*MockUpgrader) UpdateMasterAgentPool ¶
func (m *MockUpgrader) UpdateMasterAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile) *api.PluginError
UpdateMasterAgentPool mocks base method
func (*MockUpgrader) UpdateWorkerAgentPool ¶
func (m *MockUpgrader) UpdateWorkerAgentPool(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile, suffix string) *api.PluginError
UpdateWorkerAgentPool mocks base method
func (*MockUpgrader) WaitForHealthzStatusOk ¶
func (m *MockUpgrader) WaitForHealthzStatusOk(ctx context.Context, cs *api.OpenShiftManagedCluster) error
WaitForHealthzStatusOk mocks base method
func (*MockUpgrader) WaitForNodesInAgentPoolProfile ¶
func (m *MockUpgrader) WaitForNodesInAgentPoolProfile(ctx context.Context, cs *api.OpenShiftManagedCluster, app *api.AgentPoolProfile, suffix string) error
WaitForNodesInAgentPoolProfile mocks base method
type MockUpgraderMockRecorder ¶
type MockUpgraderMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgraderMockRecorder is the mock recorder for MockUpgrader
func (*MockUpgraderMockRecorder) CreateClients ¶
func (mr *MockUpgraderMockRecorder) CreateClients(ctx, cs, disableKeepAlives interface{}) *gomock.Call
CreateClients indicates an expected call of CreateClients
func (*MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSet ¶
func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSet(ctx, cs interface{}) *gomock.Call
EtcdRestoreDeleteMasterScaleSet indicates an expected call of EtcdRestoreDeleteMasterScaleSet
func (*MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSetHashes ¶
func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSetHashes(ctx, cs interface{}) *gomock.Call
EtcdRestoreDeleteMasterScaleSetHashes indicates an expected call of EtcdRestoreDeleteMasterScaleSetHashes
func (*MockUpgraderMockRecorder) HealthCheck ¶
func (mr *MockUpgraderMockRecorder) HealthCheck(ctx, cs interface{}) *gomock.Call
HealthCheck indicates an expected call of HealthCheck
func (*MockUpgraderMockRecorder) Initialize ¶
func (mr *MockUpgraderMockRecorder) Initialize(ctx, cs interface{}) *gomock.Call
Initialize indicates an expected call of Initialize
func (*MockUpgraderMockRecorder) InitializeUpdateBlob ¶
func (mr *MockUpgraderMockRecorder) InitializeUpdateBlob(cs, suffix interface{}) *gomock.Call
InitializeUpdateBlob indicates an expected call of InitializeUpdateBlob
func (*MockUpgraderMockRecorder) SortedAgentPoolProfilesForRole ¶
func (mr *MockUpgraderMockRecorder) SortedAgentPoolProfilesForRole(cs, role interface{}) *gomock.Call
SortedAgentPoolProfilesForRole indicates an expected call of SortedAgentPoolProfilesForRole
func (*MockUpgraderMockRecorder) UpdateMasterAgentPool ¶
func (mr *MockUpgraderMockRecorder) UpdateMasterAgentPool(ctx, cs, app interface{}) *gomock.Call
UpdateMasterAgentPool indicates an expected call of UpdateMasterAgentPool
func (*MockUpgraderMockRecorder) UpdateWorkerAgentPool ¶
func (mr *MockUpgraderMockRecorder) UpdateWorkerAgentPool(ctx, cs, app, suffix interface{}) *gomock.Call
UpdateWorkerAgentPool indicates an expected call of UpdateWorkerAgentPool
func (*MockUpgraderMockRecorder) WaitForHealthzStatusOk ¶
func (mr *MockUpgraderMockRecorder) WaitForHealthzStatusOk(ctx, cs interface{}) *gomock.Call
WaitForHealthzStatusOk indicates an expected call of WaitForHealthzStatusOk
func (*MockUpgraderMockRecorder) WaitForNodesInAgentPoolProfile ¶
func (mr *MockUpgraderMockRecorder) WaitForNodesInAgentPoolProfile(ctx, cs, app, suffix interface{}) *gomock.Call
WaitForNodesInAgentPoolProfile indicates an expected call of WaitForNodesInAgentPoolProfile