Documentation ¶
Index ¶
- Constants
- Variables
- type DeploymentRepo
- func (repo DeploymentRepo) BeginTransaction(ctx context.Context) (*sql.Tx, error)
- func (repo DeploymentRepo) CreateModelDeployment(ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
- func (repo DeploymentRepo) CreateModelRoute(mr *deployment.ModelRoute) error
- func (repo DeploymentRepo) DeleteModelDeployment(ctx context.Context, tx *sql.Tx, id string) error
- func (repo DeploymentRepo) DeleteModelRoute(name 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) GetModelRoute(name string) (*deployment.ModelRoute, error)
- func (repo DeploymentRepo) GetModelRouteList(options ...filter.ListOption) ([]deployment.ModelRoute, 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
- func (repo DeploymentRepo) UpdateModelRoute(mr *deployment.ModelRoute) 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) CreateModelDeployment ¶
func (repo DeploymentRepo) CreateModelDeployment( ctx context.Context, tx *sql.Tx, md *deployment.ModelDeployment) error
func (DeploymentRepo) CreateModelRoute ¶
func (repo DeploymentRepo) CreateModelRoute(mr *deployment.ModelRoute) error
func (DeploymentRepo) DeleteModelDeployment ¶
func (DeploymentRepo) DeleteModelRoute ¶
func (repo DeploymentRepo) DeleteModelRoute(name string) error
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) GetModelRoute ¶
func (repo DeploymentRepo) GetModelRoute(name string) (*deployment.ModelRoute, error)
func (DeploymentRepo) GetModelRouteList ¶
func (repo DeploymentRepo) GetModelRouteList(options ...filter.ListOption) ( []deployment.ModelRoute, 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
func (DeploymentRepo) UpdateModelRoute ¶
func (repo DeploymentRepo) UpdateModelRoute(mr *deployment.ModelRoute) error
Click to show internal directories.
Click to hide internal directories.