util

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntegrationTimeout = 10 * time.Second
	Interval           = time.Millisecond * 250
	E2ETimeout         = 5 * time.Minute
	E2EInterval        = 1 * time.Second
)

Variables

This section is empty.

Functions

func MockASampleBackendRuntime added in v0.0.7

func MockASampleBackendRuntime() *wrapper.BackendRuntimeWrapper

func MockASampleModel

func MockASampleModel() *coreapi.OpenModel

func MockASamplePlayground

func MockASamplePlayground(ns string) *inferenceapi.Playground

func MockASampleService

func MockASampleService(ns string) *inferenceapi.Service

func MockASimpleHPATrigger added in v0.1.0

func MockASimpleHPATrigger() *inferenceapi.HPATrigger

func Setup added in v0.0.7

func Setup(ctx context.Context, k8sClient client.Client, path string) error

func UpdateLwsToReady added in v0.0.6

func UpdateLwsToReady(ctx context.Context, k8sClient client.Client, name, namespace string)

func UpdateLwsToUnReady added in v0.0.6

func UpdateLwsToUnReady(ctx context.Context, k8sClient client.Client, name, namespace string)

Types

This section is empty.

Directories

Path Synopsis
Package format is an extension of Gomega's format package which improves printing of objects that can be serialized well as YAML, like the structs in the Kubernetes API.
Package format is an extension of Gomega's format package which improves printing of objects that can be serialized well as YAML, like the structs in the Kubernetes API.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳