 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  var DefaultArguments = Arguments{ APIURL: github_exporter.DefaultConfig.APIURL, }
DefaultArguments holds non-zero default options for Arguments when it is unmarshaled from Alloy.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct {
	APIURL        string            `alloy:"api_url,attr,optional"`
	Repositories  []string          `alloy:"repositories,attr,optional"`
	Organizations []string          `alloy:"organizations,attr,optional"`
	Users         []string          `alloy:"users,attr,optional"`
	APIToken      alloytypes.Secret `alloy:"api_token,attr,optional"`
	APITokenFile  string            `alloy:"api_token_file,attr,optional"`
}
    func (*Arguments) Convert ¶
func (a *Arguments) Convert() *github_exporter.Config
func (*Arguments) SetToDefault ¶
func (a *Arguments) SetToDefault()
SetToDefault implements syntax.Defaulter.
 Click to show internal directories. 
   Click to hide internal directories.