common

package
v0.4.951 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitLabelKey  = "commit"
	UnameLabelKey   = "username"
	BranchLabelKey  = "branch"
	RoleLabelKey    = "labels"
	ChangedLabelKey = "changed"
)
View Source
const (
	VerbNameGet    = "get"
	VerbNameList   = "list"
	VerbNameWatch  = "watch"
	VerbNameCreate = "create"
	VerbNameUpdate = "update"
	VerbNamePatch  = "patch"
	VerbNameDelete = "delete"
)
View Source
const MODELA_CATALOG = "modela-catalog"
View Source
const MODELA_SYSTEM = "modela-system"

Variables

This section is empty.

Functions

func RootKey

func RootKey() string

func ValidateResourceName

func ValidateResourceName(name string) error

func ValidateResourceNameIfNotEmpty

func ValidateResourceNameIfNotEmpty(name string) error

Types

type KindName

type KindName string

KindName is the name of the kinds

const (
	// catalog kinds
	AlgorithmKind       KindName = "algorithms"
	CloudKind           KindName = "clouds"
	MLFrameworkKind     KindName = "mlframeworks"
	PretrainedModelKind KindName = "pretrainedmodels"
	PublicDatasetKind   KindName = "publicdatasets"
	UserRoleClassKind   KindName = "userroleclasses"
	WorkloadClassKind   KindName = "workloadclasses"

	// data
	DataPipelineKind        KindName = "datapipelines"
	DataPipelineRunKind     KindName = "datapipelineruns"
	DataProductKind         KindName = "dataproducts"
	DataProductVersionKind  KindName = "dataproductversions"
	DatasetKind             KindName = "datasets"
	DataSourceKind          KindName = "datasources"
	EntityKind              KindName = "entities"
	FeatureKind             KindName = "features"
	FeaturePipelineKind     KindName = "featurepipelines"
	FeaturePipelineRunKind  KindName = "featurepipelineruns"
	FeaturesetKind          KindName = "featuresets"
	FeatureHistogramKind    KindName = "featurehistograms"
	LabelingPipelineKind    KindName = "labelingpipelines"
	LabelingPipelineRunKind KindName = "labelingpipelineruns"
	RecipeKind              KindName = "recipes"
	RecipeRunKind           KindName = "reciperuns"
	SqlQueryKind            KindName = "sqlqueries"
	SqlQueryRunKind         KindName = "sqlqueryruns"
	WebRequestKind          KindName = "webrequests"
	WebRequestRunKind       KindName = "webrequestruns"

	// inference
	CronPredictionKind KindName = "cronpredictions"
	PredictionKind     KindName = "predictions"
	PredictorKind      KindName = "predictors"
	CurtainKind        KindName = "curtains"
	DataAppKind        KindName = "dataapps"

	// infra
	AccountKind        KindName = "accounts"
	AlertKind          KindName = "alerts"
	ApiTokenKind       KindName = "apitokens"
	ConnectionKind     KindName = "connections"
	CommitKind         KindName = "commits"
	LabKind            KindName = "labs"
	LicenseKind        KindName = "licenses"
	NotifierKind       KindName = "notifiers"
	ServingSiteKind    KindName = "servingsites"
	TenantKind         KindName = "tenants"
	VirtualBucketKind  KindName = "virtualbuckets"
	VirtualClusterKind KindName = "virtualclusters"
	VirtualVolumeKind  KindName = "virtualvolumes"
	AttachmentKind     KindName = "attachments"

	// Training kind
	ModelKind            KindName = "models"
	NotebookKind         KindName = "notebooks"
	NotebookRunKind      KindName = "notebookruns"
	ModelPipelineKind    KindName = "modelpipelines"
	ModelPipelineRunKind KindName = "modelpipelineruns"
	ModelCompilerRunKind KindName = "modelcompilerruns"
	ModelAutobuilderKind KindName = "modelautobuilders"
	ReportKind           KindName = "reports"
	CronReportKind       KindName = "cronreports"
	StudyKind            KindName = "studies"

	// team
	ReviewKind     KindName = "reviews"
	PostMortemKind KindName = "postmortems"
	RunBookKind    KindName = "runbooks"
	TodoKind       KindName = "todos"
	MeetingKind    KindName = "meetings"

	// k8s core kinds
	SecretKind     KindName = "secrets"
	DeploymentKind KindName = "deployments"
	ServiceKind    KindName = "services"
	PodKind        KindName = "pods"
	JobKind        KindName = "jobs"
)

type VerbName

type VerbName string

Jump to

Keyboard shortcuts

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