Documentation ¶
Index ¶
- func ConvertToUpdateWorkflowParams(input entity.UpdateWorkflow, workflowID, modifiedBy string) sqlcrepo.UpdateWorkflowParams
- type DynDataRepo
- type DynFieldRepo
- func (r *DynFieldRepo) AddFields(newModels []entity.NewDynamicField) ([]entity.DynamicField, error)
- func (r *DynFieldRepo) FetchDynamicFields(dynFieldIDs []string) ([]entity.DynamicField, error)
- func (r *DynFieldRepo) FetchVarsByDynFieldName(dynFieldName string) ([]entity.DynamicField, error)
- func (r *DynFieldRepo) FetchVarsByTabID(dynTabID string) ([]entity.DynamicField, error)
- func (r *DynFieldRepo) IDQuery(idQuery string) ([]string, error)
- func (r *DynFieldRepo) RemoveDynField(varIDs []string) error
- type DynSchemaRepo
- func (r *DynSchemaRepo) AddFieldsToSchema(suffix string, vars []entity.DynamicField) error
- func (r *DynSchemaRepo) CreateTable(suffix string, dynSchema entity.DynamicTable, vars []entity.DynamicField) error
- func (r *DynSchemaRepo) IDQuery(idQuery string) ([]string, error)
- func (r *DynSchemaRepo) Query(idQuery string) error
- func (r *DynSchemaRepo) RemoveFieldsFromSchema(suffix, dynTabName string, vars []entity.DynamicField) error
- type DynTabRepo
- 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) FetchToBackup() ([]entity.Workflow, 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)
- func (r *WorkflowRepo) Upserts(workflows []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 DynDataRepo ¶
type DynDataRepo struct {
// contains filtered or unexported fields
}
func NewDynDataRepo ¶
func (*DynDataRepo) Query ¶
func (r *DynDataRepo) Query(idQuery string) error
type DynFieldRepo ¶
type DynFieldRepo struct {
// contains filtered or unexported fields
}
func NewDynFieldRepo ¶
func (*DynFieldRepo) AddFields ¶
func (r *DynFieldRepo) AddFields(newModels []entity.NewDynamicField) ([]entity.DynamicField, error)
func (*DynFieldRepo) FetchDynamicFields ¶
func (r *DynFieldRepo) FetchDynamicFields(dynFieldIDs []string) ([]entity.DynamicField, error)
func (*DynFieldRepo) FetchVarsByDynFieldName ¶
func (r *DynFieldRepo) FetchVarsByDynFieldName(dynFieldName string) ([]entity.DynamicField, error)
func (*DynFieldRepo) FetchVarsByTabID ¶
func (r *DynFieldRepo) FetchVarsByTabID(dynTabID string) ([]entity.DynamicField, error)
func (*DynFieldRepo) RemoveDynField ¶
func (r *DynFieldRepo) RemoveDynField(varIDs []string) error
type DynSchemaRepo ¶
type DynSchemaRepo struct {
// contains filtered or unexported fields
}
func NewDynSchemaRepo ¶
func (*DynSchemaRepo) AddFieldsToSchema ¶
func (r *DynSchemaRepo) AddFieldsToSchema(suffix string, vars []entity.DynamicField) error
func (*DynSchemaRepo) CreateTable ¶
func (r *DynSchemaRepo) CreateTable(suffix string, dynSchema entity.DynamicTable, vars []entity.DynamicField) error
func (*DynSchemaRepo) Query ¶
func (r *DynSchemaRepo) Query(idQuery string) error
func (*DynSchemaRepo) RemoveFieldsFromSchema ¶
func (r *DynSchemaRepo) RemoveFieldsFromSchema(suffix, dynTabName string, vars []entity.DynamicField) error
type DynTabRepo ¶
type DynTabRepo struct {
// contains filtered or unexported fields
}
func NewDynTabRepo ¶
func (*DynTabRepo) CreateDynamicTables ¶
func (r *DynTabRepo) CreateDynamicTables(newModels []entity.NewDynamicTable) ([]entity.DynamicTable, error)
func (*DynTabRepo) FetchDynamicTables ¶
func (r *DynTabRepo) FetchDynamicTables(ids []string) ([]entity.DynamicTable, 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) FetchToBackup ¶
func (r *WorkflowRepo) FetchToBackup() ([]entity.Workflow, 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.