mirror of
https://github.com/rancher/types.git
synced 2025-09-13 13:33:06 +00:00
Update generated code
This commit is contained in:
@@ -2273,6 +2273,7 @@ func (in *PrincipalList) DeepCopyObject() runtime.Object {
|
||||
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
|
||||
func (in *Project) DeepCopyInto(out *Project) {
|
||||
*out = *in
|
||||
out.Namespaced = in.Namespaced
|
||||
out.TypeMeta = in.TypeMeta
|
||||
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
||||
out.Spec = in.Spec
|
||||
|
@@ -23,8 +23,9 @@ var (
|
||||
ProjectResource = metav1.APIResource{
|
||||
Name: "projects",
|
||||
SingularName: "project",
|
||||
Namespaced: false,
|
||||
Kind: ProjectGroupVersionKind.Kind,
|
||||
Namespaced: true,
|
||||
|
||||
Kind: ProjectGroupVersionKind.Kind,
|
||||
}
|
||||
)
|
||||
|
||||
|
@@ -15,6 +15,7 @@ const (
|
||||
ProjectFieldId = "id"
|
||||
ProjectFieldLabels = "labels"
|
||||
ProjectFieldName = "name"
|
||||
ProjectFieldNamespaceId = "namespaceId"
|
||||
ProjectFieldOwnerReferences = "ownerReferences"
|
||||
ProjectFieldPodSecurityPolicyTemplateId = "podSecurityPolicyTemplateId"
|
||||
ProjectFieldRemoved = "removed"
|
||||
@@ -35,6 +36,7 @@ type Project struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Labels map[string]string `json:"labels,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
NamespaceId string `json:"namespaceId,omitempty"`
|
||||
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
|
||||
PodSecurityPolicyTemplateId string `json:"podSecurityPolicyTemplateId,omitempty"`
|
||||
Removed string `json:"removed,omitempty"`
|
||||
|
Reference in New Issue
Block a user