Documentation ¶
Index ¶
- func GetChannelIDs(names []string) ([]string, error)
- func GetUserIDs(names []string) ([]string, error)
- func Send(channel, ts, customMsg string, event watch.EventType, job *batchv1.Job, ...) (newTS string, unlock func(), err error)
- func SendLogs(channel, ts string, pod corev1.Pod, logs map[string]string) (string, error)
- func SetOption(opt Option)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChannelIDs ¶
GetChannelIDs returns the list of channel ID from given channel name or ID.
func GetUserIDs ¶
GetUserIDs returns the list of user ID from given user name.
func Send ¶
func Send(channel, ts, customMsg string, event watch.EventType, job *batchv1.Job, pods []corev1.Pod) (newTS string, unlock func(), err error)
Send sends a message to the specified channel.
Types ¶
Click to show internal directories.
Click to hide internal directories.