"":"ListMeta describes metadata that synthetic resources must have, including lists and various status objects.",
"selfLink":"SelfLink is a URL representing this object. Populated by the system. Read-only.",
"resourceVersion":"String that identifies the server's internal version of this object that can be used by clients to determine when objects have changed. Value must be treated as opaque by clients and passed unmodified back to the server. Populated by the system. Read-only. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#concurrency-control-and-consistency",
}
func(ListMeta)SwaggerDoc()map[string]string{
returnmap_ListMeta
}
varmap_ListOptions=map[string]string{
"":"ListOptions is the query options to a standard REST list call.",
"labelSelector":"A selector to restrict the list of returned objects by their labels. Defaults to everything.",
"":"Status is a return value for calls that don't return other objects.",
"metadata":"Standard list metadata. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
"status":"Status of the operation. One of: \"Success\" or \"Failure\". More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#spec-and-status",
"message":"A human-readable description of the status of this operation.",
"reason":"A machine-readable description of why this operation is in the \"Failure\" status. If this value is empty there is no information available. A Reason clarifies an HTTP status code but does not override it.",
"details":"Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.",
"code":"Suggested HTTP return code for this status, 0 if not set.",
}
func(Status)SwaggerDoc()map[string]string{
returnmap_Status
}
varmap_StatusCause=map[string]string{
"":"StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.",
"reason":"A machine-readable description of the cause of the error. If this value is empty there is no information available.",
"message":"A human-readable description of the cause of the error. This field may be presented as-is to a reader.",
"field":"The field of the resource that has caused this error, as named by its JSON serialization. May include dot and postfix notation for nested attributes. Arrays are zero-indexed. Fields may appear more than once in an array of causes due to fields having multiple errors.\n\nExamples:\n\"name\" - the field \"name\" on the current resource\n\"items[0].name\" - the field \"name\" on the first array entry in \"items\"",
}
func(StatusCause)SwaggerDoc()map[string]string{
returnmap_StatusCause
}
varmap_StatusDetails=map[string]string{
"":"StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.",
"name":"The name attribute of the resource associated with the status StatusReason (when there is a single name which can be described).",
"kind":"The kind attribute of the resource associated with the status StatusReason. On some operations may differ from the requested resource Kind. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
"causes":"The Causes array includes more details associated with the StatusReason failure. Not all StatusReasons may provide detailed causes.",
"retryAfterSeconds":"If specified, the time in seconds before the operation should be retried.",
}
func(StatusDetails)SwaggerDoc()map[string]string{
returnmap_StatusDetails
}
varmap_TCPSocketAction=map[string]string{
"":"TCPSocketAction describes an action based on opening a socket",
"port":"Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.",
"":"TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.",
"kind":"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: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#types-kinds",
"apiVersion":"APIVersion defines the version of the schema of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#resources",
}
func(TypeMeta)SwaggerDoc()map[string]string{
returnmap_TypeMeta
}
varmap_Volume=map[string]string{
"":"Volume represents a named volume in a pod that may be accessed by any container in the pod.",
"name":"Volume's name. Must be a DNS_LABEL and unique within the pod. More info: http://releases.k8s.io/HEAD/docs/user-guide/identifiers.md#names",
api.ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"`
unversioned.TypeMeta`json:",inline"`
unversioned.ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"`
items[]Foo`json:"items"`
}
...
...
@@ -546,7 +547,7 @@ func testInstallThirdPartyAPIGetVersion(t *testing.T, version string) {
ObjectMeta:api.ObjectMeta{
Name:"test",
},
TypeMeta:api.TypeMeta{
TypeMeta:unversioned.TypeMeta{
Kind:"Foo",
APIVersion:version,
},
...
...
@@ -591,7 +592,7 @@ func testInstallThirdPartyAPIPostForVersion(t *testing.T, version string) {
ObjectMeta:api.ObjectMeta{
Name:"test",
},
TypeMeta:api.TypeMeta{
TypeMeta:unversioned.TypeMeta{
Kind:"Foo",
APIVersion:version,
},
...
...
@@ -660,7 +661,7 @@ func testInstallThirdPartyAPIDeleteVersion(t *testing.T, version string) {
api.ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"`
unversioned.TypeMeta`json:",inline"`
unversioned.ListMeta`json:"metadata,omitempty" description:"standard list metadata; see http://releases.k8s.io/HEAD/docs/devel/api-conventions.md#metadata"`