Documentation ¶
Index ¶
- type Model
- func (m *Model) Add(ctx context.Context, model app.ModelData) (int64, error)
- func (m *Model) ChangeLabel(ctx context.Context, model app.ModelData) error
- func (m *Model) Delete(ctx context.Context, id int64) error
- func (m *Model) Get(ctx context.Context, parameters app.QueryParameters) (*app.ModelData, error)
- func (m *Model) IsStatusPending(ctx context.Context, servableID app.ServableID) (bool, error)
- func (m *Model) List(ctx context.Context, parameters app.QueryParameters) ([]*app.ModelData, error)
- func (m *Model) ListUniqueTeamProject(ctx context.Context) ([]*app.ServableID, error)
- func (m *Model) NextVersion(ctx context.Context, parameters app.QueryParameters) (int64, error)
- func (m *Model) RemoveLabel(ctx context.Context, model app.ModelData) error
- func (m *Model) UpdateStatus(ctx context.Context, id int64, status string) error
- type Module
- func (m *Module) Add(ctx context.Context, module app.ModuleData) (int64, error)
- func (m *Module) Delete(ctx context.Context, id int64) error
- func (m *Module) Get(ctx context.Context, parameters app.QueryParameters) (*app.ModuleData, error)
- func (m *Module) List(ctx context.Context, parameters app.QueryParameters) ([]*app.ModuleData, error)
- func (m *Module) ListUniqueTeamProject(ctx context.Context) ([]*app.ServableID, error)
- func (m *Module) NextVersion(ctx context.Context, parameters app.QueryParameters) (int64, error)
- type SQLDB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model ...
func (*Model) ChangeLabel ¶
func (*Model) IsStatusPending ¶
IsStatusPending checks if status is set to pending
func (*Model) ListUniqueTeamProject ¶
ListUniqueTeamProject lists distinct keys (team, project)
func (*Model) NextVersion ¶
NextVersion returns next available model version
func (*Model) RemoveLabel ¶
RemoveLabel removes model label from metadata for given ModelData
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module ...
func (*Module) Get ¶
func (m *Module) Get(ctx context.Context, parameters app.QueryParameters) (*app.ModuleData, error)
Get gets single module metadata
func (*Module) List ¶
func (m *Module) List(ctx context.Context, parameters app.QueryParameters) ([]*app.ModuleData, error)
List modules metadata
func (*Module) ListUniqueTeamProject ¶
ListUniqueTeamProject lists distinct keys (team, project)
func (*Module) NextVersion ¶
NextVersion returns next available module version
Click to show internal directories.
Click to hide internal directories.