Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
broken relative link fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
domluna committed Jan 26, 2015
1 parent fbe23b0 commit 1084146
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The resource name for Docker container information is as follows:

`/api/v1.2/docker/<Docker container name or blank for all Docker containers>`

The Docker name can be either the UUID or the short name of the container. It returns the information of the specified container(s). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](info/container.go)).
The Docker name can be either the UUID or the short name of the container. It returns the information of the specified container(s). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](../info/container.go)).

## Version 1.1

Expand All @@ -28,7 +28,7 @@ The resource name for subcontainer information is as follows:

`/api/v1.1/subcontainers/<absolute container name>`

Where the absolute container name follows the lmctfy naming convention (described bellow). It returns the information of the specified container and all subcontainers (recursively). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](info/container.go)).
Where the absolute container name follows the lmctfy naming convention (described bellow). It returns the information of the specified container and all subcontainers (recursively). The information is returned as a list of serialized `ContainerInfo` JSON objects (found in [info/container.go](../info/container.go)).

## Version 1.0

Expand Down Expand Up @@ -58,7 +58,7 @@ The container information is returned as a JSON object containing:
- Detailed resource usage statistics of the container for the last `N` seconds (`N` is globally configurable in cAdvisor)
- Histogram of resource usage from the creation of the container

The actual object is the marshalled JSON of the `ContainerInfo` struct found in [info/container.go](info/container.go)
The actual object is the marshalled JSON of the `ContainerInfo` struct found in [info/container.go](../info/container.go)

### Machine Information

Expand All @@ -75,4 +75,4 @@ This resource is read-only. The machine information is returned as a JSON object
- Network devices: mac addresses, MTU, and speed (if available)
- Machine topology: Nodes, cores, threads, per-node memory, and caches

The actual object is the marshalled JSON of the `MachineInfo` struct found in [info/machine.go](info/machine.go)
The actual object is the marshalled JSON of the `MachineInfo` struct found in [info/machine.go](../info/machine.go)
2 changes: 1 addition & 1 deletion docs/clients.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cAdvisor API Clients

There is an official Go client implementation in the [client](client/) directory. You can use it on your own Go project by including it like this:
There is an official Go client implementation in the [client](../client/) directory. You can use it on your own Go project by including it like this:

```go
import "github.com/google/cadvisor/client"
Expand Down

0 comments on commit 1084146

Please sign in to comment.