mirror of
https://github.com/rancher/types.git
synced 2025-09-17 23:38:20 +00:00
Generate code
This commit is contained in:
@@ -3308,6 +3308,7 @@ func (in *NodeStatus) DeepCopy() *NodeStatus {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *NodeTemplate) DeepCopyInto(out *NodeTemplate) {
|
||||
*out = *in
|
||||
out.Namespaced = in.Namespaced
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
in.Spec.DeepCopyInto(&out.Spec)
|
||||
|
@@ -23,8 +23,9 @@ var (
|
||||
NodeTemplateResource = metav1.APIResource{
|
||||
Name: "nodetemplates",
|
||||
SingularName: "nodetemplate",
|
||||
Namespaced: false,
|
||||
Kind: NodeTemplateGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: NodeTemplateGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@@ -23,6 +23,7 @@ const (
|
||||
NodeTemplateFieldEngineStorageDriver = "engineStorageDriver"
|
||||
NodeTemplateFieldLabels = "labels"
|
||||
NodeTemplateFieldName = "name"
|
||||
NodeTemplateFieldNamespaceId = "namespaceId"
|
||||
NodeTemplateFieldOwnerReferences = "ownerReferences"
|
||||
NodeTemplateFieldRemoved = "removed"
|
||||
NodeTemplateFieldState = "state"
|
||||
@@ -52,6 +53,7 @@ type NodeTemplate struct {
|
||||
EngineStorageDriver string `json:"engineStorageDriver,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
|
Reference in New Issue
Block a user