Documentation ¶
Index ¶
- Variables
- func EC2New(stdout *common.Stdout) *vendors.AWSEC2
- func Execute()
- func NewAWSCommand() *cobra.Command
- func NewDateCommand() *cobra.Command
- func NewEC2Subcommand() *cobra.Command
- func NewGitlabCommand() *cobra.Command
- func NewGoogleCommand() *cobra.Command
- func NewGrafanaCommand() *cobra.Command
- func NewGraylogCommand() *cobra.Command
- func NewJSONCommand() *cobra.Command
- func NewJiraCommand() *cobra.Command
- func NewObserviumCommand() *cobra.Command
- func NewPagerDutyCommand() *cobra.Command
- func NewPrometheusCommand() *cobra.Command
- func NewSite24x7Command() *cobra.Command
- func NewSlackCommand() *cobra.Command
- func NewTelegramCommand() *cobra.Command
- func NewTemplateCommand() *cobra.Command
- func NewVCenterCommand() *cobra.Command
- func NewZabbixCommand() *cobra.Command
- type DateOptions
- type GoogleCalendarInsertEventOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var APPNAME = "TOOLS"
View Source
var EC2Options = vendors.AWSOptions{ Accounts: envGet("AWS_ACCOUNTS", "").(string), Role: envGet("AWS_ROLE", "").(string), RoleTimeout: envGet("AWS_ROLE_TIMEOUT", "300").(string), AWSKeys: vendors.AWSKeys{ AccessKey: envGet("AWS_ACCESSKEY", "").(string), SecretKey: envGet("AWS_SECRETKEY", "").(string), }, }
View Source
var EC2Output = common.OutputOptions{ Output: envGet("AWS_EC2_OUTPUT", "").(string), Query: envGet("AWS_EC2_OUTPUT_QUERY", "").(string), }
View Source
var JiraIssueOptions = vendors.JiraIssueOptions{ ProjectKey: envGet("JIRA_ISSUE_PROJECT_KEY", "").(string), Type: envGet("JIRA_ISSUE_TYPE", "").(string), Priority: envGet("JIRA_ISSUE_PRIORITY", "").(string), Assignee: envGet("JIRA_ISSUE_ASSIGNEE", "").(string), Reporter: envGet("JIRA_ISSUE_REPORTER", "").(string), IdOrKey: envGet("JIRA_ISSUE_ID_OR_KEY", "").(string), Summary: envGet("JIRA_ISSUE_SUMMARY", "").(string), Description: envGet("JIRA_ISSUE_DESCRIPTION", "").(string), CustomFields: envGet("JIRA_ISSUE_CUSTOM_FIELDS", "").(string), Labels: strings.Split(envGet("JIRA_ISSUE_LABELS", "").(string), ","), TransitionID: envGet("JIRA_ISSUE_STATUS", "").(string), }
Functions ¶
func NewAWSCommand ¶ added in v0.13.2
func NewDateCommand ¶ added in v0.7.0
func NewEC2Subcommand ¶ added in v0.13.2
func NewGitlabCommand ¶ added in v0.3.0
func NewGoogleCommand ¶ added in v0.3.0
func NewGrafanaCommand ¶ added in v0.2.0
func NewGraylogCommand ¶ added in v0.0.4
func NewJSONCommand ¶ added in v0.2.7
func NewJiraCommand ¶ added in v0.1.0
func NewObserviumCommand ¶ added in v0.9.15
func NewPagerDutyCommand ¶ added in v0.12.0
func NewPrometheusCommand ¶ added in v0.6.0
func NewSite24x7Command ¶ added in v0.15.0
func NewSlackCommand ¶ added in v0.0.4
func NewTelegramCommand ¶ added in v0.0.4
func NewTemplateCommand ¶ added in v0.4.2
func NewVCenterCommand ¶ added in v0.10.1
func NewZabbixCommand ¶ added in v0.10.0
Types ¶
type DateOptions ¶ added in v0.7.0
type GoogleCalendarInsertEventOptions ¶ added in v0.13.2
Click to show internal directories.
Click to hide internal directories.