options

package
v0.0.0-...-8f5dc51 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL