load_unsupported.go 370 B

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