helper

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackendRuntimeParser

type BackendRuntimeParser struct {
	// contains filtered or unexported fields
}

TODO: add unit tests.

func NewBackendRuntimeParser

func NewBackendRuntimeParser(backendRuntime *inferenceapi.BackendRuntime, models []*coreapi.OpenModel, playground *inferenceapi.Playground) *BackendRuntimeParser

func (*BackendRuntimeParser) Args

func (p *BackendRuntimeParser) Args() ([]string, error)

func (*BackendRuntimeParser) Commands

func (p *BackendRuntimeParser) Commands() []string

func (*BackendRuntimeParser) Envs

func (p *BackendRuntimeParser) Envs() []corev1.EnvVar

func (*BackendRuntimeParser) Image

func (p *BackendRuntimeParser) Image(version string) string

func (*BackendRuntimeParser) LeaderCommands

func (p *BackendRuntimeParser) LeaderCommands() []string

func (*BackendRuntimeParser) Resources

func (*BackendRuntimeParser) SharedMemorySize

func (p *BackendRuntimeParser) SharedMemorySize() *resource.Quantity

func (*BackendRuntimeParser) Version

func (p *BackendRuntimeParser) Version() string

func (*BackendRuntimeParser) WorkerCommands

func (p *BackendRuntimeParser) WorkerCommands() []string

Jump to

Keyboard shortcuts

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