controllers

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBuildImagePodName

func GetBuildImagePodName(modelName string, versionId string) string

func GetJobModelVersionName

func GetJobModelVersionName(job metav1.Object) string

take the preceding 5 chars for versionId

func GetModelVersionPVClaimName

func GetModelVersionPVClaimName(modelName string) string

func GetModelVersionPVClaimNameByNode

func GetModelVersionPVClaimNameByNode(modelName string, nodeName string) string

func GetModelVersionPVName

func GetModelVersionPVName(modelName string) string

func GetModelVersionPVNameByNode

func GetModelVersionPVNameByNode(modelName string, nodeName string) string

Types

type ModelVersionReconciler

type ModelVersionReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

ModelVersionReconciler reconciles a ModelVersion object

func (*ModelVersionReconciler) Reconcile

ModelVersionController creates a kaniko container that builds a container image including the model.

func (*ModelVersionReconciler) SetupWithManager

func (r *ModelVersionReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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