Example #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgsecurityapissecurityv1ServiceAccountPodSecurityPolicyReviewStatus
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgsecurityapissecurityv1ServiceAccountPodSecurityPolicyReviewStatus(string name, Iok8skubernetespkgapiv1ObjectReference allowedBy = default(Iok8skubernetespkgapiv1ObjectReference), string reason = default(string), Iok8skubernetespkgapiv1PodTemplateSpec template = default(Iok8skubernetespkgapiv1PodTemplateSpec))
 {
     AllowedBy = allowedBy;
     Name      = name;
     Reason    = reason;
     Template  = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1PodTemplate class.
 /// </summary>
 public Iok8skubernetespkgapiv1PodTemplate(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8skubernetespkgapiv1PodTemplateSpec template = default(Iok8skubernetespkgapiv1PodTemplateSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Template   = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1ReplicationControllerSpec class.
 /// </summary>
 public Iok8skubernetespkgapiv1ReplicationControllerSpec(int?minReadySeconds = default(int?), int?replicas = default(int?), IDictionary <string, string> selector = default(IDictionary <string, string>), Iok8skubernetespkgapiv1PodTemplateSpec template = default(Iok8skubernetespkgapiv1PodTemplateSpec))
 {
     MinReadySeconds = minReadySeconds;
     Replicas        = replicas;
     Selector        = selector;
     Template        = template;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapisextensionsv1beta1ReplicaSetSpec class.
 /// </summary>
 public Iok8skubernetespkgapisextensionsv1beta1ReplicaSetSpec(int?minReadySeconds = default(int?), int?replicas = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8skubernetespkgapiv1PodTemplateSpec template = default(Iok8skubernetespkgapiv1PodTemplateSpec))
 {
     MinReadySeconds = minReadySeconds;
     Replicas        = replicas;
     Selector        = selector;
     Template        = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapisextensionsv1beta1DaemonSetSpec class.
 /// </summary>
 public Iok8skubernetespkgapisextensionsv1beta1DaemonSetSpec(Iok8skubernetespkgapiv1PodTemplateSpec template, int?minReadySeconds = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), long?templateGeneration = default(long?), Iok8skubernetespkgapisextensionsv1beta1DaemonSetUpdateStrategy updateStrategy = default(Iok8skubernetespkgapisextensionsv1beta1DaemonSetUpdateStrategy))
 {
     MinReadySeconds      = minReadySeconds;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     Template             = template;
     TemplateGeneration   = templateGeneration;
     UpdateStrategy       = updateStrategy;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapisbatchv1JobSpec class.
 /// </summary>
 public Iok8skubernetespkgapisbatchv1JobSpec(Iok8skubernetespkgapiv1PodTemplateSpec template, long?activeDeadlineSeconds = default(long?), int?completions = default(int?), bool?manualSelector = default(bool?), int?parallelism = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector))
 {
     ActiveDeadlineSeconds = activeDeadlineSeconds;
     Completions           = completions;
     ManualSelector        = manualSelector;
     Parallelism           = parallelism;
     Selector = selector;
     Template = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapisappsv1beta1StatefulSetSpec class.
 /// </summary>
 public Iok8skubernetespkgapisappsv1beta1StatefulSetSpec(string serviceName, Iok8skubernetespkgapiv1PodTemplateSpec template, string podManagementPolicy = default(string), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8skubernetespkgapisappsv1beta1StatefulSetUpdateStrategy updateStrategy = default(Iok8skubernetespkgapisappsv1beta1StatefulSetUpdateStrategy), IList <Iok8skubernetespkgapiv1PersistentVolumeClaim> volumeClaimTemplates = default(IList <Iok8skubernetespkgapiv1PersistentVolumeClaim>))
 {
     PodManagementPolicy  = podManagementPolicy;
     Replicas             = replicas;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     ServiceName          = serviceName;
     Template             = template;
     UpdateStrategy       = updateStrategy;
     VolumeClaimTemplates = volumeClaimTemplates;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgappsapisappsv1DeploymentConfigSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgappsapisappsv1DeploymentConfigSpec(int?minReadySeconds = default(int?), bool?paused = default(bool?), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), IDictionary <string, string> selector = default(IDictionary <string, string>), Comgithubopenshiftoriginpkgappsapisappsv1DeploymentStrategy strategy = default(Comgithubopenshiftoriginpkgappsapisappsv1DeploymentStrategy), Iok8skubernetespkgapiv1PodTemplateSpec template = default(Iok8skubernetespkgapiv1PodTemplateSpec), bool?test = default(bool?), IList <Comgithubopenshiftoriginpkgappsapisappsv1DeploymentTriggerPolicy> triggers = default(IList <Comgithubopenshiftoriginpkgappsapisappsv1DeploymentTriggerPolicy>))
 {
     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
 /// Iok8skubernetespkgapisappsv1beta1DeploymentSpec class.
 /// </summary>
 public Iok8skubernetespkgapisappsv1beta1DeploymentSpec(Iok8skubernetespkgapiv1PodTemplateSpec template, int?minReadySeconds = default(int?), bool?paused = default(bool?), int?progressDeadlineSeconds = default(int?), int?replicas = default(int?), int?revisionHistoryLimit = default(int?), Iok8skubernetespkgapisappsv1beta1RollbackConfig rollbackTo = default(Iok8skubernetespkgapisappsv1beta1RollbackConfig), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8skubernetespkgapisappsv1beta1DeploymentStrategy strategy = default(Iok8skubernetespkgapisappsv1beta1DeploymentStrategy))
 {
     MinReadySeconds         = minReadySeconds;
     Paused                  = paused;
     ProgressDeadlineSeconds = progressDeadlineSeconds;
     Replicas                = replicas;
     RevisionHistoryLimit    = revisionHistoryLimit;
     RollbackTo              = rollbackTo;
     Selector                = selector;
     Strategy                = strategy;
     Template                = template;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicySelfSubjectReviewSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicySelfSubjectReviewSpec(Iok8skubernetespkgapiv1PodTemplateSpec template)
 {
     Template = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicyReviewSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicyReviewSpec(Iok8skubernetespkgapiv1PodTemplateSpec template, IList <string> serviceAccountNames = default(IList <string>))
 {
     ServiceAccountNames = serviceAccountNames;
     Template            = template;
 }
Example #12
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicySubjectReviewSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgsecurityapissecurityv1PodSecurityPolicySubjectReviewSpec(Iok8skubernetespkgapiv1PodTemplateSpec template, IList <string> groups = default(IList <string>), string user = default(string))
 {
     Groups   = groups;
     Template = template;
     User     = user;
 }