github.com/hms58/moby@v1.13.1/daemon/container_operations_windows.go (about)

     1  // +build windows
     2  
     3  package daemon
     4  
     5  import (
     6  	"github.com/docker/docker/container"
     7  	"github.com/docker/libnetwork"
     8  )
     9  
    10  func (daemon *Daemon) setupLinkedContainers(container *container.Container) ([]string, error) {
    11  	return nil, nil
    12  }
    13  
    14  // getSize returns real size & virtual size
    15  func (daemon *Daemon) getSize(container *container.Container) (int64, int64) {
    16  	// TODO Windows
    17  	return 0, 0
    18  }
    19  
    20  func (daemon *Daemon) setupIpcDirs(container *container.Container) error {
    21  	return nil
    22  }
    23  
    24  // TODO Windows: Fix Post-TP5. This is a hack to allow docker cp to work
    25  // against containers which have volumes. You will still be able to cp
    26  // to somewhere on the container drive, but not to any mounted volumes
    27  // inside the container. Without this fix, docker cp is broken to any
    28  // container which has a volume, regardless of where the file is inside the
    29  // container.
    30  func (daemon *Daemon) mountVolumes(container *container.Container) error {
    31  	return nil
    32  }
    33  
    34  func detachMounted(path string) error {
    35  	return nil
    36  }
    37  
    38  func killProcessDirectly(container *container.Container) error {
    39  	return nil
    40  }
    41  
    42  func isLinkable(child *container.Container) bool {
    43  	return false
    44  }
    45  
    46  func enableIPOnPredefinedNetwork() bool {
    47  	return true
    48  }
    49  
    50  func (daemon *Daemon) isNetworkHotPluggable() bool {
    51  	return false
    52  }
    53  
    54  func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
    55  	return nil
    56  }
    57  
    58  func initializeNetworkingPaths(container *container.Container, nc *container.Container) {
    59  }