Files
csharp/src/KubernetesClient/IMetadata.cs
Boshi Lian c08e23359a folder structure clean up (#1428)
* fix mv

* clean up classic
2023-10-11 21:27:49 +02:00

17 lines
575 B
C#

namespace k8s
{
/// <summary>
/// Kubernetes object that exposes metadata
/// </summary>
/// <typeparam name="T">Type of metadata exposed. Usually this will be either
/// <see cref="V1ListMeta"/> for lists or <see cref="V1ObjectMeta"/> for objects</typeparam>
public interface IMetadata<T>
{
/// <summary>
/// Gets or sets standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
/// </summary>
T Metadata { get; set; }
}
}