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