2 Copyright The Kubernetes Authors.
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
8 http://www.apache.org/licenses/LICENSE-2.0
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
18 // This file was autogenerated by go-to-protobuf. Do not edit it manually!
22 package k8s.io.api.events.v1beta1;
24 import "k8s.io/api/core/v1/generated.proto";
25 import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
26 import "k8s.io/apimachinery/pkg/runtime/generated.proto";
27 import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
29 // Package-wide variables from generator "generated".
30 option go_package = "v1beta1";
32 // Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system.
35 optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
37 // Required. Time when this Event was first observed.
38 optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime eventTime = 2;
40 // Data about the Event series this event represents or nil if it's a singleton Event.
42 optional EventSeries series = 3;
44 // Name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`.
46 optional string reportingController = 4;
48 // ID of the controller instance, e.g. `kubelet-xyzf`.
50 optional string reportingInstance = 5;
52 // What action was taken/failed regarding to the regarding object.
54 optional string action = 6;
56 // Why the action was taken.
57 optional string reason = 7;
59 // The object this Event is about. In most cases it's an Object reporting controller implements.
60 // E.g. ReplicaSetController implements ReplicaSets and this event is emitted because
61 // it acts on some changes in a ReplicaSet object.
63 optional k8s.io.api.core.v1.ObjectReference regarding = 8;
65 // Optional secondary object for more complex actions. E.g. when regarding object triggers
66 // a creation or deletion of related object.
68 optional k8s.io.api.core.v1.ObjectReference related = 9;
70 // Optional. A human-readable description of the status of this operation.
71 // Maximal length of the note is 1kB, but libraries should be prepared to
72 // handle values up to 64kB.
74 optional string note = 10;
76 // Type of this event (Normal, Warning), new types could be added in the
79 optional string type = 11;
81 // Deprecated field assuring backward compatibility with core.v1 Event type
83 optional k8s.io.api.core.v1.EventSource deprecatedSource = 12;
85 // Deprecated field assuring backward compatibility with core.v1 Event type
87 optional k8s.io.apimachinery.pkg.apis.meta.v1.Time deprecatedFirstTimestamp = 13;
89 // Deprecated field assuring backward compatibility with core.v1 Event type
91 optional k8s.io.apimachinery.pkg.apis.meta.v1.Time deprecatedLastTimestamp = 14;
93 // Deprecated field assuring backward compatibility with core.v1 Event type
95 optional int32 deprecatedCount = 15;
98 // EventList is a list of Event objects.
100 // Standard list metadata.
101 // More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
103 optional k8s.io.apimachinery.pkg.apis.meta.v1.ListMeta metadata = 1;
105 // Items is a list of schema objects.
106 repeated Event items = 2;
109 // EventSeries contain information on series of events, i.e. thing that was/is happening
110 // continuously for some time.
111 message EventSeries {
112 // Number of occurrences in this series up to the last heartbeat time
113 optional int32 count = 1;
115 // Time when last Event from the series was seen before last heartbeat.
116 optional k8s.io.apimachinery.pkg.apis.meta.v1.MicroTime lastObservedTime = 2;
118 // Information whether this series is ongoing or finished.
119 optional string state = 3;