示例#1
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgimageapisimagev1ImageImportSpec class.
 /// </summary>
 public Comgithubopenshiftoriginpkgimageapisimagev1ImageImportSpec(Iok8skubernetespkgapiv1ObjectReference fromProperty, Comgithubopenshiftoriginpkgimageapisimagev1TagImportPolicy importPolicy = default(Comgithubopenshiftoriginpkgimageapisimagev1TagImportPolicy), bool?includeManifest = default(bool?), Comgithubopenshiftoriginpkgimageapisimagev1TagReferencePolicy referencePolicy = default(Comgithubopenshiftoriginpkgimageapisimagev1TagReferencePolicy), Iok8skubernetespkgapiv1LocalObjectReference to = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     FromProperty    = fromProperty;
     ImportPolicy    = importPolicy;
     IncludeManifest = includeManifest;
     ReferencePolicy = referencePolicy;
     To = to;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1StorageOSVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1StorageOSVolumeSource(string fsType = default(string), bool?readOnlyProperty = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference secretRef = default(Iok8skubernetespkgapiv1LocalObjectReference), 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
 /// Iok8skubernetespkgapiv1FlexVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1FlexVolumeSource(string driver, string fsType = default(string), IDictionary <string, string> options = default(IDictionary <string, string>), bool?readOnlyProperty = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference secretRef = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     Driver           = driver;
     FsType           = fsType;
     Options          = options;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1CephFSVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1CephFSVolumeSource(IList <string> monitors, string path = default(string), bool?readOnlyProperty = default(bool?), string secretFile = default(string), Iok8skubernetespkgapiv1LocalObjectReference secretRef = default(Iok8skubernetespkgapiv1LocalObjectReference), string user = default(string))
 {
     Monitors         = monitors;
     Path             = path;
     ReadOnlyProperty = readOnlyProperty;
     SecretFile       = secretFile;
     SecretRef        = secretRef;
     User             = user;
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1SourceBuildStrategy
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1SourceBuildStrategy(Iok8skubernetespkgapiv1ObjectReference fromProperty, IList <Iok8skubernetespkgapiv1EnvVar> env = default(IList <Iok8skubernetespkgapiv1EnvVar>), bool?forcePull = default(bool?), bool?incremental = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference pullSecret = default(Iok8skubernetespkgapiv1LocalObjectReference), string scripts = default(string))
 {
     Env          = env;
     ForcePull    = forcePull;
     FromProperty = fromProperty;
     Incremental  = incremental;
     PullSecret   = pullSecret;
     Scripts      = scripts;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1CustomBuildStrategy
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1CustomBuildStrategy(Iok8skubernetespkgapiv1ObjectReference fromProperty, string buildAPIVersion = default(string), IList <Iok8skubernetespkgapiv1EnvVar> env = default(IList <Iok8skubernetespkgapiv1EnvVar>), bool?exposeDockerSocket = default(bool?), bool?forcePull = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference pullSecret = default(Iok8skubernetespkgapiv1LocalObjectReference), IList <Comgithubopenshiftoriginpkgbuildapisbuildv1SecretSpec> secrets = default(IList <Comgithubopenshiftoriginpkgbuildapisbuildv1SecretSpec>))
 {
     BuildAPIVersion    = buildAPIVersion;
     Env                = env;
     ExposeDockerSocket = exposeDockerSocket;
     ForcePull          = forcePull;
     FromProperty       = fromProperty;
     PullSecret         = pullSecret;
     Secrets            = secrets;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1BuildSource class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1BuildSource(string type, Comgithubopenshiftoriginpkgbuildapisbuildv1BinaryBuildSource binary = default(Comgithubopenshiftoriginpkgbuildapisbuildv1BinaryBuildSource), string contextDir = default(string), string dockerfile = default(string), Comgithubopenshiftoriginpkgbuildapisbuildv1GitBuildSource git = default(Comgithubopenshiftoriginpkgbuildapisbuildv1GitBuildSource), IList <Comgithubopenshiftoriginpkgbuildapisbuildv1ImageSource> images = default(IList <Comgithubopenshiftoriginpkgbuildapisbuildv1ImageSource>), IList <Comgithubopenshiftoriginpkgbuildapisbuildv1SecretBuildSource> secrets = default(IList <Comgithubopenshiftoriginpkgbuildapisbuildv1SecretBuildSource>), Iok8skubernetespkgapiv1LocalObjectReference sourceSecret = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     Binary       = binary;
     ContextDir   = contextDir;
     Dockerfile   = dockerfile;
     Git          = git;
     Images       = images;
     Secrets      = secrets;
     SourceSecret = sourceSecret;
     Type         = type;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1RBDVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1RBDVolumeSource(string image, IList <string> monitors, string fsType = default(string), string keyring = default(string), string pool = default(string), bool?readOnlyProperty = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference secretRef = default(Iok8skubernetespkgapiv1LocalObjectReference), 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
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1DockerBuildStrategy
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1DockerBuildStrategy(IList <Iok8skubernetespkgapiv1EnvVar> buildArgs = default(IList <Iok8skubernetespkgapiv1EnvVar>), string dockerfilePath = default(string), IList <Iok8skubernetespkgapiv1EnvVar> env = default(IList <Iok8skubernetespkgapiv1EnvVar>), bool?forcePull = default(bool?), Iok8skubernetespkgapiv1ObjectReference fromProperty = default(Iok8skubernetespkgapiv1ObjectReference), string imageOptimizationPolicy = default(string), bool?noCache = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference pullSecret = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     BuildArgs               = buildArgs;
     DockerfilePath          = dockerfilePath;
     Env                     = env;
     ForcePull               = forcePull;
     FromProperty            = fromProperty;
     ImageOptimizationPolicy = imageOptimizationPolicy;
     NoCache                 = noCache;
     PullSecret              = pullSecret;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1ISCSIVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1ISCSIVolumeSource(string iqn, int lun, string targetPortal, bool?chapAuthDiscovery = default(bool?), bool?chapAuthSession = default(bool?), string fsType = default(string), string iscsiInterface = default(string), IList <string> portals = default(IList <string>), bool?readOnlyProperty = default(bool?), Iok8skubernetespkgapiv1LocalObjectReference secretRef = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     ChapAuthDiscovery = chapAuthDiscovery;
     ChapAuthSession   = chapAuthSession;
     FsType            = fsType;
     Iqn              = iqn;
     IscsiInterface   = iscsiInterface;
     Lun              = lun;
     Portals          = portals;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     TargetPortal     = targetPortal;
 }
示例#11
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubernetespkgapiv1ScaleIOVolumeSource class.
 /// </summary>
 public Iok8skubernetespkgapiv1ScaleIOVolumeSource(string gateway, Iok8skubernetespkgapiv1LocalObjectReference 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;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1ImageSource class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1ImageSource(Iok8skubernetespkgapiv1ObjectReference fromProperty, IList <Comgithubopenshiftoriginpkgbuildapisbuildv1ImageSourcePath> paths, Iok8skubernetespkgapiv1LocalObjectReference pullSecret = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     FromProperty = fromProperty;
     Paths        = paths;
     PullSecret   = pullSecret;
 }
示例#13
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgtemplateapistemplatev1TemplateInstanceSpec
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgtemplateapistemplatev1TemplateInstanceSpec(Comgithubopenshiftoriginpkgtemplateapistemplatev1TemplateInstanceRequester requester, Comgithubopenshiftoriginpkgtemplateapistemplatev1Template template, Iok8skubernetespkgapiv1LocalObjectReference secret = default(Iok8skubernetespkgapiv1LocalObjectReference))
 {
     Requester = requester;
     Secret    = secret;
     Template  = template;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1SecretSpec class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1SecretSpec(string mountPath, Iok8skubernetespkgapiv1LocalObjectReference secretSource)
 {
     MountPath    = mountPath;
     SecretSource = secretSource;
 }
示例#15
0
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1BuildOutput class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1BuildOutput(IList <Comgithubopenshiftoriginpkgbuildapisbuildv1ImageLabel> imageLabels = default(IList <Comgithubopenshiftoriginpkgbuildapisbuildv1ImageLabel>), Iok8skubernetespkgapiv1LocalObjectReference pushSecret = default(Iok8skubernetespkgapiv1LocalObjectReference), Iok8skubernetespkgapiv1ObjectReference to = default(Iok8skubernetespkgapiv1ObjectReference))
 {
     ImageLabels = imageLabels;
     PushSecret  = pushSecret;
     To          = to;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Comgithubopenshiftoriginpkgbuildapisbuildv1SecretBuildSource
 /// class.
 /// </summary>
 public Comgithubopenshiftoriginpkgbuildapisbuildv1SecretBuildSource(Iok8skubernetespkgapiv1LocalObjectReference secret, string destinationDir = default(string))
 {
     DestinationDir = destinationDir;
     Secret         = secret;
 }