Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockApplicationInterface
- func (m *MockApplicationInterface) AddServer(arg0 contracts.Server)
- func (m *MockApplicationInterface) Auth() contracts.AuthInterface
- func (m *MockApplicationInterface) BeforeServerRunHooks(arg0 contracts.Callback)
- func (m *MockApplicationInterface) Bootstrap() error
- func (m *MockApplicationInterface) Cache() contracts.CacheInterface
- func (m *MockApplicationInterface) CacheLock() contracts.Locker
- func (m *MockApplicationInterface) Config() *config.Config
- func (m *MockApplicationInterface) CronManager() contracts.CronManager
- func (m *MockApplicationInterface) DB() *gorm.DB
- func (m *MockApplicationInterface) DBManager() contracts.DBManager
- func (m *MockApplicationInterface) Done() <-chan struct{}
- func (m *MockApplicationInterface) EXPECT() *MockApplicationInterfaceMockRecorder
- func (m *MockApplicationInterface) EventDispatcher() contracts.DispatcherInterface
- func (m *MockApplicationInterface) GetPluginByName(arg0 string) contracts.PluginInterface
- func (m *MockApplicationInterface) GetPlugins() map[string]contracts.PluginInterface
- func (m *MockApplicationInterface) GetTracer() trace.Tracer
- func (m *MockApplicationInterface) IsDebug() bool
- func (m *MockApplicationInterface) K8sClient() *contracts.K8sClient
- func (m *MockApplicationInterface) LocalUploader() contracts.Uploader
- func (m *MockApplicationInterface) Oidc() contracts.OidcConfig
- func (m *MockApplicationInterface) RegisterAfterShutdownFunc(arg0 contracts.Callback)
- func (m *MockApplicationInterface) RegisterBeforeShutdownFunc(arg0 contracts.Callback)
- func (m *MockApplicationInterface) Run() context.Context
- func (m *MockApplicationInterface) SetAuth(arg0 contracts.AuthInterface)
- func (m *MockApplicationInterface) SetCache(arg0 contracts.CacheInterface)
- func (m *MockApplicationInterface) SetCacheLock(arg0 contracts.Locker)
- func (m *MockApplicationInterface) SetCronManager(arg0 contracts.CronManager)
- func (m *MockApplicationInterface) SetEventDispatcher(arg0 contracts.DispatcherInterface)
- func (m *MockApplicationInterface) SetK8sClient(arg0 *contracts.K8sClient)
- func (m *MockApplicationInterface) SetLocalUploader(arg0 contracts.Uploader)
- func (m *MockApplicationInterface) SetOidc(arg0 contracts.OidcConfig)
- func (m *MockApplicationInterface) SetPlugins(arg0 map[string]contracts.PluginInterface)
- func (m *MockApplicationInterface) SetTracer(arg0 trace.Tracer)
- func (m *MockApplicationInterface) SetUploader(arg0 contracts.Uploader)
- func (m *MockApplicationInterface) Shutdown()
- func (m *MockApplicationInterface) Singleflight() *singleflight.Group
- func (m *MockApplicationInterface) Uploader() contracts.Uploader
- type MockApplicationInterfaceMockRecorder
- func (mr *MockApplicationInterfaceMockRecorder) AddServer(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Auth() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) BeforeServerRunHooks(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Bootstrap() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Cache() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) CacheLock() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Config() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) CronManager() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) DB() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) DBManager() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Done() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) EventDispatcher() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) GetPluginByName(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) GetPlugins() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) GetTracer() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) IsDebug() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) K8sClient() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) LocalUploader() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Oidc() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) RegisterAfterShutdownFunc(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) RegisterBeforeShutdownFunc(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Run() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetAuth(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetCache(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetCacheLock(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetCronManager(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetEventDispatcher(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetK8sClient(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetLocalUploader(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetOidc(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetPlugins(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetTracer(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) SetUploader(arg0 any) *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Shutdown() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Singleflight() *gomock.Call
- func (mr *MockApplicationInterfaceMockRecorder) Uploader() *gomock.Call
- type MockArchiver
- type MockArchiverMockRecorder
- type MockAuthInterface
- type MockAuthInterfaceMockRecorder
- type MockBranchInterface
- type MockBranchInterfaceMockRecorder
- type MockCacheInterface
- func (m *MockCacheInterface) Clear(arg0 contracts.CacheKeyInterface) error
- func (m *MockCacheInterface) EXPECT() *MockCacheInterfaceMockRecorder
- func (m *MockCacheInterface) Remember(arg0 contracts.CacheKeyInterface, arg1 int, arg2 func() ([]byte, error)) ([]byte, error)
- func (m *MockCacheInterface) SetWithTTL(arg0 contracts.CacheKeyInterface, arg1 []byte, arg2 int) error
- func (m *MockCacheInterface) Store() contracts.Store
- type MockCacheInterfaceMockRecorder
- func (mr *MockCacheInterfaceMockRecorder) Clear(arg0 any) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Remember(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) SetWithTTL(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockCacheInterfaceMockRecorder) Store() *gomock.Call
- type MockCancelSignaler
- func (m *MockCancelSignaler) Add(arg0 string, arg1 func(error)) error
- func (m *MockCancelSignaler) Cancel(arg0 string)
- func (m *MockCancelSignaler) CancelAll()
- func (m *MockCancelSignaler) EXPECT() *MockCancelSignalerMockRecorder
- func (m *MockCancelSignaler) Has(arg0 string) bool
- func (m *MockCancelSignaler) Remove(arg0 string)
- type MockCancelSignalerMockRecorder
- func (mr *MockCancelSignalerMockRecorder) Add(arg0, arg1 any) *gomock.Call
- func (mr *MockCancelSignalerMockRecorder) Cancel(arg0 any) *gomock.Call
- func (mr *MockCancelSignalerMockRecorder) CancelAll() *gomock.Call
- func (mr *MockCancelSignalerMockRecorder) Has(arg0 any) *gomock.Call
- func (mr *MockCancelSignalerMockRecorder) Remove(arg0 any) *gomock.Call
- type MockCommitInterface
- func (m *MockCommitInterface) EXPECT() *MockCommitInterfaceMockRecorder
- func (m *MockCommitInterface) GetAuthorEmail() string
- func (m *MockCommitInterface) GetAuthorName() string
- func (m *MockCommitInterface) GetCommittedDate() *time.Time
- func (m *MockCommitInterface) GetCommitterEmail() string
- func (m *MockCommitInterface) GetCommitterName() string
- func (m *MockCommitInterface) GetCreatedAt() *time.Time
- func (m *MockCommitInterface) GetID() string
- func (m *MockCommitInterface) GetMessage() string
- func (m *MockCommitInterface) GetProjectID() int64
- func (m *MockCommitInterface) GetShortID() string
- func (m *MockCommitInterface) GetTitle() string
- func (m *MockCommitInterface) GetWebURL() string
- type MockCommitInterfaceMockRecorder
- func (mr *MockCommitInterfaceMockRecorder) GetAuthorEmail() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetAuthorName() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetCommittedDate() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetCommitterEmail() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetCommitterName() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetCreatedAt() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetID() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetMessage() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetProjectID() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetShortID() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetTitle() *gomock.Call
- func (mr *MockCommitInterfaceMockRecorder) GetWebURL() *gomock.Call
- type MockCronRunner
- type MockCronRunnerMockRecorder
- type MockDBManager
- type MockDBManagerMockRecorder
- type MockDeployMsger
- func (m *MockDeployMsger) EXPECT() *MockDeployMsgerMockRecorder
- func (m *MockDeployMsger) SendDeployedResult(arg0 websocket.ResultType, arg1 string, arg2 *types.ProjectModel)
- func (m *MockDeployMsger) SendEndError(arg0 error)
- func (m *MockDeployMsger) SendError(arg0 error)
- func (m *MockDeployMsger) SendMsg(arg0 string)
- func (m *MockDeployMsger) SendMsgWithContainerLog(arg0 string, arg1 []*types.Container)
- func (m *MockDeployMsger) SendProcessPercent(arg0 int64)
- func (m *MockDeployMsger) SendProtoMsg(arg0 contracts.WebsocketMessage)
- type MockDeployMsgerMockRecorder
- func (mr *MockDeployMsgerMockRecorder) SendDeployedResult(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendEndError(arg0 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendError(arg0 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendMsg(arg0 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendMsgWithContainerLog(arg0, arg1 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendProcessPercent(arg0 any) *gomock.Call
- func (mr *MockDeployMsgerMockRecorder) SendProtoMsg(arg0 any) *gomock.Call
- type MockDispatcherInterface
- func (m *MockDispatcherInterface) Dispatch(arg0 contracts.Event, arg1 any) error
- func (m *MockDispatcherInterface) EXPECT() *MockDispatcherInterfaceMockRecorder
- func (m *MockDispatcherInterface) Forget(arg0 contracts.Event)
- func (m *MockDispatcherInterface) GetListeners(arg0 contracts.Event) []contracts.Listener
- func (m *MockDispatcherInterface) HasListeners(arg0 contracts.Event) bool
- func (m *MockDispatcherInterface) Listen(arg0 contracts.Event, arg1 contracts.Listener)
- type MockDispatcherInterfaceMockRecorder
- func (mr *MockDispatcherInterfaceMockRecorder) Dispatch(arg0, arg1 any) *gomock.Call
- func (mr *MockDispatcherInterfaceMockRecorder) Forget(arg0 any) *gomock.Call
- func (mr *MockDispatcherInterfaceMockRecorder) GetListeners(arg0 any) *gomock.Call
- func (mr *MockDispatcherInterfaceMockRecorder) HasListeners(arg0 any) *gomock.Call
- func (mr *MockDispatcherInterfaceMockRecorder) Listen(arg0, arg1 any) *gomock.Call
- type MockDomainManager
- func (m *MockDomainManager) Destroy() error
- func (m *MockDomainManager) EXPECT() *MockDomainManagerMockRecorder
- func (m *MockDomainManager) GetCertSecretName(arg0 string, arg1 int) string
- func (m *MockDomainManager) GetCerts() (string, string, string)
- func (m *MockDomainManager) GetClusterIssuer() string
- func (m *MockDomainManager) GetDomain(arg0, arg1 string, arg2 int) string
- func (m *MockDomainManager) GetDomainByIndex(arg0, arg1 string, arg2, arg3 int) string
- func (m *MockDomainManager) Initialize(arg0 map[string]any) error
- func (m *MockDomainManager) Name() string
- type MockDomainManagerMockRecorder
- func (mr *MockDomainManagerMockRecorder) Destroy() *gomock.Call
- func (mr *MockDomainManagerMockRecorder) GetCertSecretName(arg0, arg1 any) *gomock.Call
- func (mr *MockDomainManagerMockRecorder) GetCerts() *gomock.Call
- func (mr *MockDomainManagerMockRecorder) GetClusterIssuer() *gomock.Call
- func (mr *MockDomainManagerMockRecorder) GetDomain(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDomainManagerMockRecorder) GetDomainByIndex(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockDomainManagerMockRecorder) Initialize(arg0 any) *gomock.Call
- func (mr *MockDomainManagerMockRecorder) Name() *gomock.Call
- type MockFile
- func (m *MockFile) Close() error
- func (m *MockFile) EXPECT() *MockFileMockRecorder
- func (m *MockFile) Name() string
- func (m *MockFile) Read(arg0 []byte) (int, error)
- func (m *MockFile) Seek(arg0 int64, arg1 int) (int64, error)
- func (m *MockFile) Stat() (fs.FileInfo, error)
- func (m *MockFile) Write(arg0 []byte) (int, error)
- func (m *MockFile) WriteString(arg0 string) (int, error)
- type MockFileInfo
- type MockFileInfoMockRecorder
- type MockFileMockRecorder
- func (mr *MockFileMockRecorder) Close() *gomock.Call
- func (mr *MockFileMockRecorder) Name() *gomock.Call
- func (mr *MockFileMockRecorder) Read(arg0 any) *gomock.Call
- func (mr *MockFileMockRecorder) Seek(arg0, arg1 any) *gomock.Call
- func (mr *MockFileMockRecorder) Stat() *gomock.Call
- func (mr *MockFileMockRecorder) Write(arg0 any) *gomock.Call
- func (mr *MockFileMockRecorder) WriteString(arg0 any) *gomock.Call
- type MockGitServer
- func (m *MockGitServer) AllBranches(arg0 string) ([]contracts.BranchInterface, error)
- func (m *MockGitServer) AllProjects() ([]contracts.ProjectInterface, error)
- func (m *MockGitServer) Destroy() error
- func (m *MockGitServer) EXPECT() *MockGitServerMockRecorder
- func (m *MockGitServer) GetCommit(arg0, arg1 string) (contracts.CommitInterface, error)
- func (m *MockGitServer) GetCommitPipeline(arg0, arg1 string) (contracts.PipelineInterface, error)
- func (m *MockGitServer) GetDirectoryFilesWithBranch(arg0, arg1, arg2 string, arg3 bool) ([]string, error)
- func (m *MockGitServer) GetDirectoryFilesWithSha(arg0, arg1, arg2 string, arg3 bool) ([]string, error)
- func (m *MockGitServer) GetFileContentWithBranch(arg0, arg1, arg2 string) (string, error)
- func (m *MockGitServer) GetFileContentWithSha(arg0, arg1, arg2 string) (string, error)
- func (m *MockGitServer) GetProject(arg0 string) (contracts.ProjectInterface, error)
- func (m *MockGitServer) Initialize(arg0 map[string]any) error
- func (m *MockGitServer) ListBranches(arg0 string, arg1, arg2 int) (contracts.ListBranchResponseInterface, error)
- func (m *MockGitServer) ListCommits(arg0, arg1 string) ([]contracts.CommitInterface, error)
- func (m *MockGitServer) ListProjects(arg0, arg1 int) (contracts.ListProjectResponseInterface, error)
- func (m *MockGitServer) Name() string
- type MockGitServerMockRecorder
- func (mr *MockGitServerMockRecorder) AllBranches(arg0 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) AllProjects() *gomock.Call
- func (mr *MockGitServerMockRecorder) Destroy() *gomock.Call
- func (mr *MockGitServerMockRecorder) GetCommit(arg0, arg1 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetCommitPipeline(arg0, arg1 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetDirectoryFilesWithBranch(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetDirectoryFilesWithSha(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetFileContentWithBranch(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetFileContentWithSha(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) GetProject(arg0 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) Initialize(arg0 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) ListBranches(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) ListCommits(arg0, arg1 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) ListProjects(arg0, arg1 any) *gomock.Call
- func (mr *MockGitServerMockRecorder) Name() *gomock.Call
- type MockHelmer
- func (m *MockHelmer) EXPECT() *MockHelmerMockRecorder
- func (m *MockHelmer) PackageChart(arg0, arg1 string) (string, error)
- func (m *MockHelmer) ReleaseStatus(arg0, arg1 string) types.Deploy
- func (m *MockHelmer) Rollback(arg0, arg1 string, arg2 bool, arg3 contracts.LogFn, arg4 bool) error
- func (m *MockHelmer) Uninstall(arg0, arg1 string, arg2 contracts.LogFn) error
- func (m *MockHelmer) UpgradeOrInstall(arg0 context.Context, arg1, arg2 string, arg3 *chart.Chart, ...) (*release.Release, error)
- type MockHelmerMockRecorder
- func (mr *MockHelmerMockRecorder) PackageChart(arg0, arg1 any) *gomock.Call
- func (mr *MockHelmerMockRecorder) ReleaseStatus(arg0, arg1 any) *gomock.Call
- func (mr *MockHelmerMockRecorder) Rollback(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
- func (mr *MockHelmerMockRecorder) Uninstall(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockHelmerMockRecorder) UpgradeOrInstall(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 any) *gomock.Call
- type MockJob
- func (m *MockJob) EXPECT() *MockJobMockRecorder
- func (m *MockJob) Error() error
- func (m *MockJob) Finish() contracts.Job
- func (m *MockJob) GlobalLock() contracts.Job
- func (m *MockJob) ID() string
- func (m *MockJob) IsNotDryRun() bool
- func (m *MockJob) LoadConfigs() contracts.Job
- func (m *MockJob) Manifests() []string
- func (m *MockJob) OnError(arg0 int, arg1 func(error, func())) contracts.Job
- func (m *MockJob) OnFinally(arg0 int, arg1 func(error, func())) contracts.Job
- func (m *MockJob) OnSuccess(arg0 int, arg1 func(error, func())) contracts.Job
- func (m *MockJob) Run() contracts.Job
- func (m *MockJob) Stop(arg0 error)
- func (m *MockJob) Validate() contracts.Job
- type MockJobMockRecorder
- func (mr *MockJobMockRecorder) Error() *gomock.Call
- func (mr *MockJobMockRecorder) Finish() *gomock.Call
- func (mr *MockJobMockRecorder) GlobalLock() *gomock.Call
- func (mr *MockJobMockRecorder) ID() *gomock.Call
- func (mr *MockJobMockRecorder) IsNotDryRun() *gomock.Call
- func (mr *MockJobMockRecorder) LoadConfigs() *gomock.Call
- func (mr *MockJobMockRecorder) Manifests() *gomock.Call
- func (mr *MockJobMockRecorder) OnError(arg0, arg1 any) *gomock.Call
- func (mr *MockJobMockRecorder) OnFinally(arg0, arg1 any) *gomock.Call
- func (mr *MockJobMockRecorder) OnSuccess(arg0, arg1 any) *gomock.Call
- func (mr *MockJobMockRecorder) Run() *gomock.Call
- func (mr *MockJobMockRecorder) Stop(arg0 any) *gomock.Call
- func (mr *MockJobMockRecorder) Validate() *gomock.Call
- type MockLocker
- func (m *MockLocker) Acquire(arg0 string, arg1 int64) bool
- func (m *MockLocker) EXPECT() *MockLockerMockRecorder
- func (m *MockLocker) ForceRelease(arg0 string) bool
- func (m *MockLocker) ID() string
- func (m *MockLocker) Owner(arg0 string) string
- func (m *MockLocker) Release(arg0 string) bool
- func (m *MockLocker) RenewalAcquire(arg0 string, arg1, arg2 int64) (func(), bool)
- func (m *MockLocker) Type() string
- type MockLockerMockRecorder
- func (mr *MockLockerMockRecorder) Acquire(arg0, arg1 any) *gomock.Call
- func (mr *MockLockerMockRecorder) ForceRelease(arg0 any) *gomock.Call
- func (mr *MockLockerMockRecorder) ID() *gomock.Call
- func (mr *MockLockerMockRecorder) Owner(arg0 any) *gomock.Call
- func (mr *MockLockerMockRecorder) Release(arg0 any) *gomock.Call
- func (mr *MockLockerMockRecorder) RenewalAcquire(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockLockerMockRecorder) Type() *gomock.Call
- type MockLoggerInterface
- func (m *MockLoggerInterface) Debug(arg0 ...any)
- func (m *MockLoggerInterface) Debugf(arg0 string, arg1 ...any)
- func (m *MockLoggerInterface) EXPECT() *MockLoggerInterfaceMockRecorder
- func (m *MockLoggerInterface) Error(arg0 ...any)
- func (m *MockLoggerInterface) Errorf(arg0 string, arg1 ...any)
- func (m *MockLoggerInterface) Fatal(arg0 ...any)
- func (m *MockLoggerInterface) Fatalf(arg0 string, arg1 ...any)
- func (m *MockLoggerInterface) Info(arg0 ...any)
- func (m *MockLoggerInterface) Infof(arg0 string, arg1 ...any)
- func (m *MockLoggerInterface) Warning(arg0 ...any)
- func (m *MockLoggerInterface) Warningf(arg0 string, arg1 ...any)
- type MockLoggerInterfaceMockRecorder
- func (mr *MockLoggerInterfaceMockRecorder) Debug(arg0 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Debugf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Error(arg0 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Fatal(arg0 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Fatalf(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Info(arg0 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Warning(arg0 ...any) *gomock.Call
- func (mr *MockLoggerInterfaceMockRecorder) Warningf(arg0 any, arg1 ...any) *gomock.Call
- type MockPictureInterface
- func (m *MockPictureInterface) Destroy() error
- func (m *MockPictureInterface) EXPECT() *MockPictureInterfaceMockRecorder
- func (m *MockPictureInterface) Get(arg0 context.Context, arg1 bool) (*contracts.Picture, error)
- func (m *MockPictureInterface) Initialize(arg0 map[string]any) error
- func (m *MockPictureInterface) Name() string
- type MockPictureInterfaceMockRecorder
- type MockPipelineInterface
- func (m *MockPipelineInterface) EXPECT() *MockPipelineInterfaceMockRecorder
- func (m *MockPipelineInterface) GetCreatedAt() *time.Time
- func (m *MockPipelineInterface) GetID() int64
- func (m *MockPipelineInterface) GetProjectID() int64
- func (m *MockPipelineInterface) GetRef() string
- func (m *MockPipelineInterface) GetSHA() string
- func (m *MockPipelineInterface) GetStatus() string
- func (m *MockPipelineInterface) GetUpdatedAt() *time.Time
- func (m *MockPipelineInterface) GetWebURL() string
- type MockPipelineInterfaceMockRecorder
- func (mr *MockPipelineInterfaceMockRecorder) GetCreatedAt() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetID() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetProjectID() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetRef() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetSHA() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetStatus() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetUpdatedAt() *gomock.Call
- func (mr *MockPipelineInterfaceMockRecorder) GetWebURL() *gomock.Call
- type MockPluginInterface
- type MockPluginInterfaceMockRecorder
- type MockPodFileCopier
- type MockPodFileCopierMockRecorder
- type MockProjectInterface
- func (m *MockProjectInterface) EXPECT() *MockProjectInterfaceMockRecorder
- func (m *MockProjectInterface) GetAvatarURL() string
- func (m *MockProjectInterface) GetDefaultBranch() string
- func (m *MockProjectInterface) GetDescription() string
- func (m *MockProjectInterface) GetID() int64
- func (m *MockProjectInterface) GetName() string
- func (m *MockProjectInterface) GetPath() string
- func (m *MockProjectInterface) GetWebURL() string
- type MockProjectInterfaceMockRecorder
- func (mr *MockProjectInterfaceMockRecorder) GetAvatarURL() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetDefaultBranch() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetDescription() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetID() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetName() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetPath() *gomock.Call
- func (mr *MockProjectInterfaceMockRecorder) GetWebURL() *gomock.Call
- type MockPtyHandler
- func (m *MockPtyHandler) Close(arg0 string) bool
- func (m *MockPtyHandler) Cols() uint16
- func (m *MockPtyHandler) Container() contracts.Container
- func (m *MockPtyHandler) EXPECT() *MockPtyHandlerMockRecorder
- func (m *MockPtyHandler) IsClosed() bool
- func (m *MockPtyHandler) Next() *remotecommand.TerminalSize
- func (m *MockPtyHandler) Read(arg0 []byte) (int, error)
- func (m *MockPtyHandler) Recorder() contracts.RecorderInterface
- func (m *MockPtyHandler) ResetTerminalRowCol(arg0 bool)
- func (m *MockPtyHandler) Resize(arg0 remotecommand.TerminalSize) error
- func (m *MockPtyHandler) Rows() uint16
- func (m *MockPtyHandler) Send(arg0 *websocket.TerminalMessage) error
- func (m *MockPtyHandler) SetShell(arg0 string)
- func (m *MockPtyHandler) Toast(arg0 string) error
- func (m *MockPtyHandler) Write(arg0 []byte) (int, error)
- type MockPtyHandlerMockRecorder
- func (mr *MockPtyHandlerMockRecorder) Close(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Cols() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Container() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) IsClosed() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Next() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Read(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Recorder() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) ResetTerminalRowCol(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Resize(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Rows() *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) SetShell(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Toast(arg0 any) *gomock.Call
- func (mr *MockPtyHandlerMockRecorder) Write(arg0 any) *gomock.Call
- type MockPubSub
- func (m *MockPubSub) Close() error
- func (m *MockPubSub) EXPECT() *MockPubSubMockRecorder
- func (m *MockPubSub) ID() string
- func (m *MockPubSub) Info() any
- func (m *MockPubSub) Join(arg0 int64) error
- func (m *MockPubSub) Leave(arg0, arg1 int64) error
- func (m *MockPubSub) Publish(arg0 int64, arg1 *v1.Pod) error
- func (m *MockPubSub) Run(arg0 context.Context) error
- func (m *MockPubSub) Subscribe() <-chan []byte
- func (m *MockPubSub) ToAll(arg0 contracts.WebsocketMessage) error
- func (m *MockPubSub) ToOthers(arg0 contracts.WebsocketMessage) error
- func (m *MockPubSub) ToSelf(arg0 contracts.WebsocketMessage) error
- func (m *MockPubSub) Uid() string
- type MockPubSubMockRecorder
- func (mr *MockPubSubMockRecorder) Close() *gomock.Call
- func (mr *MockPubSubMockRecorder) ID() *gomock.Call
- func (mr *MockPubSubMockRecorder) Info() *gomock.Call
- func (mr *MockPubSubMockRecorder) Join(arg0 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) Leave(arg0, arg1 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) Publish(arg0, arg1 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) Run(arg0 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) Subscribe() *gomock.Call
- func (mr *MockPubSubMockRecorder) ToAll(arg0 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) ToOthers(arg0 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) ToSelf(arg0 any) *gomock.Call
- func (mr *MockPubSubMockRecorder) Uid() *gomock.Call
- type MockRecorderInterface
- func (m *MockRecorderInterface) Close() error
- func (m *MockRecorderInterface) EXPECT() *MockRecorderInterfaceMockRecorder
- func (m *MockRecorderInterface) GetShell() string
- func (m *MockRecorderInterface) Resize(arg0, arg1 uint16)
- func (m *MockRecorderInterface) SetShell(arg0 string)
- func (m *MockRecorderInterface) Write(arg0 string) error
- type MockRecorderInterfaceMockRecorder
- func (mr *MockRecorderInterfaceMockRecorder) Close() *gomock.Call
- func (mr *MockRecorderInterfaceMockRecorder) GetShell() *gomock.Call
- func (mr *MockRecorderInterfaceMockRecorder) Resize(arg0, arg1 any) *gomock.Call
- func (mr *MockRecorderInterfaceMockRecorder) SetShell(arg0 any) *gomock.Call
- func (mr *MockRecorderInterfaceMockRecorder) Write(arg0 any) *gomock.Call
- type MockReleaseInstaller
- func (m *MockReleaseInstaller) Chart() *chart.Chart
- func (m *MockReleaseInstaller) EXPECT() *MockReleaseInstallerMockRecorder
- func (m *MockReleaseInstaller) Logs() []string
- func (m *MockReleaseInstaller) Run(arg0 context.Context, arg1 contracts.SafeWriteMessageChInterface, ...) (*release.Release, error)
- type MockReleaseInstallerMockRecorder
- type MockRemoteExecutor
- func (m *MockRemoteExecutor) EXPECT() *MockRemoteExecutorMockRecorder
- func (m *MockRemoteExecutor) Execute(arg0 context.Context, arg1 kubernetes.Interface, arg2 *rest.Config, ...) error
- func (m *MockRemoteExecutor) WithCommand(arg0 []string) contracts.RemoteExecutor
- func (m *MockRemoteExecutor) WithContainer(arg0, arg1, arg2 string) contracts.RemoteExecutor
- func (m *MockRemoteExecutor) WithMethod(arg0 string) contracts.RemoteExecutor
- type MockRemoteExecutorMockRecorder
- func (mr *MockRemoteExecutorMockRecorder) Execute(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call
- func (mr *MockRemoteExecutorMockRecorder) WithCommand(arg0 any) *gomock.Call
- func (mr *MockRemoteExecutorMockRecorder) WithContainer(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRemoteExecutorMockRecorder) WithMethod(arg0 any) *gomock.Call
- type MockSessionMapper
- func (m *MockSessionMapper) Close(arg0 string, arg1 uint32, arg2 string)
- func (m *MockSessionMapper) CloseAll()
- func (m *MockSessionMapper) EXPECT() *MockSessionMapperMockRecorder
- func (m *MockSessionMapper) Get(arg0 string) (contracts.PtyHandler, bool)
- func (m *MockSessionMapper) Send(arg0 *websocket.TerminalMessage)
- func (m *MockSessionMapper) Set(arg0 string, arg1 contracts.PtyHandler)
- type MockSessionMapperMockRecorder
- func (mr *MockSessionMapperMockRecorder) Close(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockSessionMapperMockRecorder) CloseAll() *gomock.Call
- func (mr *MockSessionMapperMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockSessionMapperMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockSessionMapperMockRecorder) Set(arg0, arg1 any) *gomock.Call
- type MockTracer
- type MockTracerMockRecorder
- type MockUploader
- func (m *MockUploader) AbsolutePath(arg0 string) string
- func (m *MockUploader) AllDirectoryFiles(arg0 string) ([]contracts.FileInfo, error)
- func (m *MockUploader) Delete(arg0 string) error
- func (m *MockUploader) DeleteDir(arg0 string) error
- func (m *MockUploader) DirSize() (int64, error)
- func (m *MockUploader) Disk(arg0 string) contracts.Uploader
- func (m *MockUploader) EXPECT() *MockUploaderMockRecorder
- func (m *MockUploader) Exists(arg0 string) bool
- func (m *MockUploader) MkDir(arg0 string, arg1 bool) error
- func (m *MockUploader) NewFile(arg0 string) (contracts.File, error)
- func (m *MockUploader) Put(arg0 string, arg1 io.Reader) (contracts.FileInfo, error)
- func (m *MockUploader) Read(arg0 string) (io.ReadCloser, error)
- func (m *MockUploader) RemoveEmptyDir() error
- func (m *MockUploader) Stat(arg0 string) (contracts.FileInfo, error)
- func (m *MockUploader) Type() contracts.UploadType
- type MockUploaderMockRecorder
- func (mr *MockUploaderMockRecorder) AbsolutePath(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) AllDirectoryFiles(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) DeleteDir(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) DirSize() *gomock.Call
- func (mr *MockUploaderMockRecorder) Disk(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) Exists(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) MkDir(arg0, arg1 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) NewFile(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) Put(arg0, arg1 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) Read(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) RemoveEmptyDir() *gomock.Call
- func (mr *MockUploaderMockRecorder) Stat(arg0 any) *gomock.Call
- func (mr *MockUploaderMockRecorder) Type() *gomock.Call
- type MockWebsocketConn
- func (m *MockWebsocketConn) Close() error
- func (m *MockWebsocketConn) EXPECT() *MockWebsocketConnMockRecorder
- func (m *MockWebsocketConn) NextWriter(arg0 int) (io.WriteCloser, error)
- func (m *MockWebsocketConn) ReadMessage() (int, []byte, error)
- func (m *MockWebsocketConn) SetPongHandler(arg0 func(string) error)
- func (m *MockWebsocketConn) SetReadDeadline(arg0 time.Time) error
- func (m *MockWebsocketConn) SetReadLimit(arg0 int64)
- func (m *MockWebsocketConn) SetWriteDeadline(arg0 time.Time) error
- func (m *MockWebsocketConn) WriteMessage(arg0 int, arg1 []byte) error
- type MockWebsocketConnMockRecorder
- func (mr *MockWebsocketConnMockRecorder) Close() *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) NextWriter(arg0 any) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) ReadMessage() *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetPongHandler(arg0 any) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetReadDeadline(arg0 any) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetReadLimit(arg0 any) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetWriteDeadline(arg0 any) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) WriteMessage(arg0, arg1 any) *gomock.Call
- type MockWsSender
- type MockWsSenderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockApplicationInterface ¶
type MockApplicationInterface struct {
// contains filtered or unexported fields
}
MockApplicationInterface is a mock of ApplicationInterface interface.
func NewMockApplicationInterface ¶
func NewMockApplicationInterface(ctrl *gomock.Controller) *MockApplicationInterface
NewMockApplicationInterface creates a new mock instance.
func (*MockApplicationInterface) AddServer ¶
func (m *MockApplicationInterface) AddServer(arg0 contracts.Server)
AddServer mocks base method.
func (*MockApplicationInterface) Auth ¶
func (m *MockApplicationInterface) Auth() contracts.AuthInterface
Auth mocks base method.
func (*MockApplicationInterface) BeforeServerRunHooks ¶
func (m *MockApplicationInterface) BeforeServerRunHooks(arg0 contracts.Callback)
BeforeServerRunHooks mocks base method.
func (*MockApplicationInterface) Bootstrap ¶
func (m *MockApplicationInterface) Bootstrap() error
Bootstrap mocks base method.
func (*MockApplicationInterface) Cache ¶
func (m *MockApplicationInterface) Cache() contracts.CacheInterface
Cache mocks base method.
func (*MockApplicationInterface) CacheLock ¶
func (m *MockApplicationInterface) CacheLock() contracts.Locker
CacheLock mocks base method.
func (*MockApplicationInterface) Config ¶
func (m *MockApplicationInterface) Config() *config.Config
Config mocks base method.
func (*MockApplicationInterface) CronManager ¶
func (m *MockApplicationInterface) CronManager() contracts.CronManager
CronManager mocks base method.
func (*MockApplicationInterface) DB ¶
func (m *MockApplicationInterface) DB() *gorm.DB
DB mocks base method.
func (*MockApplicationInterface) DBManager ¶
func (m *MockApplicationInterface) DBManager() contracts.DBManager
DBManager mocks base method.
func (*MockApplicationInterface) Done ¶
func (m *MockApplicationInterface) Done() <-chan struct{}
Done mocks base method.
func (*MockApplicationInterface) EXPECT ¶
func (m *MockApplicationInterface) EXPECT() *MockApplicationInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockApplicationInterface) EventDispatcher ¶
func (m *MockApplicationInterface) EventDispatcher() contracts.DispatcherInterface
EventDispatcher mocks base method.
func (*MockApplicationInterface) GetPluginByName ¶
func (m *MockApplicationInterface) GetPluginByName(arg0 string) contracts.PluginInterface
GetPluginByName mocks base method.
func (*MockApplicationInterface) GetPlugins ¶
func (m *MockApplicationInterface) GetPlugins() map[string]contracts.PluginInterface
GetPlugins mocks base method.
func (*MockApplicationInterface) GetTracer ¶
func (m *MockApplicationInterface) GetTracer() trace.Tracer
GetTracer mocks base method.
func (*MockApplicationInterface) IsDebug ¶
func (m *MockApplicationInterface) IsDebug() bool
IsDebug mocks base method.
func (*MockApplicationInterface) K8sClient ¶
func (m *MockApplicationInterface) K8sClient() *contracts.K8sClient
K8sClient mocks base method.
func (*MockApplicationInterface) LocalUploader ¶
func (m *MockApplicationInterface) LocalUploader() contracts.Uploader
LocalUploader mocks base method.
func (*MockApplicationInterface) Oidc ¶
func (m *MockApplicationInterface) Oidc() contracts.OidcConfig
Oidc mocks base method.
func (*MockApplicationInterface) RegisterAfterShutdownFunc ¶
func (m *MockApplicationInterface) RegisterAfterShutdownFunc(arg0 contracts.Callback)
RegisterAfterShutdownFunc mocks base method.
func (*MockApplicationInterface) RegisterBeforeShutdownFunc ¶
func (m *MockApplicationInterface) RegisterBeforeShutdownFunc(arg0 contracts.Callback)
RegisterBeforeShutdownFunc mocks base method.
func (*MockApplicationInterface) Run ¶
func (m *MockApplicationInterface) Run() context.Context
Run mocks base method.
func (*MockApplicationInterface) SetAuth ¶
func (m *MockApplicationInterface) SetAuth(arg0 contracts.AuthInterface)
SetAuth mocks base method.
func (*MockApplicationInterface) SetCache ¶
func (m *MockApplicationInterface) SetCache(arg0 contracts.CacheInterface)
SetCache mocks base method.
func (*MockApplicationInterface) SetCacheLock ¶
func (m *MockApplicationInterface) SetCacheLock(arg0 contracts.Locker)
SetCacheLock mocks base method.
func (*MockApplicationInterface) SetCronManager ¶
func (m *MockApplicationInterface) SetCronManager(arg0 contracts.CronManager)
SetCronManager mocks base method.
func (*MockApplicationInterface) SetEventDispatcher ¶
func (m *MockApplicationInterface) SetEventDispatcher(arg0 contracts.DispatcherInterface)
SetEventDispatcher mocks base method.
func (*MockApplicationInterface) SetK8sClient ¶
func (m *MockApplicationInterface) SetK8sClient(arg0 *contracts.K8sClient)
SetK8sClient mocks base method.
func (*MockApplicationInterface) SetLocalUploader ¶
func (m *MockApplicationInterface) SetLocalUploader(arg0 contracts.Uploader)
SetLocalUploader mocks base method.
func (*MockApplicationInterface) SetOidc ¶
func (m *MockApplicationInterface) SetOidc(arg0 contracts.OidcConfig)
SetOidc mocks base method.
func (*MockApplicationInterface) SetPlugins ¶
func (m *MockApplicationInterface) SetPlugins(arg0 map[string]contracts.PluginInterface)
SetPlugins mocks base method.
func (*MockApplicationInterface) SetTracer ¶
func (m *MockApplicationInterface) SetTracer(arg0 trace.Tracer)
SetTracer mocks base method.
func (*MockApplicationInterface) SetUploader ¶
func (m *MockApplicationInterface) SetUploader(arg0 contracts.Uploader)
SetUploader mocks base method.
func (*MockApplicationInterface) Shutdown ¶
func (m *MockApplicationInterface) Shutdown()
Shutdown mocks base method.
func (*MockApplicationInterface) Singleflight ¶
func (m *MockApplicationInterface) Singleflight() *singleflight.Group
Singleflight mocks base method.
func (*MockApplicationInterface) Uploader ¶
func (m *MockApplicationInterface) Uploader() contracts.Uploader
Uploader mocks base method.
type MockApplicationInterfaceMockRecorder ¶
type MockApplicationInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockApplicationInterfaceMockRecorder is the mock recorder for MockApplicationInterface.
func (*MockApplicationInterfaceMockRecorder) AddServer ¶
func (mr *MockApplicationInterfaceMockRecorder) AddServer(arg0 any) *gomock.Call
AddServer indicates an expected call of AddServer.
func (*MockApplicationInterfaceMockRecorder) Auth ¶
func (mr *MockApplicationInterfaceMockRecorder) Auth() *gomock.Call
Auth indicates an expected call of Auth.
func (*MockApplicationInterfaceMockRecorder) BeforeServerRunHooks ¶
func (mr *MockApplicationInterfaceMockRecorder) BeforeServerRunHooks(arg0 any) *gomock.Call
BeforeServerRunHooks indicates an expected call of BeforeServerRunHooks.
func (*MockApplicationInterfaceMockRecorder) Bootstrap ¶
func (mr *MockApplicationInterfaceMockRecorder) Bootstrap() *gomock.Call
Bootstrap indicates an expected call of Bootstrap.
func (*MockApplicationInterfaceMockRecorder) Cache ¶
func (mr *MockApplicationInterfaceMockRecorder) Cache() *gomock.Call
Cache indicates an expected call of Cache.
func (*MockApplicationInterfaceMockRecorder) CacheLock ¶
func (mr *MockApplicationInterfaceMockRecorder) CacheLock() *gomock.Call
CacheLock indicates an expected call of CacheLock.
func (*MockApplicationInterfaceMockRecorder) Config ¶
func (mr *MockApplicationInterfaceMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockApplicationInterfaceMockRecorder) CronManager ¶
func (mr *MockApplicationInterfaceMockRecorder) CronManager() *gomock.Call
CronManager indicates an expected call of CronManager.
func (*MockApplicationInterfaceMockRecorder) DB ¶
func (mr *MockApplicationInterfaceMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB.
func (*MockApplicationInterfaceMockRecorder) DBManager ¶
func (mr *MockApplicationInterfaceMockRecorder) DBManager() *gomock.Call
DBManager indicates an expected call of DBManager.
func (*MockApplicationInterfaceMockRecorder) Done ¶
func (mr *MockApplicationInterfaceMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done.
func (*MockApplicationInterfaceMockRecorder) EventDispatcher ¶
func (mr *MockApplicationInterfaceMockRecorder) EventDispatcher() *gomock.Call
EventDispatcher indicates an expected call of EventDispatcher.
func (*MockApplicationInterfaceMockRecorder) GetPluginByName ¶
func (mr *MockApplicationInterfaceMockRecorder) GetPluginByName(arg0 any) *gomock.Call
GetPluginByName indicates an expected call of GetPluginByName.
func (*MockApplicationInterfaceMockRecorder) GetPlugins ¶
func (mr *MockApplicationInterfaceMockRecorder) GetPlugins() *gomock.Call
GetPlugins indicates an expected call of GetPlugins.
func (*MockApplicationInterfaceMockRecorder) GetTracer ¶
func (mr *MockApplicationInterfaceMockRecorder) GetTracer() *gomock.Call
GetTracer indicates an expected call of GetTracer.
func (*MockApplicationInterfaceMockRecorder) IsDebug ¶
func (mr *MockApplicationInterfaceMockRecorder) IsDebug() *gomock.Call
IsDebug indicates an expected call of IsDebug.
func (*MockApplicationInterfaceMockRecorder) K8sClient ¶
func (mr *MockApplicationInterfaceMockRecorder) K8sClient() *gomock.Call
K8sClient indicates an expected call of K8sClient.
func (*MockApplicationInterfaceMockRecorder) LocalUploader ¶
func (mr *MockApplicationInterfaceMockRecorder) LocalUploader() *gomock.Call
LocalUploader indicates an expected call of LocalUploader.
func (*MockApplicationInterfaceMockRecorder) Oidc ¶
func (mr *MockApplicationInterfaceMockRecorder) Oidc() *gomock.Call
Oidc indicates an expected call of Oidc.
func (*MockApplicationInterfaceMockRecorder) RegisterAfterShutdownFunc ¶
func (mr *MockApplicationInterfaceMockRecorder) RegisterAfterShutdownFunc(arg0 any) *gomock.Call
RegisterAfterShutdownFunc indicates an expected call of RegisterAfterShutdownFunc.
func (*MockApplicationInterfaceMockRecorder) RegisterBeforeShutdownFunc ¶
func (mr *MockApplicationInterfaceMockRecorder) RegisterBeforeShutdownFunc(arg0 any) *gomock.Call
RegisterBeforeShutdownFunc indicates an expected call of RegisterBeforeShutdownFunc.
func (*MockApplicationInterfaceMockRecorder) Run ¶
func (mr *MockApplicationInterfaceMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockApplicationInterfaceMockRecorder) SetAuth ¶
func (mr *MockApplicationInterfaceMockRecorder) SetAuth(arg0 any) *gomock.Call
SetAuth indicates an expected call of SetAuth.
func (*MockApplicationInterfaceMockRecorder) SetCache ¶
func (mr *MockApplicationInterfaceMockRecorder) SetCache(arg0 any) *gomock.Call
SetCache indicates an expected call of SetCache.
func (*MockApplicationInterfaceMockRecorder) SetCacheLock ¶
func (mr *MockApplicationInterfaceMockRecorder) SetCacheLock(arg0 any) *gomock.Call
SetCacheLock indicates an expected call of SetCacheLock.
func (*MockApplicationInterfaceMockRecorder) SetCronManager ¶
func (mr *MockApplicationInterfaceMockRecorder) SetCronManager(arg0 any) *gomock.Call
SetCronManager indicates an expected call of SetCronManager.
func (*MockApplicationInterfaceMockRecorder) SetEventDispatcher ¶
func (mr *MockApplicationInterfaceMockRecorder) SetEventDispatcher(arg0 any) *gomock.Call
SetEventDispatcher indicates an expected call of SetEventDispatcher.
func (*MockApplicationInterfaceMockRecorder) SetK8sClient ¶
func (mr *MockApplicationInterfaceMockRecorder) SetK8sClient(arg0 any) *gomock.Call
SetK8sClient indicates an expected call of SetK8sClient.
func (*MockApplicationInterfaceMockRecorder) SetLocalUploader ¶
func (mr *MockApplicationInterfaceMockRecorder) SetLocalUploader(arg0 any) *gomock.Call
SetLocalUploader indicates an expected call of SetLocalUploader.
func (*MockApplicationInterfaceMockRecorder) SetOidc ¶
func (mr *MockApplicationInterfaceMockRecorder) SetOidc(arg0 any) *gomock.Call
SetOidc indicates an expected call of SetOidc.
func (*MockApplicationInterfaceMockRecorder) SetPlugins ¶
func (mr *MockApplicationInterfaceMockRecorder) SetPlugins(arg0 any) *gomock.Call
SetPlugins indicates an expected call of SetPlugins.
func (*MockApplicationInterfaceMockRecorder) SetTracer ¶
func (mr *MockApplicationInterfaceMockRecorder) SetTracer(arg0 any) *gomock.Call
SetTracer indicates an expected call of SetTracer.
func (*MockApplicationInterfaceMockRecorder) SetUploader ¶
func (mr *MockApplicationInterfaceMockRecorder) SetUploader(arg0 any) *gomock.Call
SetUploader indicates an expected call of SetUploader.
func (*MockApplicationInterfaceMockRecorder) Shutdown ¶
func (mr *MockApplicationInterfaceMockRecorder) Shutdown() *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockApplicationInterfaceMockRecorder) Singleflight ¶
func (mr *MockApplicationInterfaceMockRecorder) Singleflight() *gomock.Call
Singleflight indicates an expected call of Singleflight.
func (*MockApplicationInterfaceMockRecorder) Uploader ¶
func (mr *MockApplicationInterfaceMockRecorder) Uploader() *gomock.Call
Uploader indicates an expected call of Uploader.
type MockArchiver ¶
type MockArchiver struct {
// contains filtered or unexported fields
}
MockArchiver is a mock of Archiver interface.
func NewMockArchiver ¶
func NewMockArchiver(ctrl *gomock.Controller) *MockArchiver
NewMockArchiver creates a new mock instance.
func (*MockArchiver) Archive ¶
func (m *MockArchiver) Archive(arg0 []string, arg1 string) error
Archive mocks base method.
func (*MockArchiver) EXPECT ¶
func (m *MockArchiver) EXPECT() *MockArchiverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockArchiver) Open ¶
func (m *MockArchiver) Open(arg0 string) (io.ReadCloser, error)
Open mocks base method.
func (*MockArchiver) Remove ¶
func (m *MockArchiver) Remove(arg0 string) error
Remove mocks base method.
type MockArchiverMockRecorder ¶
type MockArchiverMockRecorder struct {
// contains filtered or unexported fields
}
MockArchiverMockRecorder is the mock recorder for MockArchiver.
func (*MockArchiverMockRecorder) Archive ¶
func (mr *MockArchiverMockRecorder) Archive(arg0, arg1 any) *gomock.Call
Archive indicates an expected call of Archive.
type MockAuthInterface ¶
type MockAuthInterface struct {
// contains filtered or unexported fields
}
MockAuthInterface is a mock of AuthInterface interface.
func NewMockAuthInterface ¶
func NewMockAuthInterface(ctrl *gomock.Controller) *MockAuthInterface
NewMockAuthInterface creates a new mock instance.
func (*MockAuthInterface) EXPECT ¶
func (m *MockAuthInterface) EXPECT() *MockAuthInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAuthInterface) VerifyToken ¶
func (m *MockAuthInterface) VerifyToken(arg0 string) (*contracts.JwtClaims, bool)
VerifyToken mocks base method.
type MockAuthInterfaceMockRecorder ¶
type MockAuthInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockAuthInterfaceMockRecorder is the mock recorder for MockAuthInterface.
func (*MockAuthInterfaceMockRecorder) Sign ¶
func (mr *MockAuthInterfaceMockRecorder) Sign(arg0 any) *gomock.Call
Sign indicates an expected call of Sign.
func (*MockAuthInterfaceMockRecorder) VerifyToken ¶
func (mr *MockAuthInterfaceMockRecorder) VerifyToken(arg0 any) *gomock.Call
VerifyToken indicates an expected call of VerifyToken.
type MockBranchInterface ¶
type MockBranchInterface struct {
// contains filtered or unexported fields
}
MockBranchInterface is a mock of BranchInterface interface.
func NewMockBranchInterface ¶
func NewMockBranchInterface(ctrl *gomock.Controller) *MockBranchInterface
NewMockBranchInterface creates a new mock instance.
func (*MockBranchInterface) EXPECT ¶
func (m *MockBranchInterface) EXPECT() *MockBranchInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBranchInterface) GetName ¶
func (m *MockBranchInterface) GetName() string
GetName mocks base method.
func (*MockBranchInterface) GetWebURL ¶
func (m *MockBranchInterface) GetWebURL() string
GetWebURL mocks base method.
func (*MockBranchInterface) IsDefault ¶
func (m *MockBranchInterface) IsDefault() bool
IsDefault mocks base method.
type MockBranchInterfaceMockRecorder ¶
type MockBranchInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockBranchInterfaceMockRecorder is the mock recorder for MockBranchInterface.
func (*MockBranchInterfaceMockRecorder) GetName ¶
func (mr *MockBranchInterfaceMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockBranchInterfaceMockRecorder) GetWebURL ¶
func (mr *MockBranchInterfaceMockRecorder) GetWebURL() *gomock.Call
GetWebURL indicates an expected call of GetWebURL.
func (*MockBranchInterfaceMockRecorder) IsDefault ¶
func (mr *MockBranchInterfaceMockRecorder) IsDefault() *gomock.Call
IsDefault indicates an expected call of IsDefault.
type MockCacheInterface ¶
type MockCacheInterface struct {
// contains filtered or unexported fields
}
MockCacheInterface is a mock of CacheInterface interface.
func NewMockCacheInterface ¶
func NewMockCacheInterface(ctrl *gomock.Controller) *MockCacheInterface
NewMockCacheInterface creates a new mock instance.
func (*MockCacheInterface) Clear ¶
func (m *MockCacheInterface) Clear(arg0 contracts.CacheKeyInterface) error
Clear mocks base method.
func (*MockCacheInterface) EXPECT ¶
func (m *MockCacheInterface) EXPECT() *MockCacheInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCacheInterface) Remember ¶
func (m *MockCacheInterface) Remember(arg0 contracts.CacheKeyInterface, arg1 int, arg2 func() ([]byte, error)) ([]byte, error)
Remember mocks base method.
func (*MockCacheInterface) SetWithTTL ¶
func (m *MockCacheInterface) SetWithTTL(arg0 contracts.CacheKeyInterface, arg1 []byte, arg2 int) error
SetWithTTL mocks base method.
func (*MockCacheInterface) Store ¶ added in v4.19.7
func (m *MockCacheInterface) Store() contracts.Store
Store mocks base method.
type MockCacheInterfaceMockRecorder ¶
type MockCacheInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCacheInterfaceMockRecorder is the mock recorder for MockCacheInterface.
func (*MockCacheInterfaceMockRecorder) Clear ¶
func (mr *MockCacheInterfaceMockRecorder) Clear(arg0 any) *gomock.Call
Clear indicates an expected call of Clear.
func (*MockCacheInterfaceMockRecorder) Remember ¶
func (mr *MockCacheInterfaceMockRecorder) Remember(arg0, arg1, arg2 any) *gomock.Call
Remember indicates an expected call of Remember.
func (*MockCacheInterfaceMockRecorder) SetWithTTL ¶
func (mr *MockCacheInterfaceMockRecorder) SetWithTTL(arg0, arg1, arg2 any) *gomock.Call
SetWithTTL indicates an expected call of SetWithTTL.
func (*MockCacheInterfaceMockRecorder) Store ¶ added in v4.19.7
func (mr *MockCacheInterfaceMockRecorder) Store() *gomock.Call
Store indicates an expected call of Store.
type MockCancelSignaler ¶
type MockCancelSignaler struct {
// contains filtered or unexported fields
}
MockCancelSignaler is a mock of CancelSignaler interface.
func NewMockCancelSignaler ¶
func NewMockCancelSignaler(ctrl *gomock.Controller) *MockCancelSignaler
NewMockCancelSignaler creates a new mock instance.
func (*MockCancelSignaler) Add ¶
func (m *MockCancelSignaler) Add(arg0 string, arg1 func(error)) error
Add mocks base method.
func (*MockCancelSignaler) Cancel ¶
func (m *MockCancelSignaler) Cancel(arg0 string)
Cancel mocks base method.
func (*MockCancelSignaler) CancelAll ¶
func (m *MockCancelSignaler) CancelAll()
CancelAll mocks base method.
func (*MockCancelSignaler) EXPECT ¶
func (m *MockCancelSignaler) EXPECT() *MockCancelSignalerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCancelSignaler) Has ¶
func (m *MockCancelSignaler) Has(arg0 string) bool
Has mocks base method.
func (*MockCancelSignaler) Remove ¶
func (m *MockCancelSignaler) Remove(arg0 string)
Remove mocks base method.
type MockCancelSignalerMockRecorder ¶
type MockCancelSignalerMockRecorder struct {
// contains filtered or unexported fields
}
MockCancelSignalerMockRecorder is the mock recorder for MockCancelSignaler.
func (*MockCancelSignalerMockRecorder) Add ¶
func (mr *MockCancelSignalerMockRecorder) Add(arg0, arg1 any) *gomock.Call
Add indicates an expected call of Add.
func (*MockCancelSignalerMockRecorder) Cancel ¶
func (mr *MockCancelSignalerMockRecorder) Cancel(arg0 any) *gomock.Call
Cancel indicates an expected call of Cancel.
func (*MockCancelSignalerMockRecorder) CancelAll ¶
func (mr *MockCancelSignalerMockRecorder) CancelAll() *gomock.Call
CancelAll indicates an expected call of CancelAll.
type MockCommitInterface ¶
type MockCommitInterface struct {
// contains filtered or unexported fields
}
MockCommitInterface is a mock of CommitInterface interface.
func NewMockCommitInterface ¶
func NewMockCommitInterface(ctrl *gomock.Controller) *MockCommitInterface
NewMockCommitInterface creates a new mock instance.
func (*MockCommitInterface) EXPECT ¶
func (m *MockCommitInterface) EXPECT() *MockCommitInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCommitInterface) GetAuthorEmail ¶
func (m *MockCommitInterface) GetAuthorEmail() string
GetAuthorEmail mocks base method.
func (*MockCommitInterface) GetAuthorName ¶
func (m *MockCommitInterface) GetAuthorName() string
GetAuthorName mocks base method.
func (*MockCommitInterface) GetCommittedDate ¶
func (m *MockCommitInterface) GetCommittedDate() *time.Time
GetCommittedDate mocks base method.
func (*MockCommitInterface) GetCommitterEmail ¶
func (m *MockCommitInterface) GetCommitterEmail() string
GetCommitterEmail mocks base method.
func (*MockCommitInterface) GetCommitterName ¶
func (m *MockCommitInterface) GetCommitterName() string
GetCommitterName mocks base method.
func (*MockCommitInterface) GetCreatedAt ¶
func (m *MockCommitInterface) GetCreatedAt() *time.Time
GetCreatedAt mocks base method.
func (*MockCommitInterface) GetID ¶
func (m *MockCommitInterface) GetID() string
GetID mocks base method.
func (*MockCommitInterface) GetMessage ¶
func (m *MockCommitInterface) GetMessage() string
GetMessage mocks base method.
func (*MockCommitInterface) GetProjectID ¶
func (m *MockCommitInterface) GetProjectID() int64
GetProjectID mocks base method.
func (*MockCommitInterface) GetShortID ¶
func (m *MockCommitInterface) GetShortID() string
GetShortID mocks base method.
func (*MockCommitInterface) GetTitle ¶
func (m *MockCommitInterface) GetTitle() string
GetTitle mocks base method.
func (*MockCommitInterface) GetWebURL ¶
func (m *MockCommitInterface) GetWebURL() string
GetWebURL mocks base method.
type MockCommitInterfaceMockRecorder ¶
type MockCommitInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockCommitInterfaceMockRecorder is the mock recorder for MockCommitInterface.
func (*MockCommitInterfaceMockRecorder) GetAuthorEmail ¶
func (mr *MockCommitInterfaceMockRecorder) GetAuthorEmail() *gomock.Call
GetAuthorEmail indicates an expected call of GetAuthorEmail.
func (*MockCommitInterfaceMockRecorder) GetAuthorName ¶
func (mr *MockCommitInterfaceMockRecorder) GetAuthorName() *gomock.Call
GetAuthorName indicates an expected call of GetAuthorName.
func (*MockCommitInterfaceMockRecorder) GetCommittedDate ¶
func (mr *MockCommitInterfaceMockRecorder) GetCommittedDate() *gomock.Call
GetCommittedDate indicates an expected call of GetCommittedDate.
func (*MockCommitInterfaceMockRecorder) GetCommitterEmail ¶
func (mr *MockCommitInterfaceMockRecorder) GetCommitterEmail() *gomock.Call
GetCommitterEmail indicates an expected call of GetCommitterEmail.
func (*MockCommitInterfaceMockRecorder) GetCommitterName ¶
func (mr *MockCommitInterfaceMockRecorder) GetCommitterName() *gomock.Call
GetCommitterName indicates an expected call of GetCommitterName.
func (*MockCommitInterfaceMockRecorder) GetCreatedAt ¶
func (mr *MockCommitInterfaceMockRecorder) GetCreatedAt() *gomock.Call
GetCreatedAt indicates an expected call of GetCreatedAt.
func (*MockCommitInterfaceMockRecorder) GetID ¶
func (mr *MockCommitInterfaceMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID.
func (*MockCommitInterfaceMockRecorder) GetMessage ¶
func (mr *MockCommitInterfaceMockRecorder) GetMessage() *gomock.Call
GetMessage indicates an expected call of GetMessage.
func (*MockCommitInterfaceMockRecorder) GetProjectID ¶
func (mr *MockCommitInterfaceMockRecorder) GetProjectID() *gomock.Call
GetProjectID indicates an expected call of GetProjectID.
func (*MockCommitInterfaceMockRecorder) GetShortID ¶
func (mr *MockCommitInterfaceMockRecorder) GetShortID() *gomock.Call
GetShortID indicates an expected call of GetShortID.
func (*MockCommitInterfaceMockRecorder) GetTitle ¶
func (mr *MockCommitInterfaceMockRecorder) GetTitle() *gomock.Call
GetTitle indicates an expected call of GetTitle.
func (*MockCommitInterfaceMockRecorder) GetWebURL ¶
func (mr *MockCommitInterfaceMockRecorder) GetWebURL() *gomock.Call
GetWebURL indicates an expected call of GetWebURL.
type MockCronRunner ¶
type MockCronRunner struct {
// contains filtered or unexported fields
}
MockCronRunner is a mock of CronRunner interface.
func NewMockCronRunner ¶
func NewMockCronRunner(ctrl *gomock.Controller) *MockCronRunner
NewMockCronRunner creates a new mock instance.
func (*MockCronRunner) AddCommand ¶
func (m *MockCronRunner) AddCommand(arg0, arg1 string, arg2 func()) error
AddCommand mocks base method.
func (*MockCronRunner) EXPECT ¶
func (m *MockCronRunner) EXPECT() *MockCronRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCronRunnerMockRecorder ¶
type MockCronRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockCronRunnerMockRecorder is the mock recorder for MockCronRunner.
func (*MockCronRunnerMockRecorder) AddCommand ¶
func (mr *MockCronRunnerMockRecorder) AddCommand(arg0, arg1, arg2 any) *gomock.Call
AddCommand indicates an expected call of AddCommand.
type MockDBManager ¶
type MockDBManager struct {
// contains filtered or unexported fields
}
MockDBManager is a mock of DBManager interface.
func NewMockDBManager ¶
func NewMockDBManager(ctrl *gomock.Controller) *MockDBManager
NewMockDBManager creates a new mock instance.
func (*MockDBManager) AutoMigrate ¶
func (m *MockDBManager) AutoMigrate(arg0 ...any) error
AutoMigrate mocks base method.
func (*MockDBManager) EXPECT ¶
func (m *MockDBManager) EXPECT() *MockDBManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDBManagerMockRecorder ¶
type MockDBManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDBManagerMockRecorder is the mock recorder for MockDBManager.
func (*MockDBManagerMockRecorder) AutoMigrate ¶
func (mr *MockDBManagerMockRecorder) AutoMigrate(arg0 ...any) *gomock.Call
AutoMigrate indicates an expected call of AutoMigrate.
func (*MockDBManagerMockRecorder) DB ¶
func (mr *MockDBManagerMockRecorder) DB() *gomock.Call
DB indicates an expected call of DB.
type MockDeployMsger ¶
type MockDeployMsger struct {
// contains filtered or unexported fields
}
MockDeployMsger is a mock of DeployMsger interface.
func NewMockDeployMsger ¶
func NewMockDeployMsger(ctrl *gomock.Controller) *MockDeployMsger
NewMockDeployMsger creates a new mock instance.
func (*MockDeployMsger) EXPECT ¶
func (m *MockDeployMsger) EXPECT() *MockDeployMsgerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDeployMsger) SendDeployedResult ¶
func (m *MockDeployMsger) SendDeployedResult(arg0 websocket.ResultType, arg1 string, arg2 *types.ProjectModel)
SendDeployedResult mocks base method.
func (*MockDeployMsger) SendEndError ¶
func (m *MockDeployMsger) SendEndError(arg0 error)
SendEndError mocks base method.
func (*MockDeployMsger) SendError ¶
func (m *MockDeployMsger) SendError(arg0 error)
SendError mocks base method.
func (*MockDeployMsger) SendMsg ¶
func (m *MockDeployMsger) SendMsg(arg0 string)
SendMsg mocks base method.
func (*MockDeployMsger) SendMsgWithContainerLog ¶
func (m *MockDeployMsger) SendMsgWithContainerLog(arg0 string, arg1 []*types.Container)
SendMsgWithContainerLog mocks base method.
func (*MockDeployMsger) SendProcessPercent ¶
func (m *MockDeployMsger) SendProcessPercent(arg0 int64)
SendProcessPercent mocks base method.
func (*MockDeployMsger) SendProtoMsg ¶
func (m *MockDeployMsger) SendProtoMsg(arg0 contracts.WebsocketMessage)
SendProtoMsg mocks base method.
type MockDeployMsgerMockRecorder ¶
type MockDeployMsgerMockRecorder struct {
// contains filtered or unexported fields
}
MockDeployMsgerMockRecorder is the mock recorder for MockDeployMsger.
func (*MockDeployMsgerMockRecorder) SendDeployedResult ¶
func (mr *MockDeployMsgerMockRecorder) SendDeployedResult(arg0, arg1, arg2 any) *gomock.Call
SendDeployedResult indicates an expected call of SendDeployedResult.
func (*MockDeployMsgerMockRecorder) SendEndError ¶
func (mr *MockDeployMsgerMockRecorder) SendEndError(arg0 any) *gomock.Call
SendEndError indicates an expected call of SendEndError.
func (*MockDeployMsgerMockRecorder) SendError ¶
func (mr *MockDeployMsgerMockRecorder) SendError(arg0 any) *gomock.Call
SendError indicates an expected call of SendError.
func (*MockDeployMsgerMockRecorder) SendMsg ¶
func (mr *MockDeployMsgerMockRecorder) SendMsg(arg0 any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockDeployMsgerMockRecorder) SendMsgWithContainerLog ¶
func (mr *MockDeployMsgerMockRecorder) SendMsgWithContainerLog(arg0, arg1 any) *gomock.Call
SendMsgWithContainerLog indicates an expected call of SendMsgWithContainerLog.
func (*MockDeployMsgerMockRecorder) SendProcessPercent ¶
func (mr *MockDeployMsgerMockRecorder) SendProcessPercent(arg0 any) *gomock.Call
SendProcessPercent indicates an expected call of SendProcessPercent.
func (*MockDeployMsgerMockRecorder) SendProtoMsg ¶
func (mr *MockDeployMsgerMockRecorder) SendProtoMsg(arg0 any) *gomock.Call
SendProtoMsg indicates an expected call of SendProtoMsg.
type MockDispatcherInterface ¶
type MockDispatcherInterface struct {
// contains filtered or unexported fields
}
MockDispatcherInterface is a mock of DispatcherInterface interface.
func NewMockDispatcherInterface ¶
func NewMockDispatcherInterface(ctrl *gomock.Controller) *MockDispatcherInterface
NewMockDispatcherInterface creates a new mock instance.
func (*MockDispatcherInterface) Dispatch ¶
func (m *MockDispatcherInterface) Dispatch(arg0 contracts.Event, arg1 any) error
Dispatch mocks base method.
func (*MockDispatcherInterface) EXPECT ¶
func (m *MockDispatcherInterface) EXPECT() *MockDispatcherInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDispatcherInterface) Forget ¶
func (m *MockDispatcherInterface) Forget(arg0 contracts.Event)
Forget mocks base method.
func (*MockDispatcherInterface) GetListeners ¶
func (m *MockDispatcherInterface) GetListeners(arg0 contracts.Event) []contracts.Listener
GetListeners mocks base method.
func (*MockDispatcherInterface) HasListeners ¶
func (m *MockDispatcherInterface) HasListeners(arg0 contracts.Event) bool
HasListeners mocks base method.
type MockDispatcherInterfaceMockRecorder ¶
type MockDispatcherInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockDispatcherInterfaceMockRecorder is the mock recorder for MockDispatcherInterface.
func (*MockDispatcherInterfaceMockRecorder) Dispatch ¶
func (mr *MockDispatcherInterfaceMockRecorder) Dispatch(arg0, arg1 any) *gomock.Call
Dispatch indicates an expected call of Dispatch.
func (*MockDispatcherInterfaceMockRecorder) Forget ¶
func (mr *MockDispatcherInterfaceMockRecorder) Forget(arg0 any) *gomock.Call
Forget indicates an expected call of Forget.
func (*MockDispatcherInterfaceMockRecorder) GetListeners ¶
func (mr *MockDispatcherInterfaceMockRecorder) GetListeners(arg0 any) *gomock.Call
GetListeners indicates an expected call of GetListeners.
func (*MockDispatcherInterfaceMockRecorder) HasListeners ¶
func (mr *MockDispatcherInterfaceMockRecorder) HasListeners(arg0 any) *gomock.Call
HasListeners indicates an expected call of HasListeners.
type MockDomainManager ¶
type MockDomainManager struct {
// contains filtered or unexported fields
}
MockDomainManager is a mock of DomainManager interface.
func NewMockDomainManager ¶
func NewMockDomainManager(ctrl *gomock.Controller) *MockDomainManager
NewMockDomainManager creates a new mock instance.
func (*MockDomainManager) Destroy ¶
func (m *MockDomainManager) Destroy() error
Destroy mocks base method.
func (*MockDomainManager) EXPECT ¶
func (m *MockDomainManager) EXPECT() *MockDomainManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDomainManager) GetCertSecretName ¶
func (m *MockDomainManager) GetCertSecretName(arg0 string, arg1 int) string
GetCertSecretName mocks base method.
func (*MockDomainManager) GetCerts ¶
func (m *MockDomainManager) GetCerts() (string, string, string)
GetCerts mocks base method.
func (*MockDomainManager) GetClusterIssuer ¶
func (m *MockDomainManager) GetClusterIssuer() string
GetClusterIssuer mocks base method.
func (*MockDomainManager) GetDomain ¶
func (m *MockDomainManager) GetDomain(arg0, arg1 string, arg2 int) string
GetDomain mocks base method.
func (*MockDomainManager) GetDomainByIndex ¶
func (m *MockDomainManager) GetDomainByIndex(arg0, arg1 string, arg2, arg3 int) string
GetDomainByIndex mocks base method.
func (*MockDomainManager) Initialize ¶
func (m *MockDomainManager) Initialize(arg0 map[string]any) error
Initialize mocks base method.
type MockDomainManagerMockRecorder ¶
type MockDomainManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDomainManagerMockRecorder is the mock recorder for MockDomainManager.
func (*MockDomainManagerMockRecorder) Destroy ¶
func (mr *MockDomainManagerMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockDomainManagerMockRecorder) GetCertSecretName ¶
func (mr *MockDomainManagerMockRecorder) GetCertSecretName(arg0, arg1 any) *gomock.Call
GetCertSecretName indicates an expected call of GetCertSecretName.
func (*MockDomainManagerMockRecorder) GetCerts ¶
func (mr *MockDomainManagerMockRecorder) GetCerts() *gomock.Call
GetCerts indicates an expected call of GetCerts.
func (*MockDomainManagerMockRecorder) GetClusterIssuer ¶
func (mr *MockDomainManagerMockRecorder) GetClusterIssuer() *gomock.Call
GetClusterIssuer indicates an expected call of GetClusterIssuer.
func (*MockDomainManagerMockRecorder) GetDomain ¶
func (mr *MockDomainManagerMockRecorder) GetDomain(arg0, arg1, arg2 any) *gomock.Call
GetDomain indicates an expected call of GetDomain.
func (*MockDomainManagerMockRecorder) GetDomainByIndex ¶
func (mr *MockDomainManagerMockRecorder) GetDomainByIndex(arg0, arg1, arg2, arg3 any) *gomock.Call
GetDomainByIndex indicates an expected call of GetDomainByIndex.
func (*MockDomainManagerMockRecorder) Initialize ¶
func (mr *MockDomainManagerMockRecorder) Initialize(arg0 any) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockDomainManagerMockRecorder) Name ¶
func (mr *MockDomainManagerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockFile ¶
type MockFile struct {
// contains filtered or unexported fields
}
MockFile is a mock of File interface.
func NewMockFile ¶
func NewMockFile(ctrl *gomock.Controller) *MockFile
NewMockFile creates a new mock instance.
func (*MockFile) EXPECT ¶
func (m *MockFile) EXPECT() *MockFileMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockFileInfo ¶
type MockFileInfo struct {
// contains filtered or unexported fields
}
MockFileInfo is a mock of FileInfo interface.
func NewMockFileInfo ¶
func NewMockFileInfo(ctrl *gomock.Controller) *MockFileInfo
NewMockFileInfo creates a new mock instance.
func (*MockFileInfo) EXPECT ¶
func (m *MockFileInfo) EXPECT() *MockFileInfoMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileInfo) LastModified ¶
func (m *MockFileInfo) LastModified() time.Time
LastModified mocks base method.
type MockFileInfoMockRecorder ¶
type MockFileInfoMockRecorder struct {
// contains filtered or unexported fields
}
MockFileInfoMockRecorder is the mock recorder for MockFileInfo.
func (*MockFileInfoMockRecorder) LastModified ¶
func (mr *MockFileInfoMockRecorder) LastModified() *gomock.Call
LastModified indicates an expected call of LastModified.
func (*MockFileInfoMockRecorder) Path ¶
func (mr *MockFileInfoMockRecorder) Path() *gomock.Call
Path indicates an expected call of Path.
func (*MockFileInfoMockRecorder) Size ¶
func (mr *MockFileInfoMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
type MockFileMockRecorder ¶
type MockFileMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMockRecorder is the mock recorder for MockFile.
func (*MockFileMockRecorder) Close ¶
func (mr *MockFileMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockFileMockRecorder) Name ¶
func (mr *MockFileMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockFileMockRecorder) Read ¶
func (mr *MockFileMockRecorder) Read(arg0 any) *gomock.Call
Read indicates an expected call of Read.
func (*MockFileMockRecorder) Seek ¶
func (mr *MockFileMockRecorder) Seek(arg0, arg1 any) *gomock.Call
Seek indicates an expected call of Seek.
func (*MockFileMockRecorder) Stat ¶
func (mr *MockFileMockRecorder) Stat() *gomock.Call
Stat indicates an expected call of Stat.
func (*MockFileMockRecorder) Write ¶
func (mr *MockFileMockRecorder) Write(arg0 any) *gomock.Call
Write indicates an expected call of Write.
func (*MockFileMockRecorder) WriteString ¶
func (mr *MockFileMockRecorder) WriteString(arg0 any) *gomock.Call
WriteString indicates an expected call of WriteString.
type MockGitServer ¶
type MockGitServer struct {
// contains filtered or unexported fields
}
MockGitServer is a mock of GitServer interface.
func NewMockGitServer ¶
func NewMockGitServer(ctrl *gomock.Controller) *MockGitServer
NewMockGitServer creates a new mock instance.
func (*MockGitServer) AllBranches ¶
func (m *MockGitServer) AllBranches(arg0 string) ([]contracts.BranchInterface, error)
AllBranches mocks base method.
func (*MockGitServer) AllProjects ¶
func (m *MockGitServer) AllProjects() ([]contracts.ProjectInterface, error)
AllProjects mocks base method.
func (*MockGitServer) EXPECT ¶
func (m *MockGitServer) EXPECT() *MockGitServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockGitServer) GetCommit ¶
func (m *MockGitServer) GetCommit(arg0, arg1 string) (contracts.CommitInterface, error)
GetCommit mocks base method.
func (*MockGitServer) GetCommitPipeline ¶
func (m *MockGitServer) GetCommitPipeline(arg0, arg1 string) (contracts.PipelineInterface, error)
GetCommitPipeline mocks base method.
func (*MockGitServer) GetDirectoryFilesWithBranch ¶
func (m *MockGitServer) GetDirectoryFilesWithBranch(arg0, arg1, arg2 string, arg3 bool) ([]string, error)
GetDirectoryFilesWithBranch mocks base method.
func (*MockGitServer) GetDirectoryFilesWithSha ¶
func (m *MockGitServer) GetDirectoryFilesWithSha(arg0, arg1, arg2 string, arg3 bool) ([]string, error)
GetDirectoryFilesWithSha mocks base method.
func (*MockGitServer) GetFileContentWithBranch ¶
func (m *MockGitServer) GetFileContentWithBranch(arg0, arg1, arg2 string) (string, error)
GetFileContentWithBranch mocks base method.
func (*MockGitServer) GetFileContentWithSha ¶
func (m *MockGitServer) GetFileContentWithSha(arg0, arg1, arg2 string) (string, error)
GetFileContentWithSha mocks base method.
func (*MockGitServer) GetProject ¶
func (m *MockGitServer) GetProject(arg0 string) (contracts.ProjectInterface, error)
GetProject mocks base method.
func (*MockGitServer) Initialize ¶
func (m *MockGitServer) Initialize(arg0 map[string]any) error
Initialize mocks base method.
func (*MockGitServer) ListBranches ¶
func (m *MockGitServer) ListBranches(arg0 string, arg1, arg2 int) (contracts.ListBranchResponseInterface, error)
ListBranches mocks base method.
func (*MockGitServer) ListCommits ¶
func (m *MockGitServer) ListCommits(arg0, arg1 string) ([]contracts.CommitInterface, error)
ListCommits mocks base method.
func (*MockGitServer) ListProjects ¶
func (m *MockGitServer) ListProjects(arg0, arg1 int) (contracts.ListProjectResponseInterface, error)
ListProjects mocks base method.
type MockGitServerMockRecorder ¶
type MockGitServerMockRecorder struct {
// contains filtered or unexported fields
}
MockGitServerMockRecorder is the mock recorder for MockGitServer.
func (*MockGitServerMockRecorder) AllBranches ¶
func (mr *MockGitServerMockRecorder) AllBranches(arg0 any) *gomock.Call
AllBranches indicates an expected call of AllBranches.
func (*MockGitServerMockRecorder) AllProjects ¶
func (mr *MockGitServerMockRecorder) AllProjects() *gomock.Call
AllProjects indicates an expected call of AllProjects.
func (*MockGitServerMockRecorder) Destroy ¶
func (mr *MockGitServerMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockGitServerMockRecorder) GetCommit ¶
func (mr *MockGitServerMockRecorder) GetCommit(arg0, arg1 any) *gomock.Call
GetCommit indicates an expected call of GetCommit.
func (*MockGitServerMockRecorder) GetCommitPipeline ¶
func (mr *MockGitServerMockRecorder) GetCommitPipeline(arg0, arg1 any) *gomock.Call
GetCommitPipeline indicates an expected call of GetCommitPipeline.
func (*MockGitServerMockRecorder) GetDirectoryFilesWithBranch ¶
func (mr *MockGitServerMockRecorder) GetDirectoryFilesWithBranch(arg0, arg1, arg2, arg3 any) *gomock.Call
GetDirectoryFilesWithBranch indicates an expected call of GetDirectoryFilesWithBranch.
func (*MockGitServerMockRecorder) GetDirectoryFilesWithSha ¶
func (mr *MockGitServerMockRecorder) GetDirectoryFilesWithSha(arg0, arg1, arg2, arg3 any) *gomock.Call
GetDirectoryFilesWithSha indicates an expected call of GetDirectoryFilesWithSha.
func (*MockGitServerMockRecorder) GetFileContentWithBranch ¶
func (mr *MockGitServerMockRecorder) GetFileContentWithBranch(arg0, arg1, arg2 any) *gomock.Call
GetFileContentWithBranch indicates an expected call of GetFileContentWithBranch.
func (*MockGitServerMockRecorder) GetFileContentWithSha ¶
func (mr *MockGitServerMockRecorder) GetFileContentWithSha(arg0, arg1, arg2 any) *gomock.Call
GetFileContentWithSha indicates an expected call of GetFileContentWithSha.
func (*MockGitServerMockRecorder) GetProject ¶
func (mr *MockGitServerMockRecorder) GetProject(arg0 any) *gomock.Call
GetProject indicates an expected call of GetProject.
func (*MockGitServerMockRecorder) Initialize ¶
func (mr *MockGitServerMockRecorder) Initialize(arg0 any) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockGitServerMockRecorder) ListBranches ¶
func (mr *MockGitServerMockRecorder) ListBranches(arg0, arg1, arg2 any) *gomock.Call
ListBranches indicates an expected call of ListBranches.
func (*MockGitServerMockRecorder) ListCommits ¶
func (mr *MockGitServerMockRecorder) ListCommits(arg0, arg1 any) *gomock.Call
ListCommits indicates an expected call of ListCommits.
func (*MockGitServerMockRecorder) ListProjects ¶
func (mr *MockGitServerMockRecorder) ListProjects(arg0, arg1 any) *gomock.Call
ListProjects indicates an expected call of ListProjects.
func (*MockGitServerMockRecorder) Name ¶
func (mr *MockGitServerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockHelmer ¶
type MockHelmer struct {
// contains filtered or unexported fields
}
MockHelmer is a mock of Helmer interface.
func NewMockHelmer ¶
func NewMockHelmer(ctrl *gomock.Controller) *MockHelmer
NewMockHelmer creates a new mock instance.
func (*MockHelmer) EXPECT ¶
func (m *MockHelmer) EXPECT() *MockHelmerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockHelmer) PackageChart ¶
func (m *MockHelmer) PackageChart(arg0, arg1 string) (string, error)
PackageChart mocks base method.
func (*MockHelmer) ReleaseStatus ¶
func (m *MockHelmer) ReleaseStatus(arg0, arg1 string) types.Deploy
ReleaseStatus mocks base method.
type MockHelmerMockRecorder ¶
type MockHelmerMockRecorder struct {
// contains filtered or unexported fields
}
MockHelmerMockRecorder is the mock recorder for MockHelmer.
func (*MockHelmerMockRecorder) PackageChart ¶
func (mr *MockHelmerMockRecorder) PackageChart(arg0, arg1 any) *gomock.Call
PackageChart indicates an expected call of PackageChart.
func (*MockHelmerMockRecorder) ReleaseStatus ¶
func (mr *MockHelmerMockRecorder) ReleaseStatus(arg0, arg1 any) *gomock.Call
ReleaseStatus indicates an expected call of ReleaseStatus.
func (*MockHelmerMockRecorder) Rollback ¶
func (mr *MockHelmerMockRecorder) Rollback(arg0, arg1, arg2, arg3, arg4 any) *gomock.Call
Rollback indicates an expected call of Rollback.
func (*MockHelmerMockRecorder) Uninstall ¶
func (mr *MockHelmerMockRecorder) Uninstall(arg0, arg1, arg2 any) *gomock.Call
Uninstall indicates an expected call of Uninstall.
func (*MockHelmerMockRecorder) UpgradeOrInstall ¶
func (mr *MockHelmerMockRecorder) UpgradeOrInstall(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9 any) *gomock.Call
UpgradeOrInstall indicates an expected call of UpgradeOrInstall.
type MockJob ¶
type MockJob struct {
// contains filtered or unexported fields
}
MockJob is a mock of Job interface.
func NewMockJob ¶
func NewMockJob(ctrl *gomock.Controller) *MockJob
NewMockJob creates a new mock instance.
func (*MockJob) EXPECT ¶
func (m *MockJob) EXPECT() *MockJobMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockJob) GlobalLock ¶
GlobalLock mocks base method.
func (*MockJob) LoadConfigs ¶
LoadConfigs mocks base method.
type MockJobMockRecorder ¶
type MockJobMockRecorder struct {
// contains filtered or unexported fields
}
MockJobMockRecorder is the mock recorder for MockJob.
func (*MockJobMockRecorder) Error ¶
func (mr *MockJobMockRecorder) Error() *gomock.Call
Error indicates an expected call of Error.
func (*MockJobMockRecorder) Finish ¶
func (mr *MockJobMockRecorder) Finish() *gomock.Call
Finish indicates an expected call of Finish.
func (*MockJobMockRecorder) GlobalLock ¶
func (mr *MockJobMockRecorder) GlobalLock() *gomock.Call
GlobalLock indicates an expected call of GlobalLock.
func (*MockJobMockRecorder) ID ¶
func (mr *MockJobMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockJobMockRecorder) IsNotDryRun ¶
func (mr *MockJobMockRecorder) IsNotDryRun() *gomock.Call
IsNotDryRun indicates an expected call of IsNotDryRun.
func (*MockJobMockRecorder) LoadConfigs ¶
func (mr *MockJobMockRecorder) LoadConfigs() *gomock.Call
LoadConfigs indicates an expected call of LoadConfigs.
func (*MockJobMockRecorder) Manifests ¶
func (mr *MockJobMockRecorder) Manifests() *gomock.Call
Manifests indicates an expected call of Manifests.
func (*MockJobMockRecorder) OnError ¶
func (mr *MockJobMockRecorder) OnError(arg0, arg1 any) *gomock.Call
OnError indicates an expected call of OnError.
func (*MockJobMockRecorder) OnFinally ¶
func (mr *MockJobMockRecorder) OnFinally(arg0, arg1 any) *gomock.Call
OnFinally indicates an expected call of OnFinally.
func (*MockJobMockRecorder) OnSuccess ¶
func (mr *MockJobMockRecorder) OnSuccess(arg0, arg1 any) *gomock.Call
OnSuccess indicates an expected call of OnSuccess.
func (*MockJobMockRecorder) Run ¶
func (mr *MockJobMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockJobMockRecorder) Stop ¶
func (mr *MockJobMockRecorder) Stop(arg0 any) *gomock.Call
Stop indicates an expected call of Stop.
func (*MockJobMockRecorder) Validate ¶
func (mr *MockJobMockRecorder) Validate() *gomock.Call
Validate indicates an expected call of Validate.
type MockLocker ¶
type MockLocker struct {
// contains filtered or unexported fields
}
MockLocker is a mock of Locker interface.
func NewMockLocker ¶
func NewMockLocker(ctrl *gomock.Controller) *MockLocker
NewMockLocker creates a new mock instance.
func (*MockLocker) Acquire ¶
func (m *MockLocker) Acquire(arg0 string, arg1 int64) bool
Acquire mocks base method.
func (*MockLocker) EXPECT ¶
func (m *MockLocker) EXPECT() *MockLockerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLocker) ForceRelease ¶
func (m *MockLocker) ForceRelease(arg0 string) bool
ForceRelease mocks base method.
func (*MockLocker) Release ¶
func (m *MockLocker) Release(arg0 string) bool
Release mocks base method.
func (*MockLocker) RenewalAcquire ¶
func (m *MockLocker) RenewalAcquire(arg0 string, arg1, arg2 int64) (func(), bool)
RenewalAcquire mocks base method.
type MockLockerMockRecorder ¶
type MockLockerMockRecorder struct {
// contains filtered or unexported fields
}
MockLockerMockRecorder is the mock recorder for MockLocker.
func (*MockLockerMockRecorder) Acquire ¶
func (mr *MockLockerMockRecorder) Acquire(arg0, arg1 any) *gomock.Call
Acquire indicates an expected call of Acquire.
func (*MockLockerMockRecorder) ForceRelease ¶
func (mr *MockLockerMockRecorder) ForceRelease(arg0 any) *gomock.Call
ForceRelease indicates an expected call of ForceRelease.
func (*MockLockerMockRecorder) ID ¶
func (mr *MockLockerMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockLockerMockRecorder) Owner ¶
func (mr *MockLockerMockRecorder) Owner(arg0 any) *gomock.Call
Owner indicates an expected call of Owner.
func (*MockLockerMockRecorder) Release ¶
func (mr *MockLockerMockRecorder) Release(arg0 any) *gomock.Call
Release indicates an expected call of Release.
func (*MockLockerMockRecorder) RenewalAcquire ¶
func (mr *MockLockerMockRecorder) RenewalAcquire(arg0, arg1, arg2 any) *gomock.Call
RenewalAcquire indicates an expected call of RenewalAcquire.
func (*MockLockerMockRecorder) Type ¶
func (mr *MockLockerMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockLoggerInterface ¶
type MockLoggerInterface struct {
// contains filtered or unexported fields
}
MockLoggerInterface is a mock of LoggerInterface interface.
func NewMockLoggerInterface ¶
func NewMockLoggerInterface(ctrl *gomock.Controller) *MockLoggerInterface
NewMockLoggerInterface creates a new mock instance.
func (*MockLoggerInterface) Debug ¶
func (m *MockLoggerInterface) Debug(arg0 ...any)
Debug mocks base method.
func (*MockLoggerInterface) Debugf ¶
func (m *MockLoggerInterface) Debugf(arg0 string, arg1 ...any)
Debugf mocks base method.
func (*MockLoggerInterface) EXPECT ¶
func (m *MockLoggerInterface) EXPECT() *MockLoggerInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLoggerInterface) Error ¶
func (m *MockLoggerInterface) Error(arg0 ...any)
Error mocks base method.
func (*MockLoggerInterface) Errorf ¶
func (m *MockLoggerInterface) Errorf(arg0 string, arg1 ...any)
Errorf mocks base method.
func (*MockLoggerInterface) Fatal ¶
func (m *MockLoggerInterface) Fatal(arg0 ...any)
Fatal mocks base method.
func (*MockLoggerInterface) Fatalf ¶
func (m *MockLoggerInterface) Fatalf(arg0 string, arg1 ...any)
Fatalf mocks base method.
func (*MockLoggerInterface) Info ¶
func (m *MockLoggerInterface) Info(arg0 ...any)
Info mocks base method.
func (*MockLoggerInterface) Infof ¶
func (m *MockLoggerInterface) Infof(arg0 string, arg1 ...any)
Infof mocks base method.
func (*MockLoggerInterface) Warning ¶
func (m *MockLoggerInterface) Warning(arg0 ...any)
Warning mocks base method.
func (*MockLoggerInterface) Warningf ¶
func (m *MockLoggerInterface) Warningf(arg0 string, arg1 ...any)
Warningf mocks base method.
type MockLoggerInterfaceMockRecorder ¶
type MockLoggerInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerInterfaceMockRecorder is the mock recorder for MockLoggerInterface.
func (*MockLoggerInterfaceMockRecorder) Debug ¶
func (mr *MockLoggerInterfaceMockRecorder) Debug(arg0 ...any) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerInterfaceMockRecorder) Debugf ¶
func (mr *MockLoggerInterfaceMockRecorder) Debugf(arg0 any, arg1 ...any) *gomock.Call
Debugf indicates an expected call of Debugf.
func (*MockLoggerInterfaceMockRecorder) Error ¶
func (mr *MockLoggerInterfaceMockRecorder) Error(arg0 ...any) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerInterfaceMockRecorder) Errorf ¶
func (mr *MockLoggerInterfaceMockRecorder) Errorf(arg0 any, arg1 ...any) *gomock.Call
Errorf indicates an expected call of Errorf.
func (*MockLoggerInterfaceMockRecorder) Fatal ¶
func (mr *MockLoggerInterfaceMockRecorder) Fatal(arg0 ...any) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerInterfaceMockRecorder) Fatalf ¶
func (mr *MockLoggerInterfaceMockRecorder) Fatalf(arg0 any, arg1 ...any) *gomock.Call
Fatalf indicates an expected call of Fatalf.
func (*MockLoggerInterfaceMockRecorder) Info ¶
func (mr *MockLoggerInterfaceMockRecorder) Info(arg0 ...any) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerInterfaceMockRecorder) Infof ¶
func (mr *MockLoggerInterfaceMockRecorder) Infof(arg0 any, arg1 ...any) *gomock.Call
Infof indicates an expected call of Infof.
type MockPictureInterface ¶
type MockPictureInterface struct {
// contains filtered or unexported fields
}
MockPictureInterface is a mock of PictureInterface interface.
func NewMockPictureInterface ¶
func NewMockPictureInterface(ctrl *gomock.Controller) *MockPictureInterface
NewMockPictureInterface creates a new mock instance.
func (*MockPictureInterface) Destroy ¶
func (m *MockPictureInterface) Destroy() error
Destroy mocks base method.
func (*MockPictureInterface) EXPECT ¶
func (m *MockPictureInterface) EXPECT() *MockPictureInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPictureInterface) Initialize ¶
func (m *MockPictureInterface) Initialize(arg0 map[string]any) error
Initialize mocks base method.
func (*MockPictureInterface) Name ¶
func (m *MockPictureInterface) Name() string
Name mocks base method.
type MockPictureInterfaceMockRecorder ¶
type MockPictureInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPictureInterfaceMockRecorder is the mock recorder for MockPictureInterface.
func (*MockPictureInterfaceMockRecorder) Destroy ¶
func (mr *MockPictureInterfaceMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockPictureInterfaceMockRecorder) Get ¶
func (mr *MockPictureInterfaceMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockPictureInterfaceMockRecorder) Initialize ¶
func (mr *MockPictureInterfaceMockRecorder) Initialize(arg0 any) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockPictureInterfaceMockRecorder) Name ¶
func (mr *MockPictureInterfaceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockPipelineInterface ¶
type MockPipelineInterface struct {
// contains filtered or unexported fields
}
MockPipelineInterface is a mock of PipelineInterface interface.
func NewMockPipelineInterface ¶
func NewMockPipelineInterface(ctrl *gomock.Controller) *MockPipelineInterface
NewMockPipelineInterface creates a new mock instance.
func (*MockPipelineInterface) EXPECT ¶
func (m *MockPipelineInterface) EXPECT() *MockPipelineInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPipelineInterface) GetCreatedAt ¶
func (m *MockPipelineInterface) GetCreatedAt() *time.Time
GetCreatedAt mocks base method.
func (*MockPipelineInterface) GetID ¶
func (m *MockPipelineInterface) GetID() int64
GetID mocks base method.
func (*MockPipelineInterface) GetProjectID ¶
func (m *MockPipelineInterface) GetProjectID() int64
GetProjectID mocks base method.
func (*MockPipelineInterface) GetRef ¶
func (m *MockPipelineInterface) GetRef() string
GetRef mocks base method.
func (*MockPipelineInterface) GetSHA ¶
func (m *MockPipelineInterface) GetSHA() string
GetSHA mocks base method.
func (*MockPipelineInterface) GetStatus ¶
func (m *MockPipelineInterface) GetStatus() string
GetStatus mocks base method.
func (*MockPipelineInterface) GetUpdatedAt ¶
func (m *MockPipelineInterface) GetUpdatedAt() *time.Time
GetUpdatedAt mocks base method.
func (*MockPipelineInterface) GetWebURL ¶
func (m *MockPipelineInterface) GetWebURL() string
GetWebURL mocks base method.
type MockPipelineInterfaceMockRecorder ¶
type MockPipelineInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPipelineInterfaceMockRecorder is the mock recorder for MockPipelineInterface.
func (*MockPipelineInterfaceMockRecorder) GetCreatedAt ¶
func (mr *MockPipelineInterfaceMockRecorder) GetCreatedAt() *gomock.Call
GetCreatedAt indicates an expected call of GetCreatedAt.
func (*MockPipelineInterfaceMockRecorder) GetID ¶
func (mr *MockPipelineInterfaceMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID.
func (*MockPipelineInterfaceMockRecorder) GetProjectID ¶
func (mr *MockPipelineInterfaceMockRecorder) GetProjectID() *gomock.Call
GetProjectID indicates an expected call of GetProjectID.
func (*MockPipelineInterfaceMockRecorder) GetRef ¶
func (mr *MockPipelineInterfaceMockRecorder) GetRef() *gomock.Call
GetRef indicates an expected call of GetRef.
func (*MockPipelineInterfaceMockRecorder) GetSHA ¶
func (mr *MockPipelineInterfaceMockRecorder) GetSHA() *gomock.Call
GetSHA indicates an expected call of GetSHA.
func (*MockPipelineInterfaceMockRecorder) GetStatus ¶
func (mr *MockPipelineInterfaceMockRecorder) GetStatus() *gomock.Call
GetStatus indicates an expected call of GetStatus.
func (*MockPipelineInterfaceMockRecorder) GetUpdatedAt ¶
func (mr *MockPipelineInterfaceMockRecorder) GetUpdatedAt() *gomock.Call
GetUpdatedAt indicates an expected call of GetUpdatedAt.
func (*MockPipelineInterfaceMockRecorder) GetWebURL ¶
func (mr *MockPipelineInterfaceMockRecorder) GetWebURL() *gomock.Call
GetWebURL indicates an expected call of GetWebURL.
type MockPluginInterface ¶
type MockPluginInterface struct {
// contains filtered or unexported fields
}
MockPluginInterface is a mock of PluginInterface interface.
func NewMockPluginInterface ¶
func NewMockPluginInterface(ctrl *gomock.Controller) *MockPluginInterface
NewMockPluginInterface creates a new mock instance.
func (*MockPluginInterface) Destroy ¶
func (m *MockPluginInterface) Destroy() error
Destroy mocks base method.
func (*MockPluginInterface) EXPECT ¶
func (m *MockPluginInterface) EXPECT() *MockPluginInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPluginInterface) Initialize ¶
func (m *MockPluginInterface) Initialize(arg0 map[string]any) error
Initialize mocks base method.
func (*MockPluginInterface) Name ¶
func (m *MockPluginInterface) Name() string
Name mocks base method.
type MockPluginInterfaceMockRecorder ¶
type MockPluginInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginInterfaceMockRecorder is the mock recorder for MockPluginInterface.
func (*MockPluginInterfaceMockRecorder) Destroy ¶
func (mr *MockPluginInterfaceMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockPluginInterfaceMockRecorder) Initialize ¶
func (mr *MockPluginInterfaceMockRecorder) Initialize(arg0 any) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockPluginInterfaceMockRecorder) Name ¶
func (mr *MockPluginInterfaceMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockPodFileCopier ¶
type MockPodFileCopier struct {
// contains filtered or unexported fields
}
MockPodFileCopier is a mock of PodFileCopier interface.
func NewMockPodFileCopier ¶
func NewMockPodFileCopier(ctrl *gomock.Controller) *MockPodFileCopier
NewMockPodFileCopier creates a new mock instance.
func (*MockPodFileCopier) Copy ¶
func (m *MockPodFileCopier) Copy(arg0, arg1, arg2, arg3, arg4 string, arg5 kubernetes.Interface, arg6 *rest.Config) (*contracts.CopyFileToPodResult, error)
Copy mocks base method.
func (*MockPodFileCopier) EXPECT ¶
func (m *MockPodFileCopier) EXPECT() *MockPodFileCopierMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPodFileCopierMockRecorder ¶
type MockPodFileCopierMockRecorder struct {
// contains filtered or unexported fields
}
MockPodFileCopierMockRecorder is the mock recorder for MockPodFileCopier.
type MockProjectInterface ¶
type MockProjectInterface struct {
// contains filtered or unexported fields
}
MockProjectInterface is a mock of ProjectInterface interface.
func NewMockProjectInterface ¶
func NewMockProjectInterface(ctrl *gomock.Controller) *MockProjectInterface
NewMockProjectInterface creates a new mock instance.
func (*MockProjectInterface) EXPECT ¶
func (m *MockProjectInterface) EXPECT() *MockProjectInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockProjectInterface) GetAvatarURL ¶
func (m *MockProjectInterface) GetAvatarURL() string
GetAvatarURL mocks base method.
func (*MockProjectInterface) GetDefaultBranch ¶
func (m *MockProjectInterface) GetDefaultBranch() string
GetDefaultBranch mocks base method.
func (*MockProjectInterface) GetDescription ¶
func (m *MockProjectInterface) GetDescription() string
GetDescription mocks base method.
func (*MockProjectInterface) GetID ¶
func (m *MockProjectInterface) GetID() int64
GetID mocks base method.
func (*MockProjectInterface) GetName ¶
func (m *MockProjectInterface) GetName() string
GetName mocks base method.
func (*MockProjectInterface) GetPath ¶
func (m *MockProjectInterface) GetPath() string
GetPath mocks base method.
func (*MockProjectInterface) GetWebURL ¶
func (m *MockProjectInterface) GetWebURL() string
GetWebURL mocks base method.
type MockProjectInterfaceMockRecorder ¶
type MockProjectInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectInterfaceMockRecorder is the mock recorder for MockProjectInterface.
func (*MockProjectInterfaceMockRecorder) GetAvatarURL ¶
func (mr *MockProjectInterfaceMockRecorder) GetAvatarURL() *gomock.Call
GetAvatarURL indicates an expected call of GetAvatarURL.
func (*MockProjectInterfaceMockRecorder) GetDefaultBranch ¶
func (mr *MockProjectInterfaceMockRecorder) GetDefaultBranch() *gomock.Call
GetDefaultBranch indicates an expected call of GetDefaultBranch.
func (*MockProjectInterfaceMockRecorder) GetDescription ¶
func (mr *MockProjectInterfaceMockRecorder) GetDescription() *gomock.Call
GetDescription indicates an expected call of GetDescription.
func (*MockProjectInterfaceMockRecorder) GetID ¶
func (mr *MockProjectInterfaceMockRecorder) GetID() *gomock.Call
GetID indicates an expected call of GetID.
func (*MockProjectInterfaceMockRecorder) GetName ¶
func (mr *MockProjectInterfaceMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockProjectInterfaceMockRecorder) GetPath ¶
func (mr *MockProjectInterfaceMockRecorder) GetPath() *gomock.Call
GetPath indicates an expected call of GetPath.
func (*MockProjectInterfaceMockRecorder) GetWebURL ¶
func (mr *MockProjectInterfaceMockRecorder) GetWebURL() *gomock.Call
GetWebURL indicates an expected call of GetWebURL.
type MockPtyHandler ¶
type MockPtyHandler struct {
// contains filtered or unexported fields
}
MockPtyHandler is a mock of PtyHandler interface.
func NewMockPtyHandler ¶
func NewMockPtyHandler(ctrl *gomock.Controller) *MockPtyHandler
NewMockPtyHandler creates a new mock instance.
func (*MockPtyHandler) Close ¶
func (m *MockPtyHandler) Close(arg0 string) bool
Close mocks base method.
func (*MockPtyHandler) Container ¶
func (m *MockPtyHandler) Container() contracts.Container
Container mocks base method.
func (*MockPtyHandler) EXPECT ¶
func (m *MockPtyHandler) EXPECT() *MockPtyHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPtyHandler) IsClosed ¶
func (m *MockPtyHandler) IsClosed() bool
IsClosed mocks base method.
func (*MockPtyHandler) Next ¶
func (m *MockPtyHandler) Next() *remotecommand.TerminalSize
Next mocks base method.
func (*MockPtyHandler) Read ¶
func (m *MockPtyHandler) Read(arg0 []byte) (int, error)
Read mocks base method.
func (*MockPtyHandler) Recorder ¶
func (m *MockPtyHandler) Recorder() contracts.RecorderInterface
Recorder mocks base method.
func (*MockPtyHandler) ResetTerminalRowCol ¶
func (m *MockPtyHandler) ResetTerminalRowCol(arg0 bool)
ResetTerminalRowCol mocks base method.
func (*MockPtyHandler) Resize ¶
func (m *MockPtyHandler) Resize(arg0 remotecommand.TerminalSize) error
Resize mocks base method.
func (*MockPtyHandler) Send ¶
func (m *MockPtyHandler) Send(arg0 *websocket.TerminalMessage) error
Send mocks base method.
func (*MockPtyHandler) SetShell ¶
func (m *MockPtyHandler) SetShell(arg0 string)
SetShell mocks base method.
func (*MockPtyHandler) Toast ¶
func (m *MockPtyHandler) Toast(arg0 string) error
Toast mocks base method.
type MockPtyHandlerMockRecorder ¶
type MockPtyHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockPtyHandlerMockRecorder is the mock recorder for MockPtyHandler.
func (*MockPtyHandlerMockRecorder) Close ¶
func (mr *MockPtyHandlerMockRecorder) Close(arg0 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockPtyHandlerMockRecorder) Cols ¶
func (mr *MockPtyHandlerMockRecorder) Cols() *gomock.Call
Cols indicates an expected call of Cols.
func (*MockPtyHandlerMockRecorder) Container ¶
func (mr *MockPtyHandlerMockRecorder) Container() *gomock.Call
Container indicates an expected call of Container.
func (*MockPtyHandlerMockRecorder) IsClosed ¶
func (mr *MockPtyHandlerMockRecorder) IsClosed() *gomock.Call
IsClosed indicates an expected call of IsClosed.
func (*MockPtyHandlerMockRecorder) Next ¶
func (mr *MockPtyHandlerMockRecorder) Next() *gomock.Call
Next indicates an expected call of Next.
func (*MockPtyHandlerMockRecorder) Read ¶
func (mr *MockPtyHandlerMockRecorder) Read(arg0 any) *gomock.Call
Read indicates an expected call of Read.
func (*MockPtyHandlerMockRecorder) Recorder ¶
func (mr *MockPtyHandlerMockRecorder) Recorder() *gomock.Call
Recorder indicates an expected call of Recorder.
func (*MockPtyHandlerMockRecorder) ResetTerminalRowCol ¶
func (mr *MockPtyHandlerMockRecorder) ResetTerminalRowCol(arg0 any) *gomock.Call
ResetTerminalRowCol indicates an expected call of ResetTerminalRowCol.
func (*MockPtyHandlerMockRecorder) Resize ¶
func (mr *MockPtyHandlerMockRecorder) Resize(arg0 any) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockPtyHandlerMockRecorder) Rows ¶
func (mr *MockPtyHandlerMockRecorder) Rows() *gomock.Call
Rows indicates an expected call of Rows.
func (*MockPtyHandlerMockRecorder) Send ¶
func (mr *MockPtyHandlerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockPtyHandlerMockRecorder) SetShell ¶
func (mr *MockPtyHandlerMockRecorder) SetShell(arg0 any) *gomock.Call
SetShell indicates an expected call of SetShell.
type MockPubSub ¶
type MockPubSub struct {
// contains filtered or unexported fields
}
MockPubSub is a mock of PubSub interface.
func NewMockPubSub ¶
func NewMockPubSub(ctrl *gomock.Controller) *MockPubSub
NewMockPubSub creates a new mock instance.
func (*MockPubSub) EXPECT ¶
func (m *MockPubSub) EXPECT() *MockPubSubMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPubSub) Leave ¶
func (m *MockPubSub) Leave(arg0, arg1 int64) error
Leave mocks base method.
func (*MockPubSub) Publish ¶
func (m *MockPubSub) Publish(arg0 int64, arg1 *v1.Pod) error
Publish mocks base method.
func (*MockPubSub) Run ¶
func (m *MockPubSub) Run(arg0 context.Context) error
Run mocks base method.
func (*MockPubSub) Subscribe ¶
func (m *MockPubSub) Subscribe() <-chan []byte
Subscribe mocks base method.
func (*MockPubSub) ToAll ¶
func (m *MockPubSub) ToAll(arg0 contracts.WebsocketMessage) error
ToAll mocks base method.
func (*MockPubSub) ToOthers ¶
func (m *MockPubSub) ToOthers(arg0 contracts.WebsocketMessage) error
ToOthers mocks base method.
func (*MockPubSub) ToSelf ¶
func (m *MockPubSub) ToSelf(arg0 contracts.WebsocketMessage) error
ToSelf mocks base method.
type MockPubSubMockRecorder ¶
type MockPubSubMockRecorder struct {
// contains filtered or unexported fields
}
MockPubSubMockRecorder is the mock recorder for MockPubSub.
func (*MockPubSubMockRecorder) Close ¶
func (mr *MockPubSubMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockPubSubMockRecorder) ID ¶
func (mr *MockPubSubMockRecorder) ID() *gomock.Call
ID indicates an expected call of ID.
func (*MockPubSubMockRecorder) Info ¶
func (mr *MockPubSubMockRecorder) Info() *gomock.Call
Info indicates an expected call of Info.
func (*MockPubSubMockRecorder) Join ¶
func (mr *MockPubSubMockRecorder) Join(arg0 any) *gomock.Call
Join indicates an expected call of Join.
func (*MockPubSubMockRecorder) Leave ¶
func (mr *MockPubSubMockRecorder) Leave(arg0, arg1 any) *gomock.Call
Leave indicates an expected call of Leave.
func (*MockPubSubMockRecorder) Publish ¶
func (mr *MockPubSubMockRecorder) Publish(arg0, arg1 any) *gomock.Call
Publish indicates an expected call of Publish.
func (*MockPubSubMockRecorder) Run ¶
func (mr *MockPubSubMockRecorder) Run(arg0 any) *gomock.Call
Run indicates an expected call of Run.
func (*MockPubSubMockRecorder) Subscribe ¶
func (mr *MockPubSubMockRecorder) Subscribe() *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockPubSubMockRecorder) ToAll ¶
func (mr *MockPubSubMockRecorder) ToAll(arg0 any) *gomock.Call
ToAll indicates an expected call of ToAll.
func (*MockPubSubMockRecorder) ToOthers ¶
func (mr *MockPubSubMockRecorder) ToOthers(arg0 any) *gomock.Call
ToOthers indicates an expected call of ToOthers.
func (*MockPubSubMockRecorder) ToSelf ¶
func (mr *MockPubSubMockRecorder) ToSelf(arg0 any) *gomock.Call
ToSelf indicates an expected call of ToSelf.
func (*MockPubSubMockRecorder) Uid ¶
func (mr *MockPubSubMockRecorder) Uid() *gomock.Call
Uid indicates an expected call of Uid.
type MockRecorderInterface ¶
type MockRecorderInterface struct {
// contains filtered or unexported fields
}
MockRecorderInterface is a mock of RecorderInterface interface.
func NewMockRecorderInterface ¶
func NewMockRecorderInterface(ctrl *gomock.Controller) *MockRecorderInterface
NewMockRecorderInterface creates a new mock instance.
func (*MockRecorderInterface) Close ¶
func (m *MockRecorderInterface) Close() error
Close mocks base method.
func (*MockRecorderInterface) EXPECT ¶
func (m *MockRecorderInterface) EXPECT() *MockRecorderInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRecorderInterface) GetShell ¶
func (m *MockRecorderInterface) GetShell() string
GetShell mocks base method.
func (*MockRecorderInterface) Resize ¶
func (m *MockRecorderInterface) Resize(arg0, arg1 uint16)
Resize mocks base method.
func (*MockRecorderInterface) SetShell ¶
func (m *MockRecorderInterface) SetShell(arg0 string)
SetShell mocks base method.
func (*MockRecorderInterface) Write ¶
func (m *MockRecorderInterface) Write(arg0 string) error
Write mocks base method.
type MockRecorderInterfaceMockRecorder ¶
type MockRecorderInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockRecorderInterfaceMockRecorder is the mock recorder for MockRecorderInterface.
func (*MockRecorderInterfaceMockRecorder) Close ¶
func (mr *MockRecorderInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRecorderInterfaceMockRecorder) GetShell ¶
func (mr *MockRecorderInterfaceMockRecorder) GetShell() *gomock.Call
GetShell indicates an expected call of GetShell.
func (*MockRecorderInterfaceMockRecorder) Resize ¶
func (mr *MockRecorderInterfaceMockRecorder) Resize(arg0, arg1 any) *gomock.Call
Resize indicates an expected call of Resize.
type MockReleaseInstaller ¶
type MockReleaseInstaller struct {
// contains filtered or unexported fields
}
MockReleaseInstaller is a mock of ReleaseInstaller interface.
func NewMockReleaseInstaller ¶
func NewMockReleaseInstaller(ctrl *gomock.Controller) *MockReleaseInstaller
NewMockReleaseInstaller creates a new mock instance.
func (*MockReleaseInstaller) Chart ¶
func (m *MockReleaseInstaller) Chart() *chart.Chart
Chart mocks base method.
func (*MockReleaseInstaller) EXPECT ¶
func (m *MockReleaseInstaller) EXPECT() *MockReleaseInstallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReleaseInstaller) Logs ¶
func (m *MockReleaseInstaller) Logs() []string
Logs mocks base method.
func (*MockReleaseInstaller) Run ¶
func (m *MockReleaseInstaller) Run(arg0 context.Context, arg1 contracts.SafeWriteMessageChInterface, arg2 contracts.Percentable, arg3 bool, arg4 string) (*release.Release, error)
Run mocks base method.
type MockReleaseInstallerMockRecorder ¶
type MockReleaseInstallerMockRecorder struct {
// contains filtered or unexported fields
}
MockReleaseInstallerMockRecorder is the mock recorder for MockReleaseInstaller.
func (*MockReleaseInstallerMockRecorder) Chart ¶
func (mr *MockReleaseInstallerMockRecorder) Chart() *gomock.Call
Chart indicates an expected call of Chart.
func (*MockReleaseInstallerMockRecorder) Logs ¶
func (mr *MockReleaseInstallerMockRecorder) Logs() *gomock.Call
Logs indicates an expected call of Logs.
type MockRemoteExecutor ¶
type MockRemoteExecutor struct {
// contains filtered or unexported fields
}
MockRemoteExecutor is a mock of RemoteExecutor interface.
func NewMockRemoteExecutor ¶
func NewMockRemoteExecutor(ctrl *gomock.Controller) *MockRemoteExecutor
NewMockRemoteExecutor creates a new mock instance.
func (*MockRemoteExecutor) EXPECT ¶
func (m *MockRemoteExecutor) EXPECT() *MockRemoteExecutorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRemoteExecutor) Execute ¶
func (m *MockRemoteExecutor) Execute(arg0 context.Context, arg1 kubernetes.Interface, arg2 *rest.Config, arg3 io.Reader, arg4, arg5 io.Writer, arg6 bool, arg7 remotecommand.TerminalSizeQueue) error
Execute mocks base method.
func (*MockRemoteExecutor) WithCommand ¶
func (m *MockRemoteExecutor) WithCommand(arg0 []string) contracts.RemoteExecutor
WithCommand mocks base method.
func (*MockRemoteExecutor) WithContainer ¶
func (m *MockRemoteExecutor) WithContainer(arg0, arg1, arg2 string) contracts.RemoteExecutor
WithContainer mocks base method.
func (*MockRemoteExecutor) WithMethod ¶
func (m *MockRemoteExecutor) WithMethod(arg0 string) contracts.RemoteExecutor
WithMethod mocks base method.
type MockRemoteExecutorMockRecorder ¶
type MockRemoteExecutorMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoteExecutorMockRecorder is the mock recorder for MockRemoteExecutor.
func (*MockRemoteExecutorMockRecorder) Execute ¶
func (mr *MockRemoteExecutorMockRecorder) Execute(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 any) *gomock.Call
Execute indicates an expected call of Execute.
func (*MockRemoteExecutorMockRecorder) WithCommand ¶
func (mr *MockRemoteExecutorMockRecorder) WithCommand(arg0 any) *gomock.Call
WithCommand indicates an expected call of WithCommand.
func (*MockRemoteExecutorMockRecorder) WithContainer ¶
func (mr *MockRemoteExecutorMockRecorder) WithContainer(arg0, arg1, arg2 any) *gomock.Call
WithContainer indicates an expected call of WithContainer.
func (*MockRemoteExecutorMockRecorder) WithMethod ¶
func (mr *MockRemoteExecutorMockRecorder) WithMethod(arg0 any) *gomock.Call
WithMethod indicates an expected call of WithMethod.
type MockSessionMapper ¶
type MockSessionMapper struct {
// contains filtered or unexported fields
}
MockSessionMapper is a mock of SessionMapper interface.
func NewMockSessionMapper ¶
func NewMockSessionMapper(ctrl *gomock.Controller) *MockSessionMapper
NewMockSessionMapper creates a new mock instance.
func (*MockSessionMapper) Close ¶
func (m *MockSessionMapper) Close(arg0 string, arg1 uint32, arg2 string)
Close mocks base method.
func (*MockSessionMapper) CloseAll ¶
func (m *MockSessionMapper) CloseAll()
CloseAll mocks base method.
func (*MockSessionMapper) EXPECT ¶
func (m *MockSessionMapper) EXPECT() *MockSessionMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSessionMapper) Get ¶
func (m *MockSessionMapper) Get(arg0 string) (contracts.PtyHandler, bool)
Get mocks base method.
func (*MockSessionMapper) Send ¶
func (m *MockSessionMapper) Send(arg0 *websocket.TerminalMessage)
Send mocks base method.
func (*MockSessionMapper) Set ¶
func (m *MockSessionMapper) Set(arg0 string, arg1 contracts.PtyHandler)
Set mocks base method.
type MockSessionMapperMockRecorder ¶
type MockSessionMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionMapperMockRecorder is the mock recorder for MockSessionMapper.
func (*MockSessionMapperMockRecorder) Close ¶
func (mr *MockSessionMapperMockRecorder) Close(arg0, arg1, arg2 any) *gomock.Call
Close indicates an expected call of Close.
func (*MockSessionMapperMockRecorder) CloseAll ¶
func (mr *MockSessionMapperMockRecorder) CloseAll() *gomock.Call
CloseAll indicates an expected call of CloseAll.
func (*MockSessionMapperMockRecorder) Get ¶
func (mr *MockSessionMapperMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
type MockTracer ¶
type MockTracer struct {
// contains filtered or unexported fields
}
MockTracer is a mock of Tracer interface.
func NewMockTracer ¶
func NewMockTracer(ctrl *gomock.Controller) *MockTracer
NewMockTracer creates a new mock instance.
func (*MockTracer) EXPECT ¶
func (m *MockTracer) EXPECT() *MockTracerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTracerMockRecorder ¶
type MockTracerMockRecorder struct {
// contains filtered or unexported fields
}
MockTracerMockRecorder is the mock recorder for MockTracer.
type MockUploader ¶
type MockUploader struct {
// contains filtered or unexported fields
}
MockUploader is a mock of Uploader interface.
func NewMockUploader ¶
func NewMockUploader(ctrl *gomock.Controller) *MockUploader
NewMockUploader creates a new mock instance.
func (*MockUploader) AbsolutePath ¶
func (m *MockUploader) AbsolutePath(arg0 string) string
AbsolutePath mocks base method.
func (*MockUploader) AllDirectoryFiles ¶
func (m *MockUploader) AllDirectoryFiles(arg0 string) ([]contracts.FileInfo, error)
AllDirectoryFiles mocks base method.
func (*MockUploader) Delete ¶
func (m *MockUploader) Delete(arg0 string) error
Delete mocks base method.
func (*MockUploader) DeleteDir ¶
func (m *MockUploader) DeleteDir(arg0 string) error
DeleteDir mocks base method.
func (*MockUploader) DirSize ¶
func (m *MockUploader) DirSize() (int64, error)
DirSize mocks base method.
func (*MockUploader) Disk ¶
func (m *MockUploader) Disk(arg0 string) contracts.Uploader
Disk mocks base method.
func (*MockUploader) EXPECT ¶
func (m *MockUploader) EXPECT() *MockUploaderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUploader) Exists ¶
func (m *MockUploader) Exists(arg0 string) bool
Exists mocks base method.
func (*MockUploader) MkDir ¶
func (m *MockUploader) MkDir(arg0 string, arg1 bool) error
MkDir mocks base method.
func (*MockUploader) NewFile ¶
func (m *MockUploader) NewFile(arg0 string) (contracts.File, error)
NewFile mocks base method.
func (*MockUploader) Read ¶
func (m *MockUploader) Read(arg0 string) (io.ReadCloser, error)
Read mocks base method.
func (*MockUploader) RemoveEmptyDir ¶
func (m *MockUploader) RemoveEmptyDir() error
RemoveEmptyDir mocks base method.
func (*MockUploader) Stat ¶
func (m *MockUploader) Stat(arg0 string) (contracts.FileInfo, error)
Stat mocks base method.
func (*MockUploader) Type ¶
func (m *MockUploader) Type() contracts.UploadType
Type mocks base method.
type MockUploaderMockRecorder ¶
type MockUploaderMockRecorder struct {
// contains filtered or unexported fields
}
MockUploaderMockRecorder is the mock recorder for MockUploader.
func (*MockUploaderMockRecorder) AbsolutePath ¶
func (mr *MockUploaderMockRecorder) AbsolutePath(arg0 any) *gomock.Call
AbsolutePath indicates an expected call of AbsolutePath.
func (*MockUploaderMockRecorder) AllDirectoryFiles ¶
func (mr *MockUploaderMockRecorder) AllDirectoryFiles(arg0 any) *gomock.Call
AllDirectoryFiles indicates an expected call of AllDirectoryFiles.
func (*MockUploaderMockRecorder) Delete ¶
func (mr *MockUploaderMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUploaderMockRecorder) DeleteDir ¶
func (mr *MockUploaderMockRecorder) DeleteDir(arg0 any) *gomock.Call
DeleteDir indicates an expected call of DeleteDir.
func (*MockUploaderMockRecorder) DirSize ¶
func (mr *MockUploaderMockRecorder) DirSize() *gomock.Call
DirSize indicates an expected call of DirSize.
func (*MockUploaderMockRecorder) Disk ¶
func (mr *MockUploaderMockRecorder) Disk(arg0 any) *gomock.Call
Disk indicates an expected call of Disk.
func (*MockUploaderMockRecorder) Exists ¶
func (mr *MockUploaderMockRecorder) Exists(arg0 any) *gomock.Call
Exists indicates an expected call of Exists.
func (*MockUploaderMockRecorder) MkDir ¶
func (mr *MockUploaderMockRecorder) MkDir(arg0, arg1 any) *gomock.Call
MkDir indicates an expected call of MkDir.
func (*MockUploaderMockRecorder) NewFile ¶
func (mr *MockUploaderMockRecorder) NewFile(arg0 any) *gomock.Call
NewFile indicates an expected call of NewFile.
func (*MockUploaderMockRecorder) Put ¶
func (mr *MockUploaderMockRecorder) Put(arg0, arg1 any) *gomock.Call
Put indicates an expected call of Put.
func (*MockUploaderMockRecorder) Read ¶
func (mr *MockUploaderMockRecorder) Read(arg0 any) *gomock.Call
Read indicates an expected call of Read.
func (*MockUploaderMockRecorder) RemoveEmptyDir ¶
func (mr *MockUploaderMockRecorder) RemoveEmptyDir() *gomock.Call
RemoveEmptyDir indicates an expected call of RemoveEmptyDir.
func (*MockUploaderMockRecorder) Stat ¶
func (mr *MockUploaderMockRecorder) Stat(arg0 any) *gomock.Call
Stat indicates an expected call of Stat.
func (*MockUploaderMockRecorder) Type ¶
func (mr *MockUploaderMockRecorder) Type() *gomock.Call
Type indicates an expected call of Type.
type MockWebsocketConn ¶
type MockWebsocketConn struct {
// contains filtered or unexported fields
}
MockWebsocketConn is a mock of WebsocketConn interface.
func NewMockWebsocketConn ¶
func NewMockWebsocketConn(ctrl *gomock.Controller) *MockWebsocketConn
NewMockWebsocketConn creates a new mock instance.
func (*MockWebsocketConn) Close ¶
func (m *MockWebsocketConn) Close() error
Close mocks base method.
func (*MockWebsocketConn) EXPECT ¶
func (m *MockWebsocketConn) EXPECT() *MockWebsocketConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWebsocketConn) NextWriter ¶
func (m *MockWebsocketConn) NextWriter(arg0 int) (io.WriteCloser, error)
NextWriter mocks base method.
func (*MockWebsocketConn) ReadMessage ¶
func (m *MockWebsocketConn) ReadMessage() (int, []byte, error)
ReadMessage mocks base method.
func (*MockWebsocketConn) SetPongHandler ¶
func (m *MockWebsocketConn) SetPongHandler(arg0 func(string) error)
SetPongHandler mocks base method.
func (*MockWebsocketConn) SetReadDeadline ¶
func (m *MockWebsocketConn) SetReadDeadline(arg0 time.Time) error
SetReadDeadline mocks base method.
func (*MockWebsocketConn) SetReadLimit ¶
func (m *MockWebsocketConn) SetReadLimit(arg0 int64)
SetReadLimit mocks base method.
func (*MockWebsocketConn) SetWriteDeadline ¶
func (m *MockWebsocketConn) SetWriteDeadline(arg0 time.Time) error
SetWriteDeadline mocks base method.
func (*MockWebsocketConn) WriteMessage ¶
func (m *MockWebsocketConn) WriteMessage(arg0 int, arg1 []byte) error
WriteMessage mocks base method.
type MockWebsocketConnMockRecorder ¶
type MockWebsocketConnMockRecorder struct {
// contains filtered or unexported fields
}
MockWebsocketConnMockRecorder is the mock recorder for MockWebsocketConn.
func (*MockWebsocketConnMockRecorder) Close ¶
func (mr *MockWebsocketConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockWebsocketConnMockRecorder) NextWriter ¶
func (mr *MockWebsocketConnMockRecorder) NextWriter(arg0 any) *gomock.Call
NextWriter indicates an expected call of NextWriter.
func (*MockWebsocketConnMockRecorder) ReadMessage ¶
func (mr *MockWebsocketConnMockRecorder) ReadMessage() *gomock.Call
ReadMessage indicates an expected call of ReadMessage.
func (*MockWebsocketConnMockRecorder) SetPongHandler ¶
func (mr *MockWebsocketConnMockRecorder) SetPongHandler(arg0 any) *gomock.Call
SetPongHandler indicates an expected call of SetPongHandler.
func (*MockWebsocketConnMockRecorder) SetReadDeadline ¶
func (mr *MockWebsocketConnMockRecorder) SetReadDeadline(arg0 any) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline.
func (*MockWebsocketConnMockRecorder) SetReadLimit ¶
func (mr *MockWebsocketConnMockRecorder) SetReadLimit(arg0 any) *gomock.Call
SetReadLimit indicates an expected call of SetReadLimit.
func (*MockWebsocketConnMockRecorder) SetWriteDeadline ¶
func (mr *MockWebsocketConnMockRecorder) SetWriteDeadline(arg0 any) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline.
func (*MockWebsocketConnMockRecorder) WriteMessage ¶
func (mr *MockWebsocketConnMockRecorder) WriteMessage(arg0, arg1 any) *gomock.Call
WriteMessage indicates an expected call of WriteMessage.
type MockWsSender ¶
type MockWsSender struct {
// contains filtered or unexported fields
}
MockWsSender is a mock of WsSender interface.
func NewMockWsSender ¶
func NewMockWsSender(ctrl *gomock.Controller) *MockWsSender
NewMockWsSender creates a new mock instance.
func (*MockWsSender) EXPECT ¶
func (m *MockWsSender) EXPECT() *MockWsSenderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWsSender) Initialize ¶
func (m *MockWsSender) Initialize(arg0 map[string]any) error
Initialize mocks base method.
type MockWsSenderMockRecorder ¶
type MockWsSenderMockRecorder struct {
// contains filtered or unexported fields
}
MockWsSenderMockRecorder is the mock recorder for MockWsSender.
func (*MockWsSenderMockRecorder) Destroy ¶
func (mr *MockWsSenderMockRecorder) Destroy() *gomock.Call
Destroy indicates an expected call of Destroy.
func (*MockWsSenderMockRecorder) Initialize ¶
func (mr *MockWsSenderMockRecorder) Initialize(arg0 any) *gomock.Call
Initialize indicates an expected call of Initialize.
func (*MockWsSenderMockRecorder) Name ¶
func (mr *MockWsSenderMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
Source Files ¶
- mock_app.go
- mock_archiver.go
- mock_auth.go
- mock_cache.go
- mock_cache_locker.go
- mock_cron_runner.go
- mock_db.go
- mock_domain_manager.go
- mock_event.go
- mock_git_server.go
- mock_git_server_branch.go
- mock_git_server_commit.go
- mock_git_server_pipeline.go
- mock_git_server_project.go
- mock_helmer.go
- mock_log.go
- mock_plugin.go
- mock_plugin_picture.go
- mock_pod_copier.go
- mock_pty_handler.go
- mock_recorder.go
- mock_release_installer.go
- mock_remote_executor.go
- mock_socket.go
- mock_socket_conn.go
- mock_socket_deploy_msger.go
- mock_socket_job.go
- mock_socket_session_mapper.go
- mock_tracer.go
- mock_uploader.go
- mock_uploader_file.go
- mock_uploader_fileinfo.go
- mock_wssender.go
- mock_wssender_pubsub.go