/// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1PersistentVolumeSpec class.
 /// </summary>
 /// <param name="accessModes">AccessModes contains all ways the volume
 /// can be mounted. More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes</param>
 /// <param name="awsElasticBlockStore">AWSElasticBlockStore represents
 /// an AWS Disk resource that is attached to a kubelet's host machine
 /// and then exposed to the pod. More info:
 /// https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore</param>
 /// <param name="azureDisk">AzureDisk represents an Azure Data Disk
 /// mount on the host and bind mount to the pod.</param>
 /// <param name="azureFile">AzureFile represents an Azure File Service
 /// mount on the host and bind mount to the pod.</param>
 /// <param name="capacity">A description of the persistent volume's
 /// resources and capacity. More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity</param>
 /// <param name="cephfs">CephFS represents a Ceph FS mount on the host
 /// that shares a pod's lifetime</param>
 /// <param name="cinder">Cinder represents a cinder volume attached and
 /// mounted on kubelets host machine More info:
 /// https://releases.k8s.io/HEAD/examples/mysql-cinder-pd/README.md</param>
 /// <param name="claimRef">ClaimRef is part of a bi-directional binding
 /// between PersistentVolume and PersistentVolumeClaim. Expected to be
 /// non-nil when bound. claim.VolumeName is the authoritative bind
 /// between PV and PVC. More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#binding</param>
 /// <param name="fc">FC represents a Fibre Channel resource that is
 /// attached to a kubelet's host machine and then exposed to the
 /// pod.</param>
 /// <param name="flexVolume">FlexVolume represents a generic volume
 /// resource that is provisioned/attached using an exec based plugin.
 /// This is an alpha feature and may change in future.</param>
 /// <param name="flocker">Flocker represents a Flocker volume attached
 /// to a kubelet's host machine and exposed to the pod for its usage.
 /// This depends on the Flocker control service being running</param>
 /// <param name="gcePersistentDisk">GCEPersistentDisk represents a GCE
 /// Disk resource that is attached to a kubelet's host machine and then
 /// exposed to the pod. Provisioned by an admin. More info:
 /// https://kubernetes.io/docs/concepts/storage/volumes#gcepersistentdisk</param>
 /// <param name="glusterfs">Glusterfs represents a Glusterfs volume
 /// that is attached to a host and exposed to the pod. Provisioned by
 /// an admin. More info:
 /// https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md</param>
 /// <param name="hostPath">HostPath represents a directory on the host.
 /// Provisioned by a developer or tester. This is useful for
 /// single-node development and testing only! On-host storage is not
 /// supported in any way and WILL NOT WORK in a multi-node cluster.
 /// More info:
 /// https://kubernetes.io/docs/concepts/storage/volumes#hostpath</param>
 /// <param name="iscsi">ISCSI represents an ISCSI Disk resource that is
 /// attached to a kubelet's host machine and then exposed to the pod.
 /// Provisioned by an admin.</param>
 /// <param name="local">Local represents directly-attached storage with
 /// node affinity</param>
 /// <param name="mountOptions">A list of mount options, e.g. ["ro",
 /// "soft"]. Not validated - mount will simply fail if one is invalid.
 /// More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes/#mount-options</param>
 /// <param name="nfs">NFS represents an NFS mount on the host.
 /// Provisioned by an admin. More info:
 /// https://kubernetes.io/docs/concepts/storage/volumes#nfs</param>
 /// <param name="persistentVolumeReclaimPolicy">What happens to a
 /// persistent volume when released from its claim. Valid options are
 /// Retain (default) and Recycle. Recycling must be supported by the
 /// volume plugin underlying this persistent volume. More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming</param>
 /// <param name="photonPersistentDisk">PhotonPersistentDisk represents
 /// a PhotonController persistent disk attached and mounted on kubelets
 /// host machine</param>
 /// <param name="portworxVolume">PortworxVolume represents a portworx
 /// volume attached and mounted on kubelets host machine</param>
 /// <param name="quobyte">Quobyte represents a Quobyte mount on the
 /// host that shares a pod's lifetime</param>
 /// <param name="rbd">RBD represents a Rados Block Device mount on the
 /// host that shares a pod's lifetime. More info:
 /// https://releases.k8s.io/HEAD/examples/volumes/rbd/README.md</param>
 /// <param name="scaleIO">ScaleIO represents a ScaleIO persistent
 /// volume attached and mounted on Kubernetes nodes.</param>
 /// <param name="storageClassName">Name of StorageClass to which this
 /// persistent volume belongs. Empty value means that this volume does
 /// not belong to any StorageClass.</param>
 /// <param name="storageos">StorageOS represents a StorageOS volume
 /// that is attached to the kubelet's host machine and mounted into the
 /// pod More info:
 /// https://releases.k8s.io/HEAD/examples/volumes/storageos/README.md</param>
 /// <param name="vsphereVolume">VsphereVolume represents a vSphere
 /// volume attached and mounted on kubelets host machine</param>
 public Iok8sapicorev1PersistentVolumeSpec(IList <string> accessModes = default(IList <string>), Iok8sapicorev1AWSElasticBlockStoreVolumeSource awsElasticBlockStore = default(Iok8sapicorev1AWSElasticBlockStoreVolumeSource), Iok8sapicorev1AzureDiskVolumeSource azureDisk = default(Iok8sapicorev1AzureDiskVolumeSource), Iok8sapicorev1AzureFilePersistentVolumeSource azureFile = default(Iok8sapicorev1AzureFilePersistentVolumeSource), IDictionary <string, string> capacity = default(IDictionary <string, string>), Iok8sapicorev1CephFSPersistentVolumeSource cephfs = default(Iok8sapicorev1CephFSPersistentVolumeSource), Iok8sapicorev1CinderVolumeSource cinder = default(Iok8sapicorev1CinderVolumeSource), Iok8sapicorev1ObjectReference claimRef = default(Iok8sapicorev1ObjectReference), Iok8sapicorev1FCVolumeSource fc = default(Iok8sapicorev1FCVolumeSource), Iok8sapicorev1FlexVolumeSource flexVolume = default(Iok8sapicorev1FlexVolumeSource), Iok8sapicorev1FlockerVolumeSource flocker = default(Iok8sapicorev1FlockerVolumeSource), Iok8sapicorev1GCEPersistentDiskVolumeSource gcePersistentDisk = default(Iok8sapicorev1GCEPersistentDiskVolumeSource), Iok8sapicorev1GlusterfsVolumeSource glusterfs = default(Iok8sapicorev1GlusterfsVolumeSource), Iok8sapicorev1HostPathVolumeSource hostPath = default(Iok8sapicorev1HostPathVolumeSource), Iok8sapicorev1ISCSIVolumeSource iscsi = default(Iok8sapicorev1ISCSIVolumeSource), Iok8sapicorev1LocalVolumeSource local = default(Iok8sapicorev1LocalVolumeSource), IList <string> mountOptions = default(IList <string>), Iok8sapicorev1NFSVolumeSource nfs = default(Iok8sapicorev1NFSVolumeSource), string persistentVolumeReclaimPolicy = default(string), Iok8sapicorev1PhotonPersistentDiskVolumeSource photonPersistentDisk = default(Iok8sapicorev1PhotonPersistentDiskVolumeSource), Iok8sapicorev1PortworxVolumeSource portworxVolume = default(Iok8sapicorev1PortworxVolumeSource), Iok8sapicorev1QuobyteVolumeSource quobyte = default(Iok8sapicorev1QuobyteVolumeSource), Iok8sapicorev1RBDPersistentVolumeSource rbd = default(Iok8sapicorev1RBDPersistentVolumeSource), Iok8sapicorev1ScaleIOPersistentVolumeSource scaleIO = default(Iok8sapicorev1ScaleIOPersistentVolumeSource), string storageClassName = default(string), Iok8sapicorev1StorageOSPersistentVolumeSource storageos = default(Iok8sapicorev1StorageOSPersistentVolumeSource), Iok8sapicorev1VsphereVirtualDiskVolumeSource vsphereVolume = default(Iok8sapicorev1VsphereVirtualDiskVolumeSource))
 {
     AccessModes          = accessModes;
     AwsElasticBlockStore = awsElasticBlockStore;
     AzureDisk            = azureDisk;
     AzureFile            = azureFile;
     Capacity             = capacity;
     Cephfs                        = cephfs;
     Cinder                        = cinder;
     ClaimRef                      = claimRef;
     Fc                            = fc;
     FlexVolume                    = flexVolume;
     Flocker                       = flocker;
     GcePersistentDisk             = gcePersistentDisk;
     Glusterfs                     = glusterfs;
     HostPath                      = hostPath;
     Iscsi                         = iscsi;
     Local                         = local;
     MountOptions                  = mountOptions;
     Nfs                           = nfs;
     PersistentVolumeReclaimPolicy = persistentVolumeReclaimPolicy;
     PhotonPersistentDisk          = photonPersistentDisk;
     PortworxVolume                = portworxVolume;
     Quobyte                       = quobyte;
     Rbd                           = rbd;
     ScaleIO                       = scaleIO;
     StorageClassName              = storageClassName;
     Storageos                     = storageos;
     VsphereVolume                 = vsphereVolume;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1NodeConfigSource
 /// class.
 /// </summary>
 /// <param name="apiVersion">APIVersion defines the versioned schema of
 /// this representation of an object. Servers should convert recognized
 /// schemas to the latest internal value, and may reject unrecognized
 /// values. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources</param>
 /// <param name="kind">Kind is a string value representing the REST
 /// resource this object represents. Servers may infer this from the
 /// endpoint the client submits requests to. Cannot be updated. In
 /// CamelCase. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
 public Iok8sapicorev1NodeConfigSource(string apiVersion = default(string), Iok8sapicorev1ObjectReference configMapRef = default(Iok8sapicorev1ObjectReference), string kind = default(string))
 {
     ApiVersion   = apiVersion;
     ConfigMapRef = configMapRef;
     Kind         = kind;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Binding class.
 /// </summary>
 /// <param name="target">The target object that you want to bind to the
 /// standard object.</param>
 /// <param name="apiVersion">APIVersion defines the versioned schema of
 /// this representation of an object. Servers should convert recognized
 /// schemas to the latest internal value, and may reject unrecognized
 /// values. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources</param>
 /// <param name="kind">Kind is a string value representing the REST
 /// resource this object represents. Servers may infer this from the
 /// endpoint the client submits requests to. Cannot be updated. In
 /// CamelCase. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 public Iok8sapicorev1Binding(Iok8sapicorev1ObjectReference target, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Target     = target;
     CustomInit();
 }
示例#4
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1EndpointAddress
 /// class.
 /// </summary>
 /// <param name="ip">The IP of this endpoint. May not be loopback
 /// (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast
 /// ((224.0.0.0/24). IPv6 is also accepted but not fully supported on
 /// all platforms. Also, certain kubernetes components, like
 /// kube-proxy, are not IPv6 ready.</param>
 /// <param name="hostname">The Hostname of this endpoint</param>
 /// <param name="nodeName">Optional: Node hosting this endpoint. This
 /// can be used to determine endpoints local to a node.</param>
 /// <param name="targetRef">Reference to object providing the
 /// endpoint.</param>
 public Iok8sapicorev1EndpointAddress(string ip, string hostname = default(string), string nodeName = default(string), Iok8sapicorev1ObjectReference targetRef = default(Iok8sapicorev1ObjectReference))
 {
     Hostname  = hostname;
     Ip        = ip;
     NodeName  = nodeName;
     TargetRef = targetRef;
     CustomInit();
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1StorageOSPersistentVolumeSource class.
 /// </summary>
 /// <param name="fsType">Filesystem type to mount. Must be a filesystem
 /// type supported by the host operating system. Ex. "ext4", "xfs",
 /// "ntfs". Implicitly inferred to be "ext4" if unspecified.</param>
 /// <param name="readOnlyProperty">Defaults to false (read/write).
 /// ReadOnly here will force the ReadOnly setting in
 /// VolumeMounts.</param>
 /// <param name="secretRef">SecretRef specifies the secret to use for
 /// obtaining the StorageOS API credentials.  If not specified, default
 /// values will be attempted.</param>
 /// <param name="volumeName">VolumeName is the human-readable name of
 /// the StorageOS volume.  Volume names are only unique within a
 /// namespace.</param>
 /// <param name="volumeNamespace">VolumeNamespace specifies the scope
 /// of the volume within StorageOS.  If no namespace is specified then
 /// the Pod's namespace will be used.  This allows the Kubernetes name
 /// scoping to be mirrored within StorageOS for tighter integration.
 /// Set VolumeName to any name to override the default behaviour. Set
 /// to "default" if you are not using namespaces within StorageOS.
 /// Namespaces that do not pre-exist within StorageOS will be
 /// created.</param>
 public Iok8sapicorev1StorageOSPersistentVolumeSource(string fsType = default(string), bool?readOnlyProperty = default(bool?), Iok8sapicorev1ObjectReference secretRef = default(Iok8sapicorev1ObjectReference), string volumeName = default(string), string volumeNamespace = default(string))
 {
     FsType           = fsType;
     ReadOnlyProperty = readOnlyProperty;
     SecretRef        = secretRef;
     VolumeName       = volumeName;
     VolumeNamespace  = volumeNamespace;
     CustomInit();
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Event class.
 /// </summary>
 /// <param name="involvedObject">The object that this event is
 /// about.</param>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="apiVersion">APIVersion defines the versioned schema of
 /// this representation of an object. Servers should convert recognized
 /// schemas to the latest internal value, and may reject unrecognized
 /// values. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#resources</param>
 /// <param name="count">The number of times this event has
 /// occurred.</param>
 /// <param name="firstTimestamp">The time at which the event was first
 /// recorded. (Time of server receipt is in TypeMeta.)</param>
 /// <param name="kind">Kind is a string value representing the REST
 /// resource this object represents. Servers may infer this from the
 /// endpoint the client submits requests to. Cannot be updated. In
 /// CamelCase. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds</param>
 /// <param name="lastTimestamp">The time at which the most recent
 /// occurrence of this event was recorded.</param>
 /// <param name="message">A human-readable description of the status of
 /// this operation.</param>
 /// <param name="reason">This should be a short, machine understandable
 /// string that gives the reason for the transition into the object's
 /// current status.</param>
 /// <param name="source">The component reporting this event. Should be
 /// a short machine understandable string.</param>
 /// <param name="type">Type of this event (Normal, Warning), new types
 /// could be added in the future</param>
 public Iok8sapicorev1Event(Iok8sapicorev1ObjectReference involvedObject, Iok8sapimachinerypkgapismetav1ObjectMeta metadata, string apiVersion = default(string), int?count = default(int?), System.DateTime?firstTimestamp = default(System.DateTime?), string kind = default(string), System.DateTime?lastTimestamp = default(System.DateTime?), string message = default(string), string reason = default(string), Iok8sapicorev1EventSource source = default(Iok8sapicorev1EventSource), string type = default(string))
 {
     ApiVersion     = apiVersion;
     Count          = count;
     FirstTimestamp = firstTimestamp;
     InvolvedObject = involvedObject;
     Kind           = kind;
     LastTimestamp  = lastTimestamp;
     Message        = message;
     Metadata       = metadata;
     Reason         = reason;
     Source         = source;
     Type           = type;
     CustomInit();
 }