Documentation
¶
Index ¶
- type BackendRuntimeParser
- func (p *BackendRuntimeParser) Args() ([]string, error)
- func (p *BackendRuntimeParser) Commands() []string
- func (p *BackendRuntimeParser) Envs() []corev1.EnvVar
- func (p *BackendRuntimeParser) Image(version string) string
- func (p *BackendRuntimeParser) LeaderCommands() []string
- func (p *BackendRuntimeParser) Resources() *inferenceapi.ResourceRequirements
- func (p *BackendRuntimeParser) SharedMemorySize() *resource.Quantity
- func (p *BackendRuntimeParser) Version() string
- func (p *BackendRuntimeParser) WorkerCommands() []string
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 (p *BackendRuntimeParser) Resources() *inferenceapi.ResourceRequirements
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
Click to show internal directories.
Click to hide internal directories.