Documentation
¶
Index ¶
Constants ¶
View Source
const ( FormatJSON = iota FormatTable FormatQuiet )
Variables ¶
This section is empty.
Functions ¶
func Experiments ¶
func Experiments(repo repository.Repository, format Format, all bool, filters *param.Filters, sorter *param.Sorter) error
Types ¶
type ListExperiment ¶
type ListExperiment struct { ID string `json:"id"` Created time.Time `json:"created"` Params param.ValueMap `json:"params"` Command string `json:"command"` NumCheckpoints int `json:"num_checkpoints"` LatestCheckpoint *project.Checkpoint `json:"latest_checkpoint"` BestCheckpoint *project.Checkpoint `json:"best_checkpoint"` User string `json:"user"` Host string `json:"host"` Running bool `json:"running"` // exclude config from json output Config *config.Config `json:"-"` }
func (*ListExperiment) GetValue ¶
func (exp *ListExperiment) GetValue(name string) param.Value
We should add some validation and better error messages, see https://github.com/replicate/keepsake/issues/340
Click to show internal directories.
Click to hide internal directories.