Documentation
¶
Index ¶
- func ValidateModel(ctx context.Context, k8sClient client.Client, model *coreapi.OpenModel)
- func ValidateModelFlavor(model *coreapi.OpenModel, workload *lws.LeaderWorkerSet) error
- func ValidateModelLoader(model *coreapi.OpenModel, workload *lws.LeaderWorkerSet, ...) error
- func ValidatePlayground(ctx context.Context, k8sClient client.Client, ...)
- func ValidatePlaygroundStatusEqualTo(ctx context.Context, k8sClient client.Client, ...)
- func ValidateService(ctx context.Context, k8sClient client.Client, service *inferenceapi.Service)
- func ValidateServicePods(ctx context.Context, k8sClient client.Client, service *inferenceapi.Service)
- func ValidateServiceStatusEqualTo(ctx context.Context, k8sClient client.Client, service *inferenceapi.Service, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateModel ¶
func ValidateModelFlavor ¶
func ValidateModelFlavor(model *coreapi.OpenModel, workload *lws.LeaderWorkerSet) error
func ValidateModelLoader ¶
func ValidateModelLoader(model *coreapi.OpenModel, workload *lws.LeaderWorkerSet, service *inferenceapi.Service) error
func ValidatePlayground ¶
func ValidatePlayground(ctx context.Context, k8sClient client.Client, playground *inferenceapi.Playground)
func ValidatePlaygroundStatusEqualTo ¶
func ValidatePlaygroundStatusEqualTo(ctx context.Context, k8sClient client.Client, playground *inferenceapi.Playground, conditionType string, reason string, status metav1.ConditionStatus)
func ValidateService ¶
func ValidateServicePods ¶
func ValidateServicePods(ctx context.Context, k8sClient client.Client, service *inferenceapi.Service)
This can only be used in e2e test because of integration test has no lws controllers, no pods will be created.
func ValidateServiceStatusEqualTo ¶
func ValidateServiceStatusEqualTo(ctx context.Context, k8sClient client.Client, service *inferenceapi.Service, conditionType string, reason string, status metav1.ConditionStatus)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.