Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
30 lines
1.6 KiB
Go
30 lines
1.6 KiB
Go
/*
|
|
* Kubernetes
|
|
*
|
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
*
|
|
* API version: v1.10.0
|
|
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
|
*/
|
|
|
|
package client
|
|
|
|
// Node is a worker node in Kubernetes. Each node will have a unique identifier in the cache (i.e. in etcd).
|
|
type V1Node struct {
|
|
|
|
// 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
|
|
ApiVersion string `json:"apiVersion,omitempty"`
|
|
|
|
// 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
|
|
Kind string `json:"kind,omitempty"`
|
|
|
|
// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
|
|
Metadata *V1ObjectMeta `json:"metadata,omitempty"`
|
|
|
|
// Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
|
|
Spec *V1NodeSpec `json:"spec,omitempty"`
|
|
|
|
// Most recently observed status of the node. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status
|
|
Status *V1NodeStatus `json:"status,omitempty"`
|
|
}
|