Files
csharp/src/KubernetesClient/ISpec.cs
Boshi Lian 5be3cff425 Style fix final (#523)
* all net5

* var

* SA1310

* SA1310

* allow 1031

* SA1805

* fix SA1642

* remove unused code

* allow sa1405

* isempty

* fix CA1714

* fix CA1806

* remove always false if

* fix format

* fix CA1062

* allow SA0001

* fix CA1062

* allow ca1034 and temp allow ca1835

* fix 16XX doc related warnings

* elm SA16XX

* elm SA16XX

* fix CA2213

* revert to pass all test

* move unclear rule to ruleset

* follow up of moving ruleset

* remove this

* fix test flaky
2020-11-22 14:52:09 -08:00

17 lines
505 B
C#

namespace k8s
{
/// <summary>
/// Represents a Kubernetes object that has a spec
/// </summary>
/// <typeparam name="T">type of Kubernetes object</typeparam>
public interface ISpec<T>
{
/// <summary>
/// Gets or sets specification of the desired behavior of the entity. More
/// info:
/// https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
/// </summary>
T Spec { get; set; }
}
}