Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StopOptions ¶
type StopOptions struct { Auth *config.AuthConfig `noattribute:"true"` Client kraftcloud.KraftCloud `noattribute:"true"` Composefile string `noattribute:"true"` DrainTimeout time.Duration `long:"drain-timeout" short:"d" usage:"Timeout for the instance to stop (ms/s/m/h)"` Force bool `long:"force" short:"f" usage:"Force stop the instance(s)"` Metro string `noattribute:"true"` Project *compose.Project `noattribute:"true"` Token string `noattribute:"true"` Wait time.Duration `long:"wait" short:"w" usage:"Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)"` }
Click to show internal directories.
Click to hide internal directories.