Add a common IKubernetesObject interface, expose type metadata (#152)

* - Implement common interface across all Kubernetes elements
- Add ApiVersion, Kind and Group properties

* Add IKubernetesObject interface

* Regenerate code

* Fixup after rebase

* Fixes after rebase, make method names consistent
This commit is contained in:
Frederik Carlier
2018-05-03 07:04:47 +02:00
committed by Brendan Burns
parent 0f2832b86c
commit bf4a7040d4
8 changed files with 1203 additions and 45 deletions

View File

@@ -11,7 +11,7 @@ namespace k8s
/// and use the <see cref="ApiVersion"/> and <see cref="Kind"/> properties to get basic metadata about any Kubernetes object.
/// You can then
/// </remarks>
public class KubernetesObject
public class KubernetesObject : IKubernetesObject
{
/// <summary>
/// Gets or sets aPIVersion defines the versioned schema of this