Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageData ¶
type ImageData struct { Config struct { Hostname string `json:"Hostname"` Domainname string `json:"Domainname"` User string `json:"User"` AttachStdin bool `json:"AttachStdin"` AttachStdout bool `json:"AttachStdout"` AttachStderr bool `json:"AttachStderr"` ExposedPorts struct{} `json:"ExposedPorts"` Tty bool `json:"Tty"` OpenStdin bool `json:"OpenStdin"` StdinOnce bool `json:"StdinOnce"` Env []string `json:"Env"` Cmd []string `json:"Cmd"` Image string `json:"Image"` Volumes struct{} `json:"Volumes"` WorkingDir string `json:"WorkingDir"` Entrypoint []string `json:"Entrypoint"` OnBuild []string `json:"OnBuild"` } `json:"Config"` RootFS struct { Type string `json:"Type"` Layers []string `json:"Layers"` DiffIDs []string `json:"DiffIDs"` } `json:"RootFS"` Architecture string `json:"Architecture"` Os string `json:"Os"` }
ImageData represents Docker image metadata.
type ImageSync ¶
type ImageSync struct {
// contains filtered or unexported fields
}
ImageSync handles Docker image synchronization operations.
func NewImageSync ¶
NewImageSync creates a new ImageSync instance with the provided configuration and SSH runner.
func (*ImageSync) CompareImages ¶
CompareImages checks if the image needs to be synced by comparing local and remote versions.
Click to show internal directories.
Click to hide internal directories.