components

package
v0.13.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 28 Imported by: 1

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) (ctrl.Result, error)
}

Component can be reconciled to create underlying resources for an InferenceService

func NewExplainer

func NewExplainer(client client.Client, clientset kubernetes.Interface, scheme *runtime.Scheme,
	inferenceServiceConfig *v1beta1.InferenceServicesConfig, deploymentMode constants.DeploymentModeType) Component

func NewPredictor

func NewPredictor(client client.Client, clientset kubernetes.Interface, scheme *runtime.Scheme,
	inferenceServiceConfig *v1beta1.InferenceServicesConfig, deploymentMode constants.DeploymentModeType) Component

func NewTransformer

func NewTransformer(client client.Client, clientset kubernetes.Interface, scheme *runtime.Scheme,
	inferenceServiceConfig *v1beta1.InferenceServicesConfig, deploymentMode constants.DeploymentModeType) Component

type Explainer

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

Explainer reconciles resources for this component.

func (*Explainer) Reconcile

func (e *Explainer) Reconcile(isvc *v1beta1.InferenceService) (ctrl.Result, 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) (ctrl.Result, 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) (ctrl.Result, 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