Documentation ¶
Index ¶
- type Config
- type Registry
- func (r *Registry) Debugf(str string, args ...interface{})
- func (r *Registry) DownloadImage(ipfsHash string) (string, error)
- func (r *Registry) PullImage(ipfsHash string) (string, error)
- func (r *Registry) PushImage(reader io.Reader, imageID string) (string, error)
- func (r *Registry) PushImageByID(imageID string) (string, error)
- func (r *Registry) TagToImageID(imageID string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry is the registry structure
func NewRegistry ¶
NewRegistry returns a new registry client instance
func (*Registry) DownloadImage ¶
DownloadImage downloads the Docker image from IPFS
func (*Registry) PushImageByID ¶
PushImageByID uploads Docker image by image ID, which is hash or repo tag, to IPFS
Click to show internal directories.
Click to hide internal directories.