1/*
2Copyright 2014 The go-marathon Authors All rights reserved.
3
4Licensed under the Apache License, Version 2.0 (the "License");
5you may not use this file except in compliance with the License.
6You may obtain a copy of the License at
7
8	http://www.apache.org/licenses/LICENSE-2.0
9
10Unless required by applicable law or agreed to in writing, software
11distributed under the License is distributed on an "AS IS" BASIS,
12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13See the License for the specific language governing permissions and
14limitations under the License.
15*/
16
17package marathon
18
19const (
20	defaultEventsURL = "/event"
21
22	/* --- api related constants --- */
23	marathonAPIVersion      = "v2"
24	marathonAPIEventStream  = marathonAPIVersion + "/events"
25	marathonAPISubscription = marathonAPIVersion + "/eventSubscriptions"
26	marathonAPIApps         = marathonAPIVersion + "/apps"
27	marathonAPIPods         = marathonAPIVersion + "/pods"
28	marathonAPITasks        = marathonAPIVersion + "/tasks"
29	marathonAPIDeployments  = marathonAPIVersion + "/deployments"
30	marathonAPIGroups       = marathonAPIVersion + "/groups"
31	marathonAPIQueue        = marathonAPIVersion + "/queue"
32	marathonAPIInfo         = marathonAPIVersion + "/info"
33	marathonAPILeader       = marathonAPIVersion + "/leader"
34	marathonAPIPing         = "ping"
35)
36
37const (
38	// EventsTransportCallback activates callback events transport
39	EventsTransportCallback EventsTransport = 1 << iota
40
41	// EventsTransportSSE activates stream events transport
42	EventsTransportSSE
43)
44