Show / Hide Table of Contents

Class V1ManagedFieldsEntry

ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

Inheritance
object
V1ManagedFieldsEntry
Implements
IEquatable<V1ManagedFieldsEntry>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public record V1ManagedFieldsEntry : IEquatable<V1ManagedFieldsEntry>

Constructors

View Source

V1ManagedFieldsEntry()

Declaration
public V1ManagedFieldsEntry()
View Source

V1ManagedFieldsEntry(V1ManagedFieldsEntry)

Declaration
protected V1ManagedFieldsEntry(V1ManagedFieldsEntry original)
Parameters
Type Name Description
V1ManagedFieldsEntry original

Properties

View Source

ApiVersion

APIVersion defines the version of this resource that this field set applies to. The format is "group/version" just like the top-level APIVersion field. It is necessary to track the version of a field set because it cannot be automatically converted.

Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type Description
string
View Source

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description
Type
View Source

FieldsType

FieldsType is the discriminator for the different fields format and version. There is currently only one possible value: "FieldsV1"

Declaration
[JsonPropertyName("fieldsType")]
public string FieldsType { get; set; }
Property Value
Type Description
string
View Source

FieldsV1

FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.

Declaration
[JsonPropertyName("fieldsV1")]
public object FieldsV1 { get; set; }
Property Value
Type Description
object
View Source

Manager

Manager is an identifier of the workflow managing these fields.

Declaration
[JsonPropertyName("manager")]
public string Manager { get; set; }
Property Value
Type Description
string
View Source

Operation

Operation is the type of operation which lead to this ManagedFieldsEntry being created. The only valid values for this field are 'Apply' and 'Update'.

Declaration
[JsonPropertyName("operation")]
public string Operation { get; set; }
Property Value
Type Description
string
View Source

Subresource

Subresource is the name of the subresource used to update that object, or empty string if the object was updated through the main resource. The value of this field is used to distinguish between managers, even if they share the same name. For example, a status update will be distinct from a regular update using the same manager name. Note that the APIVersion field is not related to the Subresource field and it always corresponds to the version of the main resource.

Declaration
[JsonPropertyName("subresource")]
public string Subresource { get; set; }
Property Value
Type Description
string
View Source

Time

Time is the timestamp of when the ManagedFields entry was added. The timestamp will also be updated if a field is added, the manager changes any of the owned fields value or removes a field. The timestamp does not update when a field is removed from the entry because another manager took it over.

Declaration
[JsonPropertyName("time")]
public DateTime? Time { get; set; }
Property Value
Type Description
DateTime?

Methods

View Source

Equals(object?)

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj
Returns
Type Description
bool
Overrides
object.Equals(object)
View Source

Equals(V1ManagedFieldsEntry?)

Declaration
public virtual bool Equals(V1ManagedFieldsEntry? other)
Parameters
Type Name Description
V1ManagedFieldsEntry other
Returns
Type Description
bool
View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
int
Overrides
object.GetHashCode()
View Source

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description
StringBuilder builder
Returns
Type Description
bool
View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Operators

View Source

operator ==(V1ManagedFieldsEntry?, V1ManagedFieldsEntry?)

Declaration
public static bool operator ==(V1ManagedFieldsEntry? left, V1ManagedFieldsEntry? right)
Parameters
Type Name Description
V1ManagedFieldsEntry left
V1ManagedFieldsEntry right
Returns
Type Description
bool
View Source

operator !=(V1ManagedFieldsEntry?, V1ManagedFieldsEntry?)

Declaration
public static bool operator !=(V1ManagedFieldsEntry? left, V1ManagedFieldsEntry? right)
Parameters
Type Name Description
V1ManagedFieldsEntry left
V1ManagedFieldsEntry right
Returns
Type Description
bool

Implements

IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX