| 1 |
{ |
| 2 |
"definitions": { |
| 3 |
"io.k8s.api.core.v1.ObjectReference": { |
| 4 |
"description": "ObjectReference contains enough information to let you inspect or modify the referred object.", |
| 5 |
"properties": { |
| 6 |
"apiVersion": { |
| 7 |
"description": "API version of the referent.", |
| 8 |
"type": "string" |
| 9 |
}, |
| 10 |
"fieldPath": { |
| 11 |
"description": "If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: \"spec.containers{name}\" (where \"name\" refers to the name of the container that triggered the event) or if no container name is specified \"spec.containers[2]\" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.", |
| 12 |
"type": "string" |
| 13 |
}, |
| 14 |
"kind": { |
| 15 |
"description": "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", |
| 16 |
"type": "string" |
| 17 |
}, |
| 18 |
"name": { |
| 19 |
"description": "Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names", |
| 20 |
"type": "string" |
| 21 |
}, |
| 22 |
"namespace": { |
| 23 |
"description": "Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/", |
| 24 |
"type": "string" |
| 25 |
}, |
| 26 |
"resourceVersion": { |
| 27 |
"description": "Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency", |
| 28 |
"type": "string" |
| 29 |
}, |
| 30 |
"uid": { |
| 31 |
"description": "UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids", |
| 32 |
"type": "string" |
| 33 |
} |
| 34 |
}, |
| 35 |
"type": "object" |
| 36 |
}, |
| 37 |
"io.k8s.api.core.v1.EndpointAddress": { |
| 38 |
"description": "EndpointAddress is a tuple that describes single IP address.", |
| 39 |
"properties": { |
| 40 |
"hostname": { |
| 41 |
"description": "The Hostname of this endpoint", |
| 42 |
"type": "string" |
| 43 |
}, |
| 44 |
"ip": { |
| 45 |
"description": "The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready.", |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"nodeName": { |
| 49 |
"description": "Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node.", |
| 50 |
"type": "string" |
| 51 |
}, |
| 52 |
"targetRef": { |
| 53 |
"$ref": "#/definitions/io.k8s.api.core.v1.ObjectReference", |
| 54 |
"description": "Reference to object providing the endpoint.", |
| 55 |
"x-kubernetes-map-type": "atomic" |
| 56 |
} |
| 57 |
}, |
| 58 |
"required": [ |
| 59 |
"ip" |
| 60 |
], |
| 61 |
"type": "object", |
| 62 |
"x-kubernetes-map-type": "atomic" |
| 63 |
} |
| 64 |
}, |
| 65 |
"info": { |
| 66 |
"title": "Kubernetes", |
| 67 |
"version": "unversioned" |
| 68 |
}, |
| 69 |
"paths": {}, |
| 70 |
"security": [ |
| 71 |
{ |
| 72 |
"BearerToken": [] |
| 73 |
} |
| 74 |
], |
| 75 |
"securityDefinitions": { |
| 76 |
"BearerToken": { |
| 77 |
"description": "Bearer Token authentication", |
| 78 |
"in": "header", |
| 79 |
"name": "authorization", |
| 80 |
"type": "apiKey" |
| 81 |
} |
| 82 |
}, |
| 83 |
"swagger": "2.0" |
| 84 |
} |