modelregistry

package
v2.17.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Package modelregistry provides utility functions to config ModelRegistry, an ML Model metadata repository service +groupName=datasciencecluster.opendatahub.io

Index

Constants

View Source
const DefaultModelRegistryCert = "default-modelregistry-cert"

Variables

View Source
var (
	ComponentName = "model-registry-operator"
	Path          = deploy.DefaultManifestPath + "/" + ComponentName + "/overlays/odh"
	// we should not apply this label to the namespace, as it triggered namspace deletion during operator uninstall
	// modelRegistryLabels = cluster.WithLabels(
	//      labels.ODH.OwnedNamespace, "true",
	// ).
	ModelRegistriesNamespace = "odh-model-registries"
)

Functions

This section is empty.

Types

type ModelRegistry

type ModelRegistry struct {
	components.Component `json:""`
}

ModelRegistry struct holds the configuration for the ModelRegistry component. +kubebuilder:object:generate=true

func (*ModelRegistry) DeepCopy

func (in *ModelRegistry) DeepCopy() *ModelRegistry

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ModelRegistry.

func (*ModelRegistry) DeepCopyInto

func (in *ModelRegistry) DeepCopyInto(out *ModelRegistry)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ModelRegistry) GetComponentName

func (m *ModelRegistry) GetComponentName() string

func (*ModelRegistry) OverrideManifests

func (m *ModelRegistry) OverrideManifests(ctx context.Context, _ cluster.Platform) error

func (*ModelRegistry) ReconcileComponent

func (m *ModelRegistry) ReconcileComponent(ctx context.Context, cli client.Client, logger logr.Logger,
	owner metav1.Object, dscispec *dsciv1.DSCInitializationSpec, platform cluster.Platform, _ bool) error

Jump to

Keyboard shortcuts

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