Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfiguredValue ¶
ConfiguredValue returns the configured value for an agent field.
Types ¶
type DiscoveryRequest ¶
type DiscoveryRequest struct {
Env []string
LookPath func(string) (string, error)
Live bool
// Timeout bounds live discovery commands. Zero uses the client default.
Timeout time.Duration
}
DiscoveryRequest controls live option discovery.
func DefaultDiscoveryRequest ¶
func DefaultDiscoveryRequest() DiscoveryRequest
DefaultDiscoveryRequest enables live option discovery with the current process environment and PATH lookup.
Click to show internal directories.
Click to hide internal directories.