Documentation ¶
Index ¶
- func ConvertToUpdateWorkflowParams(input entity.UpdateWorkflow, workflowID, modifiedBy string) sqlcrepo.UpdateWorkflowParams
- type DynTabRepo
- func (r *DynTabRepo) AddDynTabVars(newVars []entity.NewDynamicTableVariable) ([]entity.DynamicTableVariable, error)
- func (r *DynTabRepo) AddSchemaField(suffix string, vars []entity.DynamicTableVariable) error
- func (r *DynTabRepo) CreateDynamicTables(newModels []entity.NewDynamicTable) ([]entity.DynamicTable, error)
- func (r *DynTabRepo) CreateTable(suffix string, dynTab entity.DynamicTable, vars []entity.DynamicTableVariable) error
- func (r *DynTabRepo) FetchDynamicTables(ids []string) ([]entity.DynamicTable, error)
- func (r *DynTabRepo) FetchVarsByIDs(varsIDs []string) ([]entity.DynamicTableVariable, error)
- func (r *DynTabRepo) FetchVarsByTab(dynTabID string) ([]entity.DynamicTableVariable, error)
- func (r *DynTabRepo) IDQuery(idQuery string) ([]string, error)
- func (r *DynTabRepo) RemoveDynTabVars(varIDs []string) error
- type RawWorkflow
- type RunLogRepo
- type RunRepo
- func (r *RunRepo) FetchRunByRequestID(requestID string) (*entity.Run, error)
- func (r *RunRepo) FetchRunByWorkflow(workflowID string) ([]*entity.Run, error)
- func (r *RunRepo) FetchRuns(ids []string) ([]*entity.Run, error)
- func (r *RunRepo) IDQuery(idQuery string) ([]string, error)
- func (r *RunRepo) SaveRun(newModel entity.NewRun) (*entity.Run, error)
- type TokenRepo
- func (r *TokenRepo) CreateToken(t entity.NewToken) (*entity.Token, error)
- func (r *TokenRepo) DeleteTokenByValue(t string) error
- func (r *TokenRepo) ListTokens() ([]*entity.Token, error)
- func (r *TokenRepo) ListUserToken(username string) ([]*entity.Token, error)
- func (r *TokenRepo) ReadToken(id string) (*entity.Token, error)
- func (r *TokenRepo) ReadTokenByValue(t string) (*entity.Token, error)
- type UserRepo
- func (r *UserRepo) DeleteUser(id string) error
- func (r *UserRepo) FetchByIDs(ids []string) ([]*entity.User, error)
- func (r *UserRepo) FetchUser(id string) (*entity.User, error)
- func (r *UserRepo) FetchUserByName(name string) (*entity.User, error)
- func (r *UserRepo) IDQuery(idQuery string) ([]string, error)
- func (r *UserRepo) SaveUser(t entity.NewUser) (*entity.User, error)
- func (r *UserRepo) UpdatePassword(passwordHash string, userID string) (*entity.User, error)
- type WorkflowRepo
- func (r *WorkflowRepo) CreateWorkflows(newModels []*entity.NewWorkflow) ([]entity.Workflow, error)
- func (r *WorkflowRepo) DeleteWorkflow(id string) error
- func (r *WorkflowRepo) FetchWorkflows(ids []string, depth int) ([]entity.Workflow, error)
- func (r *WorkflowRepo) IDQuery(idQuery string) ([]string, error)
- func (r *WorkflowRepo) UpdateWorkflow(workflowID string, updateEntity entity.UpdateWorkflow) (*entity.Workflow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToUpdateWorkflowParams ¶
func ConvertToUpdateWorkflowParams( input entity.UpdateWorkflow, workflowID, modifiedBy string, ) sqlcrepo.UpdateWorkflowParams
Types ¶
type DynTabRepo ¶
type DynTabRepo struct {
// contains filtered or unexported fields
}
func NewDynTabRepo ¶
func (*DynTabRepo) AddDynTabVars ¶
func (r *DynTabRepo) AddDynTabVars(newVars []entity.NewDynamicTableVariable) ([]entity.DynamicTableVariable, error)
func (*DynTabRepo) AddSchemaField ¶
func (r *DynTabRepo) AddSchemaField(suffix string, vars []entity.DynamicTableVariable) error
func (*DynTabRepo) CreateDynamicTables ¶
func (r *DynTabRepo) CreateDynamicTables(newModels []entity.NewDynamicTable) ([]entity.DynamicTable, error)
func (*DynTabRepo) CreateTable ¶
func (r *DynTabRepo) CreateTable(suffix string, dynTab entity.DynamicTable, vars []entity.DynamicTableVariable) error
func (*DynTabRepo) FetchDynamicTables ¶
func (r *DynTabRepo) FetchDynamicTables(ids []string) ([]entity.DynamicTable, error)
func (*DynTabRepo) FetchVarsByIDs ¶
func (r *DynTabRepo) FetchVarsByIDs(varsIDs []string) ([]entity.DynamicTableVariable, error)
func (*DynTabRepo) FetchVarsByTab ¶
func (r *DynTabRepo) FetchVarsByTab(dynTabID string) ([]entity.DynamicTableVariable, error)
func (*DynTabRepo) RemoveDynTabVars ¶
func (r *DynTabRepo) RemoveDynTabVars(varIDs []string) error
type RawWorkflow ¶
type RunLogRepo ¶
type RunLogRepo struct {
// contains filtered or unexported fields
}
func NewRunLogRepo ¶
func (*RunLogRepo) CreateRunLog ¶
func (*RunLogRepo) FetchRunLog ¶
func (r *RunLogRepo) FetchRunLog(id string) (*entity.RunLog, error)
func (*RunLogRepo) FetchRunLogsByRun ¶
func (r *RunLogRepo) FetchRunLogsByRun(runID string) ([]entity.RunLog, error)
type RunRepo ¶
type RunRepo struct {
// contains filtered or unexported fields
}
func NewRunRepo ¶
func (*RunRepo) FetchRunByRequestID ¶
func (*RunRepo) FetchRunByWorkflow ¶
type TokenRepo ¶
type TokenRepo struct { Username string // contains filtered or unexported fields }
func NewTokenRepo ¶
func (*TokenRepo) CreateToken ¶
func (*TokenRepo) DeleteTokenByValue ¶
func (*TokenRepo) ListUserToken ¶
type UserRepo ¶
type UserRepo struct { Username string // contains filtered or unexported fields }
func NewUserRepo ¶
func (*UserRepo) DeleteUser ¶
func (*UserRepo) FetchUserByName ¶
type WorkflowRepo ¶
type WorkflowRepo struct {
// contains filtered or unexported fields
}
func NewWorkflowRepo ¶
func (*WorkflowRepo) CreateWorkflows ¶
func (r *WorkflowRepo) CreateWorkflows(newModels []*entity.NewWorkflow) ([]entity.Workflow, error)
func (*WorkflowRepo) DeleteWorkflow ¶
func (r *WorkflowRepo) DeleteWorkflow(id string) error
func (*WorkflowRepo) FetchWorkflows ¶
func (*WorkflowRepo) UpdateWorkflow ¶
func (r *WorkflowRepo) UpdateWorkflow(workflowID string, updateEntity entity.UpdateWorkflow) (*entity.Workflow, error)
Click to show internal directories.
Click to hide internal directories.