Documentation
¶
Index ¶
- Constants
- func BuildMissingModelCaches(tc *aimv1alpha1.AIMTemplateCache, obs *templateCacheObservation) (caches []*aimv1alpha1.AIMModelCache)
- func SetupWithManager(mgr ctrl.Manager) error
- type AIMClusterModelReconciler
- type AIMClusterServiceTemplateReconciler
- type AIMModelCacheReconciler
- type AIMModelReconciler
- type AIMServiceReconciler
- type AIMServiceTemplateReconciler
- type AIMTemplateCacheReconciler
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 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) Reconcile ¶
func (r *AIMTemplateCacheReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
RBAC markers +kubebuilder:rbac:groups=aim.silogen.ai,resources=aimtemplatecaches,verbs=get;list;watch;create;update;patch;delete +kubebuilder:rbac:groups=aim.silogen.ai,resources=aimtemplatecaches/status,verbs=get;update;patch
func (*AIMTemplateCacheReconciler) SetupWithManager ¶
func (r *AIMTemplateCacheReconciler) SetupWithManager(mgr ctrl.Manager) error