Show / Hide Table of Contents

Class KubernetesList<T>

Inheritance
object
KubernetesList<T>
Implements
IMetadata<V1ListMeta>
IItems<T>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: k8s.Models
Assembly: KubernetesClient.dll
Syntax
public class KubernetesList<T> : IMetadata<V1ListMeta>, IItems<T> where T : IKubernetesObject
Type Parameters
Name Description
T

Constructors

View Source

KubernetesList(IList<T>, string, string, V1ListMeta)

Declaration
public KubernetesList(IList<T> items, string apiVersion = null, string kind = null, V1ListMeta metadata = null)
Parameters
Type Name Description
IList<T> items
string apiVersion
string kind
V1ListMeta metadata

Properties

View Source

ApiVersion

Gets or sets aPIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources

Declaration
[JsonPropertyName("apiVersion")]
public string ApiVersion { get; set; }
Property Value
Type Description
string
View Source

Items

Gets or sets list of objects. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md

Declaration
[JsonPropertyName("items")]
public IList<T> Items { get; set; }
Property Value
Type Description
IList<T>
View Source

Kind

Gets or sets kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds

Declaration
[JsonPropertyName("kind")]
public string Kind { get; set; }
Property Value
Type Description
string
View Source

Metadata

Gets or sets standard object's metadata.

Declaration
[JsonPropertyName("metadata")]
public V1ListMeta Metadata { get; set; }
Property Value
Type Description
V1ListMeta

Implements

IMetadata<T>
IItems<T>

Extension Methods

ItemsExt.GetEnumerator<T>(IItems<T>)
ModelExtensions.Continue(IMetadata<V1ListMeta>)
ModelExtensions.EnsureMetadata(IMetadata<V1ListMeta>)
ModelExtensions.ResourceVersion(IMetadata<V1ListMeta>)
  • View Source
In this article
Back to top Generated by DocFX