Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NydusRefSuffix = "_nydus_v2"
Functions ¶
func AppendNydusSuffix ¶
AppendNydusSuffix appends nydus suffix to the image `ref` and return nydus image.
func HasNydusSuffix ¶
HasNydusSuffix checks weather if the image `ref` has `_nydus_v2` suffix.
Types ¶
type Distribution ¶
type Distribution struct {
// contains filtered or unexported fields
}
func New ¶
func New(username, password string) (*Distribution, error)
New creates Distribution by distribution username, password.
func (*Distribution) IsImageExists ¶
IsImageExists checks if the image `ref` is exists in distribution.
func (*Distribution) IsNydusImageExists ¶
IsNydusImageExists checks if the associated nydus image of `ref` is exists in distribution.
Click to show internal directories.
Click to hide internal directories.