github.com/tompao/docker@v1.9.1/graph/load_unsupported.go (about)

     1  // +build !linux,!windows
     2  
     3  package graph
     4  
     5  import (
     6  	"fmt"
     7  	"io"
     8  )
     9  
    10  // Load method is implemented here for non-linux and non-windows platforms and
    11  // may return an error indicating that image load is not supported on other platforms.
    12  func (s *TagStore) Load(inTar io.ReadCloser, outStream io.Writer) error {
    13  	return fmt.Errorf("Load is not supported on this platform")
    14  }