Skip to content

Commit 15f1be9

Browse files
authored
Metadata interfaces need to be public (#11)
1 parent af97970 commit 15f1be9

File tree

3 files changed

+23
-3
lines changed

3 files changed

+23
-3
lines changed

src/K8sOperator.NET/Metadata/IDescripptionMetadata.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@
22

33
namespace K8sOperator.NET.Metadata;
44

5-
internal interface IDescriptionMetadata
5+
/// <summary>
6+
/// Represents metadata that includes a description.
7+
/// </summary>
8+
public interface IDescriptionMetadata
69
{
10+
/// <summary>
11+
/// Gets the description associated with the metadata.
12+
/// </summary>
713
string Description { get; }
814
}
915

src/K8sOperator.NET/Metadata/IEntityScopeMetadata.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,15 @@
22
using K8sOperator.NET.Helpers;
33

44
namespace K8sOperator.NET.Metadata;
5-
internal interface IEntityScopeMetadata
5+
6+
/// <summary>
7+
/// Represents metadata that includes the scope of an entity in Kubernetes.
8+
/// </summary>
9+
public interface IEntityScopeMetadata
610
{
11+
/// <summary>
12+
/// Gets the scope of the entity, indicating whether it is namespaced or cluster-wide.
13+
/// </summary>
714
EntityScope Scope { get; }
815
}
916

src/K8sOperator.NET/Metadata/IFinalizerMetadata.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
using K8sOperator.NET.Helpers;
22

33
namespace K8sOperator.NET.Metadata;
4-
internal interface IFinalizerMetadata
4+
5+
/// <summary>
6+
/// Represents metadata for a Kubernetes finalizer.
7+
/// </summary>
8+
public interface IFinalizerMetadata
59
{
10+
/// <summary>
11+
/// Gets the name of the finalizer.
12+
/// </summary>
613
string Name { get; }
714
}
815

0 commit comments

Comments
 (0)