diff options
Diffstat (limited to 'server/container_stats.go')
-rw-r--r-- | server/container_stats.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/container_stats.go b/server/container_stats.go new file mode 100644 index 000000000..22b87c453 --- /dev/null +++ b/server/container_stats.go @@ -0,0 +1,14 @@ +package server + +import ( + "fmt" + + "golang.org/x/net/context" + pb "k8s.io/kubernetes/pkg/kubelet/apis/cri/v1alpha1/runtime" +) + +// ContainerStats returns stats of the container. If the container does not +// exist, the call returns an error. +func (s *Server) ContainerStats(ctx context.Context, req *pb.ContainerStatsRequest) (*pb.ContainerStatsResponse, error) { + return nil, fmt.Errorf("not implemented") +} |