github.com/rhatdan/docker@v0.7.7-0.20180119204836-47a0dcbcd20a/api/server/router/distribution/backend.go (about)

     1  package distribution
     2  
     3  import (
     4  	"github.com/docker/distribution"
     5  	"github.com/docker/distribution/reference"
     6  	"github.com/docker/docker/api/types"
     7  	"golang.org/x/net/context"
     8  )
     9  
    10  // Backend is all the methods that need to be implemented
    11  // to provide image specific functionality.
    12  type Backend interface {
    13  	GetRepository(context.Context, reference.Named, *types.AuthConfig) (distribution.Repository, bool, error)
    14  }