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< ? excludes, Input<String> >List< ? exclusivePackages, Input<String> >AptSettingsType> ? type}) -
Creates a new AptSettings.
excludesList of packages to exclude from update. These packages will be excludedexclusivePackagesAn 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.typeBy changing the type to DIST, the patching is performed usingapt-get dist-upgradeinstead.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-upgradeinstead.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