Example #1
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
 /// Iok8sapiextensionsv1beta1NetworkPolicySpec class.
 /// </summary>
 public Iok8sapiextensionsv1beta1NetworkPolicySpec(Iok8sapimachinerypkgapismetav1LabelSelector podSelector, IList <Iok8sapiextensionsv1beta1NetworkPolicyEgressRule> egress = default(IList <Iok8sapiextensionsv1beta1NetworkPolicyEgressRule>), IList <Iok8sapiextensionsv1beta1NetworkPolicyIngressRule> ingress = default(IList <Iok8sapiextensionsv1beta1NetworkPolicyIngressRule>), IList <string> policyTypes = default(IList <string>))
 {
     Egress      = egress;
     Ingress     = ingress;
     PodSelector = podSelector;
     PolicyTypes = policyTypes;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapiappsv1DaemonSetSpec
 /// class.
 /// </summary>
 public Iok8sapiappsv1DaemonSetSpec(Iok8sapimachinerypkgapismetav1LabelSelector selector, Iok8sapicorev1PodTemplateSpec template, int?minReadySeconds = default(int?), int?revisionHistoryLimit = default(int?), Iok8sapiappsv1DaemonSetUpdateStrategy updateStrategy = default(Iok8sapiappsv1DaemonSetUpdateStrategy))
 {
     MinReadySeconds      = minReadySeconds;
     RevisionHistoryLimit = revisionHistoryLimit;
     Selector             = selector;
     Template             = template;
     UpdateStrategy       = updateStrategy;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiadmissionregistrationv1beta1Webhook class.
 /// </summary>
 public Iok8sapiadmissionregistrationv1beta1Webhook(Iok8sapiadmissionregistrationv1beta1WebhookClientConfig clientConfig, string name, string failurePolicy = default(string), Iok8sapimachinerypkgapismetav1LabelSelector namespaceSelector = default(Iok8sapimachinerypkgapismetav1LabelSelector), IList <Iok8sapiadmissionregistrationv1beta1RuleWithOperations> rules = default(IList <Iok8sapiadmissionregistrationv1beta1RuleWithOperations>))
 {
     ClientConfig      = clientConfig;
     FailurePolicy     = failurePolicy;
     Name              = name;
     NamespaceSelector = namespaceSelector;
     Rules             = rules;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1PersistentVolumeClaimSpec class.
 /// </summary>
 public Iok8sapicorev1PersistentVolumeClaimSpec(IList <string> accessModes = default(IList <string>), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector), string storageClassName = default(string), string volumeMode = default(string), string volumeName = default(string))
 {
     AccessModes      = accessModes;
     Resources        = resources;
     Selector         = selector;
     StorageClassName = storageClassName;
     VolumeMode       = volumeMode;
     VolumeName       = volumeName;
 }
Example #6
0
 /// <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;
 }
Example #7
0
 /// <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;
 }
Example #8
0
 /// <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;
 }
Example #9
0
 /// <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;
 }
Example #10
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapiquotav1ClusterResourceQuotaSelector class.
 /// </summary>
 public Comgithubopenshiftapiquotav1ClusterResourceQuotaSelector(IDictionary <string, string> annotations, Iok8sapimachinerypkgapismetav1LabelSelector labels)
 {
     Annotations = annotations;
     Labels      = labels;
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1PodAffinityTerm
 /// class.
 /// </summary>
 public Iok8sapicorev1PodAffinityTerm(string topologyKey, Iok8sapimachinerypkgapismetav1LabelSelector labelSelector = default(Iok8sapimachinerypkgapismetav1LabelSelector), IList <string> namespaces = default(IList <string>))
 {
     LabelSelector = labelSelector;
     Namespaces    = namespaces;
     TopologyKey   = topologyKey;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapipolicyv1beta1PodDisruptionBudgetSpec class.
 /// </summary>
 public Iok8sapipolicyv1beta1PodDisruptionBudgetSpec(string maxUnavailable = default(string), string minAvailable = default(string), Iok8sapimachinerypkgapismetav1LabelSelector selector = default(Iok8sapimachinerypkgapismetav1LabelSelector))
 {
     MaxUnavailable = maxUnavailable;
     MinAvailable   = minAvailable;
     Selector       = selector;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1NetworkPolicyPeer class.
 /// </summary>
 public Iok8sapiextensionsv1beta1NetworkPolicyPeer(Iok8sapiextensionsv1beta1IPBlock ipBlock = default(Iok8sapiextensionsv1beta1IPBlock), Iok8sapimachinerypkgapismetav1LabelSelector namespaceSelector = default(Iok8sapimachinerypkgapismetav1LabelSelector), Iok8sapimachinerypkgapismetav1LabelSelector podSelector = default(Iok8sapimachinerypkgapismetav1LabelSelector))
 {
     IpBlock           = ipBlock;
     NamespaceSelector = namespaceSelector;
     PodSelector       = podSelector;
 }