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
V1SeccompProfile()
Declaration
public V1SeccompProfile()
V1SeccompProfile(V1SeccompProfile)
Declaration
protected V1SeccompProfile(V1SeccompProfile original)
Parameters
Properties
EqualityContract
Declaration
protected virtual Type EqualityContract { get; }
Property Value
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
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
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
Equals(V1SeccompProfile?)
Declaration
public virtual bool Equals(V1SeccompProfile? other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
operator ==(V1SeccompProfile?, V1SeccompProfile?)
Declaration
public static bool operator ==(V1SeccompProfile? left, V1SeccompProfile? right)
Parameters
Returns
operator !=(V1SeccompProfile?, V1SeccompProfile?)
Declaration
public static bool operator !=(V1SeccompProfile? left, V1SeccompProfile? right)
Parameters
Returns
Implements