aimartifact

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 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.AIMArtifact) string

Types

type ArtifactFetchResult

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

func (ArtifactFetchResult) CheckSizeJobSucceeded

func (result ArtifactFetchResult) CheckSizeJobSucceeded() bool

CheckSizeJobSucceeded returns true if the check-size job completed successfully

func (ArtifactFetchResult) DownloadJobSucceeded

func (result ArtifactFetchResult) DownloadJobSucceeded() bool

type ArtifactObservation

type ArtifactObservation struct {
	ArtifactFetchResult
	// contains filtered or unexported fields
}

func (ArtifactObservation) GetComponentHealth

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

func (ArtifactObservation) GetEffectiveSize

func (obs ArtifactObservation) GetEffectiveSize() int64

func (ArtifactObservation) IsSizeKnown

func (obs ArtifactObservation) IsSizeKnown() bool

type ArtifactReconciler

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

func (*ArtifactReconciler) DecorateStatus

DecorateStatus implements StatusDecorator to update download status and add ArtifactMode to the status

func (*ArtifactReconciler) FetchRemoteState

Jump to

Keyboard shortcuts

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