Documentation ¶
Overview ¶
@Title This file is used to cache the objects that need to be reused in the reconciler @Description The cached data is placed in the global sync.Map, you need to call clearPipelineContextCaches to clean up the corresponding data after you use it at will
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { GetOrSetPipelineRerunSuccessTasksFromContext(pipelineID uint64) (successTasks map[string]*spec.PipelineTask, err error) GetOrSetStagesFromContext(pipelineID uint64) (stages []spec.PipelineStage, err error) GetOrSetPipelineYmlFromContext(pipelineID uint64) (yml *pipelineyml.PipelineYml, err error) GetOrSetPassedDataWhenCreateFromContext(pipelineYml *pipelineyml.PipelineYml, pipeline *spec.Pipeline) (passedDataWhenCreate *action_info.PassedDataWhenCreate, err error) ClearReconcilerPipelineContextCaches(pipelineID uint64) SetPipelineSecretByPipelineID(pipelineID uint64, secret *SecretCache) GetPipelineSecretByPipelineID(pipelineID uint64) (secret *SecretCache) ClearPipelineSecretByPipelineID(pipelineID uint64) GetOrSetOrgName(orgID uint64) string }
Click to show internal directories.
Click to hide internal directories.