Documentation ¶
Index ¶
- Variables
- type ContainerEvent
- func (*ContainerEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerEvent) GetContainerID() string
- func (x *ContainerEvent) GetExitCode() int32
- func (x *ContainerEvent) GetExitTimestamp() int64
- func (m *ContainerEvent) GetOptionalExitCode() isContainerEvent_OptionalExitCode
- func (m *ContainerEvent) GetOptionalExitTimestamp() isContainerEvent_OptionalExitTimestamp
- func (x *ContainerEvent) GetSource() string
- func (*ContainerEvent) ProtoMessage()
- func (x *ContainerEvent) ProtoReflect() protoreflect.Message
- func (x *ContainerEvent) Reset()
- func (x *ContainerEvent) String() string
- type ContainerEvent_ExitCode
- type ContainerEvent_ExitTimestamp
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetContainer() *ContainerEvent
- func (x *Event) GetEventType() Event_EventType
- func (x *Event) GetPod() *PodEvent
- func (m *Event) GetTypedEvent() isEvent_TypedEvent
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_Container
- type Event_EventType
- func (Event_EventType) Descriptor() protoreflect.EnumDescriptor
- func (x Event_EventType) Enum() *Event_EventType
- func (Event_EventType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Event_EventType) Number() protoreflect.EnumNumber
- func (x Event_EventType) String() string
- func (Event_EventType) Type() protoreflect.EnumType
- type Event_Pod
- type EventsPayload
- func (*EventsPayload) Descriptor() ([]byte, []int)deprecated
- func (x *EventsPayload) GetEvents() []*Event
- func (x *EventsPayload) GetHost() string
- func (x *EventsPayload) GetObjectKind() EventsPayload_ObjectKind
- func (x *EventsPayload) GetVersion() string
- func (*EventsPayload) ProtoMessage()
- func (x *EventsPayload) ProtoReflect() protoreflect.Message
- func (x *EventsPayload) Reset()
- func (x *EventsPayload) String() string
- type EventsPayload_ObjectKind
- func (EventsPayload_ObjectKind) Descriptor() protoreflect.EnumDescriptor
- func (x EventsPayload_ObjectKind) Enum() *EventsPayload_ObjectKind
- func (EventsPayload_ObjectKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x EventsPayload_ObjectKind) Number() protoreflect.EnumNumber
- func (x EventsPayload_ObjectKind) String() string
- func (EventsPayload_ObjectKind) Type() protoreflect.EnumType
- type PodEvent
- func (*PodEvent) Descriptor() ([]byte, []int)deprecated
- func (x *PodEvent) GetExitTimestamp() int64
- func (x *PodEvent) GetPodUID() string
- func (x *PodEvent) GetSource() string
- func (*PodEvent) ProtoMessage()
- func (x *PodEvent) ProtoReflect() protoreflect.Message
- func (x *PodEvent) Reset()
- func (x *PodEvent) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventsPayload_ObjectKind_name = map[int32]string{ 0: "Container", 1: "Pod", } EventsPayload_ObjectKind_value = map[string]int32{ "Container": 0, "Pod": 1, } )
Enum value maps for EventsPayload_ObjectKind.
View Source
var ( Event_EventType_name = map[int32]string{ 0: "Delete", } Event_EventType_value = map[string]int32{ "Delete": 0, } )
Enum value maps for Event_EventType.
View Source
var File_proto_contlcycle_contlcycle_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ContainerEvent ¶
type ContainerEvent struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` // containerID contains the container ID Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // source contains the container source (docker, containerd..) // Types that are assignable to OptionalExitCode: // *ContainerEvent_ExitCode OptionalExitCode isContainerEvent_OptionalExitCode `protobuf_oneof:"optionalExitCode"` // Types that are assignable to OptionalExitTimestamp: // *ContainerEvent_ExitTimestamp OptionalExitTimestamp isContainerEvent_OptionalExitTimestamp `protobuf_oneof:"optionalExitTimestamp"` // contains filtered or unexported fields }
ContainerEvent contains container event metadata
func (*ContainerEvent) Descriptor
deprecated
func (*ContainerEvent) Descriptor() ([]byte, []int)
Deprecated: Use ContainerEvent.ProtoReflect.Descriptor instead.
func (*ContainerEvent) GetContainerID ¶
func (x *ContainerEvent) GetContainerID() string
func (*ContainerEvent) GetExitCode ¶
func (x *ContainerEvent) GetExitCode() int32
func (*ContainerEvent) GetExitTimestamp ¶
func (x *ContainerEvent) GetExitTimestamp() int64
func (*ContainerEvent) GetOptionalExitCode ¶
func (m *ContainerEvent) GetOptionalExitCode() isContainerEvent_OptionalExitCode
func (*ContainerEvent) GetOptionalExitTimestamp ¶
func (m *ContainerEvent) GetOptionalExitTimestamp() isContainerEvent_OptionalExitTimestamp
func (*ContainerEvent) GetSource ¶
func (x *ContainerEvent) GetSource() string
func (*ContainerEvent) ProtoMessage ¶
func (*ContainerEvent) ProtoMessage()
func (*ContainerEvent) ProtoReflect ¶ added in v5.0.77
func (x *ContainerEvent) ProtoReflect() protoreflect.Message
func (*ContainerEvent) Reset ¶
func (x *ContainerEvent) Reset()
func (*ContainerEvent) String ¶
func (x *ContainerEvent) String() string
type ContainerEvent_ExitCode ¶
type ContainerEvent_ExitCode struct {
ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3,oneof"` // exitCode contains the exit code of the container
}
type ContainerEvent_ExitTimestamp ¶
type ContainerEvent_ExitTimestamp struct {
ExitTimestamp int64 `protobuf:"varint,4,opt,name=exitTimestamp,proto3,oneof"` // exitTimestamp contains the exit timestamp of the container
}
type Event ¶
type Event struct { EventType Event_EventType `protobuf:"varint,1,opt,name=eventType,proto3,enum=datadog.contlcycle.Event_EventType" json:"eventType,omitempty"` // eventType represents the event's type (deletion) // Types that are assignable to TypedEvent: // *Event_Container // *Event_Pod TypedEvent isEvent_TypedEvent `protobuf_oneof:"typedEvent"` // contains filtered or unexported fields }
Event contains the details about a container lifecycle event
func (*Event) Descriptor
deprecated
func (*Event) GetContainer ¶
func (x *Event) GetContainer() *ContainerEvent
func (*Event) GetEventType ¶
func (x *Event) GetEventType() Event_EventType
func (*Event) GetTypedEvent ¶
func (m *Event) GetTypedEvent() isEvent_TypedEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶ added in v5.0.77
func (x *Event) ProtoReflect() protoreflect.Message
type Event_Container ¶
type Event_Container struct {
Container *ContainerEvent `protobuf:"bytes,2,opt,name=container,proto3,oneof"`
}
type Event_EventType ¶
type Event_EventType int32
const (
Event_Delete Event_EventType = 0
)
func (Event_EventType) Descriptor ¶ added in v5.0.77
func (Event_EventType) Descriptor() protoreflect.EnumDescriptor
func (Event_EventType) Enum ¶ added in v5.0.77
func (x Event_EventType) Enum() *Event_EventType
func (Event_EventType) EnumDescriptor
deprecated
func (Event_EventType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Event_EventType.Descriptor instead.
func (Event_EventType) Number ¶ added in v5.0.77
func (x Event_EventType) Number() protoreflect.EnumNumber
func (Event_EventType) String ¶
func (x Event_EventType) String() string
func (Event_EventType) Type ¶ added in v5.0.77
func (Event_EventType) Type() protoreflect.EnumType
type Event_Pod ¶
type Event_Pod struct {
Pod *PodEvent `protobuf:"bytes,3,opt,name=pod,proto3,oneof"`
}
type EventsPayload ¶
type EventsPayload struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // version represents the EventsPayload message version Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // host contains the hostname ObjectKind EventsPayload_ObjectKind `protobuf:"varint,3,opt,name=objectKind,proto3,enum=datadog.contlcycle.EventsPayload_ObjectKind" json:"objectKind,omitempty"` // objectKind represents the object kind (container, pod) Events []*Event `protobuf:"bytes,4,rep,name=events,proto3" json:"events,omitempty"` // events contains all the event details // contains filtered or unexported fields }
EventsPayload represents the main container lifecycle event payload
func (*EventsPayload) Descriptor
deprecated
func (*EventsPayload) Descriptor() ([]byte, []int)
Deprecated: Use EventsPayload.ProtoReflect.Descriptor instead.
func (*EventsPayload) GetEvents ¶
func (x *EventsPayload) GetEvents() []*Event
func (*EventsPayload) GetHost ¶
func (x *EventsPayload) GetHost() string
func (*EventsPayload) GetObjectKind ¶
func (x *EventsPayload) GetObjectKind() EventsPayload_ObjectKind
func (*EventsPayload) GetVersion ¶
func (x *EventsPayload) GetVersion() string
func (*EventsPayload) ProtoMessage ¶
func (*EventsPayload) ProtoMessage()
func (*EventsPayload) ProtoReflect ¶ added in v5.0.77
func (x *EventsPayload) ProtoReflect() protoreflect.Message
func (*EventsPayload) Reset ¶
func (x *EventsPayload) Reset()
func (*EventsPayload) String ¶
func (x *EventsPayload) String() string
type EventsPayload_ObjectKind ¶
type EventsPayload_ObjectKind int32
const ( EventsPayload_Container EventsPayload_ObjectKind = 0 EventsPayload_Pod EventsPayload_ObjectKind = 1 )
func (EventsPayload_ObjectKind) Descriptor ¶ added in v5.0.77
func (EventsPayload_ObjectKind) Descriptor() protoreflect.EnumDescriptor
func (EventsPayload_ObjectKind) Enum ¶ added in v5.0.77
func (x EventsPayload_ObjectKind) Enum() *EventsPayload_ObjectKind
func (EventsPayload_ObjectKind) EnumDescriptor
deprecated
func (EventsPayload_ObjectKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use EventsPayload_ObjectKind.Descriptor instead.
func (EventsPayload_ObjectKind) Number ¶ added in v5.0.77
func (x EventsPayload_ObjectKind) Number() protoreflect.EnumNumber
func (EventsPayload_ObjectKind) String ¶
func (x EventsPayload_ObjectKind) String() string
func (EventsPayload_ObjectKind) Type ¶ added in v5.0.77
func (EventsPayload_ObjectKind) Type() protoreflect.EnumType
type PodEvent ¶
type PodEvent struct { PodUID string `protobuf:"bytes,1,opt,name=podUID,proto3" json:"podUID,omitempty"` // podUID contains the pod UID Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // source contains the pod source (kubelet) ExitTimestamp *int64 `protobuf:"varint,3,opt,name=exitTimestamp,proto3,oneof" json:"exitTimestamp,omitempty"` // exitTimestamp contains the exit timestamp of the pod // contains filtered or unexported fields }
PodEvent contains pod event metadata
func (*PodEvent) Descriptor
deprecated
func (*PodEvent) GetExitTimestamp ¶ added in v5.0.78
func (*PodEvent) ProtoMessage ¶
func (*PodEvent) ProtoMessage()
func (*PodEvent) ProtoReflect ¶ added in v5.0.77
func (x *PodEvent) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.