-
-
Notifications
You must be signed in to change notification settings - Fork 56
/
CacheComparisonResult.cs
37 lines (35 loc) · 1021 Bytes
/
CacheComparisonResult.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
namespace KubeOps.Operator.Caching
{
/// <summary>
/// Result for the <see cref="ResourceCache{TEntity}.Upsert"/> when comparison is done.
/// </summary>
internal enum CacheComparisonResult
{
/// <summary>
/// <para>
/// The resource is either:
/// <list type="bullet">
/// <item>
/// <term>New to the cache</term>
/// </item>
/// <item>
/// <term>Modified</term>
/// </item>
/// <item>
/// <term>Not Modified</term>
/// </item>
/// </list>
/// </para>
/// <para>But not status or finalizer modified. This is used to reconcile objects.</para>
/// </summary>
Other,
/// <summary>
/// The resource has changed, but only the "status" of it.
/// </summary>
StatusModified,
/// <summary>
/// The resource has changed, but only the "finalizers" list.
/// </summary>
FinalizersModified,
}
}