models

package
v0.0.0-...-bf201e6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LibraryInstallStatusPending            = "PENDING"
	LibraryInstallStatusResolving          = "RESOLVING"
	LibraryInstallStatusInstalling         = "INSTALLING"
	LibraryInstallStatusInstalled          = "INSTALLED"
	LibraryInstallStatusFailed             = "FAILED"
	LibraryInstallStatusUninstallOnRestart = "UNINSTALL_ON_RESTART"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterLibraryStatuses

type ClusterLibraryStatuses struct {
	ClusterID       string               `json:"cluster_id,omitempty" url:"cluster_id,omitempty"`
	LibraryStatuses *[]LibraryFullStatus `json:"library_statuses,omitempty" url:"library_statuses,omitempty"`
}

type Library

type Library struct {
	Jar   string            `json:"jar,omitempty" url:"jar,omitempty"`
	Egg   string            `json:"egg,omitempty" url:"egg,omitempty"`
	Whl   string            `json:"whl,omitempty" url:"whl,omitempty"`
	Pypi  PythonPyPiLibrary `json:"pypi,omitempty" url:"pypi,omitempty"`
	Maven MavenLibrary      `json:"maven,omitempty" url:"maven,omitempty"`
	Cran  RCranLibrary      `json:"cran,omitempty" url:"cran,omitempty"`
}

type LibraryFullStatus

type LibraryFullStatus struct {
	Library                 *Library             `json:"library,omitempty" url:"library,omitempty"`
	Status                  LibraryInstallStatus `json:"status,omitempty" url:"status,omitempty"`
	Messages                *[]string            `json:"messages,omitempty" url:"messages,omitempty"`
	IsLibraryForAllClusters bool                 `json:"is_library_for_all_clusters,omitempty" url:"is_library_for_all_clusters,omitempty"`
}

type LibraryInstallStatus

type LibraryInstallStatus string

type MavenLibrary

type MavenLibrary struct {
	Coordinates string    `json:"coordinates,omitempty" url:"coordinates,omitempty"`
	Repo        string    `json:"repo,omitempty" url:"repo,omitempty"`
	Exclusions  *[]string `json:"exclusions,omitempty" url:"exclusions,omitempty"`
}

type PythonPyPiLibrary

type PythonPyPiLibrary struct {
	Package string `json:"package,omitempty" url:"package,omitempty"`
	Repo    string `json:"repo,omitempty" url:"repo,omitempty"`
}

type RCranLibrary

type RCranLibrary struct {
	Package string `json:"package,omitempty" url:"package,omitempty"`
	Repo    string `json:"repo,omitempty" url:"repo,omitempty"`
}

Jump to

Keyboard shortcuts

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