Documentation ¶
Index ¶
Constants ¶
View Source
const (
SubscriberName = "seldon-pipelinegateway"
)
Variables ¶
View Source
var PipelineNotFoundErr = errors.New("Pipeline not found")
Functions ¶
This section is empty.
Types ¶
type ModelReadyCaller ¶
type ModelRestCaller ¶
type ModelRestCaller struct {
// contains filtered or unexported fields
}
func NewModelRestStatusCaller ¶
func NewModelRestStatusCaller(logger logrus.FieldLogger, envoyHost string, envoyPort int) (*ModelRestCaller, error)
func (*ModelRestCaller) CheckModelReady ¶
type PipelineReadyChecker ¶
type PipelineSchedulerClient ¶
type PipelineSchedulerClient struct {
// contains filtered or unexported fields
}
func NewPipelineSchedulerClient ¶
func NewPipelineSchedulerClient(logger logrus.FieldLogger, pipelineStatusUpdater PipelineStatusUpdater) *PipelineSchedulerClient
func (*PipelineSchedulerClient) Start ¶
func (pc *PipelineSchedulerClient) Start(host string, plainTxtPort int, tlsPort int) error
func (*PipelineSchedulerClient) Stop ¶
func (pc *PipelineSchedulerClient) Stop()
func (*PipelineSchedulerClient) SubscribePipelineEvents ¶
func (pc *PipelineSchedulerClient) SubscribePipelineEvents() error
type PipelineStatusManager ¶
type PipelineStatusManager struct {
// contains filtered or unexported fields
}
func NewPipelineStatusManager ¶
func NewPipelineStatusManager() *PipelineStatusManager
func (*PipelineStatusManager) Get ¶
func (sm *PipelineStatusManager) Get(name string) *pipeline.PipelineVersion
func (*PipelineStatusManager) Update ¶
func (sm *PipelineStatusManager) Update(version *pipeline.PipelineVersion)
type PipelineStatusProvider ¶
type PipelineStatusProvider interface {
Get(name string) *pipeline.PipelineVersion
}
type PipelineStatusUpdater ¶
type PipelineStatusUpdater interface {
Update(version *pipeline.PipelineVersion)
}
type SimpleReadyChecker ¶
type SimpleReadyChecker struct {
// contains filtered or unexported fields
}
func NewSimpleReadyChecker ¶
func NewSimpleReadyChecker(pipelineStatusProvider PipelineStatusProvider, modelReadyCaller ModelReadyCaller) *SimpleReadyChecker
func (*SimpleReadyChecker) CheckPipelineReady ¶
Click to show internal directories.
Click to hide internal directories.