Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SlackBotServerConfig ¶
type SlackBotServerConfig struct { KubeConfigFile string HealthzPort int ConfigMap string BotToken string DebugEnable bool }
SlackBotServerConfig configures and runs a Kubernetes Slack Bot server
func NewSlackBotServerConfig ¶
func NewSlackBotServerConfig() *SlackBotServerConfig
NewSlackBotServerConfig returns default config
func (*SlackBotServerConfig) AddFlags ¶
func (c *SlackBotServerConfig) AddFlags(fs *pflag.FlagSet)
AddFlags adds flags for a specific SlackBotServer to the specified FlagSet
Click to show internal directories.
Click to hide internal directories.