Skip to content

Commit

Permalink
image/*/interface: Add unstable warnings to Engines
Browse files Browse the repository at this point in the history
  • Loading branch information
wking committed Sep 2, 2016
1 parent 1696995 commit c92ec50
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions image/cas/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ import (
)

// Engine represents a content-addressable storage engine.
//
// This interface is for internal use of oci-image-tool for the time
// being. It is subject to change. This notice will be removed when
// and if the interface becomes stable.
type Engine interface {

// Put adds a new blob to the store. The action is idempotent; a
Expand Down
4 changes: 4 additions & 0 deletions image/refs/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ import (
type ListNameCallback func(ctx context.Context, name string) (err error)

// Engine represents a name-based reference storage engine.
//
// This interface is for internal use of oci-image-tool for the time
// being. It is subject to change. This notice will be removed when
// and if the interface becomes stable.
type Engine interface {

// Put adds a new reference to the store. The action is idempotent;
Expand Down

0 comments on commit c92ec50

Please sign in to comment.