Documentation ¶
Index ¶
Constants ¶
View Source
const (
DialogFlowWebhookPath = "/dialogflow/webhook"
)
Variables ¶
This section is empty.
Functions ¶
func AppendMessage ¶
func AppendMessage(res *dfext.WebhookResponse, m string)
func NewKubeflowInfoServer ¶
NewKubeflowInfoServer constructs an info server. labelMapUri is the path to the file mapping area labels to owners.
Types ¶
type HealthzResponse ¶
type HealthzResponse struct {
Reply string
}
type KubeflowLabels ¶
KubeflowLabels is a struct representing information about Kubeflow labels. We deserialize https://github.com/kubeflow/community/blob/master/labels-owners.yaml into this file.
func LoadLabels ¶
func LoadLabels(labelMapUri string) (*KubeflowLabels, error)
LoadLabels loads the labels from the given URI. The URI can be any URI understood by hashi-corps go-getter.
func (*KubeflowLabels) GetLabelOwners ¶
func (l *KubeflowLabels) GetLabelOwners(area string) []string
GetLabelOwners returns the owners of the given label. Returns an empty array if the label is unknown.
type LabelInfo ¶
type LabelInfo struct {
Owners []string `json:"owners,omitempty"`
}
LabelInfo provides information about a specific label.
type LabelServiceV1Alpha1 ¶
type LabelServiceV1Alpha1 interface { // GetLabelOwners returns a list of owners of the specified label. GetLabelOwners(label string) []string }
LabelServiceV1Alpha1 defines an interface suitable for getting information about labels
Directories ¶
Path | Synopsis |
---|---|
kfgokit package contains some utilities for working with https://github.com/go-kit/kit
|
kfgokit package contains some utilities for working with https://github.com/go-kit/kit |
Click to show internal directories.
Click to hide internal directories.