1
0
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:
Darren Shepherd
2017-12-29 19:24:50 -07:00
parent cab4c86166
commit 2836833e3d
3 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -23,8 +23,9 @@ var (
ProjectResource = metav1.APIResource{
Name: "projects",
SingularName: "project",
Namespaced: false,
Kind: ProjectGroupVersionKind.Kind,
Namespaced: true,
Kind: ProjectGroupVersionKind.Kind,
}
)

View File

@@ -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"`