app

package
v0.0.0-...-d299574 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudPodCreateCmd

type CloudPodCreateCmd domain.CloudPod

func (*CloudPodCreateCmd) Validate

func (cmd *CloudPodCreateCmd) Validate() error

type CloudService

type CloudService interface {
	Create(*CloudPodCreateCmd) error
}

func NewCloudService

func NewCloudService(
	manager cloud.Cloud,
) CloudService

type InferenceCreateCmd

type InferenceCreateCmd domain.Inference

func (*InferenceCreateCmd) Validate

func (cmd *InferenceCreateCmd) Validate() error

type InferenceIndex

type InferenceIndex = domain.InferenceIndex

type InferenceService

type InferenceService interface {
	Create(*InferenceCreateCmd) error
	ExtendSurvivalTime(*InferenceUpdateCmd) error
}

func NewInferenceService

func NewInferenceService(
	manager inference.Inference,
) InferenceService

type InferenceUpdateCmd

type InferenceUpdateCmd struct {
	domain.InferenceIndex

	TimeToExtend int
}

func (*InferenceUpdateCmd) Validate

func (cmd *InferenceUpdateCmd) Validate() error

Jump to

Keyboard shortcuts

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