Versions in this module Expand all Collapse all v0 v0.4.0 Dec 5, 2024 Changes in this version + const CapacityNvidiaGPU + const LabelKeyNvidia + const LabelValueNvidia + var Adapters1 = []v1alpha1.AdapterSpec + var Adapters2 = []v1alpha1.AdapterSpec + var Adapters3 = []v1alpha1.AdapterSpec + var Adapters4 = []v1alpha1.AdapterSpec + var MockDeploymentUpdated = appsv1.Deployment + var MockDeploymentWithAnnotationsAndContainer1 = appsv1.Deployment + var MockDeploymentWithAnnotationsAndContainer2 = appsv1.Deployment + var MockMachine = v1alpha5.Machine + var MockMachineList = &v1alpha5.MachineList + var MockNodeClaim = v1beta1.NodeClaim + var MockNodeClaimList = &v1beta1.NodeClaimList + var MockNodeList = &corev1.NodeList + var MockRAGEngine = &v1alpha1.RAGEngine + var MockRAGEngineDistributedModel = &v1alpha1.RAGEngine + var MockRAGEngineFailToCreateCR = v1alpha1.RAGEngine + var MockRAGEngineSuccessful = v1alpha1.RAGEngine + var MockRAGEngineWithComputeHash = v1alpha1.RAGEngine + var MockRAGEngineWithDeleteOldCR = v1alpha1.RAGEngine + var MockRAGEngineWithPreset = &v1alpha1.RAGEngine + var MockRAGEngineWithPresetHash = "14485768c1b67a529a71e3c87d9f2e6c1ed747534dea07e268e93475a5e21e" + var MockRAGEngineWithUpdatedDeployment = v1alpha1.RAGEngine + var MockWorkspaceCustomModel = &v1alpha1.Workspace + var MockWorkspaceDistributedModel = &v1alpha1.Workspace + var MockWorkspaceFailToCreateCR = v1alpha1.Workspace + var MockWorkspaceSuccessful = v1alpha1.Workspace + var MockWorkspaceUpdateCR = v1alpha1.Workspace + var MockWorkspaceWithComputeHash = v1alpha1.Workspace + var MockWorkspaceWithDeleteOldCR = v1alpha1.Workspace + var MockWorkspaceWithInferenceTemplate = &v1alpha1.Workspace + var MockWorkspaceWithPreferredNodes = &v1alpha1.Workspace + var MockWorkspaceWithPreset = &v1alpha1.Workspace + var MockWorkspaceWithPresetHash = "89ae127050ec264a5ce84db48ef7226574cdf1299e6bd27fe90b927e34cc8adb" + var MockWorkspaceWithPresetVLLM = &v1alpha1.Workspace + var MockWorkspaceWithUpdatedDeployment = v1alpha1.Workspace + var ValidStrength string = "0.5" + func IsAlreadyExistsError() error + func NewTestScheme() *runtime.Scheme + func NotFoundError() error + func RegisterTestModel() + type MockClient struct + ObjectMap map[reflect.Type]map[k8sClient.ObjectKey]k8sClient.Object + StatusMock *MockStatusClient + UpdateCb func(key types.NamespacedName) + func NewClient() *MockClient + func (m *MockClient) Create(ctx context.Context, obj k8sClient.Object, opts ...k8sClient.CreateOption) error + func (m *MockClient) CreateMapWithType(t interface{}) map[k8sClient.ObjectKey]k8sClient.Object + func (m *MockClient) CreateOrUpdateObjectInMap(obj k8sClient.Object) + func (m *MockClient) Delete(ctx context.Context, obj k8sClient.Object, opts ...k8sClient.DeleteOption) error + func (m *MockClient) DeleteAllOf(ctx context.Context, obj k8sClient.Object, opts ...k8sClient.DeleteAllOfOption) error + func (m *MockClient) Get(ctx context.Context, key types.NamespacedName, obj k8sClient.Object, ...) error + func (m *MockClient) GetObjectFromMap(obj k8sClient.Object, key types.NamespacedName) + func (m *MockClient) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error) + func (m *MockClient) IsObjectNamespaced(obj runtime.Object) (bool, error) + func (m *MockClient) List(ctx context.Context, list k8sClient.ObjectList, opts ...k8sClient.ListOption) error + func (m *MockClient) Patch(ctx context.Context, obj k8sClient.Object, patch k8sClient.Patch, ...) error + func (m *MockClient) RESTMapper() meta.RESTMapper + func (m *MockClient) Scheme() *runtime.Scheme + func (m *MockClient) Status() k8sClient.StatusWriter + func (m *MockClient) SubResource(subResource string) k8sClient.SubResourceClient + func (m *MockClient) Update(ctx context.Context, obj k8sClient.Object, opts ...k8sClient.UpdateOption) error + type MockStatusClient struct + func (m *MockStatusClient) Create(ctx context.Context, obj k8sClient.Object, subResource k8sClient.Object, ...) error + func (m *MockStatusClient) Patch(ctx context.Context, obj k8sClient.Object, patch k8sClient.Patch, ...) error + func (m *MockStatusClient) Update(ctx context.Context, obj k8sClient.Object, ...) error