/// <summary>
 /// Initializes a new instance of the Iok8sapicorev1PodTemplate class.
 /// </summary>
 public Iok8sapicorev1PodTemplate(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Template   = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1ReplicationControllerSpec class.
 /// </summary>
 public Iok8sapicorev1ReplicationControllerSpec(int?minReadySeconds = default(int?), int?replicas = default(int?), IDictionary <string, string> selector = default(IDictionary <string, string>), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec))
 {
     MinReadySeconds = minReadySeconds;
     Replicas        = replicas;
     Selector        = selector;
     Template        = template;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapisecurityv1ServiceAccountPodSecurityPolicyReviewStatus
 /// class.
 /// </summary>
 public Comgithubopenshiftapisecurityv1ServiceAccountPodSecurityPolicyReviewStatus(string name, Iok8sapicorev1ObjectReference allowedBy = default(Iok8sapicorev1ObjectReference), string reason = default(string), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec))
 {
     AllowedBy = allowedBy;
     Name      = name;
     Reason    = reason;
     Template  = template;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1ReplicaSetSpec class.
 /// </summary>
 public Iok8sapiextensionsv1beta1ReplicaSetSpec(int?minReadySeconds = default(int?), int?replicas = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec))
 {
     MinReadySeconds = minReadySeconds;
     Replicas        = replicas;
     Selector        = selector;
     Template        = template;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapiappsv1beta2DaemonSetSpec
 /// class.
 /// </summary>
 public Iok8sapiappsv1beta2DaemonSetSpec(Iok8sapimachinerypkgapismetav1LabelSelector selector, Iok8sapicorev1PodTemplateSpec template, int?minReadySeconds = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapiappsv1beta2DaemonSetUpdateStrategy updateStrategy = default(Iok8sapiappsv1beta2DaemonSetUpdateStrategy))
 {
     MinReadySeconds      = minReadySeconds;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     Template             = template;
     UpdateStrategy       = updateStrategy;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1DaemonSetSpec class.
 /// </summary>
 public Iok8sapiextensionsv1beta1DaemonSetSpec(Iok8sapicorev1PodTemplateSpec template, int?minReadySeconds = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), long?templateGeneration = default(long?), Iok8sapiextensionsv1beta1DaemonSetUpdateStrategy updateStrategy = default(Iok8sapiextensionsv1beta1DaemonSetUpdateStrategy))
 {
     MinReadySeconds      = minReadySeconds;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     Template             = template;
     TemplateGeneration   = templateGeneration;
     UpdateStrategy       = updateStrategy;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapibatchv1JobSpec class.
 /// </summary>
 public Iok8sapibatchv1JobSpec(Iok8sapicorev1PodTemplateSpec template, long?activeDeadlineSeconds = default(long?), int?backoffLimit = default(int?), int?completions = default(int?), bool?manualSelector = default(bool?), int?parallelism = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector))
 {
     ActiveDeadlineSeconds = activeDeadlineSeconds;
     BackoffLimit          = backoffLimit;
     Completions           = completions;
     ManualSelector        = manualSelector;
     Parallelism           = parallelism;
     Selector = selector;
     Template = template;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapiappsv1DeploymentSpec
 /// class.
 /// </summary>
 public Iok8sapiappsv1DeploymentSpec(Iok8sapimachinerypkgapismetav1LabelSelector selector, Iok8sapicorev1PodTemplateSpec template, int?minReadySeconds = default(int?), bool?paused = default(bool?), int?progressDeadlineSeconds = default(int?), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapiappsv1DeploymentStrategy strategy = default(Iok8sapiappsv1DeploymentStrategy))
 {
     MinReadySeconds         = minReadySeconds;
     Paused                  = paused;
     ProgressDeadlineSeconds = progressDeadlineSeconds;
     Replicas                = replicas;
     RevisionHistoryLimit    = revisionHistoryLimit;
     Selector                = selector;
     Strategy                = strategy;
     Template                = template;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapiappsv1StatefulSetSpec
 /// class.
 /// </summary>
 public Iok8sapiappsv1StatefulSetSpec(Iok8sapimachinerypkgapismetav1LabelSelector selector, string serviceName, Iok8sapicorev1PodTemplateSpec template, string podManagementPolicy = default(string), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapiappsv1StatefulSetUpdateStrategy updateStrategy = default(Iok8sapiappsv1StatefulSetUpdateStrategy), IList <Iok8sapicorev1PersistentVolumeClaim> volumeClaimTemplates = default(IList <Iok8sapicorev1PersistentVolumeClaim>))
 {
     PodManagementPolicy  = podManagementPolicy;
     Replicas             = replicas;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     ServiceName          = serviceName;
     Template             = template;
     UpdateStrategy       = updateStrategy;
     VolumeClaimTemplates = volumeClaimTemplates;
 }
Ejemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapiappsv1DeploymentConfigSpec class.
 /// </summary>
 public Comgithubopenshiftapiappsv1DeploymentConfigSpec(int?minReadySeconds = default(int?), bool?paused = default(bool?), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), IDictionary <string, string> selector = default(IDictionary <string, string>), Comgithubopenshiftapiappsv1DeploymentStrategy strategy = default(Comgithubopenshiftapiappsv1DeploymentStrategy), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec), bool?test = default(bool?), IList <Comgithubopenshiftapiappsv1DeploymentTriggerPolicy> triggers = default(IList <Comgithubopenshiftapiappsv1DeploymentTriggerPolicy>))
 {
     MinReadySeconds      = minReadySeconds;
     Paused               = paused;
     Replicas             = replicas;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     Strategy             = strategy;
     Template             = template;
     Test     = test;
     Triggers = triggers;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapisecurityv1PodSecurityPolicySubjectReviewSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftapisecurityv1PodSecurityPolicySubjectReviewSpec(Iok8sapicorev1PodTemplateSpec template, IList <string> groups = default(IList <string>), string user = default(string))
 {
     Groups   = groups;
     Template = template;
     User     = user;
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapisecurityv1PodSecurityPolicySelfSubjectReviewSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftapisecurityv1PodSecurityPolicySelfSubjectReviewSpec(Iok8sapicorev1PodTemplateSpec template)
 {
     Template = template;
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapisecurityv1PodSecurityPolicyReviewSpec class.
 /// </summary>
 public Comgithubopenshiftapisecurityv1PodSecurityPolicyReviewSpec(Iok8sapicorev1PodTemplateSpec template, IList <string> serviceAccountNames = default(IList <string>))
 {
     ServiceAccountNames = serviceAccountNames;
     Template            = template;
 }