Documentation
¶
Index ¶
- Constants
- func BuildMissingModelCaches(tc *aimv1alpha1.AIMTemplateCache, obs *templateCacheObservation) (caches []*aimv1alpha1.AIMModelCache)
- func SetupWithManager(mgr ctrl.Manager) error
- type AIMClusterModelReconciler
- type AIMClusterServiceTemplateReconciler
- type AIMKVCacheReconciler
- type AIMModelCacheReconciler
- type AIMModelReconciler
- type AIMServiceReconciler
- type AIMServiceTemplateReconciler
- type AIMTemplateCacheReconciler
- type ClusterModelSourceFetchResult
- type ClusterModelSourceObservation
- type ClusterModelSourceReconciler
- func (r *ClusterModelSourceReconciler) Fetch(ctx context.Context, c client.Client, ...) (ClusterModelSourceFetchResult, error)
- func (r *ClusterModelSourceReconciler) Project(status *aimv1alpha1.AIMClusterModelSourceStatus, ...)
- func (r *ClusterModelSourceReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *ClusterModelSourceReconciler) SetupWithManager(mgr ctrl.Manager) error
- type FilterResult
Constants ¶
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 ¶
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) 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) 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) 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) 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) 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) 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) 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) 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 ¶
func (r *ClusterModelSourceReconciler) Fetch( ctx context.Context, c client.Client, source *aimv1alpha1.AIMClusterModelSource, ) (ClusterModelSourceFetchResult, error)
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 (r *ClusterModelSourceReconciler) Project( status *aimv1alpha1.AIMClusterModelSourceStatus, obs ClusterModelSourceObservation, )
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.