Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootstrap ¶
type Bootstrap struct {
NodeID string
XDSServerAddress string
XDSServerPort int
XDSClusterName string
XDSResources string
AdminPort int
StatsPort int
Output string
UseGoogleGRPC bool
}
Bootstrap holds the required parameters for bootstrapping proxy configuration.
type ForwardedArgs ¶
type ForwardedArgs []string
Forwarded arguments. This is used by handler when building handler#Args for spawning the proxy process.
func (*ForwardedArgs) Parse ¶
func (a *ForwardedArgs) Parse() []string
Parse splits os.Args into two by looking for "--". The first part will be passed for further flag parsing. The second one will be passed directly to the spawned proxy process.
A sample usage for Parse(): internal/flags/flags.go#NewFlags for preparing kong parseable object. One may "populate" this confing.ForwardedArgs in any preferrable ways.
Click to show internal directories.
Click to hide internal directories.