Documentation ¶
Index ¶
- Variables
- func GetOutboundIP() net.IP
- func NewRootCommand(frameworkRegisterFunc FrameworkRegisterFunction, ...) (*cobra.Command, error)
- func RunRootE(c *cobra.Command, framework dlframework.FrameworkManifest, args []string) (<-chan bool, error)
- func SetupFlags(c *cobra.Command)
- type FrameworkRegisterFunction
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultChannelBuffer = 100000
)
View Source
var ( DefaultRunOptions = &robustly.RunOptions{ RateLimit: 1, Timeout: time.Second, PrintStack: true, RetryDelay: 0 * time.Nanosecond, } )
Functions ¶
func NewRootCommand ¶
func NewRootCommand(frameworkRegisterFunc FrameworkRegisterFunction, framework0 dlframework.FrameworkManifest) (*cobra.Command, error)
represents the base command when called without any subcommands
func RunRootE ¶
func RunRootE(c *cobra.Command, framework dlframework.FrameworkManifest, args []string) (<-chan bool, error)
func SetupFlags ¶
Types ¶
type FrameworkRegisterFunction ¶
type FrameworkRegisterFunction func()
Source Files ¶
Click to show internal directories.
Click to hide internal directories.