rest

package
v0.0.0-...-9d88510 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BASE_URI      = "/api/catalog"
	LOCATION_URI  = "/locations"
	ENTITIES_URI  = "/entities"
	COMPONENT_URI = "/entities/by-name/component/%s/%s"
	RESOURCE_URI  = "/entities/by-name/resource/%s/%s"
	API_URI       = "/entities/by-name/api/%s/%s"
	QUERY_URI     = "/entities/by-query"
	DEFAULT_NS    = "default"
)
View Source
const (
	KFMR_BASE_URI                    = "/api/model_registry/v1alpha3"
	GET_REG_MODEL_URI                = "/registered_models/%s"
	LIST_VERSIONS_OFF_REG_MODELS_URI = "/registered_models/%s/versions"
	LIST_ARTFIACTS_OFF_VERSIONS_URI  = "/model_versions/%s/artifacts"
	LIST_INFERENCE_SERVICES_URI      = "/inference_services"
	LIST_REG_MODEL_URI               = "/registered_models"
	GET_SERVING_ENV_URI              = "/serving_environments/%s"
	GET_MODEL_ARTIFACT_URI           = "/model_artifacts/%s"
	GET_MODEL_VERSION_URI            = "/model_versions/%s"
)

Variables

This section is empty.

Functions

func ParseImportLocationMap

func ParseImportLocationMap(retJSON map[string]any) (id string, target string, ok bool)

Types

type BackstageImport

type BackstageImport interface {
	ImportLocation(url string) (map[string]any, error)
}

type PostBody

type PostBody struct {
	Body []byte `json:"body"`
}

Jump to

Keyboard shortcuts

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