lib: libcontainer references are linux only
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
cdc468afa8
commit
ef6aa87c75
5 changed files with 126 additions and 107 deletions
|
@ -2,7 +2,11 @@
|
|||
|
||||
package lib
|
||||
|
||||
import "github.com/kubernetes-incubator/cri-o/lib/sandbox"
|
||||
import (
|
||||
"github.com/kubernetes-incubator/cri-o/lib/sandbox"
|
||||
"github.com/kubernetes-incubator/cri-o/oci"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
func (c *ContainerServer) addSandboxPlatform(sb *sandbox.Sandbox) {
|
||||
// nothin' doin'
|
||||
|
@ -11,3 +15,8 @@ func (c *ContainerServer) addSandboxPlatform(sb *sandbox.Sandbox) {
|
|||
func (c *ContainerServer) removeSandboxPlatform(sb *sandbox.Sandbox) {
|
||||
// nothin' doin'
|
||||
}
|
||||
|
||||
func (c *ContainerServer) getContainerStats(ctr *oci.Container, previousStats *ContainerStats) (*ContainerStats, error) {
|
||||
// nothin' doin'
|
||||
return nil, errors.New("container stats not supported")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue