aimmodelcache

package
v0.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCachePvcName

func GenerateCachePvcName(mc *aimv1alpha1.AIMModelCache) string

Types

type ModelCacheFetchResult

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

func (ModelCacheFetchResult) CheckSizeJobSucceeded

func (result ModelCacheFetchResult) CheckSizeJobSucceeded() bool

CheckSizeJobSucceeded returns true if the check-size job completed successfully

func (ModelCacheFetchResult) DownloadJobSucceeded

func (result ModelCacheFetchResult) DownloadJobSucceeded() bool

type ModelCacheObservation

type ModelCacheObservation struct {
	ModelCacheFetchResult
	// contains filtered or unexported fields
}

func (ModelCacheObservation) GetComponentHealth

func (obs ModelCacheObservation) GetComponentHealth(ctx context.Context, clientset kubernetes.Interface) []controllerutils.ComponentHealth

func (ModelCacheObservation) GetEffectiveSize

func (obs ModelCacheObservation) GetEffectiveSize() int64

func (ModelCacheObservation) IsSizeKnown

func (obs ModelCacheObservation) IsSizeKnown() bool

type ModelCacheReconciler

type ModelCacheReconciler struct {
	Clientset kubernetes.Interface
	Scheme    *runtime.Scheme
}

func (*ModelCacheReconciler) DecorateStatus

DecorateStatus implements StatusDecorator to update download status

func (*ModelCacheReconciler) FetchRemoteState

Jump to

Keyboard shortcuts

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