update generated client base on v1.8.4 with enable intstr quantity

This commit is contained in:
Boshi Lian
2017-11-24 12:10:51 +08:00
parent 2fdf22b6ad
commit b102bc63bd
452 changed files with 90923 additions and 28504 deletions

View File

@@ -1,3 +1,3 @@
export KUBERNETES_BRANCH=master export KUBERNETES_BRANCH=v1.8.4
export CLIENT_VERSION=0.0.1 export CLIENT_VERSION=0.0.1
export PACKAGE_NAME=k8s export PACKAGE_NAME=k8s

1246
src/generated/IKubernetes.cs Executable file → Normal file

File diff suppressed because it is too large Load Diff

9189
src/generated/Kubernetes.cs Executable file → Normal file

File diff suppressed because it is too large Load Diff

2714
src/generated/KubernetesExtensions.cs Executable file → Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,117 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// DaemonSetList is a collection of daemon sets.
/// </summary>
public partial class Apiextensionsv1beta1DaemonSetList
{
/// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1DaemonSetList
/// class.
/// </summary>
public Apiextensionsv1beta1DaemonSetList()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1DaemonSetList
/// class.
/// </summary>
/// <param name="items">A list of daemon sets.</param>
/// <param name="apiVersion">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/api-conventions.md#resources</param>
/// <param name="kind">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/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Apiextensionsv1beta1DaemonSetList(IList<Apiextensionsv1beta1DaemonSet> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{
ApiVersion = apiVersion;
Items = items;
Kind = kind;
Metadata = metadata;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// 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/api-conventions.md#resources
/// </summary>
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
/// <summary>
/// Gets or sets a list of daemon sets.
/// </summary>
[JsonProperty(PropertyName = "items")]
public IList<Apiextensionsv1beta1DaemonSet> Items { get; set; }
/// <summary>
/// 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/api-conventions.md#types-kinds
/// </summary>
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
/// <summary>
/// Gets or sets standard list metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
/// </summary>
[JsonProperty(PropertyName = "metadata")]
public V1ListMeta Metadata { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (Items == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "Items");
}
if (Items != null)
{
foreach (var element in Items)
{
if (element != null)
{
element.Validate();
}
}
}
}
}
}

View File

@@ -1,161 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// DaemonSetStatus represents the current status of a daemon set.
/// </summary>
public partial class Apiextensionsv1beta1DaemonSetStatus
{
/// <summary>
/// Initializes a new instance of the
/// Apiextensionsv1beta1DaemonSetStatus class.
/// </summary>
public Apiextensionsv1beta1DaemonSetStatus()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the
/// Apiextensionsv1beta1DaemonSetStatus class.
/// </summary>
/// <param name="currentNumberScheduled">The number of nodes that are
/// running at least 1 daemon pod and are supposed to run the daemon
/// pod. More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/</param>
/// <param name="desiredNumberScheduled">The total number of nodes that
/// should be running the daemon pod (including nodes correctly running
/// the daemon pod). More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/</param>
/// <param name="numberMisscheduled">The number of nodes that are
/// running the daemon pod, but are not supposed to run the daemon pod.
/// More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/</param>
/// <param name="numberReady">The number of nodes that should be
/// running the daemon pod and have one or more of the daemon pod
/// running and ready.</param>
/// <param name="collisionCount">Count of hash collisions for the
/// DaemonSet. The DaemonSet controller uses this field as a collision
/// avoidance mechanism when it needs to create the name for the newest
/// ControllerRevision.</param>
/// <param name="numberAvailable">The number of nodes that should be
/// running the daemon pod and have one or more of the daemon pod
/// running and available (ready for at least
/// spec.minReadySeconds)</param>
/// <param name="numberUnavailable">The number of nodes that should be
/// running the daemon pod and have none of the daemon pod running and
/// available (ready for at least spec.minReadySeconds)</param>
/// <param name="observedGeneration">The most recent generation
/// observed by the daemon set controller.</param>
/// <param name="updatedNumberScheduled">The total number of nodes that
/// are running updated daemon pod</param>
public Apiextensionsv1beta1DaemonSetStatus(int currentNumberScheduled, int desiredNumberScheduled, int numberMisscheduled, int numberReady, int? collisionCount = default(int?), int? numberAvailable = default(int?), int? numberUnavailable = default(int?), long? observedGeneration = default(long?), int? updatedNumberScheduled = default(int?))
{
CollisionCount = collisionCount;
CurrentNumberScheduled = currentNumberScheduled;
DesiredNumberScheduled = desiredNumberScheduled;
NumberAvailable = numberAvailable;
NumberMisscheduled = numberMisscheduled;
NumberReady = numberReady;
NumberUnavailable = numberUnavailable;
ObservedGeneration = observedGeneration;
UpdatedNumberScheduled = updatedNumberScheduled;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets count of hash collisions for the DaemonSet. The
/// DaemonSet controller uses this field as a collision avoidance
/// mechanism when it needs to create the name for the newest
/// ControllerRevision.
/// </summary>
[JsonProperty(PropertyName = "collisionCount")]
public int? CollisionCount { get; set; }
/// <summary>
/// Gets or sets the number of nodes that are running at least 1 daemon
/// pod and are supposed to run the daemon pod. More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
/// </summary>
[JsonProperty(PropertyName = "currentNumberScheduled")]
public int CurrentNumberScheduled { get; set; }
/// <summary>
/// Gets or sets the total number of nodes that should be running the
/// daemon pod (including nodes correctly running the daemon pod). More
/// info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
/// </summary>
[JsonProperty(PropertyName = "desiredNumberScheduled")]
public int DesiredNumberScheduled { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have one or more of the daemon pod running and available
/// (ready for at least spec.minReadySeconds)
/// </summary>
[JsonProperty(PropertyName = "numberAvailable")]
public int? NumberAvailable { get; set; }
/// <summary>
/// Gets or sets the number of nodes that are running the daemon pod,
/// but are not supposed to run the daemon pod. More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
/// </summary>
[JsonProperty(PropertyName = "numberMisscheduled")]
public int NumberMisscheduled { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have one or more of the daemon pod running and ready.
/// </summary>
[JsonProperty(PropertyName = "numberReady")]
public int NumberReady { get; set; }
/// <summary>
/// Gets or sets the number of nodes that should be running the daemon
/// pod and have none of the daemon pod running and available (ready
/// for at least spec.minReadySeconds)
/// </summary>
[JsonProperty(PropertyName = "numberUnavailable")]
public int? NumberUnavailable { get; set; }
/// <summary>
/// Gets or sets the most recent generation observed by the daemon set
/// controller.
/// </summary>
[JsonProperty(PropertyName = "observedGeneration")]
public long? ObservedGeneration { get; set; }
/// <summary>
/// Gets or sets the total number of nodes that are running updated
/// daemon pod
/// </summary>
[JsonProperty(PropertyName = "updatedNumberScheduled")]
public int? UpdatedNumberScheduled { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
//Nothing to validate
}
}
}

View File

@@ -1,75 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// Spec to control the desired behavior of daemon set rolling update.
/// </summary>
public partial class Apiextensionsv1beta1RollingUpdateDaemonSet
{
/// <summary>
/// Initializes a new instance of the
/// Apiextensionsv1beta1RollingUpdateDaemonSet class.
/// </summary>
public Apiextensionsv1beta1RollingUpdateDaemonSet()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the
/// Apiextensionsv1beta1RollingUpdateDaemonSet class.
/// </summary>
/// <param name="maxUnavailable">The maximum number of DaemonSet pods
/// that can be unavailable during the update. Value can be an absolute
/// number (ex: 5) or a percentage of total number of DaemonSet pods at
/// the start of the update (ex: 10%). Absolute number is calculated
/// from percentage by rounding up. This cannot be 0. Default value is
/// 1. Example: when this is set to 30%, at most 30% of the total
/// number of nodes that should be running the daemon pod (i.e.
/// status.desiredNumberScheduled) can have their pods stopped for an
/// update at any given time. The update starts by stopping at most 30%
/// of those DaemonSet pods and then brings up new DaemonSet pods in
/// their place. Once the new pods are available, it then proceeds onto
/// other DaemonSet pods, thus ensuring that at least 70% of original
/// number of DaemonSet pods are available at all times during the
/// update.</param>
public Apiextensionsv1beta1RollingUpdateDaemonSet(IntOrString maxUnavailable = default(IntOrString))
{
MaxUnavailable = maxUnavailable;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the maximum number of DaemonSet pods that can be
/// unavailable during the update. Value can be an absolute number (ex:
/// 5) or a percentage of total number of DaemonSet pods at the start
/// of the update (ex: 10%). Absolute number is calculated from
/// percentage by rounding up. This cannot be 0. Default value is 1.
/// Example: when this is set to 30%, at most 30% of the total number
/// of nodes that should be running the daemon pod (i.e.
/// status.desiredNumberScheduled) can have their pods stopped for an
/// update at any given time. The update starts by stopping at most 30%
/// of those DaemonSet pods and then brings up new DaemonSet pods in
/// their place. Once the new pods are available, it then proceeds onto
/// other DaemonSet pods, thus ensuring that at least 70% of original
/// number of DaemonSet pods are available at all times during the
/// update.
/// </summary>
[JsonProperty(PropertyName = "maxUnavailable")]
public IntOrString MaxUnavailable { get; set; }
}
}

View File

@@ -14,18 +14,18 @@ namespace k8s.Models
/// apps/v1beta2/Deployment. See the release notes for more information. /// apps/v1beta2/Deployment. See the release notes for more information.
/// Deployment enables declarative updates for Pods and ReplicaSets. /// Deployment enables declarative updates for Pods and ReplicaSets.
/// </summary> /// </summary>
public partial class Apiappsv1beta1Deployment public partial class Appsv1beta1Deployment
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1Deployment class. /// Initializes a new instance of the Appsv1beta1Deployment class.
/// </summary> /// </summary>
public Apiappsv1beta1Deployment() public Appsv1beta1Deployment()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1Deployment class. /// Initializes a new instance of the Appsv1beta1Deployment class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
/// this representation of an object. Servers should convert recognized /// this representation of an object. Servers should convert recognized
@@ -42,7 +42,7 @@ namespace k8s.Models
/// Deployment.</param> /// Deployment.</param>
/// <param name="status">Most recently observed status of the /// <param name="status">Most recently observed status of the
/// Deployment.</param> /// Deployment.</param>
public Apiappsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Apiappsv1beta1DeploymentSpec spec = default(Apiappsv1beta1DeploymentSpec), Apiappsv1beta1DeploymentStatus status = default(Apiappsv1beta1DeploymentStatus)) public Appsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Appsv1beta1DeploymentSpec spec = default(Appsv1beta1DeploymentSpec), Appsv1beta1DeploymentStatus status = default(Appsv1beta1DeploymentStatus))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -88,13 +88,13 @@ namespace k8s.Models
/// Deployment. /// Deployment.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "spec")] [JsonProperty(PropertyName = "spec")]
public Apiappsv1beta1DeploymentSpec Spec { get; set; } public Appsv1beta1DeploymentSpec Spec { get; set; }
/// <summary> /// <summary>
/// Gets or sets most recently observed status of the Deployment. /// Gets or sets most recently observed status of the Deployment.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "status")] [JsonProperty(PropertyName = "status")]
public Apiappsv1beta1DeploymentStatus Status { get; set; } public Appsv1beta1DeploymentStatus Status { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -14,19 +14,19 @@ namespace k8s.Models
/// DeploymentCondition describes the state of a deployment at a certain /// DeploymentCondition describes the state of a deployment at a certain
/// point. /// point.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentCondition public partial class Appsv1beta1DeploymentCondition
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentCondition /// Initializes a new instance of the Appsv1beta1DeploymentCondition
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentCondition() public Appsv1beta1DeploymentCondition()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentCondition /// Initializes a new instance of the Appsv1beta1DeploymentCondition
/// class. /// class.
/// </summary> /// </summary>
/// <param name="status">Status of the condition, one of True, False, /// <param name="status">Status of the condition, one of True, False,
@@ -40,7 +40,7 @@ namespace k8s.Models
/// about the transition.</param> /// about the transition.</param>
/// <param name="reason">The reason for the condition's last /// <param name="reason">The reason for the condition's last
/// transition.</param> /// transition.</param>
public Apiappsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string)) public Appsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string))
{ {
LastTransitionTime = lastTransitionTime; LastTransitionTime = lastTransitionTime;
LastUpdateTime = lastUpdateTime; LastUpdateTime = lastUpdateTime;

View File

@@ -15,20 +15,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// DeploymentList is a list of Deployments. /// DeploymentList is a list of Deployments.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentList public partial class Appsv1beta1DeploymentList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Appsv1beta1DeploymentList class.
/// Apiextensionsv1beta1DeploymentList class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentList() public Appsv1beta1DeploymentList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Appsv1beta1DeploymentList class.
/// Apiextensionsv1beta1DeploymentList class.
/// </summary> /// </summary>
/// <param name="items">Items is the list of Deployments.</param> /// <param name="items">Items is the list of Deployments.</param>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -42,7 +40,7 @@ namespace k8s.Models
/// CamelCase. More info: /// CamelCase. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata.</param> /// <param name="metadata">Standard list metadata.</param>
public Apiextensionsv1beta1DeploymentList(IList<Apiextensionsv1beta1Deployment> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public Appsv1beta1DeploymentList(IList<Appsv1beta1Deployment> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -70,7 +68,7 @@ namespace k8s.Models
/// Gets or sets items is the list of Deployments. /// Gets or sets items is the list of Deployments.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Apiextensionsv1beta1Deployment> Items { get; set; } public IList<Appsv1beta1Deployment> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -16,19 +16,19 @@ namespace k8s.Models
/// DEPRECATED. DeploymentRollback stores the information required to /// DEPRECATED. DeploymentRollback stores the information required to
/// rollback a deployment. /// rollback a deployment.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentRollback public partial class Appsv1beta1DeploymentRollback
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentRollback /// Initializes a new instance of the Appsv1beta1DeploymentRollback
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentRollback() public Appsv1beta1DeploymentRollback()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentRollback /// Initializes a new instance of the Appsv1beta1DeploymentRollback
/// class. /// class.
/// </summary> /// </summary>
/// <param name="name">Required: This must match the Name of a /// <param name="name">Required: This must match the Name of a
@@ -47,7 +47,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="updatedAnnotations">The annotations to be updated to a /// <param name="updatedAnnotations">The annotations to be updated to a
/// deployment</param> /// deployment</param>
public Apiappsv1beta1DeploymentRollback(string name, Apiappsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary<string, string> updatedAnnotations = default(IDictionary<string, string>)) public Appsv1beta1DeploymentRollback(string name, Appsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary<string, string> updatedAnnotations = default(IDictionary<string, string>))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -92,7 +92,7 @@ namespace k8s.Models
/// Gets or sets the config of this deployment rollback. /// Gets or sets the config of this deployment rollback.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollbackTo")] [JsonProperty(PropertyName = "rollbackTo")]
public Apiappsv1beta1RollbackConfig RollbackTo { get; set; } public Appsv1beta1RollbackConfig RollbackTo { get; set; }
/// <summary> /// <summary>
/// Gets or sets the annotations to be updated to a deployment /// Gets or sets the annotations to be updated to a deployment

View File

@@ -14,20 +14,18 @@ namespace k8s.Models
/// DeploymentSpec is the specification of the desired behavior of the /// DeploymentSpec is the specification of the desired behavior of the
/// Deployment. /// Deployment.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentSpec public partial class Appsv1beta1DeploymentSpec
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentSpec /// Initializes a new instance of the Appsv1beta1DeploymentSpec class.
/// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentSpec() public Appsv1beta1DeploymentSpec()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentSpec /// Initializes a new instance of the Appsv1beta1DeploymentSpec class.
/// class.
/// </summary> /// </summary>
/// <param name="template">Template describes the pods that will be /// <param name="template">Template describes the pods that will be
/// created.</param> /// created.</param>
@@ -57,7 +55,7 @@ namespace k8s.Models
/// affected by this deployment.</param> /// affected by this deployment.</param>
/// <param name="strategy">The deployment strategy to use to replace /// <param name="strategy">The deployment strategy to use to replace
/// existing pods with new ones.</param> /// existing pods with new ones.</param>
public Apiappsv1beta1DeploymentSpec(Corev1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Apiappsv1beta1RollbackConfig rollbackTo = default(Apiappsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Apiappsv1beta1DeploymentStrategy strategy = default(Apiappsv1beta1DeploymentStrategy)) public Appsv1beta1DeploymentSpec(V1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Appsv1beta1RollbackConfig rollbackTo = default(Appsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Appsv1beta1DeploymentStrategy strategy = default(Appsv1beta1DeploymentStrategy))
{ {
MinReadySeconds = minReadySeconds; MinReadySeconds = minReadySeconds;
Paused = paused; Paused = paused;
@@ -122,7 +120,7 @@ namespace k8s.Models
/// to. Will be cleared after rollback is done. /// to. Will be cleared after rollback is done.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollbackTo")] [JsonProperty(PropertyName = "rollbackTo")]
public Apiappsv1beta1RollbackConfig RollbackTo { get; set; } public Appsv1beta1RollbackConfig RollbackTo { get; set; }
/// <summary> /// <summary>
/// Gets or sets label selector for pods. Existing ReplicaSets whose /// Gets or sets label selector for pods. Existing ReplicaSets whose
@@ -137,13 +135,13 @@ namespace k8s.Models
/// pods with new ones. /// pods with new ones.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "strategy")] [JsonProperty(PropertyName = "strategy")]
public Apiappsv1beta1DeploymentStrategy Strategy { get; set; } public Appsv1beta1DeploymentStrategy Strategy { get; set; }
/// <summary> /// <summary>
/// Gets or sets template describes the pods that will be created. /// Gets or sets template describes the pods that will be created.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "template")] [JsonProperty(PropertyName = "template")]
public Corev1PodTemplateSpec Template { get; set; } public V1PodTemplateSpec Template { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -15,19 +15,19 @@ namespace k8s.Models
/// DeploymentStatus is the most recently observed status of the /// DeploymentStatus is the most recently observed status of the
/// Deployment. /// Deployment.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentStatus public partial class Appsv1beta1DeploymentStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentStatus /// Initializes a new instance of the Appsv1beta1DeploymentStatus
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentStatus() public Appsv1beta1DeploymentStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentStatus /// Initializes a new instance of the Appsv1beta1DeploymentStatus
/// class. /// class.
/// </summary> /// </summary>
/// <param name="availableReplicas">Total number of available pods /// <param name="availableReplicas">Total number of available pods
@@ -53,7 +53,7 @@ namespace k8s.Models
/// <param name="updatedReplicas">Total number of non-terminated pods /// <param name="updatedReplicas">Total number of non-terminated pods
/// targeted by this deployment that have the desired template /// targeted by this deployment that have the desired template
/// spec.</param> /// spec.</param>
public Apiappsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList<Apiappsv1beta1DeploymentCondition> conditions = default(IList<Apiappsv1beta1DeploymentCondition>), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?)) public Appsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList<Appsv1beta1DeploymentCondition> conditions = default(IList<Appsv1beta1DeploymentCondition>), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?))
{ {
AvailableReplicas = availableReplicas; AvailableReplicas = availableReplicas;
CollisionCount = collisionCount; CollisionCount = collisionCount;
@@ -92,7 +92,7 @@ namespace k8s.Models
/// deployment's current state. /// deployment's current state.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "conditions")] [JsonProperty(PropertyName = "conditions")]
public IList<Apiappsv1beta1DeploymentCondition> Conditions { get; set; } public IList<Appsv1beta1DeploymentCondition> Conditions { get; set; }
/// <summary> /// <summary>
/// Gets or sets the generation observed by the deployment controller. /// Gets or sets the generation observed by the deployment controller.

View File

@@ -13,26 +13,26 @@ namespace k8s.Models
/// DeploymentStrategy describes how to replace existing pods with new /// DeploymentStrategy describes how to replace existing pods with new
/// ones. /// ones.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentStrategy public partial class Appsv1beta1DeploymentStrategy
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentStrategy /// Initializes a new instance of the Appsv1beta1DeploymentStrategy
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentStrategy() public Appsv1beta1DeploymentStrategy()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentStrategy /// Initializes a new instance of the Appsv1beta1DeploymentStrategy
/// class. /// class.
/// </summary> /// </summary>
/// <param name="rollingUpdate">Rolling update config params. Present /// <param name="rollingUpdate">Rolling update config params. Present
/// only if DeploymentStrategyType = RollingUpdate.</param> /// only if DeploymentStrategyType = RollingUpdate.</param>
/// <param name="type">Type of deployment. Can be "Recreate" or /// <param name="type">Type of deployment. Can be "Recreate" or
/// "RollingUpdate". Default is RollingUpdate.</param> /// "RollingUpdate". Default is RollingUpdate.</param>
public Apiappsv1beta1DeploymentStrategy(Apiappsv1beta1RollingUpdateDeployment rollingUpdate = default(Apiappsv1beta1RollingUpdateDeployment), string type = default(string)) public Appsv1beta1DeploymentStrategy(Appsv1beta1RollingUpdateDeployment rollingUpdate = default(Appsv1beta1RollingUpdateDeployment), string type = default(string))
{ {
RollingUpdate = rollingUpdate; RollingUpdate = rollingUpdate;
Type = type; Type = type;
@@ -49,7 +49,7 @@ namespace k8s.Models
/// DeploymentStrategyType = RollingUpdate. /// DeploymentStrategyType = RollingUpdate.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollingUpdate")] [JsonProperty(PropertyName = "rollingUpdate")]
public Apiappsv1beta1RollingUpdateDeployment RollingUpdate { get; set; } public Appsv1beta1RollingUpdateDeployment RollingUpdate { get; set; }
/// <summary> /// <summary>
/// Gets or sets type of deployment. Can be "Recreate" or /// Gets or sets type of deployment. Can be "Recreate" or

View File

@@ -12,24 +12,22 @@ namespace k8s.Models
/// <summary> /// <summary>
/// DEPRECATED. /// DEPRECATED.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1RollbackConfig public partial class Appsv1beta1RollbackConfig
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Appsv1beta1RollbackConfig class.
/// Apiextensionsv1beta1RollbackConfig class.
/// </summary> /// </summary>
public Apiextensionsv1beta1RollbackConfig() public Appsv1beta1RollbackConfig()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Appsv1beta1RollbackConfig class.
/// Apiextensionsv1beta1RollbackConfig class.
/// </summary> /// </summary>
/// <param name="revision">The revision to rollback to. If set to 0, /// <param name="revision">The revision to rollback to. If set to 0,
/// rollback to the last revision.</param> /// rollback to the last revision.</param>
public Apiextensionsv1beta1RollbackConfig(long? revision = default(long?)) public Appsv1beta1RollbackConfig(long? revision = default(long?))
{ {
Revision = revision; Revision = revision;
CustomInit(); CustomInit();

View File

@@ -12,20 +12,20 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Spec to control the desired behavior of rolling update. /// Spec to control the desired behavior of rolling update.
/// </summary> /// </summary>
public partial class Apiappsv1beta1RollingUpdateDeployment public partial class Appsv1beta1RollingUpdateDeployment
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiappsv1beta1RollingUpdateDeployment class. /// Appsv1beta1RollingUpdateDeployment class.
/// </summary> /// </summary>
public Apiappsv1beta1RollingUpdateDeployment() public Appsv1beta1RollingUpdateDeployment()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiappsv1beta1RollingUpdateDeployment class. /// Appsv1beta1RollingUpdateDeployment class.
/// </summary> /// </summary>
/// <param name="maxSurge">The maximum number of pods that can be /// <param name="maxSurge">The maximum number of pods that can be
/// scheduled above the desired number of pods. Value can be an /// scheduled above the desired number of pods. Value can be an
@@ -48,7 +48,7 @@ namespace k8s.Models
/// be scaled down further, followed by scaling up the new RC, ensuring /// be scaled down further, followed by scaling up the new RC, ensuring
/// that the total number of pods available at all times during the /// that the total number of pods available at all times during the
/// update is at least 70% of desired pods.</param> /// update is at least 70% of desired pods.</param>
public Apiappsv1beta1RollingUpdateDeployment(IntOrString maxSurge = default(IntOrString), IntOrString maxUnavailable = default(IntOrString)) public Appsv1beta1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString))
{ {
MaxSurge = maxSurge; MaxSurge = maxSurge;
MaxUnavailable = maxUnavailable; MaxUnavailable = maxUnavailable;
@@ -74,7 +74,7 @@ namespace k8s.Models
/// pods. /// pods.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "maxSurge")] [JsonProperty(PropertyName = "maxSurge")]
public IntOrString MaxSurge { get; set; } public IntstrIntOrString MaxSurge { get; set; }
/// <summary> /// <summary>
/// Gets or sets the maximum number of pods that can be unavailable /// Gets or sets the maximum number of pods that can be unavailable
@@ -89,7 +89,7 @@ namespace k8s.Models
/// update is at least 70% of desired pods. /// update is at least 70% of desired pods.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "maxUnavailable")] [JsonProperty(PropertyName = "maxUnavailable")]
public IntOrString MaxUnavailable { get; set; } public IntstrIntOrString MaxUnavailable { get; set; }
} }
} }

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Scale represents a scaling request for a resource. /// Scale represents a scaling request for a resource.
/// </summary> /// </summary>
public partial class Apiappsv1beta1Scale public partial class Appsv1beta1Scale
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1Scale class. /// Initializes a new instance of the Appsv1beta1Scale class.
/// </summary> /// </summary>
public Apiappsv1beta1Scale() public Appsv1beta1Scale()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1Scale class. /// Initializes a new instance of the Appsv1beta1Scale class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
/// this representation of an object. Servers should convert recognized /// this representation of an object. Servers should convert recognized
@@ -42,7 +42,7 @@ namespace k8s.Models
/// <param name="status">current status of the scale. More info: /// <param name="status">current status of the scale. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
/// Read-only.</param> /// Read-only.</param>
public Apiappsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Apiappsv1beta1ScaleSpec spec = default(Apiappsv1beta1ScaleSpec), Apiappsv1beta1ScaleStatus status = default(Apiappsv1beta1ScaleStatus)) public Appsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Appsv1beta1ScaleSpec spec = default(Appsv1beta1ScaleSpec), Appsv1beta1ScaleStatus status = default(Appsv1beta1ScaleStatus))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -89,7 +89,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "spec")] [JsonProperty(PropertyName = "spec")]
public Apiappsv1beta1ScaleSpec Spec { get; set; } public Appsv1beta1ScaleSpec Spec { get; set; }
/// <summary> /// <summary>
/// Gets or sets current status of the scale. More info: /// Gets or sets current status of the scale. More info:
@@ -97,7 +97,7 @@ namespace k8s.Models
/// Read-only. /// Read-only.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "status")] [JsonProperty(PropertyName = "status")]
public Apiappsv1beta1ScaleStatus Status { get; set; } public Appsv1beta1ScaleStatus Status { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -12,22 +12,22 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ScaleSpec describes the attributes of a scale subresource /// ScaleSpec describes the attributes of a scale subresource
/// </summary> /// </summary>
public partial class Apiappsv1beta1ScaleSpec public partial class Appsv1beta1ScaleSpec
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1ScaleSpec class. /// Initializes a new instance of the Appsv1beta1ScaleSpec class.
/// </summary> /// </summary>
public Apiappsv1beta1ScaleSpec() public Appsv1beta1ScaleSpec()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1ScaleSpec class. /// Initializes a new instance of the Appsv1beta1ScaleSpec class.
/// </summary> /// </summary>
/// <param name="replicas">desired number of instances for the scaled /// <param name="replicas">desired number of instances for the scaled
/// object.</param> /// object.</param>
public Apiappsv1beta1ScaleSpec(int? replicas = default(int?)) public Appsv1beta1ScaleSpec(int? replicas = default(int?))
{ {
Replicas = replicas; Replicas = replicas;
CustomInit(); CustomInit();

View File

@@ -14,18 +14,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ScaleStatus represents the current status of a scale subresource. /// ScaleStatus represents the current status of a scale subresource.
/// </summary> /// </summary>
public partial class Apiappsv1beta1ScaleStatus public partial class Appsv1beta1ScaleStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1ScaleStatus class. /// Initializes a new instance of the Appsv1beta1ScaleStatus class.
/// </summary> /// </summary>
public Apiappsv1beta1ScaleStatus() public Appsv1beta1ScaleStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1ScaleStatus class. /// Initializes a new instance of the Appsv1beta1ScaleStatus class.
/// </summary> /// </summary>
/// <param name="replicas">actual number of observed instances of the /// <param name="replicas">actual number of observed instances of the
/// scaled object.</param> /// scaled object.</param>
@@ -40,7 +40,7 @@ namespace k8s.Models
/// map-based selectors, both this field and map-based selector field /// map-based selectors, both this field and map-based selector field
/// are populated. More info: /// are populated. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors</param>
public Apiappsv1beta1ScaleStatus(int replicas, IDictionary<string, string> selector = default(IDictionary<string, string>), string targetSelector = default(string)) public Appsv1beta1ScaleStatus(int replicas, IDictionary<string, string> selector = default(IDictionary<string, string>), string targetSelector = default(string))
{ {
Replicas = replicas; Replicas = replicas;
Selector = selector; Selector = selector;

View File

@@ -14,19 +14,19 @@ namespace k8s.Models
/// apps/v1beta2/Deployment. See the release notes for more information. /// apps/v1beta2/Deployment. See the release notes for more information.
/// Deployment enables declarative updates for Pods and ReplicaSets. /// Deployment enables declarative updates for Pods and ReplicaSets.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1Deployment public partial class Extensionsv1beta1Deployment
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1Deployment /// Initializes a new instance of the Extensionsv1beta1Deployment
/// class. /// class.
/// </summary> /// </summary>
public Apiextensionsv1beta1Deployment() public Extensionsv1beta1Deployment()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1Deployment /// Initializes a new instance of the Extensionsv1beta1Deployment
/// class. /// class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -44,7 +44,7 @@ namespace k8s.Models
/// Deployment.</param> /// Deployment.</param>
/// <param name="status">Most recently observed status of the /// <param name="status">Most recently observed status of the
/// Deployment.</param> /// Deployment.</param>
public Apiextensionsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Apiextensionsv1beta1DeploymentSpec spec = default(Apiextensionsv1beta1DeploymentSpec), Apiextensionsv1beta1DeploymentStatus status = default(Apiextensionsv1beta1DeploymentStatus)) public Extensionsv1beta1Deployment(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1DeploymentSpec spec = default(Extensionsv1beta1DeploymentSpec), Extensionsv1beta1DeploymentStatus status = default(Extensionsv1beta1DeploymentStatus))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -90,13 +90,13 @@ namespace k8s.Models
/// Deployment. /// Deployment.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "spec")] [JsonProperty(PropertyName = "spec")]
public Apiextensionsv1beta1DeploymentSpec Spec { get; set; } public Extensionsv1beta1DeploymentSpec Spec { get; set; }
/// <summary> /// <summary>
/// Gets or sets most recently observed status of the Deployment. /// Gets or sets most recently observed status of the Deployment.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "status")] [JsonProperty(PropertyName = "status")]
public Apiextensionsv1beta1DeploymentStatus Status { get; set; } public Extensionsv1beta1DeploymentStatus Status { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -14,20 +14,20 @@ namespace k8s.Models
/// DeploymentCondition describes the state of a deployment at a certain /// DeploymentCondition describes the state of a deployment at a certain
/// point. /// point.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentCondition public partial class Extensionsv1beta1DeploymentCondition
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentCondition class. /// Extensionsv1beta1DeploymentCondition class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentCondition() public Extensionsv1beta1DeploymentCondition()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentCondition class. /// Extensionsv1beta1DeploymentCondition class.
/// </summary> /// </summary>
/// <param name="status">Status of the condition, one of True, False, /// <param name="status">Status of the condition, one of True, False,
/// Unknown.</param> /// Unknown.</param>
@@ -40,7 +40,7 @@ namespace k8s.Models
/// about the transition.</param> /// about the transition.</param>
/// <param name="reason">The reason for the condition's last /// <param name="reason">The reason for the condition's last
/// transition.</param> /// transition.</param>
public Apiextensionsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string)) public Extensionsv1beta1DeploymentCondition(string status, string type, System.DateTime? lastTransitionTime = default(System.DateTime?), System.DateTime? lastUpdateTime = default(System.DateTime?), string message = default(string), string reason = default(string))
{ {
LastTransitionTime = lastTransitionTime; LastTransitionTime = lastTransitionTime;
LastUpdateTime = lastUpdateTime; LastUpdateTime = lastUpdateTime;

View File

@@ -15,19 +15,19 @@ namespace k8s.Models
/// <summary> /// <summary>
/// DeploymentList is a list of Deployments. /// DeploymentList is a list of Deployments.
/// </summary> /// </summary>
public partial class Apiappsv1beta1DeploymentList public partial class Extensionsv1beta1DeploymentList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentList /// Initializes a new instance of the Extensionsv1beta1DeploymentList
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1DeploymentList() public Extensionsv1beta1DeploymentList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1DeploymentList /// Initializes a new instance of the Extensionsv1beta1DeploymentList
/// class. /// class.
/// </summary> /// </summary>
/// <param name="items">Items is the list of Deployments.</param> /// <param name="items">Items is the list of Deployments.</param>
@@ -42,7 +42,7 @@ namespace k8s.Models
/// CamelCase. More info: /// CamelCase. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata.</param> /// <param name="metadata">Standard list metadata.</param>
public Apiappsv1beta1DeploymentList(IList<Apiappsv1beta1Deployment> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public Extensionsv1beta1DeploymentList(IList<Extensionsv1beta1Deployment> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -70,7 +70,7 @@ namespace k8s.Models
/// Gets or sets items is the list of Deployments. /// Gets or sets items is the list of Deployments.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Apiappsv1beta1Deployment> Items { get; set; } public IList<Extensionsv1beta1Deployment> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -16,20 +16,20 @@ namespace k8s.Models
/// DEPRECATED. DeploymentRollback stores the information required to /// DEPRECATED. DeploymentRollback stores the information required to
/// rollback a deployment. /// rollback a deployment.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentRollback public partial class Extensionsv1beta1DeploymentRollback
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentRollback class. /// Extensionsv1beta1DeploymentRollback class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentRollback() public Extensionsv1beta1DeploymentRollback()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentRollback class. /// Extensionsv1beta1DeploymentRollback class.
/// </summary> /// </summary>
/// <param name="name">Required: This must match the Name of a /// <param name="name">Required: This must match the Name of a
/// deployment.</param> /// deployment.</param>
@@ -47,7 +47,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="updatedAnnotations">The annotations to be updated to a /// <param name="updatedAnnotations">The annotations to be updated to a
/// deployment</param> /// deployment</param>
public Apiextensionsv1beta1DeploymentRollback(string name, Apiextensionsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary<string, string> updatedAnnotations = default(IDictionary<string, string>)) public Extensionsv1beta1DeploymentRollback(string name, Extensionsv1beta1RollbackConfig rollbackTo, string apiVersion = default(string), string kind = default(string), IDictionary<string, string> updatedAnnotations = default(IDictionary<string, string>))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -92,7 +92,7 @@ namespace k8s.Models
/// Gets or sets the config of this deployment rollback. /// Gets or sets the config of this deployment rollback.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollbackTo")] [JsonProperty(PropertyName = "rollbackTo")]
public Apiextensionsv1beta1RollbackConfig RollbackTo { get; set; } public Extensionsv1beta1RollbackConfig RollbackTo { get; set; }
/// <summary> /// <summary>
/// Gets or sets the annotations to be updated to a deployment /// Gets or sets the annotations to be updated to a deployment

View File

@@ -14,20 +14,20 @@ namespace k8s.Models
/// DeploymentSpec is the specification of the desired behavior of the /// DeploymentSpec is the specification of the desired behavior of the
/// Deployment. /// Deployment.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentSpec public partial class Extensionsv1beta1DeploymentSpec
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Extensionsv1beta1DeploymentSpec
/// Apiextensionsv1beta1DeploymentSpec class. /// class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentSpec() public Extensionsv1beta1DeploymentSpec()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Extensionsv1beta1DeploymentSpec
/// Apiextensionsv1beta1DeploymentSpec class. /// class.
/// </summary> /// </summary>
/// <param name="template">Template describes the pods that will be /// <param name="template">Template describes the pods that will be
/// created.</param> /// created.</param>
@@ -57,7 +57,7 @@ namespace k8s.Models
/// affected by this deployment.</param> /// affected by this deployment.</param>
/// <param name="strategy">The deployment strategy to use to replace /// <param name="strategy">The deployment strategy to use to replace
/// existing pods with new ones.</param> /// existing pods with new ones.</param>
public Apiextensionsv1beta1DeploymentSpec(Corev1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Apiextensionsv1beta1RollbackConfig rollbackTo = default(Apiextensionsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Apiextensionsv1beta1DeploymentStrategy strategy = default(Apiextensionsv1beta1DeploymentStrategy)) public Extensionsv1beta1DeploymentSpec(V1PodTemplateSpec template, int? minReadySeconds = default(int?), bool? paused = default(bool?), int? progressDeadlineSeconds = default(int?), int? replicas = default(int?), int? revisionHistoryLimit = default(int?), Extensionsv1beta1RollbackConfig rollbackTo = default(Extensionsv1beta1RollbackConfig), V1LabelSelector selector = default(V1LabelSelector), Extensionsv1beta1DeploymentStrategy strategy = default(Extensionsv1beta1DeploymentStrategy))
{ {
MinReadySeconds = minReadySeconds; MinReadySeconds = minReadySeconds;
Paused = paused; Paused = paused;
@@ -123,7 +123,7 @@ namespace k8s.Models
/// to. Will be cleared after rollback is done. /// to. Will be cleared after rollback is done.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollbackTo")] [JsonProperty(PropertyName = "rollbackTo")]
public Apiextensionsv1beta1RollbackConfig RollbackTo { get; set; } public Extensionsv1beta1RollbackConfig RollbackTo { get; set; }
/// <summary> /// <summary>
/// Gets or sets label selector for pods. Existing ReplicaSets whose /// Gets or sets label selector for pods. Existing ReplicaSets whose
@@ -138,13 +138,13 @@ namespace k8s.Models
/// pods with new ones. /// pods with new ones.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "strategy")] [JsonProperty(PropertyName = "strategy")]
public Apiextensionsv1beta1DeploymentStrategy Strategy { get; set; } public Extensionsv1beta1DeploymentStrategy Strategy { get; set; }
/// <summary> /// <summary>
/// Gets or sets template describes the pods that will be created. /// Gets or sets template describes the pods that will be created.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "template")] [JsonProperty(PropertyName = "template")]
public Corev1PodTemplateSpec Template { get; set; } public V1PodTemplateSpec Template { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -15,20 +15,20 @@ namespace k8s.Models
/// DeploymentStatus is the most recently observed status of the /// DeploymentStatus is the most recently observed status of the
/// Deployment. /// Deployment.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentStatus public partial class Extensionsv1beta1DeploymentStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Extensionsv1beta1DeploymentStatus
/// Apiextensionsv1beta1DeploymentStatus class. /// class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentStatus() public Extensionsv1beta1DeploymentStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the Extensionsv1beta1DeploymentStatus
/// Apiextensionsv1beta1DeploymentStatus class. /// class.
/// </summary> /// </summary>
/// <param name="availableReplicas">Total number of available pods /// <param name="availableReplicas">Total number of available pods
/// (ready for at least minReadySeconds) targeted by this /// (ready for at least minReadySeconds) targeted by this
@@ -53,7 +53,7 @@ namespace k8s.Models
/// <param name="updatedReplicas">Total number of non-terminated pods /// <param name="updatedReplicas">Total number of non-terminated pods
/// targeted by this deployment that have the desired template /// targeted by this deployment that have the desired template
/// spec.</param> /// spec.</param>
public Apiextensionsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList<Apiextensionsv1beta1DeploymentCondition> conditions = default(IList<Apiextensionsv1beta1DeploymentCondition>), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?)) public Extensionsv1beta1DeploymentStatus(int? availableReplicas = default(int?), int? collisionCount = default(int?), IList<Extensionsv1beta1DeploymentCondition> conditions = default(IList<Extensionsv1beta1DeploymentCondition>), long? observedGeneration = default(long?), int? readyReplicas = default(int?), int? replicas = default(int?), int? unavailableReplicas = default(int?), int? updatedReplicas = default(int?))
{ {
AvailableReplicas = availableReplicas; AvailableReplicas = availableReplicas;
CollisionCount = collisionCount; CollisionCount = collisionCount;
@@ -92,7 +92,7 @@ namespace k8s.Models
/// deployment's current state. /// deployment's current state.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "conditions")] [JsonProperty(PropertyName = "conditions")]
public IList<Apiextensionsv1beta1DeploymentCondition> Conditions { get; set; } public IList<Extensionsv1beta1DeploymentCondition> Conditions { get; set; }
/// <summary> /// <summary>
/// Gets or sets the generation observed by the deployment controller. /// Gets or sets the generation observed by the deployment controller.

View File

@@ -13,26 +13,26 @@ namespace k8s.Models
/// DeploymentStrategy describes how to replace existing pods with new /// DeploymentStrategy describes how to replace existing pods with new
/// ones. /// ones.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1DeploymentStrategy public partial class Extensionsv1beta1DeploymentStrategy
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentStrategy class. /// Extensionsv1beta1DeploymentStrategy class.
/// </summary> /// </summary>
public Apiextensionsv1beta1DeploymentStrategy() public Extensionsv1beta1DeploymentStrategy()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1DeploymentStrategy class. /// Extensionsv1beta1DeploymentStrategy class.
/// </summary> /// </summary>
/// <param name="rollingUpdate">Rolling update config params. Present /// <param name="rollingUpdate">Rolling update config params. Present
/// only if DeploymentStrategyType = RollingUpdate.</param> /// only if DeploymentStrategyType = RollingUpdate.</param>
/// <param name="type">Type of deployment. Can be "Recreate" or /// <param name="type">Type of deployment. Can be "Recreate" or
/// "RollingUpdate". Default is RollingUpdate.</param> /// "RollingUpdate". Default is RollingUpdate.</param>
public Apiextensionsv1beta1DeploymentStrategy(Apiextensionsv1beta1RollingUpdateDeployment rollingUpdate = default(Apiextensionsv1beta1RollingUpdateDeployment), string type = default(string)) public Extensionsv1beta1DeploymentStrategy(Extensionsv1beta1RollingUpdateDeployment rollingUpdate = default(Extensionsv1beta1RollingUpdateDeployment), string type = default(string))
{ {
RollingUpdate = rollingUpdate; RollingUpdate = rollingUpdate;
Type = type; Type = type;
@@ -49,7 +49,7 @@ namespace k8s.Models
/// DeploymentStrategyType = RollingUpdate. /// DeploymentStrategyType = RollingUpdate.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "rollingUpdate")] [JsonProperty(PropertyName = "rollingUpdate")]
public Apiextensionsv1beta1RollingUpdateDeployment RollingUpdate { get; set; } public Extensionsv1beta1RollingUpdateDeployment RollingUpdate { get; set; }
/// <summary> /// <summary>
/// Gets or sets type of deployment. Can be "Recreate" or /// Gets or sets type of deployment. Can be "Recreate" or

View File

@@ -12,24 +12,24 @@ namespace k8s.Models
/// <summary> /// <summary>
/// DEPRECATED. /// DEPRECATED.
/// </summary> /// </summary>
public partial class Apiappsv1beta1RollbackConfig public partial class Extensionsv1beta1RollbackConfig
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1RollbackConfig /// Initializes a new instance of the Extensionsv1beta1RollbackConfig
/// class. /// class.
/// </summary> /// </summary>
public Apiappsv1beta1RollbackConfig() public Extensionsv1beta1RollbackConfig()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiappsv1beta1RollbackConfig /// Initializes a new instance of the Extensionsv1beta1RollbackConfig
/// class. /// class.
/// </summary> /// </summary>
/// <param name="revision">The revision to rollback to. If set to 0, /// <param name="revision">The revision to rollback to. If set to 0,
/// rollback to the last revision.</param> /// rollback to the last revision.</param>
public Apiappsv1beta1RollbackConfig(long? revision = default(long?)) public Extensionsv1beta1RollbackConfig(long? revision = default(long?))
{ {
Revision = revision; Revision = revision;
CustomInit(); CustomInit();

View File

@@ -12,20 +12,20 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Spec to control the desired behavior of rolling update. /// Spec to control the desired behavior of rolling update.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1RollingUpdateDeployment public partial class Extensionsv1beta1RollingUpdateDeployment
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1RollingUpdateDeployment class. /// Extensionsv1beta1RollingUpdateDeployment class.
/// </summary> /// </summary>
public Apiextensionsv1beta1RollingUpdateDeployment() public Extensionsv1beta1RollingUpdateDeployment()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Apiextensionsv1beta1RollingUpdateDeployment class. /// Extensionsv1beta1RollingUpdateDeployment class.
/// </summary> /// </summary>
/// <param name="maxSurge">The maximum number of pods that can be /// <param name="maxSurge">The maximum number of pods that can be
/// scheduled above the desired number of pods. Value can be an /// scheduled above the desired number of pods. Value can be an
@@ -49,7 +49,7 @@ namespace k8s.Models
/// scaling up the new RC, ensuring that the total number of pods /// scaling up the new RC, ensuring that the total number of pods
/// available at all times during the update is at least 70% of desired /// available at all times during the update is at least 70% of desired
/// pods.</param> /// pods.</param>
public Apiextensionsv1beta1RollingUpdateDeployment(IntOrString maxSurge = default(IntOrString), IntOrString maxUnavailable = default(IntOrString)) public Extensionsv1beta1RollingUpdateDeployment(IntstrIntOrString maxSurge = default(IntstrIntOrString), IntstrIntOrString maxUnavailable = default(IntstrIntOrString))
{ {
MaxSurge = maxSurge; MaxSurge = maxSurge;
MaxUnavailable = maxUnavailable; MaxUnavailable = maxUnavailable;
@@ -75,7 +75,7 @@ namespace k8s.Models
/// of desired pods. /// of desired pods.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "maxSurge")] [JsonProperty(PropertyName = "maxSurge")]
public IntOrString MaxSurge { get; set; } public IntstrIntOrString MaxSurge { get; set; }
/// <summary> /// <summary>
/// Gets or sets the maximum number of pods that can be unavailable /// Gets or sets the maximum number of pods that can be unavailable
@@ -90,7 +90,7 @@ namespace k8s.Models
/// times during the update is at least 70% of desired pods. /// times during the update is at least 70% of desired pods.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "maxUnavailable")] [JsonProperty(PropertyName = "maxUnavailable")]
public IntOrString MaxUnavailable { get; set; } public IntstrIntOrString MaxUnavailable { get; set; }
} }
} }

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// represents a scaling request for a resource. /// represents a scaling request for a resource.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1Scale public partial class Extensionsv1beta1Scale
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1Scale class. /// Initializes a new instance of the Extensionsv1beta1Scale class.
/// </summary> /// </summary>
public Apiextensionsv1beta1Scale() public Extensionsv1beta1Scale()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1Scale class. /// Initializes a new instance of the Extensionsv1beta1Scale class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
/// this representation of an object. Servers should convert recognized /// this representation of an object. Servers should convert recognized
@@ -42,7 +42,7 @@ namespace k8s.Models
/// <param name="status">current status of the scale. More info: /// <param name="status">current status of the scale. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
/// Read-only.</param> /// Read-only.</param>
public Apiextensionsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Apiextensionsv1beta1ScaleSpec spec = default(Apiextensionsv1beta1ScaleSpec), Apiextensionsv1beta1ScaleStatus status = default(Apiextensionsv1beta1ScaleStatus)) public Extensionsv1beta1Scale(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), Extensionsv1beta1ScaleSpec spec = default(Extensionsv1beta1ScaleSpec), Extensionsv1beta1ScaleStatus status = default(Extensionsv1beta1ScaleStatus))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -89,7 +89,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status. /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "spec")] [JsonProperty(PropertyName = "spec")]
public Apiextensionsv1beta1ScaleSpec Spec { get; set; } public Extensionsv1beta1ScaleSpec Spec { get; set; }
/// <summary> /// <summary>
/// Gets or sets current status of the scale. More info: /// Gets or sets current status of the scale. More info:
@@ -97,7 +97,7 @@ namespace k8s.Models
/// Read-only. /// Read-only.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "status")] [JsonProperty(PropertyName = "status")]
public Apiextensionsv1beta1ScaleStatus Status { get; set; } public Extensionsv1beta1ScaleStatus Status { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -12,24 +12,22 @@ namespace k8s.Models
/// <summary> /// <summary>
/// describes the attributes of a scale subresource /// describes the attributes of a scale subresource
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1ScaleSpec public partial class Extensionsv1beta1ScaleSpec
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1ScaleSpec /// Initializes a new instance of the Extensionsv1beta1ScaleSpec class.
/// class.
/// </summary> /// </summary>
public Apiextensionsv1beta1ScaleSpec() public Extensionsv1beta1ScaleSpec()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1ScaleSpec /// Initializes a new instance of the Extensionsv1beta1ScaleSpec class.
/// class.
/// </summary> /// </summary>
/// <param name="replicas">desired number of instances for the scaled /// <param name="replicas">desired number of instances for the scaled
/// object.</param> /// object.</param>
public Apiextensionsv1beta1ScaleSpec(int? replicas = default(int?)) public Extensionsv1beta1ScaleSpec(int? replicas = default(int?))
{ {
Replicas = replicas; Replicas = replicas;
CustomInit(); CustomInit();

View File

@@ -14,19 +14,19 @@ namespace k8s.Models
/// <summary> /// <summary>
/// represents the current status of a scale subresource. /// represents the current status of a scale subresource.
/// </summary> /// </summary>
public partial class Apiextensionsv1beta1ScaleStatus public partial class Extensionsv1beta1ScaleStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1ScaleStatus /// Initializes a new instance of the Extensionsv1beta1ScaleStatus
/// class. /// class.
/// </summary> /// </summary>
public Apiextensionsv1beta1ScaleStatus() public Extensionsv1beta1ScaleStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Apiextensionsv1beta1ScaleStatus /// Initializes a new instance of the Extensionsv1beta1ScaleStatus
/// class. /// class.
/// </summary> /// </summary>
/// <param name="replicas">actual number of observed instances of the /// <param name="replicas">actual number of observed instances of the
@@ -42,7 +42,7 @@ namespace k8s.Models
/// map-based selectors, both this field and map-based selector field /// map-based selectors, both this field and map-based selector field
/// are populated. More info: /// are populated. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors</param>
public Apiextensionsv1beta1ScaleStatus(int replicas, IDictionary<string, string> selector = default(IDictionary<string, string>), string targetSelector = default(string)) public Extensionsv1beta1ScaleStatus(int replicas, IDictionary<string, string> selector = default(IDictionary<string, string>), string targetSelector = default(string))
{ {
Replicas = replicas; Replicas = replicas;
Selector = selector; Selector = selector;

View File

@@ -9,20 +9,20 @@ namespace k8s.Models
using Newtonsoft.Json; using Newtonsoft.Json;
using System.Linq; using System.Linq;
public partial class IntOrString public partial class IntstrIntOrString
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the IntOrString class. /// Initializes a new instance of the IntstrIntOrString class.
/// </summary> /// </summary>
public IntOrString() public IntstrIntOrString()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the IntOrString class. /// Initializes a new instance of the IntstrIntOrString class.
/// </summary> /// </summary>
public IntOrString(string value = default(string)) public IntstrIntOrString(string value = default(string))
{ {
Value = value; Value = value;
CustomInit(); CustomInit();

View File

@@ -0,0 +1,41 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
public partial class ResourceQuantity
{
/// <summary>
/// Initializes a new instance of the ResourceQuantity class.
/// </summary>
public ResourceQuantity()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the ResourceQuantity class.
/// </summary>
public ResourceQuantity(string value = default(string))
{
Value = value;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// </summary>
private string Value { get; set; }
}
}

0
src/generated/Models/RuntimeRawExtension.cs Executable file → Normal file
View File

0
src/generated/Models/V1APIGroup.cs Executable file → Normal file
View File

0
src/generated/Models/V1APIGroupList.cs Executable file → Normal file
View File

0
src/generated/Models/V1APIResource.cs Executable file → Normal file
View File

0
src/generated/Models/V1APIResourceList.cs Executable file → Normal file
View File

0
src/generated/Models/V1APIVersions.cs Executable file → Normal file
View File

View File

@@ -18,20 +18,20 @@ namespace k8s.Models
/// only be mounted as read/write once. AWS EBS volumes support ownership /// only be mounted as read/write once. AWS EBS volumes support ownership
/// management and SELinux relabeling. /// management and SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1AWSElasticBlockStoreVolumeSource public partial class V1AWSElasticBlockStoreVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Corev1AWSElasticBlockStoreVolumeSource class. /// V1AWSElasticBlockStoreVolumeSource class.
/// </summary> /// </summary>
public Corev1AWSElasticBlockStoreVolumeSource() public V1AWSElasticBlockStoreVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the
/// Corev1AWSElasticBlockStoreVolumeSource class. /// V1AWSElasticBlockStoreVolumeSource class.
/// </summary> /// </summary>
/// <param name="volumeID">Unique ID of the persistent disk resource in /// <param name="volumeID">Unique ID of the persistent disk resource in
/// AWS (Amazon EBS volume). More info: /// AWS (Amazon EBS volume). More info:
@@ -50,7 +50,7 @@ namespace k8s.Models
/// ReadOnly property in VolumeMounts to "true". If omitted, the /// ReadOnly property in VolumeMounts to "true". If omitted, the
/// default is "false". More info: /// default is "false". More info:
/// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore</param> /// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore</param>
public Corev1AWSElasticBlockStoreVolumeSource(string volumeID, string fsType = default(string), int? partition = default(int?), bool? readOnlyProperty = default(bool?)) public V1AWSElasticBlockStoreVolumeSource(string volumeID, string fsType = default(string), int? partition = default(int?), bool? readOnlyProperty = default(bool?))
{ {
FsType = fsType; FsType = fsType;
Partition = partition; Partition = partition;

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Affinity is a group of affinity scheduling rules. /// Affinity is a group of affinity scheduling rules.
/// </summary> /// </summary>
public partial class Corev1Affinity public partial class V1Affinity
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Affinity class. /// Initializes a new instance of the V1Affinity class.
/// </summary> /// </summary>
public Corev1Affinity() public V1Affinity()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Affinity class. /// Initializes a new instance of the V1Affinity class.
/// </summary> /// </summary>
/// <param name="nodeAffinity">Describes node affinity scheduling rules /// <param name="nodeAffinity">Describes node affinity scheduling rules
/// for the pod.</param> /// for the pod.</param>
@@ -33,7 +33,7 @@ namespace k8s.Models
/// <param name="podAntiAffinity">Describes pod anti-affinity /// <param name="podAntiAffinity">Describes pod anti-affinity
/// scheduling rules (e.g. avoid putting this pod in the same node, /// scheduling rules (e.g. avoid putting this pod in the same node,
/// zone, etc. as some other pod(s)).</param> /// zone, etc. as some other pod(s)).</param>
public Corev1Affinity(Corev1NodeAffinity nodeAffinity = default(Corev1NodeAffinity), Corev1PodAffinity podAffinity = default(Corev1PodAffinity), Corev1PodAntiAffinity podAntiAffinity = default(Corev1PodAntiAffinity)) public V1Affinity(V1NodeAffinity nodeAffinity = default(V1NodeAffinity), V1PodAffinity podAffinity = default(V1PodAffinity), V1PodAntiAffinity podAntiAffinity = default(V1PodAntiAffinity))
{ {
NodeAffinity = nodeAffinity; NodeAffinity = nodeAffinity;
PodAffinity = podAffinity; PodAffinity = podAffinity;
@@ -50,7 +50,7 @@ namespace k8s.Models
/// Gets or sets describes node affinity scheduling rules for the pod. /// Gets or sets describes node affinity scheduling rules for the pod.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "nodeAffinity")] [JsonProperty(PropertyName = "nodeAffinity")]
public Corev1NodeAffinity NodeAffinity { get; set; } public V1NodeAffinity NodeAffinity { get; set; }
/// <summary> /// <summary>
/// Gets or sets describes pod affinity scheduling rules (e.g. /// Gets or sets describes pod affinity scheduling rules (e.g.
@@ -58,7 +58,7 @@ namespace k8s.Models
/// pod(s)). /// pod(s)).
/// </summary> /// </summary>
[JsonProperty(PropertyName = "podAffinity")] [JsonProperty(PropertyName = "podAffinity")]
public Corev1PodAffinity PodAffinity { get; set; } public V1PodAffinity PodAffinity { get; set; }
/// <summary> /// <summary>
/// Gets or sets describes pod anti-affinity scheduling rules (e.g. /// Gets or sets describes pod anti-affinity scheduling rules (e.g.
@@ -66,7 +66,7 @@ namespace k8s.Models
/// pod(s)). /// pod(s)).
/// </summary> /// </summary>
[JsonProperty(PropertyName = "podAntiAffinity")] [JsonProperty(PropertyName = "podAntiAffinity")]
public Corev1PodAntiAffinity PodAntiAffinity { get; set; } public V1PodAntiAffinity PodAntiAffinity { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -13,23 +13,23 @@ namespace k8s.Models
/// <summary> /// <summary>
/// AttachedVolume describes a volume attached to a node /// AttachedVolume describes a volume attached to a node
/// </summary> /// </summary>
public partial class Corev1AttachedVolume public partial class V1AttachedVolume
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AttachedVolume class. /// Initializes a new instance of the V1AttachedVolume class.
/// </summary> /// </summary>
public Corev1AttachedVolume() public V1AttachedVolume()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AttachedVolume class. /// Initializes a new instance of the V1AttachedVolume class.
/// </summary> /// </summary>
/// <param name="devicePath">DevicePath represents the device path /// <param name="devicePath">DevicePath represents the device path
/// where the volume should be available</param> /// where the volume should be available</param>
/// <param name="name">Name of the attached volume</param> /// <param name="name">Name of the attached volume</param>
public Corev1AttachedVolume(string devicePath, string name) public V1AttachedVolume(string devicePath, string name)
{ {
DevicePath = devicePath; DevicePath = devicePath;
Name = name; Name = name;

View File

@@ -14,20 +14,18 @@ namespace k8s.Models
/// AzureDisk represents an Azure Data Disk mount on the host and bind /// AzureDisk represents an Azure Data Disk mount on the host and bind
/// mount to the pod. /// mount to the pod.
/// </summary> /// </summary>
public partial class Corev1AzureDiskVolumeSource public partial class V1AzureDiskVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AzureDiskVolumeSource /// Initializes a new instance of the V1AzureDiskVolumeSource class.
/// class.
/// </summary> /// </summary>
public Corev1AzureDiskVolumeSource() public V1AzureDiskVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AzureDiskVolumeSource /// Initializes a new instance of the V1AzureDiskVolumeSource class.
/// class.
/// </summary> /// </summary>
/// <param name="diskName">The Name of the data disk in the blob /// <param name="diskName">The Name of the data disk in the blob
/// storage</param> /// storage</param>
@@ -38,14 +36,14 @@ namespace k8s.Models
/// <param name="fsType">Filesystem type to mount. Must be a filesystem /// <param name="fsType">Filesystem type to mount. Must be a filesystem
/// type supported by the host operating system. Ex. "ext4", "xfs", /// type supported by the host operating system. Ex. "ext4", "xfs",
/// "ntfs". Implicitly inferred to be "ext4" if unspecified.</param> /// "ntfs". Implicitly inferred to be "ext4" if unspecified.</param>
/// <param name="kind">Expected values Shared: multiple blob disks per /// <param name="kind">Expected values Shared: mulitple blob disks per
/// storage account Dedicated: single blob disk per storage account /// storage account Dedicated: single blob disk per storage account
/// Managed: azure managed data disk (only in managed availability /// Managed: azure managed data disk (only in managed availability
/// set). defaults to shared</param> /// set). defaults to shared</param>
/// <param name="readOnlyProperty">Defaults to false (read/write). /// <param name="readOnlyProperty">Defaults to false (read/write).
/// ReadOnly here will force the ReadOnly setting in /// ReadOnly here will force the ReadOnly setting in
/// VolumeMounts.</param> /// VolumeMounts.</param>
public Corev1AzureDiskVolumeSource(string diskName, string diskURI, string cachingMode = default(string), string fsType = default(string), string kind = default(string), bool? readOnlyProperty = default(bool?)) public V1AzureDiskVolumeSource(string diskName, string diskURI, string cachingMode = default(string), string fsType = default(string), string kind = default(string), bool? readOnlyProperty = default(bool?))
{ {
CachingMode = cachingMode; CachingMode = cachingMode;
DiskName = diskName; DiskName = diskName;
@@ -88,7 +86,7 @@ namespace k8s.Models
public string FsType { get; set; } public string FsType { get; set; }
/// <summary> /// <summary>
/// Gets or sets expected values Shared: multiple blob disks per /// Gets or sets expected values Shared: mulitple blob disks per
/// storage account Dedicated: single blob disk per storage account /// storage account Dedicated: single blob disk per storage account
/// Managed: azure managed data disk (only in managed availability /// Managed: azure managed data disk (only in managed availability
/// set). defaults to shared /// set). defaults to shared

View File

View File

@@ -14,20 +14,18 @@ namespace k8s.Models
/// AzureFile represents an Azure File Service mount on the host and bind /// AzureFile represents an Azure File Service mount on the host and bind
/// mount to the pod. /// mount to the pod.
/// </summary> /// </summary>
public partial class Corev1AzureFileVolumeSource public partial class V1AzureFileVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AzureFileVolumeSource /// Initializes a new instance of the V1AzureFileVolumeSource class.
/// class.
/// </summary> /// </summary>
public Corev1AzureFileVolumeSource() public V1AzureFileVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1AzureFileVolumeSource /// Initializes a new instance of the V1AzureFileVolumeSource class.
/// class.
/// </summary> /// </summary>
/// <param name="secretName">the name of secret that contains Azure /// <param name="secretName">the name of secret that contains Azure
/// Storage Account Name and Key</param> /// Storage Account Name and Key</param>
@@ -35,7 +33,7 @@ namespace k8s.Models
/// <param name="readOnlyProperty">Defaults to false (read/write). /// <param name="readOnlyProperty">Defaults to false (read/write).
/// ReadOnly here will force the ReadOnly setting in /// ReadOnly here will force the ReadOnly setting in
/// VolumeMounts.</param> /// VolumeMounts.</param>
public Corev1AzureFileVolumeSource(string secretName, string shareName, bool? readOnlyProperty = default(bool?)) public V1AzureFileVolumeSource(string secretName, string shareName, bool? readOnlyProperty = default(bool?))
{ {
ReadOnlyProperty = readOnlyProperty; ReadOnlyProperty = readOnlyProperty;
SecretName = secretName; SecretName = secretName;

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// node by a scheduler. Deprecated in 1.7, please use the bindings /// node by a scheduler. Deprecated in 1.7, please use the bindings
/// subresource of pods instead. /// subresource of pods instead.
/// </summary> /// </summary>
public partial class Corev1Binding public partial class V1Binding
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Binding class. /// Initializes a new instance of the V1Binding class.
/// </summary> /// </summary>
public Corev1Binding() public V1Binding()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Binding class. /// Initializes a new instance of the V1Binding class.
/// </summary> /// </summary>
/// <param name="target">The target object that you want to bind to the /// <param name="target">The target object that you want to bind to the
/// standard object.</param> /// standard object.</param>
@@ -42,7 +42,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard object's metadata. More info: /// <param name="metadata">Standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Corev1Binding(Corev1ObjectReference target, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) public V1Binding(V1ObjectReference target, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -88,7 +88,7 @@ namespace k8s.Models
/// standard object. /// standard object.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "target")] [JsonProperty(PropertyName = "target")]
public Corev1ObjectReference Target { get; set; } public V1ObjectReference Target { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -14,22 +14,22 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Adds and removes POSIX capabilities from running containers. /// Adds and removes POSIX capabilities from running containers.
/// </summary> /// </summary>
public partial class Corev1Capabilities public partial class V1Capabilities
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Capabilities class. /// Initializes a new instance of the V1Capabilities class.
/// </summary> /// </summary>
public Corev1Capabilities() public V1Capabilities()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Capabilities class. /// Initializes a new instance of the V1Capabilities class.
/// </summary> /// </summary>
/// <param name="add">Added capabilities</param> /// <param name="add">Added capabilities</param>
/// <param name="drop">Removed capabilities</param> /// <param name="drop">Removed capabilities</param>
public Corev1Capabilities(IList<string> add = default(IList<string>), IList<string> drop = default(IList<string>)) public V1Capabilities(IList<string> add = default(IList<string>), IList<string> drop = default(IList<string>))
{ {
Add = add; Add = add;
Drop = drop; Drop = drop;

0
src/generated/Models/V1CephFSPersistentVolumeSource.cs Executable file → Normal file
View File

View File

@@ -17,18 +17,18 @@ namespace k8s.Models
/// Cephfs volumes do not support ownership management or SELinux /// Cephfs volumes do not support ownership management or SELinux
/// relabeling. /// relabeling.
/// </summary> /// </summary>
public partial class Corev1CephFSVolumeSource public partial class V1CephFSVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1CephFSVolumeSource class. /// Initializes a new instance of the V1CephFSVolumeSource class.
/// </summary> /// </summary>
public Corev1CephFSVolumeSource() public V1CephFSVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1CephFSVolumeSource class. /// Initializes a new instance of the V1CephFSVolumeSource class.
/// </summary> /// </summary>
/// <param name="monitors">Required: Monitors is a collection of Ceph /// <param name="monitors">Required: Monitors is a collection of Ceph
/// monitors More info: /// monitors More info:
@@ -48,7 +48,7 @@ namespace k8s.Models
/// <param name="user">Optional: User is the rados user name, default /// <param name="user">Optional: User is the rados user name, default
/// is admin More info: /// is admin More info:
/// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param> /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it</param>
public Corev1CephFSVolumeSource(IList<string> monitors, string path = default(string), bool? readOnlyProperty = default(bool?), string secretFile = default(string), Corev1LocalObjectReference secretRef = default(Corev1LocalObjectReference), string user = default(string)) public V1CephFSVolumeSource(IList<string> monitors, string path = default(string), bool? readOnlyProperty = default(bool?), string secretFile = default(string), V1LocalObjectReference secretRef = default(V1LocalObjectReference), string user = default(string))
{ {
Monitors = monitors; Monitors = monitors;
Path = path; Path = path;
@@ -101,7 +101,7 @@ namespace k8s.Models
/// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it /// https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
/// </summary> /// </summary>
[JsonProperty(PropertyName = "secretRef")] [JsonProperty(PropertyName = "secretRef")]
public Corev1LocalObjectReference SecretRef { get; set; } public V1LocalObjectReference SecretRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets optional: User is the rados user name, default is /// Gets or sets optional: User is the rados user name, default is

View File

@@ -16,18 +16,18 @@ namespace k8s.Models
/// same region as the kubelet. Cinder volumes support ownership management /// same region as the kubelet. Cinder volumes support ownership management
/// and SELinux relabeling. /// and SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1CinderVolumeSource public partial class V1CinderVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1CinderVolumeSource class. /// Initializes a new instance of the V1CinderVolumeSource class.
/// </summary> /// </summary>
public Corev1CinderVolumeSource() public V1CinderVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1CinderVolumeSource class. /// Initializes a new instance of the V1CinderVolumeSource class.
/// </summary> /// </summary>
/// <param name="volumeID">volume id used to identify the volume in /// <param name="volumeID">volume id used to identify the volume in
/// cinder More info: /// cinder More info:
@@ -41,7 +41,7 @@ namespace k8s.Models
/// (read/write). ReadOnly here will force the ReadOnly setting in /// (read/write). ReadOnly here will force the ReadOnly setting in
/// VolumeMounts. More info: /// VolumeMounts. More info:
/// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md</param> /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md</param>
public Corev1CinderVolumeSource(string volumeID, string fsType = default(string), bool? readOnlyProperty = default(bool?)) public V1CinderVolumeSource(string volumeID, string fsType = default(string), bool? readOnlyProperty = default(bool?))
{ {
FsType = fsType; FsType = fsType;
ReadOnlyProperty = readOnlyProperty; ReadOnlyProperty = readOnlyProperty;

0
src/generated/Models/V1ClientIPConfig.cs Executable file → Normal file
View File

0
src/generated/Models/V1ClusterRole.cs Executable file → Normal file
View File

0
src/generated/Models/V1ClusterRoleBinding.cs Executable file → Normal file
View File

0
src/generated/Models/V1ClusterRoleBindingList.cs Executable file → Normal file
View File

0
src/generated/Models/V1ClusterRoleList.cs Executable file → Normal file
View File

View File

@@ -13,18 +13,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Information about the condition of a component. /// Information about the condition of a component.
/// </summary> /// </summary>
public partial class Corev1ComponentCondition public partial class V1ComponentCondition
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentCondition class. /// Initializes a new instance of the V1ComponentCondition class.
/// </summary> /// </summary>
public Corev1ComponentCondition() public V1ComponentCondition()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentCondition class. /// Initializes a new instance of the V1ComponentCondition class.
/// </summary> /// </summary>
/// <param name="status">Status of the condition for a component. Valid /// <param name="status">Status of the condition for a component. Valid
/// values for "Healthy": "True", "False", or "Unknown".</param> /// values for "Healthy": "True", "False", or "Unknown".</param>
@@ -34,7 +34,7 @@ namespace k8s.Models
/// example, a health check error code.</param> /// example, a health check error code.</param>
/// <param name="message">Message about the condition for a component. /// <param name="message">Message about the condition for a component.
/// For example, information about a health check.</param> /// For example, information about a health check.</param>
public Corev1ComponentCondition(string status, string type, string error = default(string), string message = default(string)) public V1ComponentCondition(string status, string type, string error = default(string), string message = default(string))
{ {
Error = error; Error = error;
Message = message; Message = message;

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// ComponentStatus (and ComponentStatusList) holds the cluster validation /// ComponentStatus (and ComponentStatusList) holds the cluster validation
/// info. /// info.
/// </summary> /// </summary>
public partial class Corev1ComponentStatus public partial class V1ComponentStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentStatus class. /// Initializes a new instance of the V1ComponentStatus class.
/// </summary> /// </summary>
public Corev1ComponentStatus() public V1ComponentStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentStatus class. /// Initializes a new instance of the V1ComponentStatus class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
/// this representation of an object. Servers should convert recognized /// this representation of an object. Servers should convert recognized
@@ -42,7 +42,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard object's metadata. More info: /// <param name="metadata">Standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Corev1ComponentStatus(string apiVersion = default(string), IList<Corev1ComponentCondition> conditions = default(IList<Corev1ComponentCondition>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) public V1ComponentStatus(string apiVersion = default(string), IList<V1ComponentCondition> conditions = default(IList<V1ComponentCondition>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Conditions = conditions; Conditions = conditions;
@@ -70,7 +70,7 @@ namespace k8s.Models
/// Gets or sets list of component conditions observed /// Gets or sets list of component conditions observed
/// </summary> /// </summary>
[JsonProperty(PropertyName = "conditions")] [JsonProperty(PropertyName = "conditions")]
public IList<Corev1ComponentCondition> Conditions { get; set; } public IList<V1ComponentCondition> Conditions { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -16,18 +16,18 @@ namespace k8s.Models
/// Status of all the conditions for the component as a list of /// Status of all the conditions for the component as a list of
/// ComponentStatus objects. /// ComponentStatus objects.
/// </summary> /// </summary>
public partial class Corev1ComponentStatusList public partial class V1ComponentStatusList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentStatusList class. /// Initializes a new instance of the V1ComponentStatusList class.
/// </summary> /// </summary>
public Corev1ComponentStatusList() public V1ComponentStatusList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ComponentStatusList class. /// Initializes a new instance of the V1ComponentStatusList class.
/// </summary> /// </summary>
/// <param name="items">List of ComponentStatus objects.</param> /// <param name="items">List of ComponentStatus objects.</param>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -42,7 +42,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata. More info: /// <param name="metadata">Standard list metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
public Corev1ComponentStatusList(IList<Corev1ComponentStatus> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public V1ComponentStatusList(IList<V1ComponentStatus> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -70,7 +70,7 @@ namespace k8s.Models
/// Gets or sets list of ComponentStatus objects. /// Gets or sets list of ComponentStatus objects.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1ComponentStatus> Items { get; set; } public IList<V1ComponentStatus> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -14,18 +14,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ConfigMap holds configuration data for pods to consume. /// ConfigMap holds configuration data for pods to consume.
/// </summary> /// </summary>
public partial class Corev1ConfigMap public partial class V1ConfigMap
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMap class. /// Initializes a new instance of the V1ConfigMap class.
/// </summary> /// </summary>
public Corev1ConfigMap() public V1ConfigMap()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMap class. /// Initializes a new instance of the V1ConfigMap class.
/// </summary> /// </summary>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
/// this representation of an object. Servers should convert recognized /// this representation of an object. Servers should convert recognized
@@ -41,7 +41,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard object's metadata. More info: /// <param name="metadata">Standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Corev1ConfigMap(string apiVersion = default(string), IDictionary<string, string> data = default(IDictionary<string, string>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) public V1ConfigMap(string apiVersion = default(string), IDictionary<string, string> data = default(IDictionary<string, string>), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Data = data; Data = data;

View File

@@ -16,24 +16,24 @@ namespace k8s.Models
/// The contents of the target ConfigMap's Data field will represent the /// The contents of the target ConfigMap's Data field will represent the
/// key-value pairs as environment variables. /// key-value pairs as environment variables.
/// </summary> /// </summary>
public partial class Corev1ConfigMapEnvSource public partial class V1ConfigMapEnvSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapEnvSource class. /// Initializes a new instance of the V1ConfigMapEnvSource class.
/// </summary> /// </summary>
public Corev1ConfigMapEnvSource() public V1ConfigMapEnvSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapEnvSource class. /// Initializes a new instance of the V1ConfigMapEnvSource class.
/// </summary> /// </summary>
/// <param name="name">Name of the referent. More info: /// <param name="name">Name of the referent. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param>
/// <param name="optional">Specify whether the ConfigMap must be /// <param name="optional">Specify whether the ConfigMap must be
/// defined</param> /// defined</param>
public Corev1ConfigMapEnvSource(string name = default(string), bool? optional = default(bool?)) public V1ConfigMapEnvSource(string name = default(string), bool? optional = default(bool?))
{ {
Name = name; Name = name;
Optional = optional; Optional = optional;

View File

@@ -13,25 +13,25 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Selects a key from a ConfigMap. /// Selects a key from a ConfigMap.
/// </summary> /// </summary>
public partial class Corev1ConfigMapKeySelector public partial class V1ConfigMapKeySelector
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapKeySelector class. /// Initializes a new instance of the V1ConfigMapKeySelector class.
/// </summary> /// </summary>
public Corev1ConfigMapKeySelector() public V1ConfigMapKeySelector()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapKeySelector class. /// Initializes a new instance of the V1ConfigMapKeySelector class.
/// </summary> /// </summary>
/// <param name="key">The key to select.</param> /// <param name="key">The key to select.</param>
/// <param name="name">Name of the referent. More info: /// <param name="name">Name of the referent. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param>
/// <param name="optional">Specify whether the ConfigMap or it's key /// <param name="optional">Specify whether the ConfigMap or it's key
/// must be defined</param> /// must be defined</param>
public Corev1ConfigMapKeySelector(string key, string name = default(string), bool? optional = default(bool?)) public V1ConfigMapKeySelector(string key, string name = default(string), bool? optional = default(bool?))
{ {
Key = key; Key = key;
Name = name; Name = name;

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ConfigMapList is a resource containing a list of ConfigMap objects. /// ConfigMapList is a resource containing a list of ConfigMap objects.
/// </summary> /// </summary>
public partial class Corev1ConfigMapList public partial class V1ConfigMapList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapList class. /// Initializes a new instance of the V1ConfigMapList class.
/// </summary> /// </summary>
public Corev1ConfigMapList() public V1ConfigMapList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapList class. /// Initializes a new instance of the V1ConfigMapList class.
/// </summary> /// </summary>
/// <param name="items">Items is the list of ConfigMaps.</param> /// <param name="items">Items is the list of ConfigMaps.</param>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -41,7 +41,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">More info: /// <param name="metadata">More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Corev1ConfigMapList(IList<Corev1ConfigMap> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public V1ConfigMapList(IList<V1ConfigMap> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -69,7 +69,7 @@ namespace k8s.Models
/// Gets or sets items is the list of ConfigMaps. /// Gets or sets items is the list of ConfigMaps.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1ConfigMap> Items { get; set; } public IList<V1ConfigMap> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -20,18 +20,18 @@ namespace k8s.Models
/// mappings of keys to paths. Note that this is identical to a configmap /// mappings of keys to paths. Note that this is identical to a configmap
/// volume source without the default mode. /// volume source without the default mode.
/// </summary> /// </summary>
public partial class Corev1ConfigMapProjection public partial class V1ConfigMapProjection
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapProjection class. /// Initializes a new instance of the V1ConfigMapProjection class.
/// </summary> /// </summary>
public Corev1ConfigMapProjection() public V1ConfigMapProjection()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapProjection class. /// Initializes a new instance of the V1ConfigMapProjection class.
/// </summary> /// </summary>
/// <param name="items">If unspecified, each key-value pair in the Data /// <param name="items">If unspecified, each key-value pair in the Data
/// field of the referenced ConfigMap will be projected into the volume /// field of the referenced ConfigMap will be projected into the volume
@@ -45,7 +45,7 @@ namespace k8s.Models
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param>
/// <param name="optional">Specify whether the ConfigMap or it's keys /// <param name="optional">Specify whether the ConfigMap or it's keys
/// must be defined</param> /// must be defined</param>
public Corev1ConfigMapProjection(IList<Corev1KeyToPath> items = default(IList<Corev1KeyToPath>), string name = default(string), bool? optional = default(bool?)) public V1ConfigMapProjection(IList<V1KeyToPath> items = default(IList<V1KeyToPath>), string name = default(string), bool? optional = default(bool?))
{ {
Items = items; Items = items;
Name = name; Name = name;
@@ -69,7 +69,7 @@ namespace k8s.Models
/// '..' path or start with '..'. /// '..' path or start with '..'.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1KeyToPath> Items { get; set; } public IList<V1KeyToPath> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets name of the referent. More info: /// Gets or sets name of the referent. More info:

View File

@@ -20,20 +20,18 @@ namespace k8s.Models
/// paths. ConfigMap volumes support ownership management and SELinux /// paths. ConfigMap volumes support ownership management and SELinux
/// relabeling. /// relabeling.
/// </summary> /// </summary>
public partial class Corev1ConfigMapVolumeSource public partial class V1ConfigMapVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapVolumeSource /// Initializes a new instance of the V1ConfigMapVolumeSource class.
/// class.
/// </summary> /// </summary>
public Corev1ConfigMapVolumeSource() public V1ConfigMapVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ConfigMapVolumeSource /// Initializes a new instance of the V1ConfigMapVolumeSource class.
/// class.
/// </summary> /// </summary>
/// <param name="defaultMode">Optional: mode bits to use on created /// <param name="defaultMode">Optional: mode bits to use on created
/// files by default. Must be a value between 0 and 0777. Defaults to /// files by default. Must be a value between 0 and 0777. Defaults to
@@ -53,7 +51,7 @@ namespace k8s.Models
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param> /// https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names</param>
/// <param name="optional">Specify whether the ConfigMap or it's keys /// <param name="optional">Specify whether the ConfigMap or it's keys
/// must be defined</param> /// must be defined</param>
public Corev1ConfigMapVolumeSource(int? defaultMode = default(int?), IList<Corev1KeyToPath> items = default(IList<Corev1KeyToPath>), string name = default(string), bool? optional = default(bool?)) public V1ConfigMapVolumeSource(int? defaultMode = default(int?), IList<V1KeyToPath> items = default(IList<V1KeyToPath>), string name = default(string), bool? optional = default(bool?))
{ {
DefaultMode = defaultMode; DefaultMode = defaultMode;
Items = items; Items = items;
@@ -88,7 +86,7 @@ namespace k8s.Models
/// '..' path or start with '..'. /// '..' path or start with '..'.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1KeyToPath> Items { get; set; } public IList<V1KeyToPath> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets name of the referent. More info: /// Gets or sets name of the referent. More info:

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// A single application container that you want to run within a pod. /// A single application container that you want to run within a pod.
/// </summary> /// </summary>
public partial class Corev1Container public partial class V1Container
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Container class. /// Initializes a new instance of the V1Container class.
/// </summary> /// </summary>
public Corev1Container() public V1Container()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Container class. /// Initializes a new instance of the V1Container class.
/// </summary> /// </summary>
/// <param name="name">Name of the container specified as a DNS_LABEL. /// <param name="name">Name of the container specified as a DNS_LABEL.
/// Each container in a pod must have a unique name (DNS_LABEL). Cannot /// Each container in a pod must have a unique name (DNS_LABEL). Cannot
@@ -130,7 +130,7 @@ namespace k8s.Models
/// specified, the container runtime's default will be used, which /// specified, the container runtime's default will be used, which
/// might be configured in the container image. Cannot be /// might be configured in the container image. Cannot be
/// updated.</param> /// updated.</param>
public Corev1Container(string name, IList<string> args = default(IList<string>), IList<string> command = default(IList<string>), IList<Corev1EnvVar> env = default(IList<Corev1EnvVar>), IList<Corev1EnvFromSource> envFrom = default(IList<Corev1EnvFromSource>), string image = default(string), string imagePullPolicy = default(string), Corev1Lifecycle lifecycle = default(Corev1Lifecycle), Corev1Probe livenessProbe = default(Corev1Probe), IList<Corev1ContainerPort> ports = default(IList<Corev1ContainerPort>), Corev1Probe readinessProbe = default(Corev1Probe), Corev1ResourceRequirements resources = default(Corev1ResourceRequirements), Corev1SecurityContext securityContext = default(Corev1SecurityContext), bool? stdin = default(bool?), bool? stdinOnce = default(bool?), string terminationMessagePath = default(string), string terminationMessagePolicy = default(string), bool? tty = default(bool?), IList<Corev1VolumeMount> volumeMounts = default(IList<Corev1VolumeMount>), string workingDir = default(string)) public V1Container(string name, IList<string> args = default(IList<string>), IList<string> command = default(IList<string>), IList<V1EnvVar> env = default(IList<V1EnvVar>), IList<V1EnvFromSource> envFrom = default(IList<V1EnvFromSource>), string image = default(string), string imagePullPolicy = default(string), V1Lifecycle lifecycle = default(V1Lifecycle), V1Probe livenessProbe = default(V1Probe), IList<V1ContainerPort> ports = default(IList<V1ContainerPort>), V1Probe readinessProbe = default(V1Probe), V1ResourceRequirements resources = default(V1ResourceRequirements), V1SecurityContext securityContext = default(V1SecurityContext), bool? stdin = default(bool?), bool? stdinOnce = default(bool?), string terminationMessagePath = default(string), string terminationMessagePolicy = default(string), bool? tty = default(bool?), IList<V1VolumeMount> volumeMounts = default(IList<V1VolumeMount>), string workingDir = default(string))
{ {
Args = args; Args = args;
Command = command; Command = command;
@@ -193,7 +193,7 @@ namespace k8s.Models
/// Cannot be updated. /// Cannot be updated.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "env")] [JsonProperty(PropertyName = "env")]
public IList<Corev1EnvVar> Env { get; set; } public IList<V1EnvVar> Env { get; set; }
/// <summary> /// <summary>
/// Gets or sets list of sources to populate environment variables in /// Gets or sets list of sources to populate environment variables in
@@ -205,7 +205,7 @@ namespace k8s.Models
/// Cannot be updated. /// Cannot be updated.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "envFrom")] [JsonProperty(PropertyName = "envFrom")]
public IList<Corev1EnvFromSource> EnvFrom { get; set; } public IList<V1EnvFromSource> EnvFrom { get; set; }
/// <summary> /// <summary>
/// Gets or sets docker image name. More info: /// Gets or sets docker image name. More info:
@@ -231,7 +231,7 @@ namespace k8s.Models
/// response to container lifecycle events. Cannot be updated. /// response to container lifecycle events. Cannot be updated.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "lifecycle")] [JsonProperty(PropertyName = "lifecycle")]
public Corev1Lifecycle Lifecycle { get; set; } public V1Lifecycle Lifecycle { get; set; }
/// <summary> /// <summary>
/// Gets or sets periodic probe of container liveness. Container will /// Gets or sets periodic probe of container liveness. Container will
@@ -239,7 +239,7 @@ namespace k8s.Models
/// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
/// </summary> /// </summary>
[JsonProperty(PropertyName = "livenessProbe")] [JsonProperty(PropertyName = "livenessProbe")]
public Corev1Probe LivenessProbe { get; set; } public V1Probe LivenessProbe { get; set; }
/// <summary> /// <summary>
/// Gets or sets name of the container specified as a DNS_LABEL. Each /// Gets or sets name of the container specified as a DNS_LABEL. Each
@@ -259,7 +259,7 @@ namespace k8s.Models
/// Cannot be updated. /// Cannot be updated.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "ports")] [JsonProperty(PropertyName = "ports")]
public IList<Corev1ContainerPort> Ports { get; set; } public IList<V1ContainerPort> Ports { get; set; }
/// <summary> /// <summary>
/// Gets or sets periodic probe of container service readiness. /// Gets or sets periodic probe of container service readiness.
@@ -268,7 +268,7 @@ namespace k8s.Models
/// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes /// https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
/// </summary> /// </summary>
[JsonProperty(PropertyName = "readinessProbe")] [JsonProperty(PropertyName = "readinessProbe")]
public Corev1Probe ReadinessProbe { get; set; } public V1Probe ReadinessProbe { get; set; }
/// <summary> /// <summary>
/// Gets or sets compute Resources required by this container. Cannot /// Gets or sets compute Resources required by this container. Cannot
@@ -276,7 +276,7 @@ namespace k8s.Models
/// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
/// </summary> /// </summary>
[JsonProperty(PropertyName = "resources")] [JsonProperty(PropertyName = "resources")]
public Corev1ResourceRequirements Resources { get; set; } public V1ResourceRequirements Resources { get; set; }
/// <summary> /// <summary>
/// Gets or sets security options the pod should run with. More info: /// Gets or sets security options the pod should run with. More info:
@@ -285,7 +285,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/design-proposals/security_context.md /// https://git.k8s.io/community/contributors/design-proposals/security_context.md
/// </summary> /// </summary>
[JsonProperty(PropertyName = "securityContext")] [JsonProperty(PropertyName = "securityContext")]
public Corev1SecurityContext SecurityContext { get; set; } public V1SecurityContext SecurityContext { get; set; }
/// <summary> /// <summary>
/// Gets or sets whether this container should allocate a buffer for /// Gets or sets whether this container should allocate a buffer for
@@ -345,7 +345,7 @@ namespace k8s.Models
/// Cannot be updated. /// Cannot be updated.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "volumeMounts")] [JsonProperty(PropertyName = "volumeMounts")]
public IList<Corev1VolumeMount> VolumeMounts { get; set; } public IList<V1VolumeMount> VolumeMounts { get; set; }
/// <summary> /// <summary>
/// Gets or sets container's working directory. If not specified, the /// Gets or sets container's working directory. If not specified, the

View File

@@ -15,24 +15,24 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Describe a container image /// Describe a container image
/// </summary> /// </summary>
public partial class Corev1ContainerImage public partial class V1ContainerImage
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerImage class. /// Initializes a new instance of the V1ContainerImage class.
/// </summary> /// </summary>
public Corev1ContainerImage() public V1ContainerImage()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerImage class. /// Initializes a new instance of the V1ContainerImage class.
/// </summary> /// </summary>
/// <param name="names">Names by which this image is known. e.g. /// <param name="names">Names by which this image is known. e.g.
/// ["gcr.io/google_containers/hyperkube:v1.0.7", /// ["gcr.io/google_containers/hyperkube:v1.0.7",
/// "dockerhub.io/google_containers/hyperkube:v1.0.7"]</param> /// "dockerhub.io/google_containers/hyperkube:v1.0.7"]</param>
/// <param name="sizeBytes">The size of the image in bytes.</param> /// <param name="sizeBytes">The size of the image in bytes.</param>
public Corev1ContainerImage(IList<string> names, long? sizeBytes = default(long?)) public V1ContainerImage(IList<string> names, long? sizeBytes = default(long?))
{ {
Names = names; Names = names;
SizeBytes = sizeBytes; SizeBytes = sizeBytes;

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ContainerPort represents a network port in a single container. /// ContainerPort represents a network port in a single container.
/// </summary> /// </summary>
public partial class Corev1ContainerPort public partial class V1ContainerPort
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerPort class. /// Initializes a new instance of the V1ContainerPort class.
/// </summary> /// </summary>
public Corev1ContainerPort() public V1ContainerPort()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerPort class. /// Initializes a new instance of the V1ContainerPort class.
/// </summary> /// </summary>
/// <param name="containerPort">Number of port to expose on the pod's /// <param name="containerPort">Number of port to expose on the pod's
/// IP address. This must be a valid port number, 0 &lt; x &lt; /// IP address. This must be a valid port number, 0 &lt; x &lt;
@@ -40,7 +40,7 @@ namespace k8s.Models
/// services.</param> /// services.</param>
/// <param name="protocol">Protocol for port. Must be UDP or TCP. /// <param name="protocol">Protocol for port. Must be UDP or TCP.
/// Defaults to "TCP".</param> /// Defaults to "TCP".</param>
public Corev1ContainerPort(int containerPort, string hostIP = default(string), int? hostPort = default(int?), string name = default(string), string protocol = default(string)) public V1ContainerPort(int containerPort, string hostIP = default(string), int? hostPort = default(int?), string name = default(string), string protocol = default(string))
{ {
ContainerPort = containerPort; ContainerPort = containerPort;
HostIP = hostIP; HostIP = hostIP;

View File

@@ -14,24 +14,24 @@ namespace k8s.Models
/// members may be specified. If none of them is specified, the default one /// members may be specified. If none of them is specified, the default one
/// is ContainerStateWaiting. /// is ContainerStateWaiting.
/// </summary> /// </summary>
public partial class Corev1ContainerState public partial class V1ContainerState
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerState class. /// Initializes a new instance of the V1ContainerState class.
/// </summary> /// </summary>
public Corev1ContainerState() public V1ContainerState()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerState class. /// Initializes a new instance of the V1ContainerState class.
/// </summary> /// </summary>
/// <param name="running">Details about a running container</param> /// <param name="running">Details about a running container</param>
/// <param name="terminated">Details about a terminated /// <param name="terminated">Details about a terminated
/// container</param> /// container</param>
/// <param name="waiting">Details about a waiting container</param> /// <param name="waiting">Details about a waiting container</param>
public Corev1ContainerState(Corev1ContainerStateRunning running = default(Corev1ContainerStateRunning), Corev1ContainerStateTerminated terminated = default(Corev1ContainerStateTerminated), Corev1ContainerStateWaiting waiting = default(Corev1ContainerStateWaiting)) public V1ContainerState(V1ContainerStateRunning running = default(V1ContainerStateRunning), V1ContainerStateTerminated terminated = default(V1ContainerStateTerminated), V1ContainerStateWaiting waiting = default(V1ContainerStateWaiting))
{ {
Running = running; Running = running;
Terminated = terminated; Terminated = terminated;
@@ -48,19 +48,19 @@ namespace k8s.Models
/// Gets or sets details about a running container /// Gets or sets details about a running container
/// </summary> /// </summary>
[JsonProperty(PropertyName = "running")] [JsonProperty(PropertyName = "running")]
public Corev1ContainerStateRunning Running { get; set; } public V1ContainerStateRunning Running { get; set; }
/// <summary> /// <summary>
/// Gets or sets details about a terminated container /// Gets or sets details about a terminated container
/// </summary> /// </summary>
[JsonProperty(PropertyName = "terminated")] [JsonProperty(PropertyName = "terminated")]
public Corev1ContainerStateTerminated Terminated { get; set; } public V1ContainerStateTerminated Terminated { get; set; }
/// <summary> /// <summary>
/// Gets or sets details about a waiting container /// Gets or sets details about a waiting container
/// </summary> /// </summary>
[JsonProperty(PropertyName = "waiting")] [JsonProperty(PropertyName = "waiting")]
public Corev1ContainerStateWaiting Waiting { get; set; } public V1ContainerStateWaiting Waiting { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -12,24 +12,22 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ContainerStateRunning is a running state of a container. /// ContainerStateRunning is a running state of a container.
/// </summary> /// </summary>
public partial class Corev1ContainerStateRunning public partial class V1ContainerStateRunning
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateRunning /// Initializes a new instance of the V1ContainerStateRunning class.
/// class.
/// </summary> /// </summary>
public Corev1ContainerStateRunning() public V1ContainerStateRunning()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateRunning /// Initializes a new instance of the V1ContainerStateRunning class.
/// class.
/// </summary> /// </summary>
/// <param name="startedAt">Time at which the container was last /// <param name="startedAt">Time at which the container was last
/// (re-)started</param> /// (re-)started</param>
public Corev1ContainerStateRunning(System.DateTime? startedAt = default(System.DateTime?)) public V1ContainerStateRunning(System.DateTime? startedAt = default(System.DateTime?))
{ {
StartedAt = startedAt; StartedAt = startedAt;
CustomInit(); CustomInit();

View File

@@ -12,20 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ContainerStateTerminated is a terminated state of a container. /// ContainerStateTerminated is a terminated state of a container.
/// </summary> /// </summary>
public partial class Corev1ContainerStateTerminated public partial class V1ContainerStateTerminated
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateTerminated /// Initializes a new instance of the V1ContainerStateTerminated class.
/// class.
/// </summary> /// </summary>
public Corev1ContainerStateTerminated() public V1ContainerStateTerminated()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateTerminated /// Initializes a new instance of the V1ContainerStateTerminated class.
/// class.
/// </summary> /// </summary>
/// <param name="exitCode">Exit status from the last termination of the /// <param name="exitCode">Exit status from the last termination of the
/// container</param> /// container</param>
@@ -41,7 +39,7 @@ namespace k8s.Models
/// container</param> /// container</param>
/// <param name="startedAt">Time at which previous execution of the /// <param name="startedAt">Time at which previous execution of the
/// container started</param> /// container started</param>
public Corev1ContainerStateTerminated(int exitCode, string containerID = default(string), System.DateTime? finishedAt = default(System.DateTime?), string message = default(string), string reason = default(string), int? signal = default(int?), System.DateTime? startedAt = default(System.DateTime?)) public V1ContainerStateTerminated(int exitCode, string containerID = default(string), System.DateTime? finishedAt = default(System.DateTime?), string message = default(string), string reason = default(string), int? signal = default(int?), System.DateTime? startedAt = default(System.DateTime?))
{ {
ContainerID = containerID; ContainerID = containerID;
ExitCode = exitCode; ExitCode = exitCode;

View File

@@ -12,26 +12,24 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ContainerStateWaiting is a waiting state of a container. /// ContainerStateWaiting is a waiting state of a container.
/// </summary> /// </summary>
public partial class Corev1ContainerStateWaiting public partial class V1ContainerStateWaiting
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateWaiting /// Initializes a new instance of the V1ContainerStateWaiting class.
/// class.
/// </summary> /// </summary>
public Corev1ContainerStateWaiting() public V1ContainerStateWaiting()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStateWaiting /// Initializes a new instance of the V1ContainerStateWaiting class.
/// class.
/// </summary> /// </summary>
/// <param name="message">Message regarding why the container is not /// <param name="message">Message regarding why the container is not
/// yet running.</param> /// yet running.</param>
/// <param name="reason">(brief) reason the container is not yet /// <param name="reason">(brief) reason the container is not yet
/// running.</param> /// running.</param>
public Corev1ContainerStateWaiting(string message = default(string), string reason = default(string)) public V1ContainerStateWaiting(string message = default(string), string reason = default(string))
{ {
Message = message; Message = message;
Reason = reason; Reason = reason;

View File

@@ -14,18 +14,18 @@ namespace k8s.Models
/// ContainerStatus contains details for the current status of this /// ContainerStatus contains details for the current status of this
/// container. /// container.
/// </summary> /// </summary>
public partial class Corev1ContainerStatus public partial class V1ContainerStatus
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStatus class. /// Initializes a new instance of the V1ContainerStatus class.
/// </summary> /// </summary>
public Corev1ContainerStatus() public V1ContainerStatus()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ContainerStatus class. /// Initializes a new instance of the V1ContainerStatus class.
/// </summary> /// </summary>
/// <param name="image">The image the container is running. More info: /// <param name="image">The image the container is running. More info:
/// https://kubernetes.io/docs/concepts/containers/images</param> /// https://kubernetes.io/docs/concepts/containers/images</param>
@@ -45,7 +45,7 @@ namespace k8s.Models
/// termination condition.</param> /// termination condition.</param>
/// <param name="state">Details about the container's current /// <param name="state">Details about the container's current
/// condition.</param> /// condition.</param>
public Corev1ContainerStatus(string image, string imageID, string name, bool ready, int restartCount, string containerID = default(string), Corev1ContainerState lastState = default(Corev1ContainerState), Corev1ContainerState state = default(Corev1ContainerState)) public V1ContainerStatus(string image, string imageID, string name, bool ready, int restartCount, string containerID = default(string), V1ContainerState lastState = default(V1ContainerState), V1ContainerState state = default(V1ContainerState))
{ {
ContainerID = containerID; ContainerID = containerID;
Image = image; Image = image;
@@ -88,7 +88,7 @@ namespace k8s.Models
/// condition. /// condition.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "lastState")] [JsonProperty(PropertyName = "lastState")]
public Corev1ContainerState LastState { get; set; } public V1ContainerState LastState { get; set; }
/// <summary> /// <summary>
/// Gets or sets this must be a DNS_LABEL. Each container in a pod must /// Gets or sets this must be a DNS_LABEL. Each container in a pod must
@@ -118,7 +118,7 @@ namespace k8s.Models
/// Gets or sets details about the container's current condition. /// Gets or sets details about the container's current condition.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "state")] [JsonProperty(PropertyName = "state")]
public Corev1ContainerState State { get; set; } public V1ContainerState State { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -14,27 +14,27 @@ namespace k8s.Models
/// CrossVersionObjectReference contains enough information to let you /// CrossVersionObjectReference contains enough information to let you
/// identify the referred resource. /// identify the referred resource.
/// </summary> /// </summary>
public partial class Apiautoscalingv1CrossVersionObjectReference public partial class V1CrossVersionObjectReference
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the V1CrossVersionObjectReference
/// Apiautoscalingv1CrossVersionObjectReference class. /// class.
/// </summary> /// </summary>
public Apiautoscalingv1CrossVersionObjectReference() public V1CrossVersionObjectReference()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the V1CrossVersionObjectReference
/// Apiautoscalingv1CrossVersionObjectReference class. /// class.
/// </summary> /// </summary>
/// <param name="kind">Kind of the referent; More info: /// <param name="kind">Kind of the referent; More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds"</param>
/// <param name="name">Name of the referent; More info: /// <param name="name">Name of the referent; More info:
/// http://kubernetes.io/docs/user-guide/identifiers#names</param> /// http://kubernetes.io/docs/user-guide/identifiers#names</param>
/// <param name="apiVersion">API version of the referent</param> /// <param name="apiVersion">API version of the referent</param>
public Apiautoscalingv1CrossVersionObjectReference(string kind, string name, string apiVersion = default(string)) public V1CrossVersionObjectReference(string kind, string name, string apiVersion = default(string))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;

View File

@@ -12,21 +12,21 @@ namespace k8s.Models
/// <summary> /// <summary>
/// DaemonEndpoint contains information about a single Daemon endpoint. /// DaemonEndpoint contains information about a single Daemon endpoint.
/// </summary> /// </summary>
public partial class Corev1DaemonEndpoint public partial class V1DaemonEndpoint
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DaemonEndpoint class. /// Initializes a new instance of the V1DaemonEndpoint class.
/// </summary> /// </summary>
public Corev1DaemonEndpoint() public V1DaemonEndpoint()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DaemonEndpoint class. /// Initializes a new instance of the V1DaemonEndpoint class.
/// </summary> /// </summary>
/// <param name="port">Port number of the given endpoint.</param> /// <param name="port">Port number of the given endpoint.</param>
public Corev1DaemonEndpoint(int port) public V1DaemonEndpoint(int port)
{ {
Port = port; Port = port;
CustomInit(); CustomInit();

View File

@@ -1,127 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// DaemonSet represents the configuration of a daemon set.
/// </summary>
public partial class V1DaemonSet
{
/// <summary>
/// Initializes a new instance of the V1DaemonSet class.
/// </summary>
public V1DaemonSet()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1DaemonSet class.
/// </summary>
/// <param name="apiVersion">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/api-conventions.md#resources</param>
/// <param name="kind">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/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
/// <param name="spec">The desired behavior of this daemon set. More
/// info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
/// <param name="status">The current status of this daemon set. This
/// data may be out of date by some window of time. Populated by the
/// system. Read-only. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
public V1DaemonSet(string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta), V1DaemonSetSpec spec = default(V1DaemonSetSpec), V1DaemonSetStatus status = default(V1DaemonSetStatus))
{
ApiVersion = apiVersion;
Kind = kind;
Metadata = metadata;
Spec = spec;
Status = status;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// 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/api-conventions.md#resources
/// </summary>
[JsonProperty(PropertyName = "apiVersion")]
public string ApiVersion { get; set; }
/// <summary>
/// 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/api-conventions.md#types-kinds
/// </summary>
[JsonProperty(PropertyName = "kind")]
public string Kind { get; set; }
/// <summary>
/// Gets or sets standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
/// </summary>
[JsonProperty(PropertyName = "metadata")]
public V1ObjectMeta Metadata { get; set; }
/// <summary>
/// Gets or sets the desired behavior of this daemon set. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
/// </summary>
[JsonProperty(PropertyName = "spec")]
public V1DaemonSetSpec Spec { get; set; }
/// <summary>
/// Gets or sets the current status of this daemon set. This data may
/// be out of date by some window of time. Populated by the system.
/// Read-only. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
/// </summary>
[JsonProperty(PropertyName = "status")]
public V1DaemonSetStatus Status { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="Microsoft.Rest.ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (Metadata != null)
{
Metadata.Validate();
}
if (Spec != null)
{
Spec.Validate();
}
if (Status != null)
{
Status.Validate();
}
}
}
}

View File

@@ -1,124 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// DaemonSetSpec is the specification of a daemon set.
/// </summary>
public partial class V1DaemonSetSpec
{
/// <summary>
/// Initializes a new instance of the V1DaemonSetSpec class.
/// </summary>
public V1DaemonSetSpec()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1DaemonSetSpec class.
/// </summary>
/// <param name="template">An object that describes the pod that will
/// be created. The DaemonSet will create exactly one copy of this pod
/// on every node that matches the template's node selector (or on
/// every node if no node selector is specified). More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template</param>
/// <param name="minReadySeconds">The minimum number of seconds for
/// which a newly created DaemonSet pod should be ready without any of
/// its container crashing, for it to be considered available. Defaults
/// to 0 (pod will be considered available as soon as it is
/// ready).</param>
/// <param name="revisionHistoryLimit">The number of old history to
/// retain to allow rollback. This is a pointer to distinguish between
/// explicit zero and not specified. Defaults to 10.</param>
/// <param name="selector">A label query over pods that are managed by
/// the daemon set. Must match in order to be controlled. If empty,
/// defaulted to labels on Pod template. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors</param>
/// <param name="updateStrategy">An update strategy to replace existing
/// DaemonSet pods with new pods.</param>
public V1DaemonSetSpec(Corev1PodTemplateSpec template, int? minReadySeconds = default(int?), int? revisionHistoryLimit = default(int?), V1LabelSelector selector = default(V1LabelSelector), V1DaemonSetUpdateStrategy updateStrategy = default(V1DaemonSetUpdateStrategy))
{
MinReadySeconds = minReadySeconds;
RevisionHistoryLimit = revisionHistoryLimit;
Selector = selector;
Template = template;
UpdateStrategy = updateStrategy;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets the minimum number of seconds for which a newly
/// created DaemonSet pod should be ready without any of its container
/// crashing, for it to be considered available. Defaults to 0 (pod
/// will be considered available as soon as it is ready).
/// </summary>
[JsonProperty(PropertyName = "minReadySeconds")]
public int? MinReadySeconds { get; set; }
/// <summary>
/// Gets or sets the number of old history to retain to allow rollback.
/// This is a pointer to distinguish between explicit zero and not
/// specified. Defaults to 10.
/// </summary>
[JsonProperty(PropertyName = "revisionHistoryLimit")]
public int? RevisionHistoryLimit { get; set; }
/// <summary>
/// Gets or sets a label query over pods that are managed by the daemon
/// set. Must match in order to be controlled. If empty, defaulted to
/// labels on Pod template. More info:
/// https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
/// </summary>
[JsonProperty(PropertyName = "selector")]
public V1LabelSelector Selector { get; set; }
/// <summary>
/// Gets or sets an object that describes the pod that will be created.
/// The DaemonSet will create exactly one copy of this pod on every
/// node that matches the template's node selector (or on every node if
/// no node selector is specified). More info:
/// https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
/// </summary>
[JsonProperty(PropertyName = "template")]
public Corev1PodTemplateSpec Template { get; set; }
/// <summary>
/// Gets or sets an update strategy to replace existing DaemonSet pods
/// with new pods.
/// </summary>
[JsonProperty(PropertyName = "updateStrategy")]
public V1DaemonSetUpdateStrategy UpdateStrategy { get; set; }
/// <summary>
/// Validate the object.
/// </summary>
/// <exception cref="ValidationException">
/// Thrown if validation fails
/// </exception>
public virtual void Validate()
{
if (Template == null)
{
throw new ValidationException(ValidationRules.CannotBeNull, "Template");
}
if (Template != null)
{
Template.Validate();
}
}
}
}

View File

@@ -1,60 +0,0 @@
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace k8s.Models
{
using Newtonsoft.Json;
using System.Linq;
/// <summary>
/// DaemonSetUpdateStrategy is a struct used to control the update strategy
/// for a DaemonSet.
/// </summary>
public partial class V1DaemonSetUpdateStrategy
{
/// <summary>
/// Initializes a new instance of the V1DaemonSetUpdateStrategy class.
/// </summary>
public V1DaemonSetUpdateStrategy()
{
CustomInit();
}
/// <summary>
/// Initializes a new instance of the V1DaemonSetUpdateStrategy class.
/// </summary>
/// <param name="rollingUpdate">Rolling update config params. Present
/// only if type = "RollingUpdate".</param>
/// <param name="type">Type of daemon set update. Can be
/// "RollingUpdate" or "OnDelete". Default is RollingUpdate.</param>
public V1DaemonSetUpdateStrategy(V1RollingUpdateDaemonSet rollingUpdate = default(V1RollingUpdateDaemonSet), string type = default(string))
{
RollingUpdate = rollingUpdate;
Type = type;
CustomInit();
}
/// <summary>
/// An initialization method that performs custom operations like setting defaults
/// </summary>
partial void CustomInit();
/// <summary>
/// Gets or sets rolling update config params. Present only if type =
/// "RollingUpdate".
/// </summary>
[JsonProperty(PropertyName = "rollingUpdate")]
public V1RollingUpdateDaemonSet RollingUpdate { get; set; }
/// <summary>
/// Gets or sets type of daemon set update. Can be "RollingUpdate" or
/// "OnDelete". Default is RollingUpdate.
/// </summary>
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
}
}

0
src/generated/Models/V1DeleteOptions.cs Executable file → Normal file
View File

View File

@@ -16,24 +16,22 @@ namespace k8s.Models
/// Note that this is identical to a downwardAPI volume source without the /// Note that this is identical to a downwardAPI volume source without the
/// default mode. /// default mode.
/// </summary> /// </summary>
public partial class Corev1DownwardAPIProjection public partial class V1DownwardAPIProjection
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIProjection /// Initializes a new instance of the V1DownwardAPIProjection class.
/// class.
/// </summary> /// </summary>
public Corev1DownwardAPIProjection() public V1DownwardAPIProjection()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIProjection /// Initializes a new instance of the V1DownwardAPIProjection class.
/// class.
/// </summary> /// </summary>
/// <param name="items">Items is a list of DownwardAPIVolume /// <param name="items">Items is a list of DownwardAPIVolume
/// file</param> /// file</param>
public Corev1DownwardAPIProjection(IList<Corev1DownwardAPIVolumeFile> items = default(IList<Corev1DownwardAPIVolumeFile>)) public V1DownwardAPIProjection(IList<V1DownwardAPIVolumeFile> items = default(IList<V1DownwardAPIVolumeFile>))
{ {
Items = items; Items = items;
CustomInit(); CustomInit();
@@ -48,7 +46,7 @@ namespace k8s.Models
/// Gets or sets items is a list of DownwardAPIVolume file /// Gets or sets items is a list of DownwardAPIVolume file
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1DownwardAPIVolumeFile> Items { get; set; } public IList<V1DownwardAPIVolumeFile> Items { get; set; }
} }
} }

View File

@@ -14,20 +14,18 @@ namespace k8s.Models
/// DownwardAPIVolumeFile represents information to create the file /// DownwardAPIVolumeFile represents information to create the file
/// containing the pod field /// containing the pod field
/// </summary> /// </summary>
public partial class Corev1DownwardAPIVolumeFile public partial class V1DownwardAPIVolumeFile
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIVolumeFile /// Initializes a new instance of the V1DownwardAPIVolumeFile class.
/// class.
/// </summary> /// </summary>
public Corev1DownwardAPIVolumeFile() public V1DownwardAPIVolumeFile()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIVolumeFile /// Initializes a new instance of the V1DownwardAPIVolumeFile class.
/// class.
/// </summary> /// </summary>
/// <param name="path">Required: Path is the relative path name of the /// <param name="path">Required: Path is the relative path name of the
/// file to be created. Must not be absolute or contain the '..' path. /// file to be created. Must not be absolute or contain the '..' path.
@@ -43,7 +41,7 @@ namespace k8s.Models
/// <param name="resourceFieldRef">Selects a resource of the container: /// <param name="resourceFieldRef">Selects a resource of the container:
/// only resources limits and requests (limits.cpu, limits.memory, /// only resources limits and requests (limits.cpu, limits.memory,
/// requests.cpu and requests.memory) are currently supported.</param> /// requests.cpu and requests.memory) are currently supported.</param>
public Corev1DownwardAPIVolumeFile(string path, Corev1ObjectFieldSelector fieldRef = default(Corev1ObjectFieldSelector), int? mode = default(int?), Corev1ResourceFieldSelector resourceFieldRef = default(Corev1ResourceFieldSelector)) public V1DownwardAPIVolumeFile(string path, V1ObjectFieldSelector fieldRef = default(V1ObjectFieldSelector), int? mode = default(int?), V1ResourceFieldSelector resourceFieldRef = default(V1ResourceFieldSelector))
{ {
FieldRef = fieldRef; FieldRef = fieldRef;
Mode = mode; Mode = mode;
@@ -62,7 +60,7 @@ namespace k8s.Models
/// annotations, labels, name and namespace are supported. /// annotations, labels, name and namespace are supported.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "fieldRef")] [JsonProperty(PropertyName = "fieldRef")]
public Corev1ObjectFieldSelector FieldRef { get; set; } public V1ObjectFieldSelector FieldRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets optional: mode bits to use on this file, must be a /// Gets or sets optional: mode bits to use on this file, must be a
@@ -89,7 +87,7 @@ namespace k8s.Models
/// requests.memory) are currently supported. /// requests.memory) are currently supported.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "resourceFieldRef")] [JsonProperty(PropertyName = "resourceFieldRef")]
public Corev1ResourceFieldSelector ResourceFieldRef { get; set; } public V1ResourceFieldSelector ResourceFieldRef { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -16,20 +16,18 @@ namespace k8s.Models
/// info. Downward API volumes support ownership management and SELinux /// info. Downward API volumes support ownership management and SELinux
/// relabeling. /// relabeling.
/// </summary> /// </summary>
public partial class Corev1DownwardAPIVolumeSource public partial class V1DownwardAPIVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIVolumeSource /// Initializes a new instance of the V1DownwardAPIVolumeSource class.
/// class.
/// </summary> /// </summary>
public Corev1DownwardAPIVolumeSource() public V1DownwardAPIVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1DownwardAPIVolumeSource /// Initializes a new instance of the V1DownwardAPIVolumeSource class.
/// class.
/// </summary> /// </summary>
/// <param name="defaultMode">Optional: mode bits to use on created /// <param name="defaultMode">Optional: mode bits to use on created
/// files by default. Must be a value between 0 and 0777. Defaults to /// files by default. Must be a value between 0 and 0777. Defaults to
@@ -39,7 +37,7 @@ namespace k8s.Models
/// set.</param> /// set.</param>
/// <param name="items">Items is a list of downward API volume /// <param name="items">Items is a list of downward API volume
/// file</param> /// file</param>
public Corev1DownwardAPIVolumeSource(int? defaultMode = default(int?), IList<Corev1DownwardAPIVolumeFile> items = default(IList<Corev1DownwardAPIVolumeFile>)) public V1DownwardAPIVolumeSource(int? defaultMode = default(int?), IList<V1DownwardAPIVolumeFile> items = default(IList<V1DownwardAPIVolumeFile>))
{ {
DefaultMode = defaultMode; DefaultMode = defaultMode;
Items = items; Items = items;
@@ -65,7 +63,7 @@ namespace k8s.Models
/// Gets or sets items is a list of downward API volume file /// Gets or sets items is a list of downward API volume file
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1DownwardAPIVolumeFile> Items { get; set; } public IList<V1DownwardAPIVolumeFile> Items { get; set; }
} }
} }

View File

@@ -13,18 +13,18 @@ namespace k8s.Models
/// Represents an empty directory for a pod. Empty directory volumes /// Represents an empty directory for a pod. Empty directory volumes
/// support ownership management and SELinux relabeling. /// support ownership management and SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1EmptyDirVolumeSource public partial class V1EmptyDirVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EmptyDirVolumeSource class. /// Initializes a new instance of the V1EmptyDirVolumeSource class.
/// </summary> /// </summary>
public Corev1EmptyDirVolumeSource() public V1EmptyDirVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EmptyDirVolumeSource class. /// Initializes a new instance of the V1EmptyDirVolumeSource class.
/// </summary> /// </summary>
/// <param name="medium">What type of storage medium should back this /// <param name="medium">What type of storage medium should back this
/// directory. The default is "" which means to use the node's default /// directory. The default is "" which means to use the node's default
@@ -37,7 +37,7 @@ namespace k8s.Models
/// memory limits of all containers in a pod. The default is nil which /// memory limits of all containers in a pod. The default is nil which
/// means that the limit is undefined. More info: /// means that the limit is undefined. More info:
/// http://kubernetes.io/docs/user-guide/volumes#emptydir</param> /// http://kubernetes.io/docs/user-guide/volumes#emptydir</param>
public Corev1EmptyDirVolumeSource(string medium = default(string), string sizeLimit = default(string)) public V1EmptyDirVolumeSource(string medium = default(string), ResourceQuantity sizeLimit = default(ResourceQuantity))
{ {
Medium = medium; Medium = medium;
SizeLimit = sizeLimit; SizeLimit = sizeLimit;
@@ -68,7 +68,7 @@ namespace k8s.Models
/// http://kubernetes.io/docs/user-guide/volumes#emptydir /// http://kubernetes.io/docs/user-guide/volumes#emptydir
/// </summary> /// </summary>
[JsonProperty(PropertyName = "sizeLimit")] [JsonProperty(PropertyName = "sizeLimit")]
public string SizeLimit { get; set; } public ResourceQuantity SizeLimit { get; set; }
} }
} }

View File

@@ -13,18 +13,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EndpointAddress is a tuple that describes single IP address. /// EndpointAddress is a tuple that describes single IP address.
/// </summary> /// </summary>
public partial class Corev1EndpointAddress public partial class V1EndpointAddress
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointAddress class. /// Initializes a new instance of the V1EndpointAddress class.
/// </summary> /// </summary>
public Corev1EndpointAddress() public V1EndpointAddress()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointAddress class. /// Initializes a new instance of the V1EndpointAddress class.
/// </summary> /// </summary>
/// <param name="ip">The IP of this endpoint. May not be loopback /// <param name="ip">The IP of this endpoint. May not be loopback
/// (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast /// (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast
@@ -36,7 +36,7 @@ namespace k8s.Models
/// can be used to determine endpoints local to a node.</param> /// can be used to determine endpoints local to a node.</param>
/// <param name="targetRef">Reference to object providing the /// <param name="targetRef">Reference to object providing the
/// endpoint.</param> /// endpoint.</param>
public Corev1EndpointAddress(string ip, string hostname = default(string), string nodeName = default(string), Corev1ObjectReference targetRef = default(Corev1ObjectReference)) public V1EndpointAddress(string ip, string hostname = default(string), string nodeName = default(string), V1ObjectReference targetRef = default(V1ObjectReference))
{ {
Hostname = hostname; Hostname = hostname;
Ip = ip; Ip = ip;
@@ -77,7 +77,7 @@ namespace k8s.Models
/// Gets or sets reference to object providing the endpoint. /// Gets or sets reference to object providing the endpoint.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "targetRef")] [JsonProperty(PropertyName = "targetRef")]
public Corev1ObjectReference TargetRef { get; set; } public V1ObjectReference TargetRef { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EndpointPort is a tuple that describes a single port. /// EndpointPort is a tuple that describes a single port.
/// </summary> /// </summary>
public partial class Corev1EndpointPort public partial class V1EndpointPort
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointPort class. /// Initializes a new instance of the V1EndpointPort class.
/// </summary> /// </summary>
public Corev1EndpointPort() public V1EndpointPort()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointPort class. /// Initializes a new instance of the V1EndpointPort class.
/// </summary> /// </summary>
/// <param name="port">The port number of the endpoint.</param> /// <param name="port">The port number of the endpoint.</param>
/// <param name="name">The name of this port (corresponds to /// <param name="name">The name of this port (corresponds to
@@ -31,7 +31,7 @@ namespace k8s.Models
/// is defined.</param> /// is defined.</param>
/// <param name="protocol">The IP protocol for this port. Must be UDP /// <param name="protocol">The IP protocol for this port. Must be UDP
/// or TCP. Default is TCP.</param> /// or TCP. Default is TCP.</param>
public Corev1EndpointPort(int port, string name = default(string), string protocol = default(string)) public V1EndpointPort(int port, string name = default(string), string protocol = default(string))
{ {
Name = name; Name = name;
Port = port; Port = port;

View File

@@ -23,18 +23,18 @@ namespace k8s.Models
/// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ], /// a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
/// b: [ 10.10.1.1:309, 10.10.2.2:309 ] /// b: [ 10.10.1.1:309, 10.10.2.2:309 ]
/// </summary> /// </summary>
public partial class Corev1EndpointSubset public partial class V1EndpointSubset
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointSubset class. /// Initializes a new instance of the V1EndpointSubset class.
/// </summary> /// </summary>
public Corev1EndpointSubset() public V1EndpointSubset()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointSubset class. /// Initializes a new instance of the V1EndpointSubset class.
/// </summary> /// </summary>
/// <param name="addresses">IP addresses which offer the related ports /// <param name="addresses">IP addresses which offer the related ports
/// that are marked as ready. These endpoints should be considered safe /// that are marked as ready. These endpoints should be considered safe
@@ -45,7 +45,7 @@ namespace k8s.Models
/// check, or have recently failed a liveness check.</param> /// check, or have recently failed a liveness check.</param>
/// <param name="ports">Port numbers available on the related IP /// <param name="ports">Port numbers available on the related IP
/// addresses.</param> /// addresses.</param>
public Corev1EndpointSubset(IList<Corev1EndpointAddress> addresses = default(IList<Corev1EndpointAddress>), IList<Corev1EndpointAddress> notReadyAddresses = default(IList<Corev1EndpointAddress>), IList<Corev1EndpointPort> ports = default(IList<Corev1EndpointPort>)) public V1EndpointSubset(IList<V1EndpointAddress> addresses = default(IList<V1EndpointAddress>), IList<V1EndpointAddress> notReadyAddresses = default(IList<V1EndpointAddress>), IList<V1EndpointPort> ports = default(IList<V1EndpointPort>))
{ {
Addresses = addresses; Addresses = addresses;
NotReadyAddresses = notReadyAddresses; NotReadyAddresses = notReadyAddresses;
@@ -64,7 +64,7 @@ namespace k8s.Models
/// balancers and clients to utilize. /// balancers and clients to utilize.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "addresses")] [JsonProperty(PropertyName = "addresses")]
public IList<Corev1EndpointAddress> Addresses { get; set; } public IList<V1EndpointAddress> Addresses { get; set; }
/// <summary> /// <summary>
/// Gets or sets IP addresses which offer the related ports but are not /// Gets or sets IP addresses which offer the related ports but are not
@@ -73,13 +73,13 @@ namespace k8s.Models
/// failed a liveness check. /// failed a liveness check.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "notReadyAddresses")] [JsonProperty(PropertyName = "notReadyAddresses")]
public IList<Corev1EndpointAddress> NotReadyAddresses { get; set; } public IList<V1EndpointAddress> NotReadyAddresses { get; set; }
/// <summary> /// <summary>
/// Gets or sets port numbers available on the related IP addresses. /// Gets or sets port numbers available on the related IP addresses.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "ports")] [JsonProperty(PropertyName = "ports")]
public IList<Corev1EndpointPort> Ports { get; set; } public IList<V1EndpointPort> Ports { get; set; }
} }
} }

View File

@@ -27,18 +27,18 @@ namespace k8s.Models
/// }, /// },
/// ] /// ]
/// </summary> /// </summary>
public partial class Corev1Endpoints public partial class V1Endpoints
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Endpoints class. /// Initializes a new instance of the V1Endpoints class.
/// </summary> /// </summary>
public Corev1Endpoints() public V1Endpoints()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Endpoints class. /// Initializes a new instance of the V1Endpoints class.
/// </summary> /// </summary>
/// <param name="subsets">The set of all endpoints is the union of all /// <param name="subsets">The set of all endpoints is the union of all
/// subsets. Addresses are placed into subsets according to the IPs /// subsets. Addresses are placed into subsets according to the IPs
@@ -60,7 +60,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard object's metadata. More info: /// <param name="metadata">Standard object's metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
public Corev1Endpoints(IList<Corev1EndpointSubset> subsets, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta)) public V1Endpoints(IList<V1EndpointSubset> subsets, string apiVersion = default(string), string kind = default(string), V1ObjectMeta metadata = default(V1ObjectMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Kind = kind; Kind = kind;
@@ -112,7 +112,7 @@ namespace k8s.Models
/// that comprise a service. /// that comprise a service.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "subsets")] [JsonProperty(PropertyName = "subsets")]
public IList<Corev1EndpointSubset> Subsets { get; set; } public IList<V1EndpointSubset> Subsets { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EndpointsList is a list of endpoints. /// EndpointsList is a list of endpoints.
/// </summary> /// </summary>
public partial class Corev1EndpointsList public partial class V1EndpointsList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointsList class. /// Initializes a new instance of the V1EndpointsList class.
/// </summary> /// </summary>
public Corev1EndpointsList() public V1EndpointsList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EndpointsList class. /// Initializes a new instance of the V1EndpointsList class.
/// </summary> /// </summary>
/// <param name="items">List of endpoints.</param> /// <param name="items">List of endpoints.</param>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -41,7 +41,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata. More info: /// <param name="metadata">Standard list metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
public Corev1EndpointsList(IList<Corev1Endpoints> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public V1EndpointsList(IList<V1Endpoints> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -69,7 +69,7 @@ namespace k8s.Models
/// Gets or sets list of endpoints. /// Gets or sets list of endpoints.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1Endpoints> Items { get; set; } public IList<V1Endpoints> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -12,24 +12,24 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EnvFromSource represents the source of a set of ConfigMaps /// EnvFromSource represents the source of a set of ConfigMaps
/// </summary> /// </summary>
public partial class Corev1EnvFromSource public partial class V1EnvFromSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvFromSource class. /// Initializes a new instance of the V1EnvFromSource class.
/// </summary> /// </summary>
public Corev1EnvFromSource() public V1EnvFromSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvFromSource class. /// Initializes a new instance of the V1EnvFromSource class.
/// </summary> /// </summary>
/// <param name="configMapRef">The ConfigMap to select from</param> /// <param name="configMapRef">The ConfigMap to select from</param>
/// <param name="prefix">An optional identifer to prepend to each key /// <param name="prefix">An optional identifer to prepend to each key
/// in the ConfigMap. Must be a C_IDENTIFIER.</param> /// in the ConfigMap. Must be a C_IDENTIFIER.</param>
/// <param name="secretRef">The Secret to select from</param> /// <param name="secretRef">The Secret to select from</param>
public Corev1EnvFromSource(Corev1ConfigMapEnvSource configMapRef = default(Corev1ConfigMapEnvSource), string prefix = default(string), Corev1SecretEnvSource secretRef = default(Corev1SecretEnvSource)) public V1EnvFromSource(V1ConfigMapEnvSource configMapRef = default(V1ConfigMapEnvSource), string prefix = default(string), V1SecretEnvSource secretRef = default(V1SecretEnvSource))
{ {
ConfigMapRef = configMapRef; ConfigMapRef = configMapRef;
Prefix = prefix; Prefix = prefix;
@@ -46,7 +46,7 @@ namespace k8s.Models
/// Gets or sets the ConfigMap to select from /// Gets or sets the ConfigMap to select from
/// </summary> /// </summary>
[JsonProperty(PropertyName = "configMapRef")] [JsonProperty(PropertyName = "configMapRef")]
public Corev1ConfigMapEnvSource ConfigMapRef { get; set; } public V1ConfigMapEnvSource ConfigMapRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets an optional identifer to prepend to each key in the /// Gets or sets an optional identifer to prepend to each key in the
@@ -59,7 +59,7 @@ namespace k8s.Models
/// Gets or sets the Secret to select from /// Gets or sets the Secret to select from
/// </summary> /// </summary>
[JsonProperty(PropertyName = "secretRef")] [JsonProperty(PropertyName = "secretRef")]
public Corev1SecretEnvSource SecretRef { get; set; } public V1SecretEnvSource SecretRef { get; set; }
} }
} }

View File

@@ -13,18 +13,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EnvVar represents an environment variable present in a Container. /// EnvVar represents an environment variable present in a Container.
/// </summary> /// </summary>
public partial class Corev1EnvVar public partial class V1EnvVar
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvVar class. /// Initializes a new instance of the V1EnvVar class.
/// </summary> /// </summary>
public Corev1EnvVar() public V1EnvVar()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvVar class. /// Initializes a new instance of the V1EnvVar class.
/// </summary> /// </summary>
/// <param name="name">Name of the environment variable. Must be a /// <param name="name">Name of the environment variable. Must be a
/// C_IDENTIFIER.</param> /// C_IDENTIFIER.</param>
@@ -37,7 +37,7 @@ namespace k8s.Models
/// of whether the variable exists or not. Defaults to "".</param> /// of whether the variable exists or not. Defaults to "".</param>
/// <param name="valueFrom">Source for the environment variable's /// <param name="valueFrom">Source for the environment variable's
/// value. Cannot be used if value is not empty.</param> /// value. Cannot be used if value is not empty.</param>
public Corev1EnvVar(string name, string value = default(string), Corev1EnvVarSource valueFrom = default(Corev1EnvVarSource)) public V1EnvVar(string name, string value = default(string), V1EnvVarSource valueFrom = default(V1EnvVarSource))
{ {
Name = name; Name = name;
Value = value; Value = value;
@@ -74,7 +74,7 @@ namespace k8s.Models
/// used if value is not empty. /// used if value is not empty.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "valueFrom")] [JsonProperty(PropertyName = "valueFrom")]
public Corev1EnvVarSource ValueFrom { get; set; } public V1EnvVarSource ValueFrom { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -12,18 +12,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EnvVarSource represents a source for the value of an EnvVar. /// EnvVarSource represents a source for the value of an EnvVar.
/// </summary> /// </summary>
public partial class Corev1EnvVarSource public partial class V1EnvVarSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvVarSource class. /// Initializes a new instance of the V1EnvVarSource class.
/// </summary> /// </summary>
public Corev1EnvVarSource() public V1EnvVarSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EnvVarSource class. /// Initializes a new instance of the V1EnvVarSource class.
/// </summary> /// </summary>
/// <param name="configMapKeyRef">Selects a key of a ConfigMap.</param> /// <param name="configMapKeyRef">Selects a key of a ConfigMap.</param>
/// <param name="fieldRef">Selects a field of the pod: supports /// <param name="fieldRef">Selects a field of the pod: supports
@@ -36,7 +36,7 @@ namespace k8s.Models
/// requests.ephemeral-storage) are currently supported.</param> /// requests.ephemeral-storage) are currently supported.</param>
/// <param name="secretKeyRef">Selects a key of a secret in the pod's /// <param name="secretKeyRef">Selects a key of a secret in the pod's
/// namespace</param> /// namespace</param>
public Corev1EnvVarSource(Corev1ConfigMapKeySelector configMapKeyRef = default(Corev1ConfigMapKeySelector), Corev1ObjectFieldSelector fieldRef = default(Corev1ObjectFieldSelector), Corev1ResourceFieldSelector resourceFieldRef = default(Corev1ResourceFieldSelector), Corev1SecretKeySelector secretKeyRef = default(Corev1SecretKeySelector)) public V1EnvVarSource(V1ConfigMapKeySelector configMapKeyRef = default(V1ConfigMapKeySelector), V1ObjectFieldSelector fieldRef = default(V1ObjectFieldSelector), V1ResourceFieldSelector resourceFieldRef = default(V1ResourceFieldSelector), V1SecretKeySelector secretKeyRef = default(V1SecretKeySelector))
{ {
ConfigMapKeyRef = configMapKeyRef; ConfigMapKeyRef = configMapKeyRef;
FieldRef = fieldRef; FieldRef = fieldRef;
@@ -54,7 +54,7 @@ namespace k8s.Models
/// Gets or sets selects a key of a ConfigMap. /// Gets or sets selects a key of a ConfigMap.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "configMapKeyRef")] [JsonProperty(PropertyName = "configMapKeyRef")]
public Corev1ConfigMapKeySelector ConfigMapKeyRef { get; set; } public V1ConfigMapKeySelector ConfigMapKeyRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets selects a field of the pod: supports metadata.name, /// Gets or sets selects a field of the pod: supports metadata.name,
@@ -63,7 +63,7 @@ namespace k8s.Models
/// status.podIP. /// status.podIP.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "fieldRef")] [JsonProperty(PropertyName = "fieldRef")]
public Corev1ObjectFieldSelector FieldRef { get; set; } public V1ObjectFieldSelector FieldRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets selects a resource of the container: only resources /// Gets or sets selects a resource of the container: only resources
@@ -72,13 +72,13 @@ namespace k8s.Models
/// requests.ephemeral-storage) are currently supported. /// requests.ephemeral-storage) are currently supported.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "resourceFieldRef")] [JsonProperty(PropertyName = "resourceFieldRef")]
public Corev1ResourceFieldSelector ResourceFieldRef { get; set; } public V1ResourceFieldSelector ResourceFieldRef { get; set; }
/// <summary> /// <summary>
/// Gets or sets selects a key of a secret in the pod's namespace /// Gets or sets selects a key of a secret in the pod's namespace
/// </summary> /// </summary>
[JsonProperty(PropertyName = "secretKeyRef")] [JsonProperty(PropertyName = "secretKeyRef")]
public Corev1SecretKeySelector SecretKeyRef { get; set; } public V1SecretKeySelector SecretKeyRef { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -13,18 +13,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// Event is a report of an event somewhere in the cluster. /// Event is a report of an event somewhere in the cluster.
/// </summary> /// </summary>
public partial class Corev1Event public partial class V1Event
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Event class. /// Initializes a new instance of the V1Event class.
/// </summary> /// </summary>
public Corev1Event() public V1Event()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1Event class. /// Initializes a new instance of the V1Event class.
/// </summary> /// </summary>
/// <param name="involvedObject">The object that this event is /// <param name="involvedObject">The object that this event is
/// about.</param> /// about.</param>
@@ -55,7 +55,7 @@ namespace k8s.Models
/// a short machine understandable string.</param> /// a short machine understandable string.</param>
/// <param name="type">Type of this event (Normal, Warning), new types /// <param name="type">Type of this event (Normal, Warning), new types
/// could be added in the future</param> /// could be added in the future</param>
public Corev1Event(Corev1ObjectReference involvedObject, V1ObjectMeta metadata, string apiVersion = default(string), int? count = default(int?), System.DateTime? firstTimestamp = default(System.DateTime?), string kind = default(string), System.DateTime? lastTimestamp = default(System.DateTime?), string message = default(string), string reason = default(string), Corev1EventSource source = default(Corev1EventSource), string type = default(string)) public V1Event(V1ObjectReference involvedObject, V1ObjectMeta metadata, string apiVersion = default(string), int? count = default(int?), System.DateTime? firstTimestamp = default(System.DateTime?), string kind = default(string), System.DateTime? lastTimestamp = default(System.DateTime?), string message = default(string), string reason = default(string), V1EventSource source = default(V1EventSource), string type = default(string))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Count = count; Count = count;
@@ -103,7 +103,7 @@ namespace k8s.Models
/// Gets or sets the object that this event is about. /// Gets or sets the object that this event is about.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "involvedObject")] [JsonProperty(PropertyName = "involvedObject")]
public Corev1ObjectReference InvolvedObject { get; set; } public V1ObjectReference InvolvedObject { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource
@@ -149,7 +149,7 @@ namespace k8s.Models
/// machine understandable string. /// machine understandable string.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "source")] [JsonProperty(PropertyName = "source")]
public Corev1EventSource Source { get; set; } public V1EventSource Source { get; set; }
/// <summary> /// <summary>
/// Gets or sets type of this event (Normal, Warning), new types could /// Gets or sets type of this event (Normal, Warning), new types could

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EventList is a list of events. /// EventList is a list of events.
/// </summary> /// </summary>
public partial class Corev1EventList public partial class V1EventList
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EventList class. /// Initializes a new instance of the V1EventList class.
/// </summary> /// </summary>
public Corev1EventList() public V1EventList()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EventList class. /// Initializes a new instance of the V1EventList class.
/// </summary> /// </summary>
/// <param name="items">List of events</param> /// <param name="items">List of events</param>
/// <param name="apiVersion">APIVersion defines the versioned schema of /// <param name="apiVersion">APIVersion defines the versioned schema of
@@ -41,7 +41,7 @@ namespace k8s.Models
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
/// <param name="metadata">Standard list metadata. More info: /// <param name="metadata">Standard list metadata. More info:
/// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param> /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
public Corev1EventList(IList<Corev1Event> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta)) public V1EventList(IList<V1Event> items, string apiVersion = default(string), string kind = default(string), V1ListMeta metadata = default(V1ListMeta))
{ {
ApiVersion = apiVersion; ApiVersion = apiVersion;
Items = items; Items = items;
@@ -69,7 +69,7 @@ namespace k8s.Models
/// Gets or sets list of events /// Gets or sets list of events
/// </summary> /// </summary>
[JsonProperty(PropertyName = "items")] [JsonProperty(PropertyName = "items")]
public IList<Corev1Event> Items { get; set; } public IList<V1Event> Items { get; set; }
/// <summary> /// <summary>
/// Gets or sets kind is a string value representing the REST resource /// Gets or sets kind is a string value representing the REST resource

View File

@@ -12,24 +12,24 @@ namespace k8s.Models
/// <summary> /// <summary>
/// EventSource contains information for an event. /// EventSource contains information for an event.
/// </summary> /// </summary>
public partial class Corev1EventSource public partial class V1EventSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EventSource class. /// Initializes a new instance of the V1EventSource class.
/// </summary> /// </summary>
public Corev1EventSource() public V1EventSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1EventSource class. /// Initializes a new instance of the V1EventSource class.
/// </summary> /// </summary>
/// <param name="component">Component from which the event is /// <param name="component">Component from which the event is
/// generated.</param> /// generated.</param>
/// <param name="host">Node name on which the event is /// <param name="host">Node name on which the event is
/// generated.</param> /// generated.</param>
public Corev1EventSource(string component = default(string), string host = default(string)) public V1EventSource(string component = default(string), string host = default(string))
{ {
Component = component; Component = component;
Host = host; Host = host;

View File

@@ -14,18 +14,18 @@ namespace k8s.Models
/// <summary> /// <summary>
/// ExecAction describes a "run in container" action. /// ExecAction describes a "run in container" action.
/// </summary> /// </summary>
public partial class Corev1ExecAction public partial class V1ExecAction
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ExecAction class. /// Initializes a new instance of the V1ExecAction class.
/// </summary> /// </summary>
public Corev1ExecAction() public V1ExecAction()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1ExecAction class. /// Initializes a new instance of the V1ExecAction class.
/// </summary> /// </summary>
/// <param name="command">Command is the command line to execute inside /// <param name="command">Command is the command line to execute inside
/// the container, the working directory for the command is root ('/') /// the container, the working directory for the command is root ('/')
@@ -34,7 +34,7 @@ namespace k8s.Models
/// etc) won't work. To use a shell, you need to explicitly call out to /// etc) won't work. To use a shell, you need to explicitly call out to
/// that shell. Exit status of 0 is treated as live/healthy and /// that shell. Exit status of 0 is treated as live/healthy and
/// non-zero is unhealthy.</param> /// non-zero is unhealthy.</param>
public Corev1ExecAction(IList<string> command = default(IList<string>)) public V1ExecAction(IList<string> command = default(IList<string>))
{ {
Command = command; Command = command;
CustomInit(); CustomInit();

View File

@@ -16,18 +16,18 @@ namespace k8s.Models
/// mounted as read/write once. Fibre Channel volumes support ownership /// mounted as read/write once. Fibre Channel volumes support ownership
/// management and SELinux relabeling. /// management and SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1FCVolumeSource public partial class V1FCVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FCVolumeSource class. /// Initializes a new instance of the V1FCVolumeSource class.
/// </summary> /// </summary>
public Corev1FCVolumeSource() public V1FCVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FCVolumeSource class. /// Initializes a new instance of the V1FCVolumeSource class.
/// </summary> /// </summary>
/// <param name="fsType">Filesystem type to mount. Must be a filesystem /// <param name="fsType">Filesystem type to mount. Must be a filesystem
/// type supported by the host operating system. Ex. "ext4", "xfs", /// type supported by the host operating system. Ex. "ext4", "xfs",
@@ -41,7 +41,7 @@ namespace k8s.Models
/// <param name="wwids">Optional: FC volume world wide identifiers /// <param name="wwids">Optional: FC volume world wide identifiers
/// (wwids) Either wwids or combination of targetWWNs and lun must be /// (wwids) Either wwids or combination of targetWWNs and lun must be
/// set, but not both simultaneously.</param> /// set, but not both simultaneously.</param>
public Corev1FCVolumeSource(string fsType = default(string), int? lun = default(int?), bool? readOnlyProperty = default(bool?), IList<string> targetWWNs = default(IList<string>), IList<string> wwids = default(IList<string>)) public V1FCVolumeSource(string fsType = default(string), int? lun = default(int?), bool? readOnlyProperty = default(bool?), IList<string> targetWWNs = default(IList<string>), IList<string> wwids = default(IList<string>))
{ {
FsType = fsType; FsType = fsType;
Lun = lun; Lun = lun;

View File

@@ -17,18 +17,18 @@ namespace k8s.Models
/// provisioned/attached using an exec based plugin. This is an alpha /// provisioned/attached using an exec based plugin. This is an alpha
/// feature and may change in future. /// feature and may change in future.
/// </summary> /// </summary>
public partial class Corev1FlexVolumeSource public partial class V1FlexVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FlexVolumeSource class. /// Initializes a new instance of the V1FlexVolumeSource class.
/// </summary> /// </summary>
public Corev1FlexVolumeSource() public V1FlexVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FlexVolumeSource class. /// Initializes a new instance of the V1FlexVolumeSource class.
/// </summary> /// </summary>
/// <param name="driver">Driver is the name of the driver to use for /// <param name="driver">Driver is the name of the driver to use for
/// this volume.</param> /// this volume.</param>
@@ -46,7 +46,7 @@ namespace k8s.Models
/// plugin scripts. This may be empty if no secret object is specified. /// plugin scripts. This may be empty if no secret object is specified.
/// If the secret object contains more than one secret, all secrets are /// If the secret object contains more than one secret, all secrets are
/// passed to the plugin scripts.</param> /// passed to the plugin scripts.</param>
public Corev1FlexVolumeSource(string driver, string fsType = default(string), IDictionary<string, string> options = default(IDictionary<string, string>), bool? readOnlyProperty = default(bool?), Corev1LocalObjectReference secretRef = default(Corev1LocalObjectReference)) public V1FlexVolumeSource(string driver, string fsType = default(string), IDictionary<string, string> options = default(IDictionary<string, string>), bool? readOnlyProperty = default(bool?), V1LocalObjectReference secretRef = default(V1LocalObjectReference))
{ {
Driver = driver; Driver = driver;
FsType = fsType; FsType = fsType;
@@ -97,7 +97,7 @@ namespace k8s.Models
/// plugin scripts. /// plugin scripts.
/// </summary> /// </summary>
[JsonProperty(PropertyName = "secretRef")] [JsonProperty(PropertyName = "secretRef")]
public Corev1LocalObjectReference SecretRef { get; set; } public V1LocalObjectReference SecretRef { get; set; }
/// <summary> /// <summary>
/// Validate the object. /// Validate the object.

View File

@@ -14,25 +14,25 @@ namespace k8s.Models
/// one of datasetName and datasetUUID should be set. Flocker volumes do /// one of datasetName and datasetUUID should be set. Flocker volumes do
/// not support ownership management or SELinux relabeling. /// not support ownership management or SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1FlockerVolumeSource public partial class V1FlockerVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FlockerVolumeSource class. /// Initializes a new instance of the V1FlockerVolumeSource class.
/// </summary> /// </summary>
public Corev1FlockerVolumeSource() public V1FlockerVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1FlockerVolumeSource class. /// Initializes a new instance of the V1FlockerVolumeSource class.
/// </summary> /// </summary>
/// <param name="datasetName">Name of the dataset stored as metadata /// <param name="datasetName">Name of the dataset stored as metadata
/// -&gt; name on the dataset for Flocker should be considered as /// -&gt; name on the dataset for Flocker should be considered as
/// deprecated</param> /// deprecated</param>
/// <param name="datasetUUID">UUID of the dataset. This is unique /// <param name="datasetUUID">UUID of the dataset. This is unique
/// identifier of a Flocker dataset</param> /// identifier of a Flocker dataset</param>
public Corev1FlockerVolumeSource(string datasetName = default(string), string datasetUUID = default(string)) public V1FlockerVolumeSource(string datasetName = default(string), string datasetUUID = default(string))
{ {
DatasetName = datasetName; DatasetName = datasetName;
DatasetUUID = datasetUUID; DatasetUUID = datasetUUID;

View File

@@ -18,20 +18,20 @@ namespace k8s.Models
/// be mounted as read/write once or read-only many times. GCE PDs support /// be mounted as read/write once or read-only many times. GCE PDs support
/// ownership management and SELinux relabeling. /// ownership management and SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1GCEPersistentDiskVolumeSource public partial class V1GCEPersistentDiskVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the V1GCEPersistentDiskVolumeSource
/// Corev1GCEPersistentDiskVolumeSource class. /// class.
/// </summary> /// </summary>
public Corev1GCEPersistentDiskVolumeSource() public V1GCEPersistentDiskVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the /// Initializes a new instance of the V1GCEPersistentDiskVolumeSource
/// Corev1GCEPersistentDiskVolumeSource class. /// class.
/// </summary> /// </summary>
/// <param name="pdName">Unique name of the PD resource in GCE. Used to /// <param name="pdName">Unique name of the PD resource in GCE. Used to
/// identify the disk in GCE. More info: /// identify the disk in GCE. More info:
@@ -50,7 +50,7 @@ namespace k8s.Models
/// <param name="readOnlyProperty">ReadOnly here will force the /// <param name="readOnlyProperty">ReadOnly here will force the
/// ReadOnly setting in VolumeMounts. Defaults to false. More info: /// ReadOnly setting in VolumeMounts. Defaults to false. More info:
/// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk</param> /// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk</param>
public Corev1GCEPersistentDiskVolumeSource(string pdName, string fsType = default(string), int? partition = default(int?), bool? readOnlyProperty = default(bool?)) public V1GCEPersistentDiskVolumeSource(string pdName, string fsType = default(string), int? partition = default(int?), bool? readOnlyProperty = default(bool?))
{ {
FsType = fsType; FsType = fsType;
Partition = partition; Partition = partition;

View File

@@ -15,18 +15,18 @@ namespace k8s.Models
/// repository. Git repo volumes do not support ownership management. Git /// repository. Git repo volumes do not support ownership management. Git
/// repo volumes support SELinux relabeling. /// repo volumes support SELinux relabeling.
/// </summary> /// </summary>
public partial class Corev1GitRepoVolumeSource public partial class V1GitRepoVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1GitRepoVolumeSource class. /// Initializes a new instance of the V1GitRepoVolumeSource class.
/// </summary> /// </summary>
public Corev1GitRepoVolumeSource() public V1GitRepoVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1GitRepoVolumeSource class. /// Initializes a new instance of the V1GitRepoVolumeSource class.
/// </summary> /// </summary>
/// <param name="repository">Repository URL</param> /// <param name="repository">Repository URL</param>
/// <param name="directory">Target directory name. Must not contain or /// <param name="directory">Target directory name. Must not contain or
@@ -36,7 +36,7 @@ namespace k8s.Models
/// name.</param> /// name.</param>
/// <param name="revision">Commit hash for the specified /// <param name="revision">Commit hash for the specified
/// revision.</param> /// revision.</param>
public Corev1GitRepoVolumeSource(string repository, string directory = default(string), string revision = default(string)) public V1GitRepoVolumeSource(string repository, string directory = default(string), string revision = default(string))
{ {
Directory = directory; Directory = directory;
Repository = repository; Repository = repository;

View File

@@ -15,20 +15,18 @@ namespace k8s.Models
/// Glusterfs volumes do not support ownership management or SELinux /// Glusterfs volumes do not support ownership management or SELinux
/// relabeling. /// relabeling.
/// </summary> /// </summary>
public partial class Corev1GlusterfsVolumeSource public partial class V1GlusterfsVolumeSource
{ {
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1GlusterfsVolumeSource /// Initializes a new instance of the V1GlusterfsVolumeSource class.
/// class.
/// </summary> /// </summary>
public Corev1GlusterfsVolumeSource() public V1GlusterfsVolumeSource()
{ {
CustomInit(); CustomInit();
} }
/// <summary> /// <summary>
/// Initializes a new instance of the Corev1GlusterfsVolumeSource /// Initializes a new instance of the V1GlusterfsVolumeSource class.
/// class.
/// </summary> /// </summary>
/// <param name="endpoints">EndpointsName is the endpoint name that /// <param name="endpoints">EndpointsName is the endpoint name that
/// details Glusterfs topology. More info: /// details Glusterfs topology. More info:
@@ -39,7 +37,7 @@ namespace k8s.Models
/// Glusterfs volume to be mounted with read-only permissions. Defaults /// Glusterfs volume to be mounted with read-only permissions. Defaults
/// to false. More info: /// to false. More info:
/// https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod</param> /// https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod</param>
public Corev1GlusterfsVolumeSource(string endpoints, string path, bool? readOnlyProperty = default(bool?)) public V1GlusterfsVolumeSource(string endpoints, string path, bool? readOnlyProperty = default(bool?))
{ {
Endpoints = endpoints; Endpoints = endpoints;
Path = path; Path = path;

Some files were not shown because too many files have changed in this diff Show More