Пример #1
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1FlexVolumeSource
 /// class.
 /// </summary>
 public Iok8sapicorev1FlexVolumeSource(string driver, string fsType = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), bool?readOnlyProperty = default(bool?), Iok8sapicorev1LocalObjectReference secretRef = default(Iok8sapicorev1LocalObjectReference))
 {
     Driver           = driver;
     FsType           = fsType;
     Options          = options;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1StorageOSVolumeSource class.
 /// </summary>
 public Iok8sapicorev1StorageOSVolumeSource(string fsType = default(string), bool?readOnlyProperty = default(bool?), Iok8sapicorev1LocalObjectReference secretRef = default(Iok8sapicorev1LocalObjectReference), string volumeName = default(string), string volumeNamespace = default(string))
 {
     FsType           = fsType;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     VolumeName       = volumeName;
     VolumeNamespace  = volumeNamespace;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapiimagev1ImageImportSpec class.
 /// </summary>
 public Comgithubopenshiftapiimagev1ImageImportSpec(Iok8sapicorev1ObjectReference fromProperty, Comgithubopenshiftapiimagev1TagImportPolicy importPolicy = default(Comgithubopenshiftapiimagev1TagImportPolicy), bool?includeManifest = default(bool?), Comgithubopenshiftapiimagev1TagReferencePolicy referencePolicy = default(Comgithubopenshiftapiimagev1TagReferencePolicy), Iok8sapicorev1LocalObjectReference to = default(Iok8sapicorev1LocalObjectReference))
 {
     FromProperty    = fromProperty;
     ImportPolicy    = importPolicy;
     IncludeManifest = includeManifest;
     ReferencePolicy = referencePolicy;
     To = to;
 }
Пример #4
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1SourceBuildStrategy class.
 /// </summary>
 public Comgithubopenshiftapibuildv1SourceBuildStrategy(Iok8sapicorev1ObjectReference fromProperty, IList <Iok8sapicorev1EnvVar> env = default(IList <Iok8sapicorev1EnvVar>), bool?forcePull = default(bool?), bool?incremental = default(bool?), Iok8sapicorev1LocalObjectReference pullSecret = default(Iok8sapicorev1LocalObjectReference), string scripts = default(string))
 {
     Env          = env;
     ForcePull    = forcePull;
     FromProperty = fromProperty;
     Incremental  = incremental;
     PullSecret   = pullSecret;
     Scripts      = scripts;
 }
Пример #5
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1CephFSVolumeSource
 /// class.
 /// </summary>
 public Iok8sapicorev1CephFSVolumeSource(IList <string> monitors, string path = default(string), bool?readOnlyProperty = default(bool?), string secretFile = default(string), Iok8sapicorev1LocalObjectReference secretRef = default(Iok8sapicorev1LocalObjectReference), string user = default(string))
 {
     Monitors         = monitors;
     Path             = path;
     ReadOnlyProperty = readOnlyProperty;
     SecretFile       = secretFile;
     SecretRef        = secretRef;
     User             = user;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1CustomBuildStrategy class.
 /// </summary>
 public Comgithubopenshiftapibuildv1CustomBuildStrategy(Iok8sapicorev1ObjectReference fromProperty, string buildAPIVersion = default(string), IList <Iok8sapicorev1EnvVar> env = default(IList <Iok8sapicorev1EnvVar>), bool?exposeDockerSocket = default(bool?), bool?forcePull = default(bool?), Iok8sapicorev1LocalObjectReference pullSecret = default(Iok8sapicorev1LocalObjectReference), IList <Comgithubopenshiftapibuildv1SecretSpec> secrets = default(IList <Comgithubopenshiftapibuildv1SecretSpec>))
 {
     BuildAPIVersion    = buildAPIVersion;
     Env                = env;
     ExposeDockerSocket = exposeDockerSocket;
     ForcePull          = forcePull;
     FromProperty       = fromProperty;
     PullSecret         = pullSecret;
     Secrets            = secrets;
 }
Пример #7
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1RBDVolumeSource
 /// class.
 /// </summary>
 public Iok8sapicorev1RBDVolumeSource(string image, IList <string> monitors, string fsType = default(string), string keyring = default(string), string pool = default(string), bool?readOnlyProperty = default(bool?), Iok8sapicorev1LocalObjectReference secretRef = default(Iok8sapicorev1LocalObjectReference), string user = default(string))
 {
     FsType           = fsType;
     Image            = image;
     Keyring          = keyring;
     Monitors         = monitors;
     Pool             = pool;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     User             = user;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1DockerBuildStrategy class.
 /// </summary>
 public Comgithubopenshiftapibuildv1DockerBuildStrategy(IList <Iok8sapicorev1EnvVar> buildArgs = default(IList <Iok8sapicorev1EnvVar>), string dockerfilePath = default(string), IList <Iok8sapicorev1EnvVar> env = default(IList <Iok8sapicorev1EnvVar>), bool?forcePull = default(bool?), Iok8sapicorev1ObjectReference fromProperty = default(Iok8sapicorev1ObjectReference), string imageOptimizationPolicy = default(string), bool?noCache = default(bool?), Iok8sapicorev1LocalObjectReference pullSecret = default(Iok8sapicorev1LocalObjectReference))
 {
     BuildArgs               = buildArgs;
     DockerfilePath          = dockerfilePath;
     Env                     = env;
     ForcePull               = forcePull;
     FromProperty            = fromProperty;
     ImageOptimizationPolicy = imageOptimizationPolicy;
     NoCache                 = noCache;
     PullSecret              = pullSecret;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildSource class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildSource(string type, Comgithubopenshiftapibuildv1BinaryBuildSource binary = default(Comgithubopenshiftapibuildv1BinaryBuildSource), string contextDir = default(string), string dockerfile = default(string), Comgithubopenshiftapibuildv1GitBuildSource git = default(Comgithubopenshiftapibuildv1GitBuildSource), IList <Comgithubopenshiftapibuildv1ImageSource> images = default(IList <Comgithubopenshiftapibuildv1ImageSource>), IList <Comgithubopenshiftapibuildv1SecretBuildSource> secrets = default(IList <Comgithubopenshiftapibuildv1SecretBuildSource>), Iok8sapicorev1LocalObjectReference sourceSecret = default(Iok8sapicorev1LocalObjectReference))
 {
     Binary       = binary;
     ContextDir   = contextDir;
     Dockerfile   = dockerfile;
     Git          = git;
     Images       = images;
     Secrets      = secrets;
     SourceSecret = sourceSecret;
     Type         = type;
 }
Пример #10
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1ScaleIOVolumeSource class.
 /// </summary>
 public Iok8sapicorev1ScaleIOVolumeSource(string gateway, Iok8sapicorev1LocalObjectReference secretRef, string system, string fsType = default(string), string protectionDomain = default(string), bool?readOnlyProperty = default(bool?), bool?sslEnabled = default(bool?), string storageMode = default(string), string storagePool = default(string), string volumeName = default(string))
 {
     FsType           = fsType;
     Gateway          = gateway;
     ProtectionDomain = protectionDomain;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     SslEnabled       = sslEnabled;
     StorageMode      = storageMode;
     StoragePool      = storagePool;
     System           = system;
     VolumeName       = volumeName;
 }
Пример #11
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1ISCSIVolumeSource
 /// class.
 /// </summary>
 public Iok8sapicorev1ISCSIVolumeSource(string iqn, int lun, string targetPortal, bool?chapAuthDiscovery = default(bool?), bool?chapAuthSession = default(bool?), string fsType = default(string), string initiatorName = default(string), string iscsiInterface = default(string), IList <string> portals = default(IList <string>), bool?readOnlyProperty = default(bool?), Iok8sapicorev1LocalObjectReference secretRef = default(Iok8sapicorev1LocalObjectReference))
 {
     ChapAuthDiscovery = chapAuthDiscovery;
     ChapAuthSession   = chapAuthSession;
     FsType            = fsType;
     InitiatorName     = initiatorName;
     Iqn              = iqn;
     IscsiInterface   = iscsiInterface;
     Lun              = lun;
     Portals          = portals;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     TargetPortal     = targetPortal;
 }
Пример #12
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1SecretSpec class.
 /// </summary>
 public Comgithubopenshiftapibuildv1SecretSpec(string mountPath, Iok8sapicorev1LocalObjectReference secretSource)
 {
     MountPath    = mountPath;
     SecretSource = secretSource;
 }
Пример #13
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapitemplatev1TemplateInstanceSpec class.
 /// </summary>
 public Comgithubopenshiftapitemplatev1TemplateInstanceSpec(Comgithubopenshiftapitemplatev1TemplateInstanceRequester requester, Comgithubopenshiftapitemplatev1Template template, Iok8sapicorev1LocalObjectReference secret = default(Iok8sapicorev1LocalObjectReference))
 {
     Requester = requester;
     Secret    = secret;
     Template  = template;
 }
Пример #14
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1ImageSource class.
 /// </summary>
 public Comgithubopenshiftapibuildv1ImageSource(Iok8sapicorev1ObjectReference fromProperty, IList <Comgithubopenshiftapibuildv1ImageSourcePath> paths, Iok8sapicorev1LocalObjectReference pullSecret = default(Iok8sapicorev1LocalObjectReference))
 {
     FromProperty = fromProperty;
     Paths        = paths;
     PullSecret   = pullSecret;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1BuildOutput class.
 /// </summary>
 public Comgithubopenshiftapibuildv1BuildOutput(IList <Comgithubopenshiftapibuildv1ImageLabel> imageLabels = default(IList <Comgithubopenshiftapibuildv1ImageLabel>), Iok8sapicorev1LocalObjectReference pushSecret = default(Iok8sapicorev1LocalObjectReference), Iok8sapicorev1ObjectReference to = default(Iok8sapicorev1ObjectReference))
 {
     ImageLabels = imageLabels;
     PushSecret  = pushSecret;
     To          = to;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftapibuildv1SecretBuildSource class.
 /// </summary>
 public Comgithubopenshiftapibuildv1SecretBuildSource(Iok8sapicorev1LocalObjectReference secret, string destinationDir = default(string))
 {
     DestinationDir = destinationDir;
     Secret         = secret;
 }