Documentation ¶
Index ¶
- func DecodeImagePull(r io.Reader) error
- type Reference
- func (m *Reference) Digest() digest.Digest
- func (m *Reference) HasDigest() bool
- func (m *Reference) HasName() bool
- func (m Reference) MarshalText() ([]byte, error)
- func (m *Reference) Name() string
- func (m *Reference) Named() reference.Named
- func (m *Reference) Parse(source string) error
- func (m *Reference) UnmarshalText(source []byte) error
- func (m *Reference) WithDigest(digest digest.Digest) (Reference, error)
- func (m *Reference) WithTag(tag string) (Reference, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeImagePull ¶
DecodeImagePull detects Error of an image pulling process by decoding reply from Docker Although Docker should reply with JSON Encoded items one per line, in different versions it could vary. This decoders can detect error even in mixed replies: {"Status": "OK"}\n{"Status": "OK"} {"Status": "OK"}{"Error": "error"}
Types ¶
type Reference ¶ added in v0.4.11
func NewReference ¶ added in v0.4.11
func (Reference) MarshalText ¶ added in v0.4.11
func (*Reference) UnmarshalText ¶ added in v0.4.11
func (*Reference) WithDigest ¶ added in v0.4.11
Click to show internal directories.
Click to hide internal directories.