Class V1SeccompProfile
SeccompProfile defines a pod/container's seccomp profile settings. Only one
profile source may be set.
Inheritance
V1SeccompProfile
Assembly: KubernetesClient.dll
Syntax
public record V1SeccompProfile : IEquatable<V1SeccompProfile>
Constructors
View Source
V1SeccompProfile()
Declaration
public V1SeccompProfile()
View Source
V1SeccompProfile(V1SeccompProfile)
Declaration
protected V1SeccompProfile(V1SeccompProfile original)
Parameters
Properties
View Source
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
View Source
LocalhostProfile
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 be set if type is "Localhost". Must NOT be set for any other type.
Declaration
[JsonPropertyName("localhostProfile")]
public string LocalhostProfile { get; set; }
Property Value
View Source
Type
type indicates which kind of seccomp profile will be applied. Valid options are:
Localhost - a profile defined in a file on the node should be used.
RuntimeDefault - the container runtime default profile should be used.
Unconfined - no profile should be applied.
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Methods
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
Equals(V1SeccompProfile?)
Declaration
public virtual bool Equals(V1SeccompProfile? other)
Parameters
Returns
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(V1SeccompProfile?, V1SeccompProfile?)
Declaration
public static bool operator ==(V1SeccompProfile? left, V1SeccompProfile? right)
Parameters
Returns
View Source
operator !=(V1SeccompProfile?, V1SeccompProfile?)
Declaration
public static bool operator !=(V1SeccompProfile? left, V1SeccompProfile? right)
Parameters
Returns
Implements