SeccompProfile class
SeccompProfile defines a pod/container's seccomp profile settings. Only one profile source may be set.
Constructors
- SeccompProfile({String? localhostProfile, required String type})
-
Default constructor.
const
-
SeccompProfile.fromJson(Map<
String, dynamic> json) -
Creates a SeccompProfile from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- localhostProfile → String?
-
localhostProfile indicates a profile defined in a file on the node should be used. The profile must be preconfigured on the node to work. Must be a descending path, relative to the kubelet's configured seccomp profile location. Must only be set if type is "Localhost".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
type indicates which kind of seccomp profile will be applied. Valid options are:
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a SeccompProfile instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited