コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapinetworkingv1NetworkPolicy
 /// 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Specification of the desired behavior for this
 /// NetworkPolicy.</param>
 public Iok8sapinetworkingv1NetworkPolicy(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapinetworkingv1NetworkPolicySpec spec = default(Iok8sapinetworkingv1NetworkPolicySpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsv1beta1PodSecurityPolicy 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">spec defines the policy enforced.</param>
 public Iok8sapiextensionsv1beta1PodSecurityPolicy(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapiextensionsv1beta1PodSecurityPolicySpec spec = default(Iok8sapiextensionsv1beta1PodSecurityPolicySpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
コード例 #3
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapiappsv1beta1StatefulSet
 /// 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>
 /// <param name="spec">Spec defines the desired identities of pods in
 /// this set.</param>
 /// <param name="status">Status is the current status of Pods in this
 /// StatefulSet. This data may be out of date by some window of
 /// time.</param>
 public Iok8sapiappsv1beta1StatefulSet(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapiappsv1beta1StatefulSetSpec spec = default(Iok8sapiappsv1beta1StatefulSetSpec), Iok8sapiappsv1beta1StatefulSetStatus status = default(Iok8sapiappsv1beta1StatefulSetStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #4
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Secret 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="data">Data contains the secret data. Each key must
 /// consist of alphanumeric characters, '-', '_' or '.'. The serialized
 /// form of the secret data is a base64 encoded string, representing
 /// the arbitrary (possibly non-string) data value here. Described in
 /// https://tools.ietf.org/html/rfc4648#section-4</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>
 /// <param name="stringData">stringData allows specifying non-binary
 /// secret data in string form. It is provided as a write-only
 /// convenience method. All keys and values are merged into the data
 /// field on write, overwriting any existing values. It is never output
 /// when reading from the API.</param>
 /// <param name="type">Used to facilitate programmatic handling of
 /// secret data.</param>
 public Iok8sapicorev1Secret(string apiVersion = default(string), IDictionary <string, byte[]> data = default(IDictionary <string, byte[]>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), IDictionary <string, string> stringData = default(IDictionary <string, string>), string type = default(string))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Kind       = kind;
     Metadata   = metadata;
     StringData = stringData;
     Type       = type;
     CustomInit();
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapirbacv1beta1ClusterRoleBinding class.
 /// </summary>
 /// <param name="roleRef">RoleRef can only reference a ClusterRole in
 /// the global namespace. If the RoleRef cannot be resolved, the
 /// Authorizer must return an error.</param>
 /// <param name="subjects">Subjects holds references to the objects the
 /// role applies to.</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.</param>
 public Iok8sapirbacv1beta1ClusterRoleBinding(Iok8sapirbacv1beta1RoleRef roleRef, IList <Iok8sapirbacv1beta1Subject> subjects, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     RoleRef    = roleRef;
     Subjects   = subjects;
     CustomInit();
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1LimitRange 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Spec defines the limits enforced. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapicorev1LimitRange(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1LimitRangeSpec spec = default(Iok8sapicorev1LimitRangeSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapibatchv1Job 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Specification of the desired behavior of a job.
 /// More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 /// <param name="status">Current status of a job. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapibatchv1Job(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapibatchv1JobSpec spec = default(Iok8sapibatchv1JobSpec), Iok8sapibatchv1JobStatus status = default(Iok8sapibatchv1JobStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1Endpoints class.
 /// </summary>
 /// <param name="subsets">The set of all endpoints is the union of all
 /// subsets. Addresses are placed into subsets according to the IPs
 /// they share. A single address with multiple ports, some of which are
 /// ready and some of which are not (because they come from different
 /// containers) will result in the address being displayed in different
 /// subsets for the different ports. No address will appear in both
 /// Addresses and NotReadyAddresses in the same subset. Sets of
 /// addresses and ports that comprise a service.</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 Iok8sapicorev1Endpoints(IList <Iok8sapicorev1EndpointSubset> subsets, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Subsets    = subsets;
     CustomInit();
 }
コード例 #9
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1PodTemplate 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="template">Template defines the pods that will be
 /// created from this pod template.
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapicorev1PodTemplate(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PodTemplateSpec template = default(Iok8sapicorev1PodTemplateSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Template   = template;
     CustomInit();
 }
コード例 #10
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1ComponentStatus
 /// 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="conditions">List of component conditions
 /// observed</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 Iok8sapicorev1ComponentStatus(string apiVersion = default(string), IList <Iok8sapicorev1ComponentCondition> conditions = default(IList <Iok8sapicorev1ComponentCondition>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Conditions = conditions;
     Kind       = kind;
     Metadata   = metadata;
     CustomInit();
 }
コード例 #11
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1ConfigMap 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="data">Data contains the configuration data. Each key
 /// must consist of alphanumeric characters, '-', '_' or '.'.</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 Iok8sapicorev1ConfigMap(string apiVersion = default(string), IDictionary <string, string> data = default(IDictionary <string, string>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Kind       = kind;
     Metadata   = metadata;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIService 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>
 /// <param name="spec">Spec contains information for locating and
 /// communicating with a server</param>
 /// <param name="status">Status contains derived information about an
 /// API server</param>
 public Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIService(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIServiceSpec spec = default(Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIServiceSpec), Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIServiceStatus status = default(Iok8skubeAggregatorpkgapisapiregistrationv1beta1APIServiceStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #13
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1PodTemplateSpec
 /// class.
 /// </summary>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Specification of the desired behavior of the
 /// pod. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapicorev1PodTemplateSpec(Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PodSpec spec = default(Iok8sapicorev1PodSpec))
 {
     Metadata = metadata;
     Spec     = spec;
     CustomInit();
 }
コード例 #14
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapipolicyv1beta1Eviction
 /// 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="deleteOptions">DeleteOptions may be provided</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">ObjectMeta describes the pod that is being
 /// evicted.</param>
 public Iok8sapipolicyv1beta1Eviction(string apiVersion = default(string), Iok8sapimachinerypkgapismetav1DeleteOptions deleteOptions = default(Iok8sapimachinerypkgapismetav1DeleteOptions), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion    = apiVersion;
     DeleteOptions = deleteOptions;
     Kind          = kind;
     Metadata      = metadata;
     CustomInit();
 }
コード例 #15
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapibatchv2alpha1JobTemplateSpec class.
 /// </summary>
 /// <param name="metadata">Standard object's metadata of the jobs
 /// created from this template. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Specification of the desired behavior of the
 /// job. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapibatchv2alpha1JobTemplateSpec(Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapibatchv1JobSpec spec = default(Iok8sapibatchv1JobSpec))
 {
     Metadata = metadata;
     Spec     = spec;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinition
 /// 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>
 /// <param name="spec">Spec describes how the user wants the resources
 /// to appear</param>
 /// <param name="status">Status indicates the actual state of the
 /// CustomResourceDefinition</param>
 public Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinition(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionSpec spec = default(Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionSpec), Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionStatus status = default(Iok8sapiextensionsApiserverpkgapisapiextensionsv1beta1CustomResourceDefinitionStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicertificatesv1beta1CertificateSigningRequest 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>
 /// <param name="spec">The certificate request itself and any
 /// additional information.</param>
 /// <param name="status">Derived information about the request.</param>
 public Iok8sapicertificatesv1beta1CertificateSigningRequest(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicertificatesv1beta1CertificateSigningRequestSpec spec = default(Iok8sapicertificatesv1beta1CertificateSigningRequestSpec), Iok8sapicertificatesv1beta1CertificateSigningRequestStatus status = default(Iok8sapicertificatesv1beta1CertificateSigningRequestStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #18
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiadmissionregistrationv1alpha1ExternalAdmissionHookConfiguration
 /// 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="externalAdmissionHooks">ExternalAdmissionHooks is a
 /// list of external admission webhooks and the affected resources and
 /// operations.</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 metadata; More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 public Iok8sapiadmissionregistrationv1alpha1ExternalAdmissionHookConfiguration(string apiVersion = default(string), IList <Iok8sapiadmissionregistrationv1alpha1ExternalAdmissionHook> externalAdmissionHooks = default(IList <Iok8sapiadmissionregistrationv1alpha1ExternalAdmissionHook>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion             = apiVersion;
     ExternalAdmissionHooks = externalAdmissionHooks;
     Kind     = kind;
     Metadata = metadata;
     CustomInit();
 }
コード例 #19
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiappsv1beta2ControllerRevision class.
 /// </summary>
 /// <param name="revision">Revision indicates the revision of the state
 /// represented by Data.</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="data">Data is the serialized representation of the
 /// state.</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 Iok8sapiappsv1beta2ControllerRevision(long revision, string apiVersion = default(string), Iok8sapimachinerypkgruntimeRawExtension data = default(Iok8sapimachinerypkgruntimeRawExtension), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Data       = data;
     Kind       = kind;
     Metadata   = metadata;
     Revision   = revision;
     CustomInit();
 }
コード例 #20
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapistoragev1beta1StorageClass class.
 /// </summary>
 /// <param name="provisioner">Provisioner indicates the type of the
 /// provisioner.</param>
 /// <param name="allowVolumeExpansion">AllowVolumeExpansion shows
 /// whether the storage class allow volume expand</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>
 /// <param name="mountOptions">Dynamically provisioned
 /// PersistentVolumes of this storage class are created with these
 /// mountOptions, e.g. ["ro", "soft"]. Not validated - mount of the PVs
 /// will simply fail if one is invalid.</param>
 /// <param name="parameters">Parameters holds the parameters for the
 /// provisioner that should create volumes of this storage
 /// class.</param>
 /// <param name="reclaimPolicy">Dynamically provisioned
 /// PersistentVolumes of this storage class are created with this
 /// reclaimPolicy. Defaults to Delete.</param>
 public Iok8sapistoragev1beta1StorageClass(string provisioner, bool?allowVolumeExpansion = default(bool?), string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), IList <string> mountOptions = default(IList <string>), IDictionary <string, string> parameters = default(IDictionary <string, string>), string reclaimPolicy = default(string))
 {
     AllowVolumeExpansion = allowVolumeExpansion;
     ApiVersion           = apiVersion;
     Kind          = kind;
     Metadata      = metadata;
     MountOptions  = mountOptions;
     Parameters    = parameters;
     Provisioner   = provisioner;
     ReclaimPolicy = reclaimPolicy;
     CustomInit();
 }
コード例 #21
0
 /// <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();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiautoscalingv1HorizontalPodAutoscaler 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>
 /// <param name="metadata">Standard object metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">behaviour of autoscaler. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status.</param>
 /// <param name="status">current information about the
 /// autoscaler.</param>
 public Iok8sapiautoscalingv1HorizontalPodAutoscaler(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapiautoscalingv1HorizontalPodAutoscalerSpec spec = default(Iok8sapiautoscalingv1HorizontalPodAutoscalerSpec), Iok8sapiautoscalingv1HorizontalPodAutoscalerStatus status = default(Iok8sapiautoscalingv1HorizontalPodAutoscalerStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #23
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapirbacv1beta1Role class.
 /// </summary>
 /// <param name="rules">Rules holds all the PolicyRules for this
 /// Role</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.</param>
 public Iok8sapirbacv1beta1Role(IList <Iok8sapirbacv1beta1PolicyRule> rules, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Rules      = rules;
     CustomInit();
 }
コード例 #24
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapisettingsv1alpha1PodPreset
 /// 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 Iok8sapisettingsv1alpha1PodPreset(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapisettingsv1alpha1PodPresetSpec spec = default(Iok8sapisettingsv1alpha1PodPresetSpec))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiadmissionregistrationv1alpha1InitializerConfiguration
 /// 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="initializers">Initializers is a list of resources and
 /// their default initializers Order-sensitive. When merging multiple
 /// InitializerConfigurations, we sort the initializers from different
 /// InitializerConfigurations by the name of the
 /// InitializerConfigurations; the order of the initializers from the
 /// same InitializerConfiguration is preserved.</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 metadata; More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 public Iok8sapiadmissionregistrationv1alpha1InitializerConfiguration(string apiVersion = default(string), IList <Iok8sapiadmissionregistrationv1alpha1Initializer> initializers = default(IList <Iok8sapiadmissionregistrationv1alpha1Initializer>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion   = apiVersion;
     Initializers = initializers;
     Kind         = kind;
     Metadata     = metadata;
     CustomInit();
 }
コード例 #26
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1ResourceQuota
 /// 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Spec defines the desired quota.
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 /// <param name="status">Status defines the actual enforced quota and
 /// its current usage.
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status</param>
 public Iok8sapicorev1ResourceQuota(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1ResourceQuotaSpec spec = default(Iok8sapicorev1ResourceQuotaSpec), Iok8sapicorev1ResourceQuotaStatus status = default(Iok8sapicorev1ResourceQuotaStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #27
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapicorev1PersistentVolumeClaim 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>
 /// <param name="metadata">Standard object's metadata. More info:
 /// https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata</param>
 /// <param name="spec">Spec defines the desired characteristics of a
 /// volume requested by a pod author. More info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims</param>
 /// <param name="status">Status represents the current
 /// information/status of a persistent volume claim. Read-only. More
 /// info:
 /// https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims</param>
 public Iok8sapicorev1PersistentVolumeClaim(string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapicorev1PersistentVolumeClaimSpec spec = default(Iok8sapicorev1PersistentVolumeClaimSpec), Iok8sapicorev1PersistentVolumeClaimStatus status = default(Iok8sapicorev1PersistentVolumeClaimStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #28
0
 /// <summary>
 /// Initializes a new instance of the Iok8sapicorev1ServiceAccount
 /// 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="automountServiceAccountToken">AutomountServiceAccountToken
 /// indicates whether pods running as this service account should have
 /// an API token automatically mounted. Can be overridden at the pod
 /// level.</param>
 /// <param name="imagePullSecrets">ImagePullSecrets is a list of
 /// references to secrets in the same namespace to use for pulling any
 /// images in pods that reference this ServiceAccount. ImagePullSecrets
 /// are distinct from Secrets because Secrets can be mounted in the
 /// pod, but ImagePullSecrets are only accessed by the kubelet. More
 /// info:
 /// https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod</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>
 /// <param name="secrets">Secrets is the list of secrets allowed to be
 /// used by pods running using this ServiceAccount. More info:
 /// https://kubernetes.io/docs/concepts/configuration/secret</param>
 public Iok8sapicorev1ServiceAccount(string apiVersion = default(string), bool?automountServiceAccountToken = default(bool?), IList <Iok8sapicorev1LocalObjectReference> imagePullSecrets = default(IList <Iok8sapicorev1LocalObjectReference>), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), IList <Iok8sapicorev1ObjectReference> secrets = default(IList <Iok8sapicorev1ObjectReference>))
 {
     ApiVersion = apiVersion;
     AutomountServiceAccountToken = automountServiceAccountToken;
     ImagePullSecrets             = imagePullSecrets;
     Kind     = kind;
     Metadata = metadata;
     Secrets  = secrets;
     CustomInit();
 }
コード例 #29
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapiauthorizationv1beta1SubjectAccessReview class.
 /// </summary>
 /// <param name="spec">Spec holds information about the request being
 /// evaluated</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="status">Status is filled in by the server and
 /// indicates whether the request is allowed or not</param>
 public Iok8sapiauthorizationv1beta1SubjectAccessReview(Iok8sapiauthorizationv1beta1SubjectAccessReviewSpec spec, string apiVersion = default(string), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta), Iok8sapiauthorizationv1beta1SubjectAccessReviewStatus status = default(Iok8sapiauthorizationv1beta1SubjectAccessReviewStatus))
 {
     ApiVersion = apiVersion;
     Kind       = kind;
     Metadata   = metadata;
     Spec       = spec;
     Status     = status;
     CustomInit();
 }
コード例 #30
0
 /// <summary>
 /// Initializes a new instance of the
 /// Iok8sapischedulingv1alpha1PriorityClass class.
 /// </summary>
 /// <param name="value">The value of this priority class. This is the
 /// actual priority that pods receive when they have the name of this
 /// class in their pod spec.</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="description">description is an arbitrary string that
 /// usually provides guidelines on when this priority class should be
 /// used.</param>
 /// <param name="globalDefault">globalDefault specifies whether this
 /// PriorityClass should be considered as the default priority for pods
 /// that do not have any priority class.</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:
 /// http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata</param>
 public Iok8sapischedulingv1alpha1PriorityClass(int value, string apiVersion = default(string), string description = default(string), bool?globalDefault = default(bool?), string kind = default(string), Iok8sapimachinerypkgapismetav1ObjectMeta metadata = default(Iok8sapimachinerypkgapismetav1ObjectMeta))
 {
     ApiVersion    = apiVersion;
     Description   = description;
     GlobalDefault = globalDefault;
     Kind          = kind;
     Metadata      = metadata;
     Value         = value;
     CustomInit();
 }