AptSettings class

Apt patching is completed by executing apt-get update && apt-get upgrade. Additional options can be set to control how this is executed.

Constructors

AptSettings({Input<List<String>>? excludes, Input<List<String>>? exclusivePackages, Input<AptSettingsType>? type})
Creates a new AptSettings. excludes List of packages to exclude from update. These packages will be excluded exclusivePackages An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields. type By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
const
AptSettings.fromMap(Map<String, dynamic> map)
factory

Properties

excludes → Input<List<String>>?
List of packages to exclude from update. These packages will be excluded
final
exclusivePackages → Input<List<String>>?
An exclusive list of packages to be updated. These are the only packages that will be updated. If these packages are not installed, they will be ignored. This field cannot be specified with any other patch configuration fields.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Input<AptSettingsType>?
By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited