Documentation ¶
Index ¶
- Variables
- type PostgresRepo
- func (p *PostgresRepo) ExecutionEventRepo() interfaces.ExecutionEventRepoInterface
- func (p *PostgresRepo) ExecutionRepo() interfaces.ExecutionRepoInterface
- func (p *PostgresRepo) LaunchPlanRepo() interfaces.LaunchPlanRepoInterface
- func (p *PostgresRepo) NamedEntityRepo() interfaces.NamedEntityRepoInterface
- func (p *PostgresRepo) NodeExecutionEventRepo() interfaces.NodeExecutionEventRepoInterface
- func (p *PostgresRepo) NodeExecutionRepo() interfaces.NodeExecutionRepoInterface
- func (p *PostgresRepo) ProjectRepo() interfaces.ProjectRepoInterface
- func (p *PostgresRepo) ResourceRepo() interfaces.ResourceRepoInterface
- func (p *PostgresRepo) SchedulableEntityRepo() schedulerInterfaces.SchedulableEntityRepoInterface
- func (p *PostgresRepo) ScheduleEntitiesSnapshotRepo() schedulerInterfaces.ScheduleEntitiesSnapShotRepoInterface
- func (p *PostgresRepo) TaskExecutionRepo() interfaces.TaskExecutionRepoInterface
- func (p *PostgresRepo) TaskRepo() interfaces.TaskRepoInterface
- func (p *PostgresRepo) WorkflowRepo() interfaces.WorkflowRepoInterface
- type RepoConfig
- type RepositoryInterface
Constants ¶
This section is empty.
Variables ¶
View Source
var RepositoryConfigurationName = map[int32]string{
0: "POSTGRES",
}
Functions ¶
This section is empty.
Types ¶
type PostgresRepo ¶
type PostgresRepo struct {
// contains filtered or unexported fields
}
func (*PostgresRepo) ExecutionEventRepo ¶ added in v0.4.12
func (p *PostgresRepo) ExecutionEventRepo() interfaces.ExecutionEventRepoInterface
func (*PostgresRepo) ExecutionRepo ¶
func (p *PostgresRepo) ExecutionRepo() interfaces.ExecutionRepoInterface
func (*PostgresRepo) LaunchPlanRepo ¶
func (p *PostgresRepo) LaunchPlanRepo() interfaces.LaunchPlanRepoInterface
func (*PostgresRepo) NamedEntityRepo ¶ added in v0.1.5
func (p *PostgresRepo) NamedEntityRepo() interfaces.NamedEntityRepoInterface
func (*PostgresRepo) NodeExecutionEventRepo ¶ added in v0.4.12
func (p *PostgresRepo) NodeExecutionEventRepo() interfaces.NodeExecutionEventRepoInterface
func (*PostgresRepo) NodeExecutionRepo ¶
func (p *PostgresRepo) NodeExecutionRepo() interfaces.NodeExecutionRepoInterface
func (*PostgresRepo) ProjectRepo ¶
func (p *PostgresRepo) ProjectRepo() interfaces.ProjectRepoInterface
func (*PostgresRepo) ResourceRepo ¶ added in v0.3.38
func (p *PostgresRepo) ResourceRepo() interfaces.ResourceRepoInterface
func (*PostgresRepo) SchedulableEntityRepo ¶ added in v0.6.23
func (p *PostgresRepo) SchedulableEntityRepo() schedulerInterfaces.SchedulableEntityRepoInterface
func (*PostgresRepo) ScheduleEntitiesSnapshotRepo ¶ added in v0.6.23
func (p *PostgresRepo) ScheduleEntitiesSnapshotRepo() schedulerInterfaces.ScheduleEntitiesSnapShotRepoInterface
func (*PostgresRepo) TaskExecutionRepo ¶
func (p *PostgresRepo) TaskExecutionRepo() interfaces.TaskExecutionRepoInterface
func (*PostgresRepo) TaskRepo ¶
func (p *PostgresRepo) TaskRepo() interfaces.TaskRepoInterface
func (*PostgresRepo) WorkflowRepo ¶
func (p *PostgresRepo) WorkflowRepo() interfaces.WorkflowRepoInterface
type RepositoryInterface ¶
type RepositoryInterface interface { TaskRepo() interfaces.TaskRepoInterface WorkflowRepo() interfaces.WorkflowRepoInterface LaunchPlanRepo() interfaces.LaunchPlanRepoInterface ExecutionRepo() interfaces.ExecutionRepoInterface ExecutionEventRepo() interfaces.ExecutionEventRepoInterface ProjectRepo() interfaces.ProjectRepoInterface ResourceRepo() interfaces.ResourceRepoInterface NodeExecutionRepo() interfaces.NodeExecutionRepoInterface NodeExecutionEventRepo() interfaces.NodeExecutionEventRepoInterface TaskExecutionRepo() interfaces.TaskExecutionRepoInterface NamedEntityRepo() interfaces.NamedEntityRepoInterface SchedulableEntityRepo() schedulerInterfaces.SchedulableEntityRepoInterface ScheduleEntitiesSnapshotRepo() schedulerInterfaces.ScheduleEntitiesSnapShotRepoInterface }
The RepositoryInterface indicates the methods that each Repository must support. A Repository indicates a Database which is collection of Tables/models. The goal is allow databases to be Plugged in easily.
func GetRepository ¶
func GetRepository(repoType RepoConfig, dbConfig config.DbConfig, scope promutils.Scope) RepositoryInterface
func NewPostgresRepo ¶
func NewPostgresRepo(db *gorm.DB, errorTransformer errors.ErrorTransformer, scope promutils.Scope) RepositoryInterface
Directories ¶
Path | Synopsis |
---|---|
Generic errors used across files in repositories/ Postgres-specific implementation of an ErrorTransformer.
|
Generic errors used across files in repositories/ Postgres-specific implementation of an ErrorTransformer. |
Mock implementation of a workflow repo to be used for tests.
|
Mock implementation of a workflow repo to be used for tests. |
Handles translating gRPC request & response objects to and from repository model objects
|
Handles translating gRPC request & response objects to and from repository model objects |
Click to show internal directories.
Click to hide internal directories.