aim

package
v0.2.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: MIT Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// AIMCacheBasePath is the base directory where AIM expects to find cached models
	AIMCacheBasePath = "/workspace/model-cache"
)

Variables

This section is empty.

Functions

func BuildMissingModelCaches

func BuildMissingModelCaches(tc *aimv1alpha1.AIMTemplateCache, obs *templateCacheObservation) (caches []*aimv1alpha1.AIMModelCache)

func SetupWithManager

func SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers all AIM controllers with the manager

Types

type AIMClusterModelReconciler

type AIMClusterModelReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMClusterModelReconciler reconciles an AIMClusterModel object

func (*AIMClusterModelReconciler) Reconcile

func (*AIMClusterModelReconciler) SetupWithManager

func (r *AIMClusterModelReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMClusterServiceTemplateReconciler

type AIMClusterServiceTemplateReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMClusterServiceTemplateReconciler reconciles a AIMClusterServiceTemplate object

func (*AIMClusterServiceTemplateReconciler) Reconcile

func (*AIMClusterServiceTemplateReconciler) SetupWithManager

func (r *AIMClusterServiceTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMKVCacheReconciler

type AIMKVCacheReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMKVCacheReconciler reconciles a AIMKVCache object

func (*AIMKVCacheReconciler) Reconcile

func (r *AIMKVCacheReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AIMKVCacheReconciler) SetupWithManager

func (r *AIMKVCacheReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMModelCacheReconciler

type AIMModelCacheReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMModelCacheReconciler reconciles a AIMModelCache object

func (*AIMModelCacheReconciler) Reconcile

func (r *AIMModelCacheReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AIMModelCacheReconciler) SetupWithManager

func (r *AIMModelCacheReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMModelReconciler

type AIMModelReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMModelReconciler reconciles an AIMModel object

func (*AIMModelReconciler) Reconcile

func (r *AIMModelReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AIMModelReconciler) SetupWithManager

func (r *AIMModelReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMServiceReconciler

type AIMServiceReconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

AIMServiceReconciler reconciles AIMService resources into KServe InferenceServices.

func (*AIMServiceReconciler) Reconcile

func (r *AIMServiceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AIMServiceReconciler) SetupWithManager

func (r *AIMServiceReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMServiceTemplateReconciler

type AIMServiceTemplateReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMServiceTemplateReconciler reconciles a AIMServiceTemplate object

func (*AIMServiceTemplateReconciler) Reconcile

func (*AIMServiceTemplateReconciler) SetupWithManager

func (r *AIMServiceTemplateReconciler) SetupWithManager(mgr ctrl.Manager) error

type AIMTemplateCacheReconciler

type AIMTemplateCacheReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

AIMModelCacheReconciler reconciles a AIMModelCache object

func (*AIMTemplateCacheReconciler) Reconcile

func (*AIMTemplateCacheReconciler) SetupWithManager

func (r *AIMTemplateCacheReconciler) SetupWithManager(mgr ctrl.Manager) error

type ClusterModelSourceFetchResult

type ClusterModelSourceFetchResult struct {
	// contains filtered or unexported fields
}

ClusterModelSourceFetchResult contains data gathered during the Fetch phase.

type ClusterModelSourceObservation

type ClusterModelSourceObservation struct {
	// contains filtered or unexported fields
}

ClusterModelSourceObservation contains interpreted state from fetched data.

type ClusterModelSourceReconciler

type ClusterModelSourceReconciler struct {
	client.Client
	Scheme    *runtime.Scheme
	Recorder  record.EventRecorder
	Clientset kubernetes.Interface
}

/ ClusterModelSourceReconciler implements domain reconciliation for AIMClusterModelSource.

func (*ClusterModelSourceReconciler) Fetch

Fetch gathers all data needed for reconciliation. This includes existing AIMClusterModel resources and images from the registry per filter. Each filter is processed independently - failures in one filter don't affect others.

func (*ClusterModelSourceReconciler) Project

func (*ClusterModelSourceReconciler) Reconcile

func (*ClusterModelSourceReconciler) SetupWithManager

func (r *ClusterModelSourceReconciler) SetupWithManager(mgr ctrl.Manager) error

type FilterResult

type FilterResult struct {
	Filter aimv1alpha1.ModelSourceFilter
	Images []aimclustermodelsource.RegistryImage
	Error  error // Error encountered while processing this filter
}

FilterResult captures the result of processing a single filter.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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