Documentation ¶
Index ¶
- Variables
- type Project
- type ProjectStore
- func (s *ProjectStore) CreateProject(w *gen.Project) (string, error)
- func (s *ProjectStore) CreateWorkflowRun(run *gen.WorkflowTrace) (string, error)
- func (s *ProjectStore) GetProject(projectID string) (*gen.Project, error)
- func (s *ProjectStore) GetWorkflowRunsForProject(projectID string) ([]*gen.WorkflowTrace, error)
- func (s *ProjectStore) ListProjects() ([]*gen.Project, error)
- func (s *ProjectStore) SaveNodeExecution(workflowRunID string, nodeExecution *gen.NodeExecution) (string, error)
- func (s *ProjectStore) SaveProject(w *gen.Project) (string, error)
- type WorkflowRunModel
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet( db.ProviderSet, NewDBStore, wire.Bind(new(Project), new(*ProjectStore)), )
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project interface { CreateProject(w *gen.Project) (string, error) SaveProject(w *gen.Project) (string, error) GetProject(projectID string) (*gen.Project, error) ListProjects() ([]*gen.Project, error) CreateWorkflowRun(run *gen.WorkflowTrace) (string, error) SaveNodeExecution(workflowRunID string, nodeExecution *gen.NodeExecution) (string, error) GetWorkflowRunsForProject(project string) ([]*gen.WorkflowTrace, error) }
type ProjectStore ¶
type ProjectStore struct {
// contains filtered or unexported fields
}
func NewDBStore ¶
func NewDBStore(db *gorm.DB) (*ProjectStore, error)
func (*ProjectStore) CreateProject ¶
func (s *ProjectStore) CreateProject(w *gen.Project) (string, error)
func (*ProjectStore) CreateWorkflowRun ¶
func (s *ProjectStore) CreateWorkflowRun(run *gen.WorkflowTrace) (string, error)
func (*ProjectStore) GetProject ¶
func (s *ProjectStore) GetProject(projectID string) (*gen.Project, error)
func (*ProjectStore) GetWorkflowRunsForProject ¶
func (s *ProjectStore) GetWorkflowRunsForProject(projectID string) ([]*gen.WorkflowTrace, error)
func (*ProjectStore) ListProjects ¶
func (s *ProjectStore) ListProjects() ([]*gen.Project, error)
func (*ProjectStore) SaveNodeExecution ¶
func (s *ProjectStore) SaveNodeExecution(workflowRunID string, nodeExecution *gen.NodeExecution) (string, error)
func (*ProjectStore) SaveProject ¶
func (s *ProjectStore) SaveProject(w *gen.Project) (string, error)
type WorkflowRunModel ¶
Click to show internal directories.
Click to hide internal directories.