SYMBOL INDEX (807 symbols across 67 files) FILE: application.go type Applications (line 33) | type Applications struct type IPAddressPerTask (line 38) | type IPAddressPerTask struct method EmptyLabels (line 905) | func (i *IPAddressPerTask) EmptyLabels() *IPAddressPerTask { method AddLabel (line 913) | func (i *IPAddressPerTask) AddLabel(name, value string) *IPAddressPerT... method EmptyGroups (line 923) | func (i *IPAddressPerTask) EmptyGroups() *IPAddressPerTask { method AddGroup (line 930) | func (i *IPAddressPerTask) AddGroup(group string) *IPAddressPerTask { method SetDiscovery (line 944) | func (i *IPAddressPerTask) SetDiscovery(discovery Discovery) *IPAddres... type Discovery (line 46) | type Discovery struct method EmptyPorts (line 952) | func (d *Discovery) EmptyPorts() *Discovery { method AddPort (line 959) | func (d *Discovery) AddPort(port Port) *Discovery { type Port (line 51) | type Port struct type Application (line 58) | type Application struct method SetIPAddressPerTask (line 169) | func (r *Application) SetIPAddressPerTask(ipAddressPerTask IPAddressPe... method Name (line 185) | func (r *Application) Name(id string) *Application { method Command (line 191) | func (r *Application) Command(cmd string) *Application { method CPU (line 198) | func (r *Application) CPU(cpu float64) *Application { method SetGPUs (line 205) | func (r *Application) SetGPUs(gpu float64) *Application { method EmptyGPUs (line 213) | func (r *Application) EmptyGPUs() *Application { method Storage (line 222) | func (r *Application) Storage(disk float64) *Application { method AllTaskRunning (line 229) | func (r *Application) AllTaskRunning() bool { method DependsOn (line 246) | func (r *Application) DependsOn(names ...string) *Application { method Memory (line 257) | func (r *Application) Memory(memory float64) *Application { method AddPortDefinition (line 266) | func (r *Application) AddPortDefinition(portDefinition PortDefinition)... method EmptyPortDefinitions (line 280) | func (r *Application) EmptyPortDefinitions() *Application { method Count (line 288) | func (r *Application) Count(count int) *Application { method SetTaskKillGracePeriod (line 298) | func (r *Application) SetTaskKillGracePeriod(seconds float64) *Applica... method AddArgs (line 306) | func (r *Application) AddArgs(arguments ...string) *Application { method EmptyArgs (line 321) | func (r *Application) EmptyArgs() *Application { method AddConstraint (line 329) | func (r *Application) AddConstraint(constraints ...string) *Application { method EmptyConstraints (line 344) | func (r *Application) EmptyConstraints() *Application { method AddLabel (line 353) | func (r *Application) AddLabel(name, value string) *Application { method EmptyLabels (line 365) | func (r *Application) EmptyLabels() *Application { method AddEnv (line 374) | func (r *Application) AddEnv(name, value string) *Application { method EmptyEnvs (line 386) | func (r *Application) EmptyEnvs() *Application { method AddSecret (line 396) | func (r *Application) AddSecret(envVar, name, source string) *Applicat... method EmptySecrets (line 408) | func (r *Application) EmptySecrets() *Application { method SetExecutor (line 415) | func (r *Application) SetExecutor(executor string) *Application { method AddHealthCheck (line 423) | func (r *Application) AddHealthCheck(healthCheck HealthCheck) *Applica... method EmptyHealthChecks (line 438) | func (r *Application) EmptyHealthChecks() *Application { method HasHealthChecks (line 445) | func (r *Application) HasHealthChecks() bool { method AddReadinessCheck (line 450) | func (r *Application) AddReadinessCheck(readinessCheck ReadinessCheck)... method EmptyReadinessChecks (line 463) | func (r *Application) EmptyReadinessChecks() *Application { method DeploymentIDs (line 470) | func (r *Application) DeploymentIDs() []*DeploymentID { method CheckHTTP (line 494) | func (r *Application) CheckHTTP(path string, port, interval int) (*App... method CheckTCP (line 520) | func (r *Application) CheckTCP(port, interval int) (*Application, erro... method AddUris (line 544) | func (r *Application) AddUris(newUris ...string) *Application { method EmptyUris (line 559) | func (r *Application) EmptyUris() *Application { method AddFetchURIs (line 567) | func (r *Application) AddFetchURIs(fetchURIs ...Fetch) *Application { method EmptyFetchURIs (line 582) | func (r *Application) EmptyFetchURIs() *Application { method SetUpgradeStrategy (line 589) | func (r *Application) SetUpgradeStrategy(us UpgradeStrategy) *Applicat... method EmptyUpgradeStrategy (line 597) | func (r *Application) EmptyUpgradeStrategy() *Application { method SetUnreachableStrategy (line 603) | func (r *Application) SetUnreachableStrategy(us UnreachableStrategy) *... method EmptyUnreachableStrategy (line 611) | func (r *Application) EmptyUnreachableStrategy() *Application { method SetResidency (line 618) | func (r *Application) SetResidency(whenLost TaskLostBehaviorType) *App... method EmptyResidency (line 628) | func (r *Application) EmptyResidency() *Application { method String (line 634) | func (r *Application) String() string { method EmptyNetworks (line 970) | func (r *Application) EmptyNetworks() *Application { method SetNetwork (line 976) | func (r *Application) SetNetwork(name string, mode PodNetworkMode) *Ap... type ApplicationVersions (line 111) | type ApplicationVersions struct type ApplicationVersion (line 116) | type ApplicationVersion struct type VersionInfo (line 121) | type VersionInfo struct type Fetch (line 127) | type Fetch struct type GetAppOpts (line 137) | type GetAppOpts struct type DeleteAppOpts (line 143) | type DeleteAppOpts struct type TaskStats (line 148) | type TaskStats struct type Stats (line 153) | type Stats struct type Secret (line 161) | type Secret struct function NewDockerApplication (line 178) | func NewDockerApplication() *Application { method Applications (line 644) | func (r *marathonClient) Applications(v url.Values) (*Applications, erro... method ListApplications (line 660) | func (r *marathonClient) ListApplications(v url.Values) ([]string, error) { method HasApplicationVersion (line 676) | func (r *marathonClient) HasApplicationVersion(name, version string) (bo... method ApplicationVersions (line 688) | func (r *marathonClient) ApplicationVersions(name string) (*ApplicationV... method SetApplicationVersion (line 700) | func (r *marathonClient) SetApplicationVersion(name string, version *App... method Application (line 712) | func (r *marathonClient) Application(name string) (*Application, error) { method ApplicationBy (line 727) | func (r *marathonClient) ApplicationBy(name string, opts *GetAppOpts) (*... method ApplicationByVersion (line 746) | func (r *marathonClient) ApplicationByVersion(name, version string) (*Ap... method ApplicationOK (line 760) | func (r *marathonClient) ApplicationOK(name string) (bool, error) { method ApplicationDeployments (line 798) | func (r *marathonClient) ApplicationDeployments(name string) ([]*Deploym... method CreateApplication (line 809) | func (r *marathonClient) CreateApplication(application *Application) (*A... method WaitOnApplication (line 821) | func (r *marathonClient) WaitOnApplication(name string, timeout time.Dur... method appExistAndRunning (line 825) | func (r *marathonClient) appExistAndRunning(name string) bool { method DeleteApplication (line 839) | func (r *marathonClient) DeleteApplication(name string, force bool) (*De... method RestartApplication (line 852) | func (r *marathonClient) RestartApplication(name string, force bool) (*D... method ScaleApplicationInstances (line 867) | func (r *marathonClient) ScaleApplicationInstances(name string, instance... method UpdateApplication (line 882) | func (r *marathonClient) UpdateApplication(application *Application, for... function buildPathWithForceParam (line 891) | func buildPathWithForceParam(rootPath string, force bool) string { function buildPath (line 899) | func buildPath(path string) string { FILE: application_marshalling.go type Alias (line 25) | type Alias type TmpEnvSecret (line 28) | type TmpEnvSecret struct type TmpSecret (line 33) | type TmpSecret struct method UnmarshalJSON (line 40) | func (app *Application) UnmarshalJSON(b []byte) error { method MarshalJSON (line 84) | func (app *Application) MarshalJSON() ([]byte, error) { FILE: application_marshalling_test.go function TestEnvironmentVariableUnmarshal (line 28) | func TestEnvironmentVariableUnmarshal(t *testing.T) { function TestMalformedPayloadUnmarshal (line 52) | func TestMalformedPayloadUnmarshal(t *testing.T) { function TestEnvironmentVariableMarshal (line 90) | func TestEnvironmentVariableMarshal(t *testing.T) { FILE: application_test.go function TestApplicationDependsOn (line 32) | func TestApplicationDependsOn(t *testing.T) { function TestApplicationMemory (line 39) | func TestApplicationMemory(t *testing.T) { function TestApplicationString (line 45) | func TestApplicationString(t *testing.T) { function TestApplicationCount (line 110) | func TestApplicationCount(t *testing.T) { function TestApplicationStorage (line 117) | func TestApplicationStorage(t *testing.T) { function TestApplicationAllTaskRunning (line 124) | func TestApplicationAllTaskRunning(t *testing.T) { function TestApplicationName (line 150) | func TestApplicationName(t *testing.T) { function TestApplicationCommand (line 157) | func TestApplicationCommand(t *testing.T) { function TestApplicationCPU (line 164) | func TestApplicationCPU(t *testing.T) { function TestApplicationSetGPUs (line 171) | func TestApplicationSetGPUs(t *testing.T) { function TestApplicationEmptyGPUs (line 178) | func TestApplicationEmptyGPUs(t *testing.T) { function TestApplicationArgs (line 185) | func TestApplicationArgs(t *testing.T) { function ExampleApplication_AddConstraint (line 199) | func ExampleApplication_AddConstraint() { function TestApplicationConstraints (line 207) | func TestApplicationConstraints(t *testing.T) { function TestApplicationLabels (line 222) | func TestApplicationLabels(t *testing.T) { function TestApplicationEnvs (line 236) | func TestApplicationEnvs(t *testing.T) { function TestApplicationSecrets (line 250) | func TestApplicationSecrets(t *testing.T) { function TestApplicationSetExecutor (line 265) | func TestApplicationSetExecutor(t *testing.T) { function TestApplicationHealthChecks (line 276) | func TestApplicationHealthChecks(t *testing.T) { function TestApplicationReadinessChecks (line 292) | func TestApplicationReadinessChecks(t *testing.T) { function TestApplicationPortDefinitions (line 307) | func TestApplicationPortDefinitions(t *testing.T) { function TestHasHealthChecks (line 331) | func TestHasHealthChecks(t *testing.T) { function TestApplicationCheckTCP (line 354) | func TestApplicationCheckTCP(t *testing.T) { function TestApplicationCheckHTTP (line 384) | func TestApplicationCheckHTTP(t *testing.T) { function TestCreateApplication (line 415) | func TestCreateApplication(t *testing.T) { function TestUpdateApplication (line 428) | func TestUpdateApplication(t *testing.T) { function TestApplications (line 442) | func TestApplications(t *testing.T) { function TestApplicationsEmbedTaskStats (line 461) | func TestApplicationsEmbedTaskStats(t *testing.T) { function TestApplicationsEmbedReadiness (line 476) | func TestApplicationsEmbedReadiness(t *testing.T) { function TestListApplications (line 502) | func TestListApplications(t *testing.T) { function TestApplicationVersions (line 514) | func TestApplicationVersions(t *testing.T) { function TestRestartApplication (line 529) | func TestRestartApplication(t *testing.T) { function TestApplicationUris (line 543) | func TestApplicationUris(t *testing.T) { function TestApplicationFetchURIs (line 557) | func TestApplicationFetchURIs(t *testing.T) { function TestSetApplicationVersion (line 572) | func TestSetApplicationVersion(t *testing.T) { function TestHasApplicationVersion (line 587) | func TestHasApplicationVersion(t *testing.T) { function TestDeleteApplication (line 599) | func TestDeleteApplication(t *testing.T) { function TestApplicationOK (line 614) | func TestApplicationOK(t *testing.T) { function verifyApplication (line 629) | func verifyApplication(application *Application, t *testing.T) { function TestApplication (line 642) | func TestApplication(t *testing.T) { function TestApplicationConfiguration (line 673) | func TestApplicationConfiguration(t *testing.T) { function TestWaitOnApplication (line 694) | func TestWaitOnApplication(t *testing.T) { function TestAppExistAndRunning (line 771) | func TestAppExistAndRunning(t *testing.T) { function TestSetIPPerTask (line 779) | func TestSetIPPerTask(t *testing.T) { function TestIPAddressPerTask (line 793) | func TestIPAddressPerTask(t *testing.T) { function TestIPAddressPerTaskDiscovery (line 818) | func TestIPAddressPerTaskDiscovery(t *testing.T) { function TestUpgradeStrategy (line 832) | func TestUpgradeStrategy(t *testing.T) { function TestBridgedNetworking (line 849) | func TestBridgedNetworking(t *testing.T) { function TestContainerNetworking (line 856) | func TestContainerNetworking(t *testing.T) { function TestHostNetworking (line 863) | func TestHostNetworking(t *testing.T) { FILE: client.go type Marathon (line 37) | type Marathon interface type EventsChannelContext (line 217) | type EventsChannelContext struct type marathonClient (line 223) | type marathonClient struct method GetMarathonURL (line 302) | func (r *marathonClient) GetMarathonURL() string { method Ping (line 307) | func (r *marathonClient) Ping() (bool, error) { method apiHead (line 314) | func (r *marathonClient) apiHead(path string, result interface{}) error { method apiGet (line 318) | func (r *marathonClient) apiGet(path string, post, result interface{})... method apiPut (line 322) | func (r *marathonClient) apiPut(path string, post, result interface{})... method ApiPost (line 326) | func (r *marathonClient) ApiPost(path string, post, result interface{}... method apiDelete (line 330) | func (r *marathonClient) apiDelete(path string, post, result interface... method apiCall (line 334) | func (r *marathonClient) apiCall(method, path string, body, result int... method wait (line 411) | func (r *marathonClient) wait(name string, timeout time.Duration, fn f... method buildAPIRequest (line 433) | func (r *marathonClient) buildAPIRequest(method, path string, reader i... type httpClient (line 243) | type httpClient struct method buildMarathonJSONRequest (line 450) | func (rc *httpClient) buildMarathonJSONRequest(method, member, path st... method buildMarathonRequest (line 462) | func (rc *httpClient) buildMarathonRequest(method, member, path string... method Do (line 488) | func (rc *httpClient) Do(request *http.Request) (response *http.Respon... type newRequestError (line 249) | type newRequestError struct function NewClient (line 255) | func NewClient(config Config) (Marathon, error) { function oneLogLine (line 496) | func oneLogLine(in []byte) []byte { FILE: client_test.go function TestNewClient (line 29) | func TestNewClient(t *testing.T) { function TestHTTPClientDefaults (line 47) | func TestHTTPClientDefaults(t *testing.T) { function TestLogOutput (line 100) | func TestLogOutput(t *testing.T) { function TestInvalidConfig (line 115) | func TestInvalidConfig(t *testing.T) { function TestPing (line 123) | func TestPing(t *testing.T) { function TestGetMarathonURL (line 132) | func TestGetMarathonURL(t *testing.T) { function TestAPIRequest (line 139) | func TestAPIRequest(t *testing.T) { function TestBuildApiRequestFailure (line 211) | func TestBuildApiRequestFailure(t *testing.T) { function TestOneLogLine (line 261) | func TestOneLogLine(t *testing.T) { function TestAPIRequestDCOS (line 276) | func TestAPIRequestDCOS(t *testing.T) { FILE: cluster.go constant memberStatusUp (line 28) | memberStatusUp = 0 constant memberStatusDown (line 29) | memberStatusDown = 1 type memberStatus (line 33) | type memberStatus type cluster (line 36) | type cluster struct method getMember (line 107) | func (c *cluster) getMember() (string, error) { method markDown (line 120) | func (c *cluster) markDown(endpoint string) { method healthCheckNode (line 135) | func (c *cluster) healthCheckNode(node *member) { method activeMembers (line 155) | func (c *cluster) activeMembers() []string { method nonActiveMembers (line 160) | func (c *cluster) nonActiveMembers() []string { method membersList (line 165) | func (c *cluster) membersList(status memberStatus) []string { method size (line 179) | func (c *cluster) size() int { type member (line 48) | type member struct method String (line 184) | func (m member) String() string { function newCluster (line 56) | func newCluster(client *httpClient, marathonURL string, isDCOS bool) (*c... FILE: cluster_test.go function TestSize (line 27) | func TestSize(t *testing.T) { function TestActive (line 33) | func TestActive(t *testing.T) { function TestNonActive (line 39) | func TestNonActive(t *testing.T) { function TestGetMember (line 45) | func TestGetMember(t *testing.T) { function TestMarkDown (line 81) | func TestMarkDown(t *testing.T) { function TestValidClusterHosts (line 113) | func TestValidClusterHosts(t *testing.T) { function TestInvalidClusterHosts (line 168) | func TestInvalidClusterHosts(t *testing.T) { function newStandardCluster (line 187) | func newStandardCluster(url string) (*cluster, error) { FILE: config.go constant defaultPollingWaitTime (line 26) | defaultPollingWaitTime = 500 * time.Millisecond constant defaultDCOSPath (line 28) | defaultDCOSPath = "marathon" type EventsTransport (line 31) | type EventsTransport type Config (line 34) | type Config struct function NewDefaultConfig (line 62) | func NewDefaultConfig() Config { FILE: const.go constant defaultEventsURL (line 20) | defaultEventsURL = "/event" constant marathonAPIVersion (line 23) | marathonAPIVersion = "v2" constant marathonAPIEventStream (line 24) | marathonAPIEventStream = marathonAPIVersion + "/events" constant marathonAPISubscription (line 25) | marathonAPISubscription = marathonAPIVersion + "/eventSubscriptions" constant marathonAPIApps (line 26) | marathonAPIApps = marathonAPIVersion + "/apps" constant marathonAPIPods (line 27) | marathonAPIPods = marathonAPIVersion + "/pods" constant marathonAPITasks (line 28) | marathonAPITasks = marathonAPIVersion + "/tasks" constant marathonAPIDeployments (line 29) | marathonAPIDeployments = marathonAPIVersion + "/deployments" constant marathonAPIGroups (line 30) | marathonAPIGroups = marathonAPIVersion + "/groups" constant marathonAPIQueue (line 31) | marathonAPIQueue = marathonAPIVersion + "/queue" constant marathonAPIInfo (line 32) | marathonAPIInfo = marathonAPIVersion + "/info" constant marathonAPILeader (line 33) | marathonAPILeader = marathonAPIVersion + "/leader" constant marathonAPIPing (line 34) | marathonAPIPing = "ping" constant EventsTransportCallback (line 39) | EventsTransportCallback EventsTransport = 1 << iota constant EventsTransportSSE (line 42) | EventsTransportSSE FILE: deployment.go type Deployment (line 26) | type Deployment struct type DeploymentID (line 39) | type DeploymentID struct type DeploymentStep (line 45) | type DeploymentStep struct type StepActions (line 52) | type StepActions struct type DeploymentPlan (line 61) | type DeploymentPlan struct method Deployments (line 70) | func (r *marathonClient) Deployments() ([]*Deployment, error) { method DeleteDeployment (line 110) | func (r *marathonClient) DeleteDeployment(id string, force bool) (*Deplo... method HasDeployment (line 131) | func (r *marathonClient) HasDeployment(id string) (bool, error) { method WaitOnDeployment (line 147) | func (r *marathonClient) WaitOnDeployment(id string, timeout time.Durati... FILE: deployment_test.go function TestDeployments (line 26) | func TestDeployments(t *testing.T) { function TestDeploymentsV1 (line 41) | func TestDeploymentsV1(t *testing.T) { function TestDeleteDeployment (line 77) | func TestDeleteDeployment(t *testing.T) { function TestDeleteDeploymentForce (line 86) | func TestDeleteDeploymentForce(t *testing.T) { FILE: docker.go type Container (line 25) | type Container struct method Volume (line 157) | func (container *Container) Volume(hostPath, containerPath, mode strin... method EmptyVolumes (line 177) | func (container *Container) EmptyVolumes() *Container { method Expose (line 287) | func (container *Container) Expose(ports ...int) *Container { method ExposeUDP (line 313) | func (container *Container) ExposeUDP(ports ...int) *Container { method ExposePort (line 338) | func (container *Container) ExposePort(portMapping PortMapping) *Conta... method EmptyPortMappings (line 366) | func (container *Container) EmptyPortMappings() *Container { method ServicePortIndex (line 428) | func (container *Container) ServicePortIndex(port int) (int, error) { type PortMapping (line 33) | type PortMapping struct method AddLabel (line 382) | func (p *PortMapping) AddLabel(name, value string) *PortMapping { method EmptyLabels (line 394) | func (p *PortMapping) EmptyLabels() *PortMapping { method AddNetwork (line 471) | func (p *PortMapping) AddNetwork(name string) *PortMapping { method EmptyNetworkNames (line 483) | func (p *PortMapping) EmptyNetworkNames() *PortMapping { type Parameters (line 44) | type Parameters struct type Volume (line 50) | type Volume struct method SetPersistentVolume (line 183) | func (v *Volume) SetPersistentVolume() *PersistentVolume { method SetSecretVolume (line 190) | func (v *Volume) SetSecretVolume(containerPath, secret string) *Volume { method EmptyPersistentVolume (line 197) | func (v *Volume) EmptyPersistentVolume() *Volume { method SetExternalVolume (line 205) | func (v *Volume) SetExternalVolume(name, provider string) *ExternalVol... method EmptyExternalVolume (line 215) | func (v *Volume) EmptyExternalVolume() *Volume { type PersistentVolumeType (line 60) | type PersistentVolumeType constant PersistentVolumeTypeRoot (line 64) | PersistentVolumeTypeRoot PersistentVolumeType = "root" constant PersistentVolumeTypePath (line 66) | PersistentVolumeTypePath PersistentVolumeType = "path" constant PersistentVolumeTypeMount (line 68) | PersistentVolumeTypeMount PersistentVolumeType = "mount" type PersistentVolume (line 73) | type PersistentVolume struct method SetType (line 82) | func (p *PersistentVolume) SetType(tp PersistentVolumeType) *Persisten... method SetSize (line 89) | func (p *PersistentVolume) SetSize(size int) *PersistentVolume { method SetMaxSize (line 97) | func (p *PersistentVolume) SetMaxSize(maxSize int) *PersistentVolume { method AddConstraint (line 104) | func (p *PersistentVolume) AddConstraint(constraints ...string) *Persi... method EmptyConstraints (line 118) | func (p *PersistentVolume) EmptyConstraints() *PersistentVolume { type ExternalVolume (line 124) | type ExternalVolume struct method AddOption (line 223) | func (ev *ExternalVolume) AddOption(name, value string) *ExternalVolume { method EmptyOptions (line 233) | func (ev *ExternalVolume) EmptyOptions() *ExternalVolume { type PullConfig (line 131) | type PullConfig struct function NewPullConfig (line 136) | func NewPullConfig(secret string) *PullConfig { type Docker (line 143) | type Docker struct method SetForcePullImage (line 251) | func (docker *Docker) SetForcePullImage(forcePull bool) *Docker { method SetPrivileged (line 260) | func (docker *Docker) SetPrivileged(priv bool) *Docker { method Container (line 268) | func (docker *Docker) Container(image string) *Docker { method Bridged (line 274) | func (docker *Docker) Bridged() *Docker { method Host (line 280) | func (docker *Docker) Host() *Docker { method Expose (line 300) | func (docker *Docker) Expose(ports ...int) *Docker { method ExposeUDP (line 326) | func (docker *Docker) ExposeUDP(ports ...int) *Docker { method ExposePort (line 351) | func (docker *Docker) ExposePort(portMapping PortMapping) *Docker { method EmptyPortMappings (line 374) | func (docker *Docker) EmptyPortMappings() *Docker { method AddParameter (line 403) | func (docker *Docker) AddParameter(key string, value string) *Docker { method EmptyParameters (line 421) | func (docker *Docker) EmptyParameters() *Docker { method ServicePortIndex (line 446) | func (docker *Docker) ServicePortIndex(port int) (int, error) { method SetPullConfig (line 463) | func (docker *Docker) SetPullConfig(pullConfig *PullConfig) *Docker { function NewDockerContainer (line 240) | func NewDockerContainer() *Container { FILE: docker_test.go function createPortMapping (line 26) | func createPortMapping(containerPort int, protocol string) *PortMapping { function TestDockerAddParameter (line 35) | func TestDockerAddParameter(t *testing.T) { function TestDockerExpose (line 49) | func TestDockerExpose(t *testing.T) { function TestDockerExposeUDP (line 75) | func TestDockerExposeUDP(t *testing.T) { function TestPortMappingLabels (line 100) | func TestPortMappingLabels(t *testing.T) { function TestPortMappingNetworkNames (line 115) | func TestPortMappingNetworkNames(t *testing.T) { function TestVolume (line 129) | func TestVolume(t *testing.T) { function TestSecretVolume (line 144) | func TestSecretVolume(t *testing.T) { function TestExternalVolume (line 157) | func TestExternalVolume(t *testing.T) { function TestDockerPersistentVolume (line 181) | func TestDockerPersistentVolume(t *testing.T) { function TestDockerPullConfig (line 210) | func TestDockerPullConfig(t *testing.T) { FILE: error.go constant ErrCodeBadRequest (line 28) | ErrCodeBadRequest = iota constant ErrCodeUnauthorized (line 30) | ErrCodeUnauthorized constant ErrCodeForbidden (line 32) | ErrCodeForbidden constant ErrCodeNotFound (line 34) | ErrCodeNotFound constant ErrCodeDuplicateID (line 36) | ErrCodeDuplicateID constant ErrCodeAppLocked (line 38) | ErrCodeAppLocked constant ErrCodeInvalidBean (line 40) | ErrCodeInvalidBean constant ErrCodeServer (line 42) | ErrCodeServer constant ErrCodeUnknown (line 44) | ErrCodeUnknown constant ErrCodeMethodNotAllowed (line 46) | ErrCodeMethodNotAllowed type InvalidEndpointError (line 50) | type InvalidEndpointError struct method Error (line 55) | func (e *InvalidEndpointError) Error() string { function newInvalidEndpointError (line 60) | func newInvalidEndpointError(message string, args ...interface{}) error { type APIError (line 65) | type APIError struct method Error (line 71) | func (e *APIError) Error() string { function NewAPIError (line 76) | func NewAPIError(code int, content []byte) error { type errorDefinition (line 102) | type errorDefinition interface function parseContent (line 107) | func parseContent(errDef errorDefinition, content []byte) error { type simpleErrDef (line 118) | type simpleErrDef struct method message (line 123) | func (def *simpleErrDef) message() string { method errCode (line 127) | func (def *simpleErrDef) errCode() int { type detailDescription (line 131) | type detailDescription struct method String (line 136) | func (d detailDescription) String() string { type badRequestDef (line 140) | type badRequestDef struct method message (line 145) | func (def *badRequestDef) message() string { method errCode (line 154) | func (def *badRequestDef) errCode() int { type conflictDef (line 158) | type conflictDef struct method message (line 165) | func (def *conflictDef) message() string { method errCode (line 179) | func (def *conflictDef) errCode() int { type unprocessableEntityDetails (line 187) | type unprocessableEntityDetails type unprocessableEntityDef (line 195) | type unprocessableEntityDef struct method message (line 203) | func (def *unprocessableEntityDef) message() string { method errCode (line 227) | func (def *unprocessableEntityDef) errCode() int { FILE: error_test.go function TestErrors (line 28) | func TestErrors(t *testing.T) { function content400 (line 149) | func content400() string { function content422 (line 165) | func content422(detailsPropKey string) string { function content422V1 (line 181) | func content422V1() string { FILE: events.go type EventType (line 22) | type EventType struct constant EventIDAPIRequest (line 28) | EventIDAPIRequest = 1 << iota constant EventIDStatusUpdate (line 30) | EventIDStatusUpdate constant EventIDFrameworkMessage (line 32) | EventIDFrameworkMessage constant EventIDSubscription (line 34) | EventIDSubscription constant EventIDUnsubscribed (line 36) | EventIDUnsubscribed constant EventIDStreamAttached (line 38) | EventIDStreamAttached constant EventIDStreamDetached (line 40) | EventIDStreamDetached constant EventIDAddHealthCheck (line 42) | EventIDAddHealthCheck constant EventIDRemoveHealthCheck (line 44) | EventIDRemoveHealthCheck constant EventIDFailedHealthCheck (line 46) | EventIDFailedHealthCheck constant EventIDChangedHealthCheck (line 48) | EventIDChangedHealthCheck constant EventIDGroupChangeSuccess (line 50) | EventIDGroupChangeSuccess constant EventIDGroupChangeFailed (line 52) | EventIDGroupChangeFailed constant EventIDDeploymentSuccess (line 54) | EventIDDeploymentSuccess constant EventIDDeploymentFailed (line 56) | EventIDDeploymentFailed constant EventIDDeploymentInfo (line 58) | EventIDDeploymentInfo constant EventIDDeploymentStepSuccess (line 60) | EventIDDeploymentStepSuccess constant EventIDDeploymentStepFailed (line 62) | EventIDDeploymentStepFailed constant EventIDAppTerminated (line 64) | EventIDAppTerminated constant EventIDApplications (line 66) | EventIDApplications = EventIDStatusUpdate | EventIDChangedHealthCheck | ... constant EventIDSubscriptions (line 68) | EventIDSubscriptions = EventIDSubscription | EventIDUnsubscribed | Event... function init (line 75) | func init() { type Event (line 104) | type Event struct method String (line 110) | func (event *Event) String() string { type EventsChannel (line 115) | type EventsChannel type EventAPIRequest (line 120) | type EventAPIRequest struct type EventStatusUpdate (line 131) | type EventStatusUpdate struct type EventAppTerminated (line 146) | type EventAppTerminated struct type EventFrameworkMessage (line 155) | type EventFrameworkMessage struct type EventSubscription (line 166) | type EventSubscription struct type EventUnsubscription (line 174) | type EventUnsubscription struct type EventStreamAttached (line 182) | type EventStreamAttached struct type EventStreamDetached (line 189) | type EventStreamDetached struct type EventAddHealthCheck (line 198) | type EventAddHealthCheck struct type EventRemoveHealthCheck (line 214) | type EventRemoveHealthCheck struct type EventFailedHealthCheck (line 230) | type EventFailedHealthCheck struct type EventHealthCheckChanged (line 246) | type EventHealthCheckChanged struct type EventGroupChangeSuccess (line 258) | type EventGroupChangeSuccess struct type EventGroupChangeFailed (line 266) | type EventGroupChangeFailed struct type EventDeploymentSuccess (line 275) | type EventDeploymentSuccess struct type EventDeploymentFailed (line 283) | type EventDeploymentFailed struct type EventDeploymentInfo (line 290) | type EventDeploymentInfo struct type EventDeploymentStepSuccess (line 298) | type EventDeploymentStepSuccess struct type EventDeploymentStepFailure (line 306) | type EventDeploymentStepFailure struct function GetEvent (line 315) | func GetEvent(eventType string) (*Event, error) { FILE: examples/applications/main.go function init (line 29) | func init() { function assert (line 33) | func assert(err error) { function waitOnDeployment (line 39) | func waitOnDeployment(client marathon.Marathon, id *marathon.DeploymentI... function main (line 43) | func main() { FILE: examples/events_callback_transport/main.go function init (line 32) | func init() { function assert (line 39) | func assert(err error) { function main (line 45) | func main() { FILE: examples/events_sse_transport/main.go function init (line 30) | func init() { function assert (line 35) | func assert(err error) { function main (line 41) | func main() { FILE: examples/glog/main.go type logBridge (line 30) | type logBridge struct method Write (line 32) | func (l *logBridge) Write(b []byte) (n int, err error) { function init (line 37) | func init() { function main (line 41) | func main() { FILE: examples/groups/main.go function init (line 29) | func init() { function assert (line 33) | func assert(err error) { function main (line 39) | func main() { FILE: examples/multiple_endpoints/main.go constant waitTime (line 27) | waitTime = 5 * time.Second function init (line 31) | func init() { function main (line 35) | func main() { FILE: examples/pods/main.go function init (line 31) | func init() { function assert (line 36) | func assert(err error) { function waitOnDeployment (line 42) | func waitOnDeployment(client marathon.Marathon, id *marathon.DeploymentI... function createRawPod (line 46) | func createRawPod() *marathon.Pod { function createConveniencePod (line 97) | func createConveniencePod() *marathon.Pod { function doPlayground (line 123) | func doPlayground(client marathon.Marathon, pod *marathon.Pod) { function main (line 158) | func main() { FILE: examples/queue/main.go function init (line 30) | func init() { function main (line 34) | func main() { FILE: examples/tasks/main.go constant marathonURL (line 26) | marathonURL = "http://127.0.0.1:8080" function main (line 28) | func main() { FILE: group.go type Group (line 25) | type Group struct method Name (line 72) | func (r *Group) Name(name string) *Group { method App (line 79) | func (r *Group) App(application *Application) *Group { type Groups (line 33) | type Groups struct type GetGroupOpts (line 43) | type GetGroupOpts struct type DeleteGroupOpts (line 49) | type DeleteGroupOpts struct type UpdateGroupOpts (line 55) | type UpdateGroupOpts struct function NewApplicationGroup (line 61) | func NewApplicationGroup(name string) *Group { method Groups (line 88) | func (r *marathonClient) Groups() (*Groups, error) { method Group (line 98) | func (r *marathonClient) Group(name string) (*Group, error) { method GroupsBy (line 108) | func (r *marathonClient) GroupsBy(opts *GetGroupOpts) (*Groups, error) { method GroupBy (line 123) | func (r *marathonClient) GroupBy(name string, opts *GetGroupOpts) (*Grou... method HasGroup (line 137) | func (r *marathonClient) HasGroup(name string) (bool, error) { method CreateGroup (line 151) | func (r *marathonClient) CreateGroup(group *Group) error { method WaitOnGroup (line 158) | func (r *marathonClient) WaitOnGroup(name string, timeout time.Duration)... method DeleteGroup (line 209) | func (r *marathonClient) DeleteGroup(name string, force bool) (*Deployme... method UpdateGroup (line 226) | func (r *marathonClient) UpdateGroup(name string, group *Group, force bo... FILE: group_test.go function TestGroups (line 25) | func TestGroups(t *testing.T) { function TestNewGroup (line 37) | func TestNewGroup(t *testing.T) { FILE: health.go type HealthCheck (line 20) | type HealthCheck struct method SetCommand (line 83) | func (h *HealthCheck) SetCommand(c Command) *HealthCheck { method SetPortIndex (line 89) | func (h *HealthCheck) SetPortIndex(i int) *HealthCheck { method SetPort (line 95) | func (h *HealthCheck) SetPort(i int) *HealthCheck { method SetPath (line 101) | func (h *HealthCheck) SetPath(p string) *HealthCheck { method SetMaxConsecutiveFailures (line 107) | func (h *HealthCheck) SetMaxConsecutiveFailures(i int) *HealthCheck { method SetIgnoreHTTP1xx (line 113) | func (h *HealthCheck) SetIgnoreHTTP1xx(ignore bool) *HealthCheck { type HTTPHealthCheck (line 34) | type HTTPHealthCheck struct method SetEndpoint (line 209) | func (h *HTTPHealthCheck) SetEndpoint(endpoint string) *HTTPHealthCheck { method SetPath (line 215) | func (h *HTTPHealthCheck) SetPath(path string) *HTTPHealthCheck { method SetScheme (line 221) | func (h *HTTPHealthCheck) SetScheme(scheme string) *HTTPHealthCheck { type TCPHealthCheck (line 41) | type TCPHealthCheck struct method SetEndpoint (line 227) | func (t *TCPHealthCheck) SetEndpoint(endpoint string) *TCPHealthCheck { type CommandHealthCheck (line 46) | type CommandHealthCheck struct method SetCommand (line 233) | func (c *CommandHealthCheck) SetCommand(p PodCommand) *CommandHealthCh... type PodHealthCheck (line 51) | type PodHealthCheck struct method SetHTTPHealthCheck (line 153) | func (p *PodHealthCheck) SetHTTPHealthCheck(h *HTTPHealthCheck) *PodHe... method SetTCPHealthCheck (line 162) | func (p *PodHealthCheck) SetTCPHealthCheck(t *TCPHealthCheck) *PodHeal... method SetExecHealthCheck (line 171) | func (p *PodHealthCheck) SetExecHealthCheck(e *CommandHealthCheck) *Po... method SetGracePeriod (line 179) | func (p *PodHealthCheck) SetGracePeriod(gracePeriodSeconds int) *PodHe... method SetInterval (line 185) | func (p *PodHealthCheck) SetInterval(intervalSeconds int) *PodHealthCh... method SetMaxConsecutiveFailures (line 191) | func (p *PodHealthCheck) SetMaxConsecutiveFailures(maxFailures int) *P... method SetTimeout (line 197) | func (p *PodHealthCheck) SetTimeout(timeoutSeconds int) *PodHealthCheck { method SetDelay (line 203) | func (p *PodHealthCheck) SetDelay(delaySeconds int) *PodHealthCheck { function NewPodHealthCheck (line 63) | func NewPodHealthCheck() *PodHealthCheck { function NewHTTPHealthCheck (line 68) | func NewHTTPHealthCheck() *HTTPHealthCheck { function NewTCPHealthCheck (line 73) | func NewTCPHealthCheck() *TCPHealthCheck { function NewCommandHealthCheck (line 78) | func NewCommandHealthCheck() *CommandHealthCheck { function NewDefaultHealthCheck (line 119) | func NewDefaultHealthCheck() *HealthCheck { type HealthCheckResult (line 136) | type HealthCheckResult struct type Command (line 147) | type Command struct FILE: health_test.go function TestCommand (line 25) | func TestCommand(t *testing.T) { function TestPortIndex (line 32) | func TestPortIndex(t *testing.T) { function TestPort (line 38) | func TestPort(t *testing.T) { function TestPath (line 44) | func TestPath(t *testing.T) { function TestMaxConsecutiveFailures (line 50) | func TestMaxConsecutiveFailures(t *testing.T) { function TestIgnoreHTTP1xx (line 56) | func TestIgnoreHTTP1xx(t *testing.T) { FILE: info.go type Info (line 20) | type Info struct method Info (line 68) | func (r *marathonClient) Info() (*Info, error) { method Leader (line 78) | func (r *marathonClient) Leader() (string, error) { method AbdicateLeader (line 90) | func (r *marathonClient) AbdicateLeader() (string, error) { FILE: info_test.go function TestInfo (line 25) | func TestInfo(t *testing.T) { function TestLeader (line 36) | func TestLeader(t *testing.T) { function TestAbdicateLeader (line 45) | func TestAbdicateLeader(t *testing.T) { FILE: last_task_failure.go type LastTaskFailure (line 20) | type LastTaskFailure struct FILE: network.go type PodNetworkMode (line 20) | type PodNetworkMode constant ContainerNetworkMode (line 23) | ContainerNetworkMode PodNetworkMode = "container" constant BridgeNetworkMode (line 24) | BridgeNetworkMode PodNetworkMode = "container/bridge" constant HostNetworkMode (line 25) | HostNetworkMode PodNetworkMode = "host" type PodNetwork (line 29) | type PodNetwork struct method SetName (line 79) | func (n *PodNetwork) SetName(name string) *PodNetwork { method SetMode (line 85) | func (n *PodNetwork) SetMode(mode PodNetworkMode) *PodNetwork { method Label (line 91) | func (n *PodNetwork) Label(key, value string) *PodNetwork { type PodEndpoint (line 36) | type PodEndpoint struct method SetName (line 97) | func (e *PodEndpoint) SetName(name string) *PodEndpoint { method SetContainerPort (line 103) | func (e *PodEndpoint) SetContainerPort(port int) *PodEndpoint { method SetHostPort (line 109) | func (e *PodEndpoint) SetHostPort(port int) *PodEndpoint { method AddProtocol (line 115) | func (e *PodEndpoint) AddProtocol(protocol string) *PodEndpoint { method Label (line 121) | func (e *PodEndpoint) Label(key, value string) *PodEndpoint { function NewPodNetwork (line 45) | func NewPodNetwork(name string) *PodNetwork { function NewPodEndpoint (line 53) | func NewPodEndpoint() *PodEndpoint { function NewBridgePodNetwork (line 61) | func NewBridgePodNetwork() *PodNetwork { function NewContainerPodNetwork (line 67) | func NewContainerPodNetwork(name string) *PodNetwork { function NewHostPodNetwork (line 73) | func NewHostPodNetwork() *PodNetwork { FILE: offer.go type Offer (line 21) | type Offer struct type OfferResource (line 30) | type OfferResource struct type NumberRange (line 39) | type NumberRange struct type AgentAttribute (line 45) | type AgentAttribute struct FILE: pod.go type Pod (line 24) | type Pod struct method Name (line 62) | func (p *Pod) Name(id string) *Pod { method SetUser (line 68) | func (p *Pod) SetUser(user string) *Pod { method EmptyLabels (line 74) | func (p *Pod) EmptyLabels() *Pod { method AddLabel (line 80) | func (p *Pod) AddLabel(key, value string) *Pod { method SetLabels (line 86) | func (p *Pod) SetLabels(labels map[string]string) *Pod { method EmptyEnvs (line 92) | func (p *Pod) EmptyEnvs() *Pod { method AddEnv (line 98) | func (p *Pod) AddEnv(name, value string) *Pod { method ExtendEnv (line 107) | func (p *Pod) ExtendEnv(env map[string]string) *Pod { method AddContainer (line 119) | func (p *Pod) AddContainer(container *PodContainer) *Pod { method EmptySecrets (line 125) | func (p *Pod) EmptySecrets() *Pod { method GetSecretSource (line 131) | func (p *Pod) GetSecretSource(name string) (string, error) { method AddSecret (line 139) | func (p *Pod) AddSecret(envVar, secretName, sourceName string) *Pod { method AddVolume (line 148) | func (p *Pod) AddVolume(vol *PodVolume) *Pod { method AddNetwork (line 154) | func (p *Pod) AddNetwork(net *PodNetwork) *Pod { method Count (line 160) | func (p *Pod) Count(count int) *Pod { method SetPodSchedulingPolicy (line 169) | func (p *Pod) SetPodSchedulingPolicy(policy *PodSchedulingPolicy) *Pod { method SetExecutorResources (line 175) | func (p *Pod) SetExecutorResources(resources *ExecutorResources) *Pod { type PodScalingPolicy (line 43) | type PodScalingPolicy struct function NewPod (line 50) | func NewPod() *Pod { method SupportsPods (line 182) | func (r *marathonClient) SupportsPods() (bool, error) { method Pod (line 196) | func (r *marathonClient) Pod(name string) (*Pod, error) { method Pods (line 207) | func (r *marathonClient) Pods() ([]Pod, error) { method CreatePod (line 217) | func (r *marathonClient) CreatePod(pod *Pod) (*Pod, error) { method DeletePod (line 227) | func (r *marathonClient) DeletePod(name string, force bool) (*Deployment... method UpdatePod (line 239) | func (r *marathonClient) UpdatePod(pod *Pod, force bool) (*Pod, error) { method PodVersions (line 251) | func (r *marathonClient) PodVersions(name string) ([]string, error) { method PodByVersion (line 262) | func (r *marathonClient) PodByVersion(name, version string) (*Pod, error) { function buildPodVersionURI (line 272) | func buildPodVersionURI(name string) string { function buildPodURI (line 276) | func buildPodURI(path string) string { FILE: pod_container.go type PodContainer (line 20) | type PodContainer struct method SetName (line 73) | func (p *PodContainer) SetName(name string) *PodContainer { method SetCommand (line 79) | func (p *PodContainer) SetCommand(name string) *PodContainer { method CPUs (line 89) | func (p *PodContainer) CPUs(cpu float64) *PodContainer { method Memory (line 95) | func (p *PodContainer) Memory(memory float64) *PodContainer { method Storage (line 101) | func (p *PodContainer) Storage(disk float64) *PodContainer { method GPUs (line 107) | func (p *PodContainer) GPUs(gpu int32) *PodContainer { method AddEndpoint (line 113) | func (p *PodContainer) AddEndpoint(endpoint *PodEndpoint) *PodContainer { method SetImage (line 119) | func (p *PodContainer) SetImage(image *PodContainerImage) *PodContainer { method EmptyEnvs (line 125) | func (p *PodContainer) EmptyEnvs() *PodContainer { method AddEnv (line 131) | func (p *PodContainer) AddEnv(name, value string) *PodContainer { method ExtendEnv (line 140) | func (p *PodContainer) ExtendEnv(env map[string]string) *PodContainer { method AddSecret (line 151) | func (p *PodContainer) AddSecret(name, secretName string) *PodContainer { method SetUser (line 160) | func (p *PodContainer) SetUser(user string) *PodContainer { method SetHealthCheck (line 166) | func (p *PodContainer) SetHealthCheck(healthcheck *PodHealthCheck) *Po... method AddVolumeMount (line 172) | func (p *PodContainer) AddVolumeMount(mount *PodVolumeMount) *PodConta... method AddArtifact (line 178) | func (p *PodContainer) AddArtifact(artifact *PodArtifact) *PodContainer { method AddLabel (line 184) | func (p *PodContainer) AddLabel(key, value string) *PodContainer { method SetLifecycle (line 190) | func (p *PodContainer) SetLifecycle(lifecycle PodLifecycle) *PodContai... type PodLifecycle (line 37) | type PodLifecycle struct type PodCommand (line 42) | type PodCommand struct type PodExec (line 47) | type PodExec struct type PodArtifact (line 52) | type PodArtifact struct function NewPodContainer (line 61) | func NewPodContainer() *PodContainer { FILE: pod_container_image.go type ImageType (line 20) | type ImageType constant ImageTypeDocker (line 24) | ImageTypeDocker ImageType = "DOCKER" constant ImageTypeAppC (line 27) | ImageTypeAppC ImageType = "APPC" type PodContainerImage (line 31) | type PodContainerImage struct method SetKind (line 44) | func (i *PodContainerImage) SetKind(typ ImageType) *PodContainerImage { method SetID (line 50) | func (i *PodContainerImage) SetID(id string) *PodContainerImage { method SetPullConfig (line 56) | func (i *PodContainerImage) SetPullConfig(pullConfig *PullConfig) *Pod... function NewPodContainerImage (line 39) | func NewPodContainerImage() *PodContainerImage { function NewDockerPodContainerImage (line 63) | func NewDockerPodContainerImage() *PodContainerImage { FILE: pod_container_marshalling.go type PodContainerAlias (line 25) | type PodContainerAlias method UnmarshalJSON (line 30) | func (p *PodContainer) UnmarshalJSON(b []byte) error { method MarshalJSON (line 73) | func (p *PodContainer) MarshalJSON() ([]byte, error) { FILE: pod_instance.go type PodInstance (line 25) | type PodInstance struct type PodInstanceStateHistory (line 35) | type PodInstanceStateHistory struct type PodInstanceID (line 42) | type PodInstanceID struct type PodAgentInfo (line 47) | type PodAgentInfo struct type PodTask (line 54) | type PodTask struct type PodTaskStatus (line 61) | type PodTaskStatus struct type PodTaskCondition (line 70) | type PodTaskCondition struct type PodNetworkInfo (line 75) | type PodNetworkInfo struct method DeletePodInstances (line 82) | func (r *marathonClient) DeletePodInstances(name string, instances []str... method DeletePodInstance (line 93) | func (r *marathonClient) DeletePodInstance(name, instance string) (*PodI... function buildPodInstancesURI (line 103) | func buildPodInstancesURI(path string) string { FILE: pod_instance_status.go type PodInstanceState (line 20) | type PodInstanceState constant PodInstanceStatePending (line 24) | PodInstanceStatePending PodInstanceState = "PENDING" constant PodInstanceStateStaging (line 27) | PodInstanceStateStaging PodInstanceState = "STAGING" constant PodInstanceStateStable (line 30) | PodInstanceStateStable PodInstanceState = "STABLE" constant PodInstanceStateDegraded (line 33) | PodInstanceStateDegraded PodInstanceState = "DEGRADED" constant PodInstanceStateTerminal (line 36) | PodInstanceStateTerminal PodInstanceState = "TERMINAL" type PodInstanceStatus (line 40) | type PodInstanceStatus struct type PodNetworkStatus (line 56) | type PodNetworkStatus struct type StatusCondition (line 62) | type StatusCondition struct type ContainerStatus (line 71) | type ContainerStatus struct type ContainerTerminationState (line 86) | type ContainerTerminationState struct FILE: pod_instance_test.go constant fakePodInstanceName (line 26) | fakePodInstanceName = "fake-pod.instance-dc6cfe60-6812-11e7-a18e-70b3d58... function TestDeletePodInstance (line 28) | func TestDeletePodInstance(t *testing.T) { function TestDeletePodInstances (line 37) | func TestDeletePodInstances(t *testing.T) { FILE: pod_marshalling.go type PodAlias (line 25) | type PodAlias method UnmarshalJSON (line 30) | func (p *Pod) UnmarshalJSON(b []byte) error { method MarshalJSON (line 74) | func (p *Pod) MarshalJSON() ([]byte, error) { FILE: pod_marshalling_test.go function TestPodEnvironmentVariableUnmarshal (line 28) | func TestPodEnvironmentVariableUnmarshal(t *testing.T) { function TestPodMalformedPayloadUnmarshal (line 48) | func TestPodMalformedPayloadUnmarshal(t *testing.T) { function TestPodEnvironmentVariableMarshal (line 86) | func TestPodEnvironmentVariableMarshal(t *testing.T) { function TestPodContainerArtifactBoolMarshal (line 104) | func TestPodContainerArtifactBoolMarshal(t *testing.T) { FILE: pod_scheduling.go type PodBackoff (line 20) | type PodBackoff struct method SetBackoff (line 90) | func (p *PodBackoff) SetBackoff(backoffSeconds float64) *PodBackoff { method SetBackoffFactor (line 96) | func (p *PodBackoff) SetBackoffFactor(backoffFactor float64) *PodBacko... method SetMaxLaunchDelay (line 102) | func (p *PodBackoff) SetMaxLaunchDelay(maxLaunchDelaySeconds float64) ... type PodUpgrade (line 27) | type PodUpgrade struct method SetMinimumHealthCapacity (line 108) | func (p *PodUpgrade) SetMinimumHealthCapacity(capacity float64) *PodUp... method SetMaximumOverCapacity (line 114) | func (p *PodUpgrade) SetMaximumOverCapacity(capacity float64) *PodUpgr... type PodPlacement (line 33) | type PodPlacement struct method AddConstraint (line 64) | func (p *PodPlacement) AddConstraint(constraint Constraint) *PodPlacem... type PodSchedulingPolicy (line 39) | type PodSchedulingPolicy struct method SetBackoff (line 120) | func (p *PodSchedulingPolicy) SetBackoff(backoff *PodBackoff) *PodSche... method SetUpgrade (line 126) | func (p *PodSchedulingPolicy) SetUpgrade(upgrade *PodUpgrade) *PodSche... method SetPlacement (line 132) | func (p *PodSchedulingPolicy) SetPlacement(placement *PodPlacement) *P... method SetKillSelection (line 138) | func (p *PodSchedulingPolicy) SetKillSelection(killSelection string) *... method SetUnreachableStrategy (line 144) | func (p *PodSchedulingPolicy) SetUnreachableStrategy(strategy EnabledU... method SetUnreachableStrategyDisabled (line 152) | func (p *PodSchedulingPolicy) SetUnreachableStrategyDisabled() *PodSch... type Constraint (line 48) | type Constraint struct function NewPodPlacement (line 55) | func NewPodPlacement() *PodPlacement { function NewPodSchedulingPolicy (line 73) | func NewPodSchedulingPolicy() *PodSchedulingPolicy { function NewPodBackoff (line 80) | func NewPodBackoff() *PodBackoff { function NewPodUpgrade (line 85) | func NewPodUpgrade() *PodUpgrade { FILE: pod_status.go type PodState (line 25) | type PodState constant PodStateDegraded (line 29) | PodStateDegraded PodState = "DEGRADED" constant PodStateStable (line 32) | PodStateStable PodState = "STABLE" constant PodStateTerminal (line 35) | PodStateTerminal PodState = "TERMINAL" type PodStatus (line 39) | type PodStatus struct type PodTerminationHistory (line 52) | type PodTerminationHistory struct type ContainerTerminationHistory (line 61) | type ContainerTerminationHistory struct method PodStatus (line 68) | func (r *marathonClient) PodStatus(name string) (*PodStatus, error) { method PodStatuses (line 79) | func (r *marathonClient) PodStatuses() ([]*PodStatus, error) { method WaitOnPod (line 90) | func (r *marathonClient) WaitOnPod(name string, timeout time.Duration) e... method PodIsRunning (line 95) | func (r *marathonClient) PodIsRunning(name string) bool { function buildPodStatusURI (line 106) | func buildPodStatusURI(path string) string { FILE: pod_status_test.go function TestGetPodStatus (line 27) | func TestGetPodStatus(t *testing.T) { function TestGetAllPodStatus (line 39) | func TestGetAllPodStatus(t *testing.T) { function TestWaitOnPod (line 48) | func TestWaitOnPod(t *testing.T) { function TestPodIsRunning (line 56) | func TestPodIsRunning(t *testing.T) { FILE: pod_test.go constant key (line 26) | key = "testKey" constant val (line 27) | val = "testValue" constant fakePodName (line 29) | fakePodName = "/fake-pod" constant secondFakePodName (line 30) | secondFakePodName = "/fake-pod2" function TestPodLabels (line 32) | func TestPodLabels(t *testing.T) { function TestPodEnvironmentVars (line 43) | func TestPodEnvironmentVars(t *testing.T) { function TestSecrets (line 59) | func TestSecrets(t *testing.T) { function TestSupportsPod (line 75) | func TestSupportsPod(t *testing.T) { function TestGetPod (line 91) | func TestGetPod(t *testing.T) { function TestGetAllPods (line 102) | func TestGetAllPods(t *testing.T) { function TestCreatePod (line 114) | func TestCreatePod(t *testing.T) { function TestUpdatePod (line 126) | func TestUpdatePod(t *testing.T) { function TestDeletePod (line 143) | func TestDeletePod(t *testing.T) { function TestVersions (line 155) | func TestVersions(t *testing.T) { function TestGetPodByVersion (line 164) | func TestGetPodByVersion(t *testing.T) { function TestAddPodImagePullConfig (line 173) | func TestAddPodImagePullConfig(t *testing.T) { FILE: port_definition.go type PortDefinition (line 22) | type PortDefinition struct method SetPort (line 30) | func (p *PortDefinition) SetPort(port int) *PortDefinition { method EmptyPort (line 39) | func (p *PortDefinition) EmptyPort() *PortDefinition { method SetProtocol (line 47) | func (p *PortDefinition) SetProtocol(protocol string) *PortDefinition { method SetName (line 54) | func (p *PortDefinition) SetName(name string) *PortDefinition { method AddLabel (line 62) | func (p *PortDefinition) AddLabel(name, value string) *PortDefinition { method EmptyLabels (line 74) | func (p *PortDefinition) EmptyLabels() *PortDefinition { FILE: queue.go type Queue (line 24) | type Queue struct type Item (line 29) | type Item struct type Delay (line 41) | type Delay struct type ProcessedOffersSummary (line 47) | type ProcessedOffersSummary struct type DeclinedOfferStep (line 57) | type DeclinedOfferStep struct type UnusedOffer (line 64) | type UnusedOffer struct method Queue (line 71) | func (r *marathonClient) Queue() (*Queue, error) { method DeleteQueueDelay (line 82) | func (r *marathonClient) DeleteQueueDelay(appID string) error { FILE: queue_test.go function TestQueue (line 25) | func TestQueue(t *testing.T) { function TestDeleteQueueDelay (line 41) | func TestDeleteQueueDelay(t *testing.T) { FILE: readiness.go type ReadinessCheck (line 22) | type ReadinessCheck struct method SetName (line 34) | func (rc *ReadinessCheck) SetName(name string) *ReadinessCheck { method SetProtocol (line 40) | func (rc *ReadinessCheck) SetProtocol(proto string) *ReadinessCheck { method SetPath (line 46) | func (rc *ReadinessCheck) SetPath(p string) *ReadinessCheck { method SetPortName (line 52) | func (rc *ReadinessCheck) SetPortName(name string) *ReadinessCheck { method SetInterval (line 58) | func (rc *ReadinessCheck) SetInterval(interval time.Duration) *Readine... method SetTimeout (line 65) | func (rc *ReadinessCheck) SetTimeout(timeout time.Duration) *Readiness... method SetHTTPStatusCodesForReady (line 73) | func (rc *ReadinessCheck) SetHTTPStatusCodesForReady(codes []int) *Rea... method SetPreserveLastResponse (line 80) | func (rc *ReadinessCheck) SetPreserveLastResponse(preserve bool) *Read... type ReadinessLastResponse (line 87) | type ReadinessLastResponse struct type ReadinessCheckResult (line 94) | type ReadinessCheckResult struct FILE: readiness_test.go function TestReadinessCheck (line 26) | func TestReadinessCheck(t *testing.T) { FILE: residency.go type TaskLostBehaviorType (line 22) | type TaskLostBehaviorType constant TaskLostBehaviorTypeWaitForever (line 26) | TaskLostBehaviorTypeWaitForever TaskLostBehaviorType = "WAIT_FOREVER" constant TaskLostBehaviorTypeRelaunchAfterTimeout (line 29) | TaskLostBehaviorTypeRelaunchAfterTimeout TaskLostBehaviorType = "RELAUNC... type Residency (line 33) | type Residency struct method SetTaskLostBehavior (line 39) | func (r *Residency) SetTaskLostBehavior(behavior TaskLostBehaviorType)... method SetRelaunchEscalationTimeout (line 45) | func (r *Residency) SetRelaunchEscalationTimeout(timeout time.Duration... FILE: residency_test.go function TestResidency (line 26) | func TestResidency(t *testing.T) { FILE: resources.go type ExecutorResources (line 20) | type ExecutorResources struct type Resources (line 27) | type Resources struct function NewResources (line 35) | func NewResources() *Resources { FILE: subscription.go type Subscriptions (line 33) | type Subscriptions struct method Subscriptions (line 38) | func (r *marathonClient) Subscriptions() (*Subscriptions, error) { method AddEventsListener (line 49) | func (r *marathonClient) AddEventsListener(filter int) (EventsChannel, e... method RemoveEventsListener (line 70) | func (r *marathonClient) RemoveEventsListener(channel EventsChannel) { method SubscriptionURL (line 92) | func (r *marathonClient) SubscriptionURL() string { method registerSubscription (line 101) | func (r *marathonClient) registerSubscription() error { method registerCallbackSubscription (line 112) | func (r *marathonClient) registerCallbackSubscription() error { method registerSSESubscription (line 169) | func (r *marathonClient) registerSSESubscription() error { method connectToSSE (line 202) | func (r *marathonClient) connectToSSE() (*eventsource.Stream, error) { method listenToSSE (line 235) | func (r *marathonClient) listenToSSE(stream *eventsource.Stream) error { method Subscribe (line 251) | func (r *marathonClient) Subscribe(callback string) error { method Unsubscribe (line 259) | func (r *marathonClient) Unsubscribe(callback string) error { method HasSubscription (line 266) | func (r *marathonClient) HasSubscription(callback string) (bool, error) { method handleEvent (line 282) | func (r *marathonClient) handleEvent(content string) error { method handleCallbackEvent (line 324) | func (r *marathonClient) handleCallbackEvent(writer http.ResponseWriter,... FILE: subscription_test.go constant eventPublishTimeout (line 30) | eventPublishTimeout time.Duration = 250 * time.Millisecond constant SSEConnectWaitTime (line 31) | SSEConnectWaitTime time.Duration = 250 * time.Millisecond type testCaseList (line 34) | type testCaseList method find (line 36) | func (l testCaseList) find(name string) *testCase { type testCase (line 45) | type testCase struct function TestSubscriptions (line 274) | func TestSubscriptions(t *testing.T) { function TestSubscribe (line 285) | func TestSubscribe(t *testing.T) { function TestUnsubscribe (line 293) | func TestUnsubscribe(t *testing.T) { function TestSSEWithGlobalTimeout (line 301) | func TestSSEWithGlobalTimeout(t *testing.T) { function TestEventStreamEventsReceived (line 317) | func TestEventStreamEventsReceived(t *testing.T) { function TestConnectToSSESuccess (line 377) | func TestConnectToSSESuccess(t *testing.T) { function TestConnectToSSEFailure (line 398) | func TestConnectToSSEFailure(t *testing.T) { function TestRegisterSEESubscriptionReconnectsStreamOnError (line 415) | func TestRegisterSEESubscriptionReconnectsStreamOnError(t *testing.T) { FILE: task.go type Tasks (line 25) | type Tasks struct type Task (line 30) | type Task struct method HasHealthCheckResults (line 76) | func (r *Task) HasHealthCheckResults() bool { method allHealthChecksAlive (line 216) | func (r *Task) allHealthChecksAlive() bool { type IPAddress (line 46) | type IPAddress struct type AllTasksOpts (line 54) | type AllTasksOpts struct type KillApplicationTasksOpts (line 61) | type KillApplicationTasksOpts struct type KillTaskOpts (line 69) | type KillTaskOpts struct method AllTasks (line 82) | func (r *marathonClient) AllTasks(opts *AllTasksOpts) (*Tasks, error) { method Tasks (line 98) | func (r *marathonClient) Tasks(id string) (*Tasks, error) { method KillApplicationTasks (line 110) | func (r *marathonClient) KillApplicationTasks(id string, opts *KillAppli... method KillTask (line 128) | func (r *marathonClient) KillTask(taskID string, opts *KillTaskOpts) (*T... method KillTasks (line 153) | func (r *marathonClient) KillTasks(tasks []string, opts *KillTaskOpts) e... method TaskEndpoints (line 180) | func (r *marathonClient) TaskEndpoints(name string, port int, healthChec... FILE: task_test.go function TestHasHealthCheckResults (line 25) | func TestHasHealthCheckResults(t *testing.T) { function TestAllTasks (line 32) | func TestAllTasks(t *testing.T) { function TestTasks (line 49) | func TestTasks(t *testing.T) { function TestKillApplicationTasks (line 60) | func TestKillApplicationTasks(t *testing.T) { function TestKillTask (line 69) | func TestKillTask(t *testing.T) { function TestKillTasks (line 88) | func TestKillTasks(t *testing.T) { function TestTaskEndpoints (line 96) | func TestTaskEndpoints(t *testing.T) { FILE: testing_utils_test.go constant fakeMarathonURL (line 35) | fakeMarathonURL = "http://127.0.0.1:3000,127.0.0.1:3000,127.0.0.... constant fakeMarathonURLWithPath (line 36) | fakeMarathonURLWithPath = "http://127.0.0.1:3000/path,127.0.0.1:3000/pat... constant fakeGroupName (line 37) | fakeGroupName = "/test" constant fakeGroupName1 (line 38) | fakeGroupName1 = "/qa/product/1" constant fakeAppName (line 39) | fakeAppName = "/fake-app" constant fakeTaskID (line 40) | fakeTaskID = "fake-app.fake-task" constant fakeAppNameBroken (line 41) | fakeAppNameBroken = "/fake-app-broken" constant fakeDeploymentID (line 42) | fakeDeploymentID = "867ed450-f6a8-4d33-9b0e-e11c5513990b" constant fakeAppNameUnhealthy (line 43) | fakeAppNameUnhealthy = "/no-health-check-results-app" type indexedResponse (line 51) | type indexedResponse struct type responseIndices (line 57) | type responseIndices struct function newResponseIndices (line 62) | func newResponseIndices() *responseIndices { type restMethod (line 67) | type restMethod struct type serverConfig (line 83) | type serverConfig struct type configContainer (line 96) | type configContainer struct type fakeServer (line 101) | type fakeServer struct method PublishEvent (line 320) | func (s *fakeServer) PublishEvent(event string) { method Close (line 324) | func (s *fakeServer) Close() { type endpoint (line 109) | type endpoint struct method Close (line 329) | func (e *endpoint) Close() { type fakeEvent (line 117) | type fakeEvent struct method Id (line 308) | func (t fakeEvent) Id() string { method Event (line 312) | func (t fakeEvent) Event() string { method Data (line 316) | func (t fakeEvent) Data() string { function getTestURL (line 121) | func getTestURL(urlString string) string { function newFakeMarathonEndpoint (line 129) | func newFakeMarathonEndpoint(t *testing.T, configs *configContainer) *en... function basicAuthMiddleware (line 203) | func basicAuthMiddleware(server *serverConfig, next http.HandlerFunc) fu... function authMiddleware (line 227) | func authMiddleware(server *serverConfig, next http.HandlerFunc) func(ht... function initFakeMarathonResponses (line 266) | func initFakeMarathonResponses(t *testing.T) { function fakeResponseMapKey (line 304) | func fakeResponseMapKey(method, uri, scope string) string { FILE: unreachable_strategy.go constant UnreachableStrategyAbsenceReasonDisabled (line 25) | UnreachableStrategyAbsenceReasonDisabled = "disabled" type UnreachableStrategy (line 28) | type UnreachableStrategy struct method UnmarshalJSON (line 44) | func (us *UnreachableStrategy) UnmarshalJSON(b []byte) error { method MarshalJSON (line 60) | func (us *UnreachableStrategy) MarshalJSON() ([]byte, error) { method SetInactiveAfterSeconds (line 69) | func (us *UnreachableStrategy) SetInactiveAfterSeconds(cap float64) *U... method SetExpungeAfterSeconds (line 75) | func (us *UnreachableStrategy) SetExpungeAfterSeconds(cap float64) *Un... type EnabledUnreachableStrategy (line 34) | type EnabledUnreachableStrategy struct type unreachableStrategy (line 39) | type unreachableStrategy FILE: unreachable_strategy_test.go function TestUnreachableStrategyAPI (line 27) | func TestUnreachableStrategyAPI(t *testing.T) { function TestUnreachableStrategyUnmarshalEnabled (line 44) | func TestUnreachableStrategyUnmarshalEnabled(t *testing.T) { function TestUnreachableStrategyUnmarshalNonEnabled (line 70) | func TestUnreachableStrategyUnmarshalNonEnabled(t *testing.T) { function TestUnreachableStrategyUnmarshalIllegal (line 90) | func TestUnreachableStrategyUnmarshalIllegal(t *testing.T) { function TestUnreachableStrategyMarshal (line 96) | func TestUnreachableStrategyMarshal(t *testing.T) { function float64p (line 131) | func float64p(f float64) *float64 { FILE: upgrade_strategy.go type UpgradeStrategy (line 20) | type UpgradeStrategy struct method SetMinimumHealthCapacity (line 26) | func (us *UpgradeStrategy) SetMinimumHealthCapacity(cap float64) *Upgr... method SetMaximumOverCapacity (line 32) | func (us *UpgradeStrategy) SetMaximumOverCapacity(cap float64) *Upgrad... FILE: utils.go type atomicSwitch (line 32) | type atomicSwitch method IsSwitched (line 34) | func (r *atomicSwitch) IsSwitched() bool { method SwitchOn (line 38) | func (r *atomicSwitch) SwitchOn() { method SwitchedOff (line 42) | func (r *atomicSwitch) SwitchedOff() { function validateID (line 46) | func validateID(id string) string { function trimRootPath (line 53) | func trimRootPath(id string) string { function deadline (line 60) | func deadline(timeout time.Duration, work func(chan bool) error) error { function getInterfaceAddress (line 80) | func getInterfaceAddress(name string) (string, error) { function contains (line 102) | func contains(elements []string, value string) bool { function parseIPAddr (line 111) | func parseIPAddr(addr net.Addr) string { function addOptions (line 117) | func addOptions(s string, opt interface{}) (string, error) { function Bool (line 138) | func Bool(b bool) *bool { FILE: utils_test.go type stubAddr (line 27) | type stubAddr struct method Network (line 31) | func (sa stubAddr) Network() string { method String (line 35) | func (sa stubAddr) String() string { function TestUtilsAtomicIsSwitched (line 39) | func TestUtilsAtomicIsSwitched(t *testing.T) { function TestUtilsAtomicIsSwitchedOff (line 46) | func TestUtilsAtomicIsSwitchedOff(t *testing.T) { function TestUtilsDeadline (line 55) | func TestUtilsDeadline(t *testing.T) { function TestUtilsContains (line 71) | func TestUtilsContains(t *testing.T) { function TestUtilsValidateID (line 77) | func TestUtilsValidateID(t *testing.T) { function TestUtilsGetInterfaceAddress (line 84) | func TestUtilsGetInterfaceAddress(t *testing.T) { function TestUtilsTrimRootPath (line 104) | func TestUtilsTrimRootPath(t *testing.T) { function TestParseIPAddr (line 111) | func TestParseIPAddr(t *testing.T) { FILE: volume.go type PodVolume (line 20) | type PodVolume struct method SetPersistentVolume (line 59) | func (pv *PodVolume) SetPersistentVolume(p *PersistentVolume) *PodVolu... type PodVolumeMount (line 28) | type PodVolumeMount struct function NewPodVolume (line 35) | func NewPodVolume(name, path string) *PodVolume { function NewPodVolumeSecret (line 43) | func NewPodVolumeSecret(name, secretPath string) *PodVolume { function NewPodVolumeMount (line 51) | func NewPodVolumeMount(name, mount string) *PodVolumeMount {