common

package
v0.5.492 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 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"
	FeatureGroupKind       KindName = "featuregroup"
	FeatureHistogramKind   KindName = "featurehistograms"
	RecipeKind             KindName = "recipes"
	RecipeRunKind          KindName = "reciperuns"

	// inference
	PredictionKind KindName = "predictions"
	PredictorKind  KindName = "predictors"
	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"
	AttachmentKind    KindName = "attachments"

	// Training kind
	ModelKind         KindName = "models"
	ModelClassKind    KindName = "modelclasses"
	ModelClassRunKind KindName = "modelclassrun"
	ReportKind        KindName = "reports"
	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