service

package
v0.0.0-...-90959e9 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kfserving-controller"
)

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager) error

Add creates a new InferenceService Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

Types

type ReconcileService

type ReconcileService struct {
	client.Client

	Recorder record.EventRecorder
	// contains filtered or unexported fields
}

ReconcileService reconciles a Service object

func (*ReconcileService) Reconcile

func (r *ReconcileService) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a Service object and makes changes based on the state read and what is in the Service.Spec +kubebuilder:rbac:groups=serving.knative.dev,resources=services,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=serving.knative.dev,resources=services/status,verbs=get;update;patch +kubebuilder:rbac:groups=networking.istio.io,resources=virtualservices,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=networking.istio.io,resources=virtualservices/status,verbs=get;update;patch +kubebuilder:rbac:groups=serving.kubeflow.org,resources=inferenceservices,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=serving.kubeflow.org,resources=inferenceservices/status,verbs=get;update;patch +kubebuilder:rbac:groups=,resources=serviceaccounts,verbs=get;list;watch +kubebuilder:rbac:groups=,resources=secrets,verbs=get;list;watch +kubebuilder:rbac:groups=,resources=configmaps,verbs=get;list;watch

type Reconciler

type Reconciler interface {
	Reconcile(isvc *v1alpha2.InferenceService) error
}

Reconciler is implemented by all subresources

Directories

Path Synopsis
reconcilers
resources

Jump to

Keyboard shortcuts

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