Exemple #1
0
 /// <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;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapiappsv1DeploymentStrategy class.
 /// </summary>
 public Comgithubopenshiftapiappsv1DeploymentStrategy(long?activeDeadlineSeconds = default(long?), IDictionary <string, string> annotations = default(IDictionary <string, string>), Comgithubopenshiftapiappsv1CustomDeploymentStrategyParams customParams = default(Comgithubopenshiftapiappsv1CustomDeploymentStrategyParams), IDictionary <string, string> labels = default(IDictionary <string, string>), Comgithubopenshiftapiappsv1RecreateDeploymentStrategyParams recreateParams = default(Comgithubopenshiftapiappsv1RecreateDeploymentStrategyParams), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Comgithubopenshiftapiappsv1RollingDeploymentStrategyParams rollingParams = default(Comgithubopenshiftapiappsv1RollingDeploymentStrategyParams), string type = default(string))
 {
     ActiveDeadlineSeconds = activeDeadlineSeconds;
     Annotations           = annotations;
     CustomParams          = customParams;
     Labels         = labels;
     RecreateParams = recreateParams;
     Resources      = resources;
     RollingParams  = rollingParams;
     Type           = type;
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildSpec class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildSpec(IDictionary <string, string> nodeSelector, Comgithubopenshiftapibuildv1BuildStrategy strategy, IList <Comgithubopenshiftapibuildv1BuildTriggerCause> triggeredBy, long?completionDeadlineSeconds = default(long?), Comgithubopenshiftapibuildv1BuildOutput output = default(Comgithubopenshiftapibuildv1BuildOutput), Comgithubopenshiftapibuildv1BuildPostCommitSpec postCommit = default(Comgithubopenshiftapibuildv1BuildPostCommitSpec), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), string serviceAccount = default(string), Comgithubopenshiftapibuildv1BuildSource source = default(Comgithubopenshiftapibuildv1BuildSource))
 {
     CompletionDeadlineSeconds = completionDeadlineSeconds;
     NodeSelector   = nodeSelector;
     Output         = output;
     PostCommit     = postCommit;
     Resources      = resources;
     Revision       = revision;
     ServiceAccount = serviceAccount;
     Source         = source;
     Strategy       = strategy;
     TriggeredBy    = triggeredBy;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildConfigSpec class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildConfigSpec(IDictionary <string, string> nodeSelector, Comgithubopenshiftapibuildv1BuildStrategy strategy, IList <Comgithubopenshiftapibuildv1BuildTriggerPolicy> triggers, long?completionDeadlineSeconds = default(long?), int?failedBuildsHistoryLimit = default(int?), Comgithubopenshiftapibuildv1BuildOutput output = default(Comgithubopenshiftapibuildv1BuildOutput), Comgithubopenshiftapibuildv1BuildPostCommitSpec postCommit = default(Comgithubopenshiftapibuildv1BuildPostCommitSpec), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Comgithubopenshiftapibuildv1SourceRevision revision = default(Comgithubopenshiftapibuildv1SourceRevision), string runPolicy = default(string), string serviceAccount = default(string), Comgithubopenshiftapibuildv1BuildSource source = default(Comgithubopenshiftapibuildv1BuildSource), int?successfulBuildsHistoryLimit = default(int?))
 {
     CompletionDeadlineSeconds = completionDeadlineSeconds;
     FailedBuildsHistoryLimit  = failedBuildsHistoryLimit;
     NodeSelector   = nodeSelector;
     Output         = output;
     PostCommit     = postCommit;
     Resources      = resources;
     Revision       = revision;
     RunPolicy      = runPolicy;
     ServiceAccount = serviceAccount;
     Source         = source;
     Strategy       = strategy;
     SuccessfulBuildsHistoryLimit = successfulBuildsHistoryLimit;
     Triggers = triggers;
 }
Exemple #5
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Container class.
 /// </summary>
 public Iok8sapicorev1Container(string name, IList <string> args = default(IList <string>), IList <string> command = default(IList <string>), IList <Iok8sapicorev1EnvVar> env = default(IList <Iok8sapicorev1EnvVar>), IList <Iok8sapicorev1EnvFromSource> envFrom = default(IList <Iok8sapicorev1EnvFromSource>), string image = default(string), string imagePullPolicy = default(string), Iok8sapicorev1Lifecycle lifecycle = default(Iok8sapicorev1Lifecycle), Iok8sapicorev1Probe livenessProbe = default(Iok8sapicorev1Probe), IList <Iok8sapicorev1ContainerPort> ports = default(IList <Iok8sapicorev1ContainerPort>), Iok8sapicorev1Probe readinessProbe = default(Iok8sapicorev1Probe), Iok8sapicorev1ResourceRequirements resources = default(Iok8sapicorev1ResourceRequirements), Iok8sapicorev1SecurityContext securityContext = default(Iok8sapicorev1SecurityContext), bool?stdin = default(bool?), bool?stdinOnce = default(bool?), string terminationMessagePath = default(string), string terminationMessagePolicy = default(string), bool?tty = default(bool?), IList <Iok8sapicorev1VolumeDevice> volumeDevices = default(IList <Iok8sapicorev1VolumeDevice>), IList <Iok8sapicorev1VolumeMount> volumeMounts = default(IList <Iok8sapicorev1VolumeMount>), string workingDir = default(string))
 {
     Args                     = args;
     Command                  = command;
     Env                      = env;
     EnvFrom                  = envFrom;
     Image                    = image;
     ImagePullPolicy          = imagePullPolicy;
     Lifecycle                = lifecycle;
     LivenessProbe            = livenessProbe;
     Name                     = name;
     Ports                    = ports;
     ReadinessProbe           = readinessProbe;
     Resources                = resources;
     SecurityContext          = securityContext;
     Stdin                    = stdin;
     StdinOnce                = stdinOnce;
     TerminationMessagePath   = terminationMessagePath;
     TerminationMessagePolicy = terminationMessagePolicy;
     Tty                      = tty;
     VolumeDevices            = volumeDevices;
     VolumeMounts             = volumeMounts;
     WorkingDir               = workingDir;
 }