components

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component interface {
	Reconcile(isvc *v1beta1.InferenceService) error
}

Component can be reconciled to create underlying resources for an InferenceService

func NewExplainer

func NewExplainer(client client.Client, scheme *runtime.Scheme, inferenceServiceConfig *v1beta1.InferenceServicesConfig) Component

func NewPredictor

func NewPredictor(client client.Client, scheme *runtime.Scheme, inferenceServiceConfig *v1beta1.InferenceServicesConfig) Component

func NewTransformer

func NewTransformer(client client.Client, scheme *runtime.Scheme, inferenceServiceConfig *v1beta1.InferenceServicesConfig) Component

type Explainer

type Explainer struct {
	Log logr.Logger
	// contains filtered or unexported fields
}

Explainer reconciles resources for this component.

func (*Explainer) Reconcile

func (p *Explainer) Reconcile(isvc *v1beta1.InferenceService) error

Reconcile observes the explainer and attempts to drive the status towards the desired state.

type Predictor

type Predictor struct {
	Log logr.Logger
	// contains filtered or unexported fields
}

Predictor reconciles resources for this component.

func (*Predictor) Reconcile

func (p *Predictor) Reconcile(isvc *v1beta1.InferenceService) error

Reconcile observes the predictor and attempts to drive the status towards the desired state.

type Transformer

type Transformer struct {
	Log logr.Logger
	// contains filtered or unexported fields
}

Transformer reconciles resources for this component.

func (*Transformer) Reconcile

func (p *Transformer) Reconcile(isvc *v1beta1.InferenceService) error

Reconcile observes the world and attempts to drive the status towards the desired state.

Jump to

Keyboard shortcuts

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