domain

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessURL

type AccessURL interface {
	AccessURL() string
}

AccessURL

func NewAccessURL

func NewAccessURL(v string) (AccessURL, error)

type Account

type Account interface {
	Account() string
}

Account

func NewAccount

func NewAccount(v string) (Account, error)

type CloudContainerDetail

type CloudContainerDetail struct {
	AccessUrl AccessURL
	ErrorMsg  ErrorMsg
}

type CloudPod

type CloudPod struct {
	PodId        string
	User         string
	SurvivalTime SurvivalTime
}

type ContainerDetail

type ContainerDetail struct {
	AccessUrl string
	ErrorMsg  string
}

type ErrorMsg

type ErrorMsg interface {
	ErrorMsg() string
	IsGood() bool
}

ErrorMsg

func NewErrorMsg

func NewErrorMsg(v string) (ErrorMsg, error)

type Inference

type Inference struct {
	InferenceIndex
	ProjectName  ProjectName
	LastCommit   string
	UserToken    string
	SurvivalTime int // seconds
	Requester    string
}

type InferenceIndex

type InferenceIndex struct {
	Project ResourceIndex
	Id      string
}

type ProjectName

type ProjectName interface {
	ProjectName() string
}

ProjectName

func NewProjectName

func NewProjectName(v string) (ProjectName, error)

type ResourceIndex

type ResourceIndex struct {
	Owner Account
	Id    string
}

type SurvivalTime

type SurvivalTime interface {
	SurvivalTime() int64
}

SurvivalTime

func NewSurvivalTime

func NewSurvivalTime(v int64) (SurvivalTime, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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