Documentation ¶
Index ¶
- func AddCommands(base *flags.Command) (*flags.Command, error)
- func GetIpFlagsFromGames(games []*GameConfig) int
- func MakupGame(g swagger.Game, apis, protocols, info bool)
- func ShowDefaultList(wantV4, wantV6, filtered bool) error
- type ConfigHelp
- func (self *ConfigHelp) AddCommands(base *flags.Command) (*flags.Command, error)
- func (self *ConfigHelp) Execute(args []string) error
- func (self *ConfigHelp) KnownSections() []string
- func (self *ConfigHelp) NeedsAPI() bool
- func (self *ConfigHelp) NeedsAPIConfig() bool
- func (self *ConfigHelp) SetAPI(api *parvatigo.Api)
- func (self *ConfigHelp) SetAPIConfig(api *parvatigo.ApiConfig)
- type GameConfig
- type IfaceList
- func (self *IfaceList) AddCommands(base *flags.Command) (*flags.Command, error)
- func (self *IfaceList) Execute(args []string) error
- func (self *IfaceList) NeedsAPI() bool
- func (self *IfaceList) NeedsAPIConfig() bool
- func (self *IfaceList) SetAPI(api *parvatigo.Api)
- func (self *IfaceList) SetAPIConfig(apiConfig *parvatigo.ApiConfig)
- type ShowGames
- func (self *ShowGames) AddCommands(base *flags.Command) (*flags.Command, error)
- func (self *ShowGames) Execute(args []string) error
- func (self *ShowGames) NeedsAPI() bool
- func (self *ShowGames) NeedsAPIConfig() bool
- func (self *ShowGames) SetAPI(api *parvatigo.Api)
- func (self *ShowGames) SetAPIConfig(api *parvatigo.ApiConfig)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶
func AddCommands(base *flags.Command) (*flags.Command, error)
func GetIpFlagsFromGames ¶
func GetIpFlagsFromGames(games []*GameConfig) int
func ShowDefaultList ¶
Types ¶
type ConfigHelp ¶
type ConfigHelp struct { ListSections bool `short:"l" long:"ls-sections" description:"Just list (matching) sections."` FilePath bool `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConfigHelp) AddCommands ¶
func (self *ConfigHelp) AddCommands(base *flags.Command) (*flags.Command, error)
func (*ConfigHelp) Execute ¶
func (self *ConfigHelp) Execute(args []string) error
func (*ConfigHelp) KnownSections ¶
func (self *ConfigHelp) KnownSections() []string
func (*ConfigHelp) NeedsAPI ¶
func (self *ConfigHelp) NeedsAPI() bool
func (*ConfigHelp) NeedsAPIConfig ¶
func (self *ConfigHelp) NeedsAPIConfig() bool
func (*ConfigHelp) SetAPI ¶
func (self *ConfigHelp) SetAPI(api *parvatigo.Api)
func (*ConfigHelp) SetAPIConfig ¶
func (self *ConfigHelp) SetAPIConfig(api *parvatigo.ApiConfig)
type GameConfig ¶
func FilterGames ¶
type IfaceList ¶
type IfaceList struct { IgnoreConfig bool `short:"i" long:"ignore-config" required:"false" description:"Ignore game configuration pointers for filtering IP families."` ShowV6 bool `short:"6" required:"false" description:"Include v6 IPs. Implies --ignore-config."` ShowV4 bool `short:"4" required:"false" description:"Include v4 IPs. Implies --ignore-config."` // contains filtered or unexported fields }
func (*IfaceList) AddCommands ¶
func (*IfaceList) NeedsAPIConfig ¶
func (*IfaceList) SetAPIConfig ¶
type ShowGames ¶
type ShowGames struct { APIs bool `short:"a" long:"apis" description:"Print known checking API endpoints"` Info bool `short:"i" long:"info" description:"Print additiona name/url information"` Protocols bool `short:"p" long:"protocols" description:"Print Supported protocol information"` // contains filtered or unexported fields }
func (*ShowGames) AddCommands ¶
func (*ShowGames) NeedsAPIConfig ¶
func (*ShowGames) SetAPIConfig ¶
Click to show internal directories.
Click to hide internal directories.