modelregistry

package
v2.22.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 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"
	DefaultModelRegistriesNamespace = "odh-model-registries"
	Path                            = deploy.DefaultManifestPath + "/" + ComponentName + "/overlays/odh"
)

Functions

This section is empty.

Types

type ModelRegistry

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

	// Namespace for model registries to be installed, configurable only once when model registry is enabled, defaults to "odh-model-registries"
	// +kubebuilder:default="odh-model-registries"
	// +kubebuilder:validation:Pattern="^([a-z0-9]([-a-z0-9]*[a-z0-9])?)?$"
	// +kubebuilder:validation:MaxLength=63
	RegistriesNamespace string `json:"registriesNamespace,omitempty"`
}

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) Init added in v2.19.0

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,
	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