Documentation
¶
Index ¶
- func ArrayToString(array []string, sep string) string
- func DoHttpRequest(ctx context.Context, client *http.Client, request *http.Request) ([]byte, error)
- func Filter(data template.Data, selector *v1.LabelSelector, logger log.Logger) template.Data
- func KvToLabelSet(obj template.KV) model.LabelSet
- func Len(s string) int
- func Md5key(val interface{}) (string, error)
- func UrlWithParameters(u string, parameters map[string]string) (string, error)
- func UrlWithPath(u, path string) (string, error)
- type AccessTokenService
- type Notifier
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayToString ¶ added in v1.0.0
func DoHttpRequest ¶
func Filter ¶
Filter the notifications with label selector,if the selector is not correct, return all of the notifications.
func Len ¶
When a string is serialized, the escape character in the string will occupy two bytes because of `\`.
func UrlWithParameters ¶
func UrlWithPath ¶
Types ¶
type AccessTokenService ¶
type AccessTokenService struct {
// contains filtered or unexported fields
}
func GetAccessTokenService ¶
func GetAccessTokenService() *AccessTokenService
func (*AccessTokenService) InvalidToken ¶
Click to show internal directories.
Click to hide internal directories.