response

package
v0.7.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilePartialResponse

type FilePartialResponse struct {
	Path     string `json:"path"`
	IsDir    bool   `json:"is_dir"`
	FileSize int64  `json:"file_size"`
}

FilePartialResponse is a partial response object for different responses.

type ListArtifactsResponse

type ListArtifactsResponse struct {
	Files   []FilePartialResponse `json:"files"`
	RootURI string                `json:"root_uri"`
}

ListArtifactsResponse is a response object for `GET mlflow/artifacts/list` endpoint.

func NewListArtifactsResponse

func NewListArtifactsResponse(
	rootURI string, artifacts []storage.ArtifactObject,
) *ListArtifactsResponse

NewListArtifactsResponse creates new instance of ListArtifactsResponse.

Jump to

Keyboard shortcuts

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