Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apply ¶
type Apply struct {
Template string `yaml:"template"`
}
Apply is a terraform apply config
type Config ¶
type Config struct { CI string `yaml:"ci"` Notifier Notifier `yaml:"notifier"` Terraform Terraform `yaml:"terraform"` // contains filtered or unexported fields }
Config is for tfnotify config structure
func (*Config) GetNotifierType ¶
GetNotifierType return notifier type described in Config
type Default ¶
type Default struct {
Template string `yaml:"template"`
}
Default is a default setting for terraform commands
type GithubNotifier ¶
type GithubNotifier struct { Token string `yaml:"token"` Repository Repository `yaml:"repository"` }
GithubNotifier is a notifier for GitHub
type Notifier ¶
type Notifier struct { Github GithubNotifier `yaml:"github"` Slack SlackNotifier `yaml:"slack"` }
Notifier is a notification notifier
type Repository ¶
Repository represents a GitHub repository
type SlackNotifier ¶
type SlackNotifier struct { Token string `yaml:"token"` Channel string `yaml:"channel"` Bot string `yaml:"bot"` }
SlackNotifier is a notifier for Slack
Click to show internal directories.
Click to hide internal directories.