Documentation
¶
Index ¶
- func DeleteGroupRight(kind, resource, group string) error
- func DeleteUserRight(kind, resource, user string) error
- func GetBroker(bootstrapUrl string) (brokers []string, err error)
- func GetKafkaWriter(broker []string, topic string, debug bool) (writer *kafka.Writer, err error)
- func HandleDefaultValues(config ConfigType)
- func HandleEnvironmentVars(config ConfigType)
- func HasAdminRight(impersonate string, kind string, id string) error
- func InitEventConn()
- func InitTopic(bootstrapUrl string, topics ...string) (err error)
- func LoadConfig(location string) error
- func SetGroupRight(kind, resource, group, right string) error
- func SetUserRight(kind, resource, user, right string) error
- func StartApi()
- func StopEventConn()
- type ConfigStruct
- type ConfigType
- type PermCommandMsg
- type Publisher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteGroupRight ¶
func DeleteUserRight ¶
func GetKafkaWriter ¶
func HandleDefaultValues ¶
func HandleDefaultValues(config ConfigType)
func InitEventConn ¶
func InitEventConn()
func LoadConfig ¶
func SetGroupRight ¶
func SetUserRight ¶
func StopEventConn ¶
func StopEventConn()
Types ¶
type ConfigStruct ¶
type PermCommandMsg ¶
Click to show internal directories.
Click to hide internal directories.