mock_cluster

package
v4.1.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 9, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_cluster is a generated GoMock package.

Package mock_cluster is a generated GoMock package.

Index

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

func (*MockHasher) HashSyncPod

func (m *MockHasher) HashSyncPod(cs *api.OpenShiftManagedCluster) ([]byte, error)

HashSyncPod 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

func (*MockHasherMockRecorder) HashSyncPod

func (mr *MockHasherMockRecorder) HashSyncPod(cs interface{}) *gomock.Call

HashSyncPod indicates an expected call of HashSyncPod

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) BackupCluster

func (m *MockUpgrader) BackupCluster(arg0 context.Context, arg1 string) error

BackupCluster mocks base method

func (*MockUpgrader) CreateOrUpdateConfigStorageAccount

func (m *MockUpgrader) CreateOrUpdateConfigStorageAccount(arg0 context.Context) error

CreateOrUpdateConfigStorageAccount mocks base method

func (*MockUpgrader) CreateOrUpdateSyncPod

func (m *MockUpgrader) CreateOrUpdateSyncPod(arg0 context.Context) error

CreateOrUpdateSyncPod mocks base method

func (*MockUpgrader) DeleteMaster

func (m *MockUpgrader) DeleteMaster(arg0 string) error

DeleteMaster mocks base method

func (*MockUpgrader) DrainAndDeleteWorker

func (m *MockUpgrader) DrainAndDeleteWorker(arg0 context.Context, arg1 string) error

DrainAndDeleteWorker mocks base method

func (*MockUpgrader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockUpgrader) EnrichCertificatesFromVault

func (m *MockUpgrader) EnrichCertificatesFromVault(arg0 context.Context) error

EnrichCertificatesFromVault mocks base method

func (*MockUpgrader) EnrichStorageAccountKeys

func (m *MockUpgrader) EnrichStorageAccountKeys(arg0 context.Context) error

EnrichStorageAccountKeys mocks base method

func (*MockUpgrader) EnsureSyncPod

func (m *MockUpgrader) EnsureSyncPod(arg0 context.Context, arg1 string, arg2 []byte) error

EnsureSyncPod mocks base method

func (*MockUpgrader) EtcdListBackups

func (m *MockUpgrader) EtcdListBackups(arg0 context.Context) ([]storage.Blob, error)

EtcdListBackups mocks base method

func (*MockUpgrader) EtcdRestoreDeleteMasterScaleSet

func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSet(arg0 context.Context) *api.PluginError

EtcdRestoreDeleteMasterScaleSet mocks base method

func (*MockUpgrader) EtcdRestoreDeleteMasterScaleSetHashes

func (m *MockUpgrader) EtcdRestoreDeleteMasterScaleSetHashes(arg0 context.Context) *api.PluginError

EtcdRestoreDeleteMasterScaleSetHashes mocks base method

func (*MockUpgrader) GenerateARM

func (m *MockUpgrader) GenerateARM(arg0 context.Context, arg1 string, arg2 bool, arg3 string) (map[string]interface{}, error)

GenerateARM mocks base method

func (*MockUpgrader) GetControlPlanePods

func (m *MockUpgrader) GetControlPlanePods(arg0 context.Context) ([]v1.Pod, error)

GetControlPlanePods mocks base method

func (*MockUpgrader) HealthCheck

func (m *MockUpgrader) HealthCheck(arg0 context.Context) *api.PluginError

HealthCheck mocks base method

func (*MockUpgrader) InitializeUpdateBlob

func (m *MockUpgrader) InitializeUpdateBlob(arg0 string) error

InitializeUpdateBlob mocks base method

func (*MockUpgrader) ListVMHostnames

func (m *MockUpgrader) ListVMHostnames(arg0 context.Context) ([]string, error)

ListVMHostnames mocks base method

func (*MockUpgrader) Reimage

func (m *MockUpgrader) Reimage(arg0 context.Context, arg1, arg2 string) error

Reimage mocks base method

func (*MockUpgrader) ResetUpdateBlob

func (m *MockUpgrader) ResetUpdateBlob() error

ResetUpdateBlob mocks base method

func (*MockUpgrader) RunCommand

func (m *MockUpgrader) RunCommand(arg0 context.Context, arg1, arg2, arg3 string) error

RunCommand mocks base method

func (*MockUpgrader) SortedAgentPoolProfilesForRole

func (m *MockUpgrader) SortedAgentPoolProfilesForRole(arg0 api.AgentPoolProfileRole) []api.AgentPoolProfile

SortedAgentPoolProfilesForRole mocks base method

func (*MockUpgrader) UpdateMasterAgentPool

func (m *MockUpgrader) UpdateMasterAgentPool(arg0 context.Context, arg1 *api.AgentPoolProfile) *api.PluginError

UpdateMasterAgentPool mocks base method

func (*MockUpgrader) UpdateWorkerAgentPool

func (m *MockUpgrader) UpdateWorkerAgentPool(arg0 context.Context, arg1 *api.AgentPoolProfile, arg2 string) *api.PluginError

UpdateWorkerAgentPool mocks base method

func (*MockUpgrader) WaitForHealthzStatusOk

func (m *MockUpgrader) WaitForHealthzStatusOk(arg0 context.Context) error

WaitForHealthzStatusOk mocks base method

func (*MockUpgrader) WaitForNodesInAgentPoolProfile

func (m *MockUpgrader) WaitForNodesInAgentPoolProfile(arg0 context.Context, arg1 *api.AgentPoolProfile, arg2 string) error

WaitForNodesInAgentPoolProfile mocks base method

func (*MockUpgrader) WaitForReadyMaster

func (m *MockUpgrader) WaitForReadyMaster(arg0 context.Context, arg1 string) error

WaitForReadyMaster mocks base method

func (*MockUpgrader) WaitForReadySyncPod

func (m *MockUpgrader) WaitForReadySyncPod(arg0 context.Context) error

WaitForReadySyncPod mocks base method

func (*MockUpgrader) WaitForReadyWorker

func (m *MockUpgrader) WaitForReadyWorker(arg0 context.Context, arg1 string) error

WaitForReadyWorker mocks base method

func (*MockUpgrader) WriteStartupBlobs

func (m *MockUpgrader) WriteStartupBlobs() error

WriteStartupBlobs mocks base method

type MockUpgraderMockRecorder

type MockUpgraderMockRecorder struct {
	// contains filtered or unexported fields
}

MockUpgraderMockRecorder is the mock recorder for MockUpgrader

func (*MockUpgraderMockRecorder) BackupCluster

func (mr *MockUpgraderMockRecorder) BackupCluster(arg0, arg1 interface{}) *gomock.Call

BackupCluster indicates an expected call of BackupCluster

func (*MockUpgraderMockRecorder) CreateOrUpdateConfigStorageAccount

func (mr *MockUpgraderMockRecorder) CreateOrUpdateConfigStorageAccount(arg0 interface{}) *gomock.Call

CreateOrUpdateConfigStorageAccount indicates an expected call of CreateOrUpdateConfigStorageAccount

func (*MockUpgraderMockRecorder) CreateOrUpdateSyncPod

func (mr *MockUpgraderMockRecorder) CreateOrUpdateSyncPod(arg0 interface{}) *gomock.Call

CreateOrUpdateSyncPod indicates an expected call of CreateOrUpdateSyncPod

func (*MockUpgraderMockRecorder) DeleteMaster

func (mr *MockUpgraderMockRecorder) DeleteMaster(arg0 interface{}) *gomock.Call

DeleteMaster indicates an expected call of DeleteMaster

func (*MockUpgraderMockRecorder) DrainAndDeleteWorker

func (mr *MockUpgraderMockRecorder) DrainAndDeleteWorker(arg0, arg1 interface{}) *gomock.Call

DrainAndDeleteWorker indicates an expected call of DrainAndDeleteWorker

func (*MockUpgraderMockRecorder) EnrichCertificatesFromVault

func (mr *MockUpgraderMockRecorder) EnrichCertificatesFromVault(arg0 interface{}) *gomock.Call

EnrichCertificatesFromVault indicates an expected call of EnrichCertificatesFromVault

func (*MockUpgraderMockRecorder) EnrichStorageAccountKeys

func (mr *MockUpgraderMockRecorder) EnrichStorageAccountKeys(arg0 interface{}) *gomock.Call

EnrichStorageAccountKeys indicates an expected call of EnrichStorageAccountKeys

func (*MockUpgraderMockRecorder) EnsureSyncPod

func (mr *MockUpgraderMockRecorder) EnsureSyncPod(arg0, arg1, arg2 interface{}) *gomock.Call

EnsureSyncPod indicates an expected call of EnsureSyncPod

func (*MockUpgraderMockRecorder) EtcdListBackups

func (mr *MockUpgraderMockRecorder) EtcdListBackups(arg0 interface{}) *gomock.Call

EtcdListBackups indicates an expected call of EtcdListBackups

func (*MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSet

func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSet(arg0 interface{}) *gomock.Call

EtcdRestoreDeleteMasterScaleSet indicates an expected call of EtcdRestoreDeleteMasterScaleSet

func (*MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSetHashes

func (mr *MockUpgraderMockRecorder) EtcdRestoreDeleteMasterScaleSetHashes(arg0 interface{}) *gomock.Call

EtcdRestoreDeleteMasterScaleSetHashes indicates an expected call of EtcdRestoreDeleteMasterScaleSetHashes

func (*MockUpgraderMockRecorder) GenerateARM

func (mr *MockUpgraderMockRecorder) GenerateARM(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

GenerateARM indicates an expected call of GenerateARM

func (*MockUpgraderMockRecorder) GetControlPlanePods

func (mr *MockUpgraderMockRecorder) GetControlPlanePods(arg0 interface{}) *gomock.Call

GetControlPlanePods indicates an expected call of GetControlPlanePods

func (*MockUpgraderMockRecorder) HealthCheck

func (mr *MockUpgraderMockRecorder) HealthCheck(arg0 interface{}) *gomock.Call

HealthCheck indicates an expected call of HealthCheck

func (*MockUpgraderMockRecorder) InitializeUpdateBlob

func (mr *MockUpgraderMockRecorder) InitializeUpdateBlob(arg0 interface{}) *gomock.Call

InitializeUpdateBlob indicates an expected call of InitializeUpdateBlob

func (*MockUpgraderMockRecorder) ListVMHostnames

func (mr *MockUpgraderMockRecorder) ListVMHostnames(arg0 interface{}) *gomock.Call

ListVMHostnames indicates an expected call of ListVMHostnames

func (*MockUpgraderMockRecorder) Reimage

func (mr *MockUpgraderMockRecorder) Reimage(arg0, arg1, arg2 interface{}) *gomock.Call

Reimage indicates an expected call of Reimage

func (*MockUpgraderMockRecorder) ResetUpdateBlob

func (mr *MockUpgraderMockRecorder) ResetUpdateBlob() *gomock.Call

ResetUpdateBlob indicates an expected call of ResetUpdateBlob

func (*MockUpgraderMockRecorder) RunCommand

func (mr *MockUpgraderMockRecorder) RunCommand(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

RunCommand indicates an expected call of RunCommand

func (*MockUpgraderMockRecorder) SortedAgentPoolProfilesForRole

func (mr *MockUpgraderMockRecorder) SortedAgentPoolProfilesForRole(arg0 interface{}) *gomock.Call

SortedAgentPoolProfilesForRole indicates an expected call of SortedAgentPoolProfilesForRole

func (*MockUpgraderMockRecorder) UpdateMasterAgentPool

func (mr *MockUpgraderMockRecorder) UpdateMasterAgentPool(arg0, arg1 interface{}) *gomock.Call

UpdateMasterAgentPool indicates an expected call of UpdateMasterAgentPool

func (*MockUpgraderMockRecorder) UpdateWorkerAgentPool

func (mr *MockUpgraderMockRecorder) UpdateWorkerAgentPool(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateWorkerAgentPool indicates an expected call of UpdateWorkerAgentPool

func (*MockUpgraderMockRecorder) WaitForHealthzStatusOk

func (mr *MockUpgraderMockRecorder) WaitForHealthzStatusOk(arg0 interface{}) *gomock.Call

WaitForHealthzStatusOk indicates an expected call of WaitForHealthzStatusOk

func (*MockUpgraderMockRecorder) WaitForNodesInAgentPoolProfile

func (mr *MockUpgraderMockRecorder) WaitForNodesInAgentPoolProfile(arg0, arg1, arg2 interface{}) *gomock.Call

WaitForNodesInAgentPoolProfile indicates an expected call of WaitForNodesInAgentPoolProfile

func (*MockUpgraderMockRecorder) WaitForReadyMaster

func (mr *MockUpgraderMockRecorder) WaitForReadyMaster(arg0, arg1 interface{}) *gomock.Call

WaitForReadyMaster indicates an expected call of WaitForReadyMaster

func (*MockUpgraderMockRecorder) WaitForReadySyncPod

func (mr *MockUpgraderMockRecorder) WaitForReadySyncPod(arg0 interface{}) *gomock.Call

WaitForReadySyncPod indicates an expected call of WaitForReadySyncPod

func (*MockUpgraderMockRecorder) WaitForReadyWorker

func (mr *MockUpgraderMockRecorder) WaitForReadyWorker(arg0, arg1 interface{}) *gomock.Call

WaitForReadyWorker indicates an expected call of WaitForReadyWorker

func (*MockUpgraderMockRecorder) WriteStartupBlobs

func (mr *MockUpgraderMockRecorder) WriteStartupBlobs() *gomock.Call

WriteStartupBlobs indicates an expected call of WriteStartupBlobs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL