Skip to content

Commit 6a88f77

Browse files
committed
image/*/interface: Add unstable warnings to Engines
As called for during today's meeting [1]. The wording is from Brandon [2]. [1]: http://ircbot.wl.linuxfoundation.org/meetings/opencontainers/2016/opencontainers.2016-07-27-21.00.log.html#l-54 [2]: https://github.com/opencontainers/image-spec/pull/159/files/9f8a18eb1cb2a1cbccd6fe137d743dccc2142901#r72525379 Signed-off-by: W. Trevor King <[email protected]>
1 parent d65a766 commit 6a88f77

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

image/cas/interface.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ import (
2222
)
2323

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

2731
// Put adds a new blob to the store. The action is idempotent; a

image/refs/interface.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ import (
2525
type ListNameCallback func(ctx context.Context, name string) (err error)
2626

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

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

0 commit comments

Comments
 (0)