Documentation ¶
Index ¶
- type Apt
- func (a *Apt) AddKeys() error
- func (a *Apt) AddRepos() error
- func (a *Apt) Clean() error
- func (a *Apt) DownloadAll() error
- func (a *Apt) HasClean() bool
- func (a *Apt) HasKeys() bool
- func (a *Apt) HasRepos() bool
- func (a *Apt) InstallAll() error
- func (a *Apt) Setup() error
- func (a *Apt) Update() error
- type Command
- type Repository
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apt ¶
type Apt struct { TruncateSources bool `yaml:"truncatesources,omitempty"` CleanCache bool `yaml:"cleancache,omitempty"` Keys []string `yaml:"keys"` GpgAdvancedOptions []string `yaml:"gpg_advanced_options"` Repos []Repository `yaml:"repos"` Packages []string `yaml:"packages"` // contains filtered or unexported fields }
func New ¶
func New(command Command, aptFile, rootDir, cacheDir, installDir string, logger *libbuildpack.Logger) *Apt
func (*Apt) DownloadAll ¶ added in v0.1.5
func (*Apt) InstallAll ¶ added in v0.1.5
type Repository ¶ added in v0.1.3
func (*Repository) UnmarshalYAML ¶ added in v0.1.3
func (r *Repository) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.