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 river.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶ added in v0.33.0
type Arguments struct { APIURL string `river:"api_url,attr,optional"` Repositories []string `river:"repositories,attr,optional"` Organizations []string `river:"organizations,attr,optional"` Users []string `river:"users,attr,optional"` APIToken rivertypes.Secret `river:"api_token,attr,optional"` APITokenFile string `river:"api_token_file,attr,optional"` }
func (*Arguments) Convert ¶ added in v0.33.0
func (a *Arguments) Convert() *github_exporter.Config
func (*Arguments) SetToDefault ¶ added in v0.35.0
func (a *Arguments) SetToDefault()
SetToDefault implements river.Defaulter.
Click to show internal directories.
Click to hide internal directories.