status

package
v2.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

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 ModelReadyCaller interface {
	CheckModelReady(ctx context.Context, modelName string, requestId string) (bool, error)
}

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

func (mr *ModelRestCaller) CheckModelReady(ctx context.Context, modelName string, requestId string) (bool, error)

type PipelineReadyChecker

type PipelineReadyChecker interface {
	CheckPipelineReady(ctx context.Context, pipelineName string, requestId string) (bool, error)
}

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 (*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

func (s *SimpleReadyChecker) CheckPipelineReady(ctx context.Context, pipelineName string, requestId string) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL