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:
committed by
Brendan Burns
parent
0f2832b86c
commit
bf4a7040d4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user