/// <summary>
 /// Initializes a new instance of the Iok8sapicorev1EnvVarSource class.
 /// </summary>
 public Iok8sapicorev1EnvVarSource(Iok8sapicorev1ConfigMapKeySelector configMapKeyRef = default(Iok8sapicorev1ConfigMapKeySelector), Iok8sapicorev1ObjectFieldSelector fieldRef = default(Iok8sapicorev1ObjectFieldSelector), Iok8sapicorev1ResourceFieldSelector resourceFieldRef = default(Iok8sapicorev1ResourceFieldSelector), Iok8sapicorev1SecretKeySelector secretKeyRef = default(Iok8sapicorev1SecretKeySelector))
 {
     ConfigMapKeyRef  = configMapKeyRef;
     FieldRef         = fieldRef;
     ResourceFieldRef = resourceFieldRef;
     SecretKeyRef     = secretKeyRef;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1DownwardAPIVolumeFile class.
 /// </summary>
 public Iok8sapicorev1DownwardAPIVolumeFile(string path, Iok8sapicorev1ObjectFieldSelector fieldRef = default(Iok8sapicorev1ObjectFieldSelector), int?mode = default(int?), Iok8sapicorev1ResourceFieldSelector resourceFieldRef = default(Iok8sapicorev1ResourceFieldSelector))
 {
     FieldRef         = fieldRef;
     Mode             = mode;
     Path             = path;
     ResourceFieldRef = resourceFieldRef;
 }