handlers

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2016 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 2 more Imports: 12 Imported by: 0

Documentation

Overview

Package handlers deals with the agent introspection api.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServeHttp

func ServeHttp(containerInstanceArn *string, taskEngine engine.TaskEngine, cfg *config.Config)

ServeHttp serves information about this agent / containerInstance and tasks running on it.

Types

type ContainerResponse

type ContainerResponse struct {
	DockerId   string
	DockerName string
	Name       string
}

type DockerStateResolver added in v1.8.0

type DockerStateResolver interface {
	State() *dockerstate.DockerTaskEngineState
}

type LoggingHandler

type LoggingHandler struct {
	// contains filtered or unexported fields
}

func (LoggingHandler) ServeHTTP

func (lh LoggingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

type MetadataResponse

type MetadataResponse struct {
	Cluster              string
	ContainerInstanceArn *string
	Version              string
}

type TaskResponse

type TaskResponse struct {
	Arn           string
	DesiredStatus string `json:",omitempty"`
	KnownStatus   string
	Family        string
	Version       string
	Containers    []ContainerResponse
}

type TasksResponse

type TasksResponse struct {
	Tasks []*TaskResponse
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL