resources

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	PretrainedModelLabel = "opni.io/pretrained-model"
	ServiceLabel         = "opni.io/service"
	OpniClusterName      = "opni.io/cluster-name"
	AppNameLabel         = "app.kubernetes.io/name"
	PartOfLabel          = "app.kubernetes.io/part-of"
	InstanceLabel        = "app.kubernetes.io/instance"
	HostTopologyKey      = "kubernetes.io/hostname"
	OpniClusterID        = "opni.io/cluster-id"
	OpniBootstrapToken   = "opni.io/bootstrap-token"
	OpniInferenceType    = "opni.io/inference-type"
	OpniConfigHash       = "opni.io/config-hash"
)
View Source
const (
	InternalIndexingUser     = "opni-indexer"
	ClusterMetadataIndexName = "opni-cluster-metadata"
)

Variables

This section is empty.

Functions

func CombineLabels

func CombineLabels(maps ...map[string]string) map[string]string

func FindManagerImage added in v0.4.1

func FindManagerImage(ctx context.Context, c client.Client) (string, corev1.PullPolicy, error)

func NewGatewayLabels added in v0.4.1

func NewGatewayLabels() map[