datasetversion

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter(request *types.APIRequest, resource *types.RawResource)

func GetDatasetVersionRegistryAndRootPath

func GetDatasetVersionRegistryAndRootPath(dvGetter DatasetVersionGetter, namespace, name string) (string, string, error)

func RegisterSchema

func RegisterSchema(scaled *config.Scaled, server *server.Server) error

Types

type DatasetVersionGetter

type DatasetVersionGetter func(namespace, name string) (*mlv1.DatasetVersion, error)

type Handler

type Handler struct {
	cr.BaseHandler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(scaled *config.Scaled) Handler

func (Handler) GetRegistryAndRootPath

func (h Handler) GetRegistryAndRootPath(namespace, name string) (string, string, error)

Jump to

Keyboard shortcuts

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