package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Mar 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Github
Usage
source:
name: github
config:
org: goto
token: github_token
Key |
Value |
Example |
Description |
|
org |
string |
goto |
Name of github organisation |
required |
token |
string |
kdfljdfljoijj |
Github API access token |
required |
Outputs
Field |
Sample Value |
resource.urn |
https://github.com/ravisuhag |
email |
suhag.ravi@gmail.com |
username |
ravisuhag |
full_name |
Ravi Suhag |
status |
active |
Contributing
Refer to the contribution guidelines for information on contributing to this module.
Documentation
¶
type Config struct {
Org string `mapstructure:"org" validate:"required"`
Token string `mapstructure:"token" validate:"required"`
}
Config holds the set of configuration for the extractor
type Extractor struct {
}
Extractor manages the extraction of data from the extractor
New returns a pointer to an initialized Extractor Object
Extract extracts the data from the extractor
The data is returned as a list of assets.Asset
Init initializes the extractor
Source Files
¶
Click to show internal directories.
Click to hide internal directories.