 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package docker implements the discovery.docker component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultArguments = Arguments{ Port: 80, HostNetworkingHost: "localhost", RefreshInterval: time.Minute, HTTPClientConfig: config.DefaultHTTPClientConfig, MatchFirstNetwork: true, }
DefaultArguments holds default values for Arguments.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
	Host               string                  `alloy:"host,attr"`
	Port               int                     `alloy:"port,attr,optional"`
	HostNetworkingHost string                  `alloy:"host_networking_host,attr,optional"`
	RefreshInterval    time.Duration           `alloy:"refresh_interval,attr,optional"`
	MatchFirstNetwork  bool                    `alloy:"match_first_network,attr,optional"`
	Filters            []Filter                `alloy:"filter,block,optional"`
	HTTPClientConfig   config.HTTPClientConfig `alloy:",squash"`
}
    Arguments configures the discovery.docker component.
func (Arguments) Convert ¶
func (args Arguments) Convert() discovery.DiscovererConfig
func (*Arguments) SetToDefault ¶
func (args *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
 Click to show internal directories. 
   Click to hide internal directories.