Documentation ¶
Index ¶
- Constants
- type Engine
- func (e *Engine) Run() error
- func (e *Engine) SetContext(ctx context.Context)
- func (e *Engine) StartRegistryActivity(registry string, act grpcentities.RegistryActivity) error
- func (e *Engine) StartRegistryWorkflowActivity(registry string, workflowId uuid.I, act grpcentities.RegistryWorkflowActivity) error
- func (e *Engine) StartRegistryWorkflowIndexActivity(registry string, act grpcentities.RegistryWorkflowIndexActivity) error
- func (e *Engine) StartRepoActivity(repoId uuid.I, act grpcentities.RepoActivity) error
- func (e *Engine) StartRepoWorkflowActivity(repoId uuid.I, workflowId uuid.I, act grpcentities.RepoWorkflowActivity) error
- type EngineConfig
- type Limiter
- type Logger
Constants ¶
View Source
const ConfigRetryRunTasksIntervalSeconds = 20
View Source
const ConfigRetryWatchSignalsWaitSeconds = 15
View Source
const NsFsoRegistry = "fsoreg"
View Source
const NsFsoRegistryEphemeralWorkflows = "fsoregephwfl"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewEngine ¶
func NewEngine(lg Logger, cfg *EngineConfig) *Engine
func (*Engine) SetContext ¶
func (*Engine) StartRegistryActivity ¶
func (e *Engine) StartRegistryActivity( registry string, act grpcentities.RegistryActivity, ) error
func (*Engine) StartRegistryWorkflowActivity ¶
func (e *Engine) StartRegistryWorkflowActivity( registry string, workflowId uuid.I, act grpcentities.RegistryWorkflowActivity, ) error
func (*Engine) StartRegistryWorkflowIndexActivity ¶
func (e *Engine) StartRegistryWorkflowIndexActivity( registry string, act grpcentities.RegistryWorkflowIndexActivity, ) error
func (*Engine) StartRepoActivity ¶
func (e *Engine) StartRepoActivity( repoId uuid.I, act grpcentities.RepoActivity, ) error
func (*Engine) StartRepoWorkflowActivity ¶
func (e *Engine) StartRepoWorkflowActivity( repoId uuid.I, workflowId uuid.I, act grpcentities.RepoWorkflowActivity, ) error
type EngineConfig ¶
type EngineConfig struct { Conn *grpc.ClientConn SysRPCCreds credentials.PerRPCCredentials StreamLimiter Limiter StreamLimiterRegistry Limiter StreamLimiterRepos Limiter StreamLimiterRepoWorkflows Limiter }
Click to show internal directories.
Click to hide internal directories.