Documentation ¶
Overview ¶
Package repository defines the operations on the remote instance linux software packages repository.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debian ¶
Debian is a repository manager implementation for Debian.
type RedhatPackageManager ¶
RedhatPackageManager is a repository manager implementation for Redhat, Centos.
func NewRPM ¶
func NewRPM(sshClient ssh.Interface) *RedhatPackageManager
NewRPM returns a new RedhatPackageManager.
func (*RedhatPackageManager) Add ¶
func (r *RedhatPackageManager) Add(path string) error
Add adds a local repository using the iso file.
func (*RedhatPackageManager) Install ¶
func (r *RedhatPackageManager) Install(pkg ...string) error
Install installs common packages.
func (*RedhatPackageManager) Update ¶
func (r *RedhatPackageManager) Update() error
Update updates the repository cache.
Click to show internal directories.
Click to hide internal directories.