1
0
mirror of https://github.com/rancher/types.git synced 2025-06-27 14:06:49 +00:00

Generated changes

This commit is contained in:
Alena Prokharchyk 2018-01-11 13:53:03 -08:00
parent e3751acd60
commit a3a0870e51
4 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@ package v3
import (
"github.com/rancher/norman/condition"
"github.com/rancher/norman/types"
"k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

View File

@ -23,8 +23,9 @@ var (
ClusterEventResource = metav1.APIResource{
Name: "clusterevents",
SingularName: "clusterevent",
Namespaced: false,
Kind: ClusterEventGroupVersionKind.Kind,
Namespaced: true,
Kind: ClusterEventGroupVersionKind.Kind,
}
)

View File

@ -691,6 +691,7 @@ func (in *ClusterCondition) DeepCopy() *ClusterCondition {
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ClusterEvent) DeepCopyInto(out *ClusterEvent) {
*out = *in
out.Namespaced = in.Namespaced
in.Event.DeepCopyInto(&out.Event)
return
}

View File

@ -19,6 +19,7 @@ const (
ClusterEventFieldLastTimestamp = "lastTimestamp"
ClusterEventFieldMessage = "message"
ClusterEventFieldName = "name"
ClusterEventFieldNamespaceId = "namespaceId"
ClusterEventFieldOwnerReferences = "ownerReferences"
ClusterEventFieldReason = "reason"
ClusterEventFieldRemoved = "removed"
@ -41,6 +42,7 @@ type ClusterEvent struct {
LastTimestamp string `json:"lastTimestamp,omitempty"`
Message string `json:"message,omitempty"`
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty"`
Reason string `json:"reason,omitempty"`
Removed string `json:"removed,omitempty"`