Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig(path string, config *DataConfig) error
Types ¶
type DataConfig ¶
type DataConfig struct { // DataConfigs in Current Implementation JiraConfig *JiraConfig `yaml:"jiraConfig"` SalesforceConfig *SalesForceConfig `yaml:"salesForceConfig"` GitHubConfig *GitHubConfig `yaml:"gitHubConfig"` SnowFlakeConfig *SnowFlakeConfig `yaml:"snowflakeConfig"` }
type GitHubConfig ¶
func (*GitHubConfig) ValidateGithub ¶
func (c *GitHubConfig) ValidateGithub() error
Validate Function for GitHub Config
type JiraConfig ¶
type JiraConfig struct { // User Fields Required URL string `yaml:"url"` Username string `yaml:"username"` Token string `yaml:"token"` }
func (*JiraConfig) ValidateJira ¶
func (c *JiraConfig) ValidateJira() error
Validate Function for Jira Config
type SalesForceConfig ¶
type SalesForceConfig struct { // User Fields Required URL string `yaml:"url"` Username string `yaml:"username"` Password string `yaml:"password"` Token string `yaml:"token"` ClientID string `yaml:"clientID"` APIVersion string `yaml:"apiVersion"` }
func (*SalesForceConfig) ValidateSalesForce ¶
func (c *SalesForceConfig) ValidateSalesForce() error
Validate Function for SalesForce Config
type SnowFlakeConfig ¶
type SnowFlakeConfig struct { // TODO populate this with correct fields Username string `yaml:"username"` Password string `yaml:"password"` Token string `yaml:"token"` }
func (*SnowFlakeConfig) ValidateSnowflake ¶
func (c *SnowFlakeConfig) ValidateSnowflake() error
Validate Function for Snowflake Config
Click to show internal directories.
Click to hide internal directories.