Documentation ¶
Index ¶
- Constants
- Variables
- type DeploymentRepo
- func (repo DeploymentRepo) BeginTransaction(ctx context.Context) (*sql.Tx, error)
- func (repo DeploymentRepo) DeleteModelDeployment(ctx context.Context, tx *sql.Tx, id string) error
- func (repo DeploymentRepo) GetModelDeployment(ctx context.Context, tx *sql.Tx, id string) (*deployment.ModelDeployment, error)
- func (repo DeploymentRepo) GetModelDeploymentList(ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]deployment.ModelDeployment, error)
- func (repo DeploymentRepo) SaveModelDeployment(ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
- func (repo DeploymentRepo) SetDeletionMark(ctx context.Context, tx *sql.Tx, id string, value bool) error
- func (repo DeploymentRepo) UpdateModelDeployment(ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
- func (repo DeploymentRepo) UpdateModelDeploymentStatus(ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelDeploymentStatus) error
Constants ¶
View Source
const ( ModelDeploymentTable = "odahu_operator_deployment" ModelRouteTable = "odahu_operator_route" )
Variables ¶
View Source
var ( MaxSize = 500 FirstPage = 0 )
Functions ¶
This section is empty.
Types ¶
type DeploymentRepo ¶
func (DeploymentRepo) BeginTransaction ¶
func (DeploymentRepo) DeleteModelDeployment ¶
func (DeploymentRepo) GetModelDeployment ¶
func (repo DeploymentRepo) GetModelDeployment( ctx context.Context, tx *sql.Tx, id string) (*deployment.ModelDeployment, error)
func (DeploymentRepo) GetModelDeploymentList ¶
func (repo DeploymentRepo) GetModelDeploymentList( ctx context.Context, tx *sql.Tx, options ...filter.ListOption) ([]deployment.ModelDeployment, error)
func (DeploymentRepo) SaveModelDeployment ¶
func (repo DeploymentRepo) SaveModelDeployment( ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
func (DeploymentRepo) SetDeletionMark ¶
func (DeploymentRepo) UpdateModelDeployment ¶
func (repo DeploymentRepo) UpdateModelDeployment( ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
func (DeploymentRepo) UpdateModelDeploymentStatus ¶
func (repo DeploymentRepo) UpdateModelDeploymentStatus( ctx context.Context, tx *sql.Tx, id string, s v1alpha1.ModelDeploymentStatus) error
Click to show internal directories.
Click to hide internal directories.