Documentation
¶
Index ¶
- Variables
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetAction() string
- func (x *Event) GetDeprecatedCount() int32
- func (x *Event) GetDeprecatedFirstTimestamp() *v1.Time
- func (x *Event) GetDeprecatedLastTimestamp() *v1.Time
- func (x *Event) GetDeprecatedSource() *v11.EventSource
- func (x *Event) GetEventTime() *v1.MicroTime
- func (x *Event) GetMetadata() *v1.ObjectMeta
- func (x *Event) GetNote() string
- func (x *Event) GetReason() string
- func (x *Event) GetRegarding() *v11.ObjectReference
- func (x *Event) GetRelated() *v11.ObjectReference
- func (x *Event) GetReportingController() string
- func (x *Event) GetReportingInstance() string
- func (x *Event) GetSeries() *EventSeries
- func (x *Event) GetType() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type EventList
- type EventSeries
- func (*EventSeries) Descriptor() ([]byte, []int)deprecated
- func (x *EventSeries) GetCount() int32
- func (x *EventSeries) GetLastObservedTime() *v1.MicroTime
- func (*EventSeries) ProtoMessage()
- func (x *EventSeries) ProtoReflect() protoreflect.Message
- func (x *EventSeries) Reset()
- func (x *EventSeries) String() string
Constants ¶
This section is empty.
Variables ¶
var File_k8s_io_api_events_v1beta1_generated_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct { Metadata *v1.ObjectMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // eventTime is the time when this Event was first observed. It is required. EventTime *v1.MicroTime `protobuf:"bytes,2,opt,name=eventTime" json:"eventTime,omitempty"` // series is data about the Event series this event represents or nil if it's a singleton Event. // +optional Series *EventSeries `protobuf:"bytes,3,opt,name=series" json:"series,omitempty"` // reportingController is the name of the controller that emitted this Event, e.g. `kubernetes.io/kubelet`. // This field cannot be empty for new Events. // +optional ReportingController *string `protobuf:"bytes,4,opt,name=reportingController" json:"reportingController,omitempty"` // reportingInstance is the ID of the controller instance, e.g. `kubelet-xyzf`. // This field cannot be empty for new Events and it can have at most 128 characters. // +optional ReportingInstance *string `protobuf:"bytes,5,opt,name=reportingInstance" json:"reportingInstance,omitempty"` // action is what action was taken/failed regarding to the regarding object. It is machine-readable. // This field can have at most 128 characters. // +optional Action *string `protobuf:"bytes,6,opt,name=action" json:"action,omitempty"` // reason is why the action was taken. It is human-readable. // This field can have at most 128 characters. // +optional Reason *string `protobuf:"bytes,7,opt,name=reason" json:"reason,omitempty"` // regarding contains the object this Event is about. In most cases it's an Object reporting controller // implements, e.g. ReplicaSetController implements ReplicaSets and this event is emitted because // it acts on some changes in a ReplicaSet object. // +optional Regarding *v11.ObjectReference `protobuf:"bytes,8,opt,name=regarding" json:"regarding,omitempty"` // related is the optional secondary object for more complex actions. E.g. when regarding object triggers // a creation or deletion of related object. // +optional Related *v11.ObjectReference `protobuf:"bytes,9,opt,name=related" json:"related,omitempty"` // note is a human-readable description of the status of this operation. // Maximal length of the note is 1kB, but libraries should be prepared to // handle values up to 64kB. // +optional Note *string `protobuf:"bytes,10,opt,name=note" json:"note,omitempty"` // type is the type of this event (Normal, Warning), new types could be added in the future. // It is machine-readable. // +optional Type *string `protobuf:"bytes,11,opt,name=type" json:"type,omitempty"` // deprecatedSource is the deprecated field assuring backward compatibility with core.v1 Event type. // +optional DeprecatedSource *v11.EventSource `protobuf:"bytes,12,opt,name=deprecatedSource" json:"deprecatedSource,omitempty"` // deprecatedFirstTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. // +optional DeprecatedFirstTimestamp *v1.Time `protobuf:"bytes,13,opt,name=deprecatedFirstTimestamp" json:"deprecatedFirstTimestamp,omitempty"` // deprecatedLastTimestamp is the deprecated field assuring backward compatibility with core.v1 Event type. // +optional DeprecatedLastTimestamp *v1.Time `protobuf:"bytes,14,opt,name=deprecatedLastTimestamp" json:"deprecatedLastTimestamp,omitempty"` // deprecatedCount is the deprecated field assuring backward compatibility with core.v1 Event type. // +optional DeprecatedCount *int32 `protobuf:"varint,15,opt,name=deprecatedCount" json:"deprecatedCount,omitempty"` // contains filtered or unexported fields }
Event is a report of an event somewhere in the cluster. It generally denotes some state change in the system. Events have a limited retention time and triggers and messages may evolve with time. Event consumers should not rely on the timing of an event with a given Reason reflecting a consistent underlying trigger, or the continued existence of events with that Reason. Events should be treated as informative, best-effort, supplemental data.
func (*Event) Descriptor
deprecated
func (*Event) GetDeprecatedCount ¶
func (*Event) GetDeprecatedFirstTimestamp ¶
func (*Event) GetDeprecatedLastTimestamp ¶
func (*Event) GetDeprecatedSource ¶
func (x *Event) GetDeprecatedSource() *v11.EventSource
func (*Event) GetEventTime ¶
func (*Event) GetMetadata ¶
func (x *Event) GetMetadata() *v1.ObjectMeta
func (*Event) GetRegarding ¶
func (x *Event) GetRegarding() *v11.ObjectReference
func (*Event) GetRelated ¶
func (x *Event) GetRelated() *v11.ObjectReference
func (*Event) GetReportingController ¶
func (*Event) GetReportingInstance ¶
func (*Event) GetSeries ¶
func (x *Event) GetSeries() *EventSeries
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v1.2.4
func (x *Event) ProtoReflect() protoreflect.Message
type EventList ¶
type EventList struct { // Standard list metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional Metadata *v1.ListMeta `protobuf:"bytes,1,opt,name=metadata" json:"metadata,omitempty"` // items is a list of schema objects. Items []*Event `protobuf:"bytes,2,rep,name=items" json:"items,omitempty"` // contains filtered or unexported fields }
EventList is a list of Event objects.
func (*EventList) Descriptor
deprecated
func (*EventList) GetMetadata ¶
func (*EventList) ProtoMessage ¶
func (*EventList) ProtoMessage()
func (*EventList) ProtoReflect ¶ added in v1.2.4
func (x *EventList) ProtoReflect() protoreflect.Message
type EventSeries ¶
type EventSeries struct { // count is the number of occurrences in this series up to the last heartbeat time. Count *int32 `protobuf:"varint,1,opt,name=count" json:"count,omitempty"` // lastObservedTime is the time when last Event from the series was seen before last heartbeat. LastObservedTime *v1.MicroTime `protobuf:"bytes,2,opt,name=lastObservedTime" json:"lastObservedTime,omitempty"` // contains filtered or unexported fields }
EventSeries contain information on series of events, i.e. thing that was/is happening continuously for some time.
func (*EventSeries) Descriptor
deprecated
func (*EventSeries) Descriptor() ([]byte, []int)
Deprecated: Use EventSeries.ProtoReflect.Descriptor instead.
func (*EventSeries) GetCount ¶
func (x *EventSeries) GetCount() int32
func (*EventSeries) GetLastObservedTime ¶
func (x *EventSeries) GetLastObservedTime() *v1.MicroTime
func (*EventSeries) ProtoMessage ¶
func (*EventSeries) ProtoMessage()
func (*EventSeries) ProtoReflect ¶ added in v1.2.4
func (x *EventSeries) ProtoReflect() protoreflect.Message
func (*EventSeries) Reset ¶
func (x *EventSeries) Reset()
func (*EventSeries) String ¶
func (x *EventSeries) String() string