"description":"PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.",
"properties":{
"metadata":{
"$ref":"#/definitions/v1.ObjectMeta"
},
"spec":{
"description":"Spec defines the desired identities of pets in this set.",
"$ref":"#/definitions/v1alpha1.PetSetSpec"
},
"status":{
"description":"Status is the current status of Pets in this PetSet. This data may be out of date by some window of time.",
"$ref":"#/definitions/v1alpha1.PetSetStatus"
}
}
},
"v1alpha1.PetSetList":{
"description":"PetSetList is a collection of PetSets.",
"required":[
"items"
],
"properties":{
"items":{
"type":"array",
"items":{
"$ref":"#/definitions/v1alpha1.PetSet"
}
},
"metadata":{
"$ref":"#/definitions/unversioned.ListMeta"
}
}
},
"v1alpha1.PetSetSpec":{
"description":"A PetSetSpec is the specification of a PetSet.",
"required":[
"template",
"serviceName"
],
"properties":{
"replicas":{
"description":"Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.",
"type":"integer",
"format":"int32"
},
"selector":{
"description":"Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
"$ref":"#/definitions/unversioned.LabelSelector"
},
"serviceName":{
"description":"ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller.",
"type":"string"
},
"template":{
"description":"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.",
"$ref":"#/definitions/v1.PodTemplateSpec"
},
"volumeClaimTemplates":{
"description":"VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
"type":"array",
"items":{
"$ref":"#/definitions/v1.PersistentVolumeClaim"
}
}
}
},
"v1alpha1.PetSetStatus":{
"description":"PetSetStatus represents the current state of a PetSet.",
"required":[
"replicas"
],
"properties":{
"observedGeneration":{
"description":"most recent generation observed by this autoscaler.",
"type":"integer",
"format":"int64"
},
"replicas":{
"description":"Replicas is the number of actual replicas.",
"type":"integer",
"format":"int32"
}
}
},
"v1alpha1.PodDisruptionBudget":{
"v1alpha1.PodDisruptionBudget":{
"description":"PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods",
"description":"PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods",
"properties":{
"properties":{
...
@@ -32519,6 +32435,90 @@
...
@@ -32519,6 +32435,90 @@
}
}
}
}
},
},
"v1alpha1.StatefulSet":{
"description":"StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.",
"properties":{
"metadata":{
"$ref":"#/definitions/v1.ObjectMeta"
},
"spec":{
"description":"Spec defines the desired identities of pods in this set.",
"$ref":"#/definitions/v1alpha1.StatefulSetSpec"
},
"status":{
"description":"Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.",
"$ref":"#/definitions/v1alpha1.StatefulSetStatus"
}
}
},
"v1alpha1.StatefulSetList":{
"description":"StatefulSetList is a collection of StatefulSets.",
"required":[
"items"
],
"properties":{
"items":{
"type":"array",
"items":{
"$ref":"#/definitions/v1alpha1.StatefulSet"
}
},
"metadata":{
"$ref":"#/definitions/unversioned.ListMeta"
}
}
},
"v1alpha1.StatefulSetSpec":{
"description":"A StatefulSetSpec is the specification of a StatefulSet.",
"required":[
"template",
"serviceName"
],
"properties":{
"replicas":{
"description":"Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.",
"type":"integer",
"format":"int32"
},
"selector":{
"description":"Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
"$ref":"#/definitions/unversioned.LabelSelector"
},
"serviceName":{
"description":"ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.",
"type":"string"
},
"template":{
"description":"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.",
"$ref":"#/definitions/v1.PodTemplateSpec"
},
"volumeClaimTemplates":{
"description":"VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
"type":"array",
"items":{
"$ref":"#/definitions/v1.PersistentVolumeClaim"
}
}
}
},
"v1alpha1.StatefulSetStatus":{
"description":"StatefulSetStatus represents the current state of a StatefulSet.",
"required":[
"replicas"
],
"properties":{
"observedGeneration":{
"description":"most recent generation observed by this autoscaler.",
"type":"integer",
"format":"int64"
},
"replicas":{
"description":"Replicas is the number of actual replicas.",
"type":"integer",
"format":"int32"
}
}
},
"v1alpha1.Subject":{
"v1alpha1.Subject":{
"description":"Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.",
"description":"Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference, or a value for non-objects such as user and group names.",
"summary":"read status of the specified StatefulSet",
"nickname":"readNamespacedPetSetStatus",
"nickname":"readNamespacedStatefulSetStatus",
"parameters":[
"parameters":[
{
{
"type":"string",
"type":"string",
...
@@ -820,7 +820,7 @@
...
@@ -820,7 +820,7 @@
"type":"string",
"type":"string",
"paramType":"path",
"paramType":"path",
"name":"name",
"name":"name",
"description":"name of the PetSet",
"description":"name of the StatefulSet",
"required":true,
"required":true,
"allowMultiple":false
"allowMultiple":false
}
}
...
@@ -829,7 +829,7 @@
...
@@ -829,7 +829,7 @@
{
{
"code":200,
"code":200,
"message":"OK",
"message":"OK",
"responseModel":"v1alpha1.PetSet"
"responseModel":"v1alpha1.StatefulSet"
}
}
],
],
"produces":[
"produces":[
...
@@ -842,10 +842,10 @@
...
@@ -842,10 +842,10 @@
]
]
},
},
{
{
"type":"v1alpha1.PetSet",
"type":"v1alpha1.StatefulSet",
"method":"PUT",
"method":"PUT",
"summary":"replace status of the specified PetSet",
"summary":"replace status of the specified StatefulSet",
"nickname":"replaceNamespacedPetSetStatus",
"nickname":"replaceNamespacedStatefulSetStatus",
"parameters":[
"parameters":[
{
{
"type":"string",
"type":"string",
...
@@ -856,7 +856,7 @@
...
@@ -856,7 +856,7 @@
"allowMultiple":false
"allowMultiple":false
},
},
{
{
"type":"v1alpha1.PetSet",
"type":"v1alpha1.StatefulSet",
"paramType":"body",
"paramType":"body",
"name":"body",
"name":"body",
"description":"",
"description":"",
...
@@ -875,7 +875,7 @@
...
@@ -875,7 +875,7 @@
"type":"string",
"type":"string",
"paramType":"path",
"paramType":"path",
"name":"name",
"name":"name",
"description":"name of the PetSet",
"description":"name of the StatefulSet",
"required":true,
"required":true,
"allowMultiple":false
"allowMultiple":false
}
}
...
@@ -884,7 +884,7 @@
...
@@ -884,7 +884,7 @@
{
{
"code":200,
"code":200,
"message":"OK",
"message":"OK",
"responseModel":"v1alpha1.PetSet"
"responseModel":"v1alpha1.StatefulSet"
}
}
],
],
"produces":[
"produces":[
...
@@ -897,10 +897,10 @@
...
@@ -897,10 +897,10 @@
]
]
},
},
{
{
"type":"v1alpha1.PetSet",
"type":"v1alpha1.StatefulSet",
"method":"PATCH",
"method":"PATCH",
"summary":"partially update status of the specified PetSet",
"summary":"partially update status of the specified StatefulSet",
"nickname":"patchNamespacedPetSetStatus",
"nickname":"patchNamespacedStatefulSetStatus",
"parameters":[
"parameters":[
{
{
"type":"string",
"type":"string",
...
@@ -930,7 +930,7 @@
...
@@ -930,7 +930,7 @@
"type":"string",
"type":"string",
"paramType":"path",
"paramType":"path",
"name":"name",
"name":"name",
"description":"name of the PetSet",
"description":"name of the StatefulSet",
"required":true,
"required":true,
"allowMultiple":false
"allowMultiple":false
}
}
...
@@ -939,7 +939,7 @@
...
@@ -939,7 +939,7 @@
{
{
"code":200,
"code":200,
"message":"OK",
"message":"OK",
"responseModel":"v1alpha1.PetSet"
"responseModel":"v1alpha1.StatefulSet"
}
}
],
],
"produces":[
"produces":[
...
@@ -980,9 +980,9 @@
...
@@ -980,9 +980,9 @@
}
}
],
],
"models":{
"models":{
"v1alpha1.PetSetList":{
"v1alpha1.StatefulSetList":{
"id":"v1alpha1.PetSetList",
"id":"v1alpha1.StatefulSetList",
"description":"PetSetList is a collection of PetSets.",
"description":"StatefulSetList is a collection of StatefulSets.",
"required":[
"required":[
"items"
"items"
],
],
...
@@ -1001,7 +1001,7 @@
...
@@ -1001,7 +1001,7 @@
"items":{
"items":{
"type":"array",
"type":"array",
"items":{
"items":{
"$ref":"v1alpha1.PetSet"
"$ref":"v1alpha1.StatefulSet"
}
}
}
}
}
}
...
@@ -1020,9 +1020,9 @@
...
@@ -1020,9 +1020,9 @@
}
}
}
}
},
},
"v1alpha1.PetSet":{
"v1alpha1.StatefulSet":{
"id":"v1alpha1.PetSet",
"id":"v1alpha1.StatefulSet",
"description":"PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.",
"description":"StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.",
"properties":{
"properties":{
"kind":{
"kind":{
"type":"string",
"type":"string",
...
@@ -1036,12 +1036,12 @@
...
@@ -1036,12 +1036,12 @@
"$ref":"v1.ObjectMeta"
"$ref":"v1.ObjectMeta"
},
},
"spec":{
"spec":{
"$ref":"v1alpha1.PetSetSpec",
"$ref":"v1alpha1.StatefulSetSpec",
"description":"Spec defines the desired identities of pets in this set."
"description":"Spec defines the desired identities of pods in this set."
},
},
"status":{
"status":{
"$ref":"v1alpha1.PetSetStatus",
"$ref":"v1alpha1.StatefulSetStatus",
"description":"Status is the current status of Pets in this PetSet. This data may be out of date by some window of time."
"description":"Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time."
}
}
}
}
},
},
...
@@ -1153,9 +1153,9 @@
...
@@ -1153,9 +1153,9 @@
}
}
}
}
},
},
"v1alpha1.PetSetSpec":{
"v1alpha1.StatefulSetSpec":{
"id":"v1alpha1.PetSetSpec",
"id":"v1alpha1.StatefulSetSpec",
"description":"A PetSetSpec is the specification of a PetSet.",
"description":"A StatefulSetSpec is the specification of a StatefulSet.",
"required":[
"required":[
"template",
"template",
"serviceName"
"serviceName"
...
@@ -1172,18 +1172,18 @@
...
@@ -1172,18 +1172,18 @@
},
},
"template":{
"template":{
"$ref":"v1.PodTemplateSpec",
"$ref":"v1.PodTemplateSpec",
"description":"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet."
"description":"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet."
},
},
"volumeClaimTemplates":{
"volumeClaimTemplates":{
"type":"array",
"type":"array",
"items":{
"items":{
"$ref":"v1.PersistentVolumeClaim"
"$ref":"v1.PersistentVolumeClaim"
},
},
"description":"VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."
"description":"VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name."
},
},
"serviceName":{
"serviceName":{
"type":"string",
"type":"string",
"description":"ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller."
"description":"ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller."
}
}
}
}
},
},
...
@@ -2641,9 +2641,9 @@
...
@@ -2641,9 +2641,9 @@
}
}
}
}
},
},
"v1alpha1.PetSetStatus":{
"v1alpha1.StatefulSetStatus":{
"id":"v1alpha1.PetSetStatus",
"id":"v1alpha1.StatefulSetStatus",
"description":"PetSetStatus represents the current state of a PetSet.",
"description":"StatefulSetStatus represents the current state of a StatefulSet.",
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: <ahref="http://kubernetes.io/docs/user-guide/labels#label-selectors">http://kubernetes.io/docs/user-guide/labels#label-selectors</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.</p></td>
<p>Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.</p>
<p>Represents a Fibre Channel volume. Fibre Channel volumes can only be mounted as read/write once. Fibre Channel volumes support ownership management and SELinux relabeling.</p>
<p>PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.</p>
<p>PodSecurityContext holds pod-level security attributes and common container settings. Some fields are also present in container.securityContext. Field values of container.securityContext take precedence over field values of PodSecurityContext.</p>
...
@@ -1971,68 +2074,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
...
@@ -1971,68 +2074,6 @@ Populated by the system when a graceful deletion is requested. Read-only. More i
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: <ahref="http://kubernetes.io/docs/user-guide/labels#label-selectors">http://kubernetes.io/docs/user-guide/labels#label-selectors</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where "pet-specific-string" is managed by the PetSet controller.</p></td>
<p>PetSet represents a set of pods with consistent identities. Identities are defined as:<br>
<p>A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.</p>
- Network: A single stable DNS and hostname.<br>
- Storage: As many VolumeClaims as requested.<br>
The PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">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: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">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: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Status is the current status of Pets in this PetSet. This data may be out of date by some window of time.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">matchExpressions is a list of label selector requirements. The requirements are ANDed.</p></td>
<p>A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects.</p>
<p>StatefulSetList is a collection of StatefulSets.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">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: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds</a></p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">matchExpressions is a list of label selector requirements. The requirements are ANDed.</p></td>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">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: <ahref="http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources">http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources</a></p></td>
<p>StatefulSet represents a set of pods with consistent identities. Identities are defined as:<br>
- Network: A single stable DNS and hostname.<br>
- Storage: As many VolumeClaims as requested.<br>
The StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.</p>
<tdclass="tableblock halign-left valign-top"><pclass="tableblock">Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.</p></td>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
packagev1alpha1
// This file contains a collection of methods that can be used from go-restful to
// generate Swagger API documentation for its models. Please read this PR for more
// information on the implementation: https://github.com/emicklei/go-restful/pull/215
//
// TODOs are ignored from the parser (e.g. TODO(andronat):... || TODO:...) if and only if
// they are on one line! For multiple line or blocks that you want to ignore use ---.
// Any context after a --- is ignored.
//
// Those methods can be generated by using hack/update-generated-swagger-docs.sh
// AUTO-GENERATED FUNCTIONS START HERE
varmap_StatefulSet=map[string]string{
"":"StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.",
"spec":"Spec defines the desired identities of pods in this set.",
"status":"Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.",
}
func(StatefulSet)SwaggerDoc()map[string]string{
returnmap_StatefulSet
}
varmap_StatefulSetList=map[string]string{
"":"StatefulSetList is a collection of StatefulSets.",
"":"A StatefulSetSpec is the specification of a StatefulSet.",
"replicas":"Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.",
"selector":"Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
"template":"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.",
"volumeClaimTemplates":"VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
"serviceName":"ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.",
// Create takes the representation of a statefulSet and creates it. Returns the server's representation of the statefulSet, and an error, if there is any.
// Update takes the representation of a statefulSet and updates it. Returns the server's representation of the statefulSet, and an error, if there is any.
// Create takes the representation of a statefulSet and creates it. Returns the server's representation of the statefulSet, and an error, if there is any.
// Update takes the representation of a statefulSet and updates it. Returns the server's representation of the statefulSet, and an error, if there is any.
Description:"PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and and subject to change without notice.",
Description:"StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and and subject to change without notice.",
Properties:map[string]spec.Schema{
Properties:map[string]spec.Schema{
"metadata":{
"metadata":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
...
@@ -41,26 +41,26 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -41,26 +41,26 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
},
"spec":{
"spec":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
Description:"Spec defines the desired identities of pets in this set.",
Description:"Spec defines the desired identities of pods in this set.",
@@ -84,12 +84,12 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -84,12 +84,12 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
},
},
},
Dependencies:[]string{
Dependencies:[]string{
"apps.PetSet","unversioned.ListMeta"},
"apps.StatefulSet","unversioned.ListMeta"},
},
},
"apps.PetSetSpec":{
"apps.StatefulSetSpec":{
Schema:spec.Schema{
Schema:spec.Schema{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
Description:"A PetSetSpec is the specification of a PetSet.",
Description:"A StatefulSetSpec is the specification of a StatefulSet.",
Properties:map[string]spec.Schema{
Properties:map[string]spec.Schema{
"replicas":{
"replicas":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
...
@@ -106,13 +106,13 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -106,13 +106,13 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
},
"template":{
"template":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
Description:"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.",
Description:"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.",
Description:"VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
Description:"VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
Type:[]string{"array"},
Type:[]string{"array"},
Items:&spec.SchemaOrArray{
Items:&spec.SchemaOrArray{
Schema:&spec.Schema{
Schema:&spec.Schema{
...
@@ -125,7 +125,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -125,7 +125,7 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
},
"serviceName":{
"serviceName":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
Description:"ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller.",
Description:"ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.",
Type:[]string{"string"},
Type:[]string{"string"},
Format:"",
Format:"",
},
},
...
@@ -137,10 +137,10 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -137,10 +137,10 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
Description:"PetSetStatus represents the current state of a PetSet.",
Description:"StatefulSetStatus represents the current state of a StatefulSet.",
Properties:map[string]spec.Schema{
Properties:map[string]spec.Schema{
"observedGeneration":{
"observedGeneration":{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
...
@@ -14755,139 +14755,6 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -14755,139 +14755,6 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
Dependencies:[]string{
Dependencies:[]string{
"unversioned.Duration"},
"unversioned.Duration"},
},
},
"v1alpha1.PetSet":{
Schema:spec.Schema{
SchemaProps:spec.SchemaProps{
Description:"PetSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe PetSet guarantees that a given network identity will always map to the same storage identity. PetSet is currently in alpha and subject to change without notice.",
Description:"A PetSetSpec is the specification of a PetSet.",
Properties:map[string]spec.Schema{
"replicas":{
SchemaProps:spec.SchemaProps{
Description:"Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.",
Type:[]string{"integer"},
Format:"int32",
},
},
"selector":{
SchemaProps:spec.SchemaProps{
Description:"Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
Description:"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the PetSet will fulfill this Template, but have a unique identity from the rest of the PetSet.",
Description:"VolumeClaimTemplates is a list of claims that pets are allowed to reference. The PetSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pet. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
Description:"ServiceName is the name of the service that governs this PetSet. This service must exist before the PetSet, and is responsible for the network identity of the set. Pets get DNS/hostnames that follow the pattern: pet-specific-string.serviceName.default.svc.cluster.local where \"pet-specific-string\" is managed by the PetSet controller.",
Description:"PetSetStatus represents the current state of a PetSet.",
Properties:map[string]spec.Schema{
"observedGeneration":{
SchemaProps:spec.SchemaProps{
Description:"most recent generation observed by this autoscaler.",
Type:[]string{"integer"},
Format:"int64",
},
},
"replicas":{
SchemaProps:spec.SchemaProps{
Description:"Replicas is the number of actual replicas.",
Type:[]string{"integer"},
Format:"int32",
},
},
},
Required:[]string{"replicas"},
},
},
Dependencies:[]string{},
},
"v1alpha1.PodDisruptionBudget":{
"v1alpha1.PodDisruptionBudget":{
Schema:spec.Schema{
Schema:spec.Schema{
SchemaProps:spec.SchemaProps{
SchemaProps:spec.SchemaProps{
...
@@ -15257,6 +15124,139 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
...
@@ -15257,6 +15124,139 @@ var OpenAPIDefinitions *common.OpenAPIDefinitions = &common.OpenAPIDefinitions{
},
},
Dependencies:[]string{},
Dependencies:[]string{},
},
},
"v1alpha1.StatefulSet":{
Schema:spec.Schema{
SchemaProps:spec.SchemaProps{
Description:"StatefulSet represents a set of pods with consistent identities. Identities are defined as:\n - Network: A single stable DNS and hostname.\n - Storage: As many VolumeClaims as requested.\nThe StatefulSet guarantees that a given network identity will always map to the same storage identity. StatefulSet is currently in alpha and subject to change without notice.",
Description:"A StatefulSetSpec is the specification of a StatefulSet.",
Properties:map[string]spec.Schema{
"replicas":{
SchemaProps:spec.SchemaProps{
Description:"Replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.",
Type:[]string{"integer"},
Format:"int32",
},
},
"selector":{
SchemaProps:spec.SchemaProps{
Description:"Selector is a label query over pods that should match the replica count. If empty, defaulted to labels on the pod template. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors",
Description:"Template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet.",
Description:"VolumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.",
Description:"ServiceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where \"pod-specific-string\" is managed by the StatefulSet controller.",