github

package
v4.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHubCollector

type GitHubCollector struct {
	*collector.BaseCollector
}

func NewGitHubCollector

func NewGitHubCollector() *GitHubCollector

type GitHubRule

type GitHubRule struct {
	Repositories      []string `label:"Repositories" json:"repositories,required" example:"didi/nightingale" description:"List of repositories to monitor"`
	AccessToken       string   `` /* 131-byte string literal not displayed */
	EnterpriseBaseURL string   `` /* 150-byte string literal not displayed */
	HTTPTimeout       int      `label:"HTTP timeout" json:"http_timeout" default:"5" description:"Timeout for HTTP requests"`
}

func (*GitHubRule) TelegrafInput

func (p *GitHubRule) TelegrafInput() (telegraf.Input, error)

func (*GitHubRule) Validate

func (p *GitHubRule) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL