Documentation ¶
Index ¶
Constants ¶
View Source
const ErrForbidden = "You do not have enough permissions"
View Source
const ErrInternalServerError = "Keptn API seems to be down"
View Source
const ErrNotAuthenticated = "You are not authenticated. Use the keptn auth command to authenticate based on the API token or an OAuth client"
View Source
const ErrWithStatusCode = "error with status code %d"
Variables ¶
View Source
var APIProvider = getAPISet
APIProvider is used to get a handle to the Keptn API clients
View Source
var PublicDiscovery = auth.NewOauthDiscovery(&http.Client{})
Functions ¶
func JSONPathToJSONObj ¶
JSONPathToJSONObj parse a slice of strings of the form "a.b.c=v" and returns a nested JSON of the form {"a":{"b":{"c":"v"}}}
func OnAPIError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.