Documentation ¶
Overview ¶
Package operation define the remote instance operations interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary interface { File ID() string Arch() string Version() string URL() *url.URL SetURL(url string) SetHost(host string) SetPath(path string) SetZone(zone string) AppendChecksum(c checksum.Interface) Get(timeout time.Duration) error CompareChecksum() error }
Binary interface defines the operations for Kubernetes needed binaries which usually needed to be copied to remote.
type File ¶
type File interface { Name() string Type() file.Type LocalPath() string RemotePath() string LocalExist() bool RemoteExist() bool Copy(override bool) error Fetch(override bool) error Chmod(option string) error }
File interface defines the operations for normal file which needed to be copied to remote.
type Repository ¶
Repository interface defines the operations for remote instance Linux repository.
Directories ¶
Path | Synopsis |
---|---|
Package directory defines the operations on remote instance directory.
|
Package directory defines the operations on remote instance directory. |
Package file defines the operations on the binaries.
|
Package file defines the operations on the binaries. |
checksum
Package checksum implements methods for obtaining and verifying the checksum of binary files.
|
Package checksum implements methods for obtaining and verifying the checksum of binary files. |
Package repository defines the operations on the remote instance linux software packages repository.
|
Package repository defines the operations on the remote instance linux software packages repository. |
Package user defines the user operations on the remote instance.
|
Package user defines the user operations on the remote instance. |
Click to show internal directories.
Click to hide internal directories.