kubeflowmodelregistry

package
v0.0.0-...-0cb240e Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	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_REG_MODEL_URI               = "/registered_models"
)

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(cfg *config.Config) *cobra.Command

Types

type KubeFlowRESTClientWrapper

type KubeFlowRESTClientWrapper struct {
	RESTClient *resty.Client
	RootURL    string
	Token      string
}

func SetupKubeflowRESTClient

func SetupKubeflowRESTClient(cfg *config.Config) *KubeFlowRESTClientWrapper

func (*KubeFlowRESTClientWrapper) GetRegisteredModel

func (k *KubeFlowRESTClientWrapper) GetRegisteredModel(registeredModelID string) (*openapi.RegisteredModel, error)

func (*KubeFlowRESTClientWrapper) ListModelArtifacts

func (k *KubeFlowRESTClientWrapper) ListModelArtifacts(id string) ([]openapi.ModelArtifact, error)

func (*KubeFlowRESTClientWrapper) ListModelVersions

func (k *KubeFlowRESTClientWrapper) ListModelVersions(id string) ([]openapi.ModelVersion, error)

func (*KubeFlowRESTClientWrapper) ListRegisteredModels

func (k *KubeFlowRESTClientWrapper) ListRegisteredModels() ([]openapi.RegisteredModel, error)

Jump to

Keyboard shortcuts

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