Documentation
¶
Index ¶
- Constants
- func CombineLabels(maps ...map[string]string) map[string]string
- func FindManagerImage(ctx context.Context, c client.Client) (string, corev1.PullPolicy, error)
- func NewGatewayLabels() map[string]string
- func ReconcileAll(r reconciler.ResourceReconciler, resources []Resource) util.RequeueOp
- type ComponentReconciler
- type OpensearchLabels
- type Resource
- type ResourceWithLog
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" )
Variables ¶
This section is empty.
Functions ¶
func FindManagerImage ¶ added in v0.4.1
func NewGatewayLabels ¶ added in v0.4.1
func ReconcileAll ¶ added in v0.4.1
func ReconcileAll(r reconciler.ResourceReconciler, resources []Resource) util.RequeueOp
Types ¶
type ComponentReconciler ¶
ComponentReconciler reconciler interface
type OpensearchLabels ¶ added in v0.4.0
func NewOpensearchLabels ¶ added in v0.4.0
func NewOpensearchLabels() OpensearchLabels
func (OpensearchLabels) Role ¶ added in v0.4.0
func (l OpensearchLabels) Role() v1beta2.OpensearchRole
func (OpensearchLabels) WithRole ¶ added in v0.4.0
func (l OpensearchLabels) WithRole(role v1beta2.OpensearchRole) OpensearchLabels
type Resource ¶
type Resource func() (runtime.Object, reconciler.DesiredState, error)
Resource redeclaration of function with return type kubernetes Object
Click to show internal directories.
Click to hide internal directories.