Documentation ¶
Index ¶
- func AssertMigConfig(c *Context) error
- func AssertMigMode(c *Context) error
- func BuildCommand() *cli.Command
- func CheckFlags(f *Flags) error
- func GetLogger() *logrus.Logger
- func GetSelectedMigConfig(f *Flags, spec *v1.Spec) (v1.MigConfigSpecSlice, error)
- func ParseConfigFile(f *Flags) (*v1.Spec, error)
- func WalkSelectedMigConfigForEachGPU(migConfig v1.MigConfigSpecSlice, ...) error
- type Context
- type Flags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertMigConfig ¶
func AssertMigMode ¶
func BuildCommand ¶
func CheckFlags ¶
func GetSelectedMigConfig ¶
func WalkSelectedMigConfigForEachGPU ¶
func WalkSelectedMigConfigForEachGPU(migConfig v1.MigConfigSpecSlice, f func(*v1.MigConfigSpec, int, types.DeviceID) error) error
Types ¶
Click to show internal directories.
Click to hide internal directories.