Documentation ¶
Overview ¶
Package contlcycle is a generated protocol buffer package.
It is generated from these files:
proto/contlcycle/contlcycle.proto
It has these top-level messages:
EventsPayload Event ContainerEvent PodEvent
Index ¶
- Variables
- type ContainerEvent
- func (*ContainerEvent) Descriptor() ([]byte, []int)
- func (m *ContainerEvent) GetContainerID() string
- func (m *ContainerEvent) GetExitCode() int32
- func (m *ContainerEvent) GetExitTimestamp() int64
- func (m *ContainerEvent) GetOptionalExitCode() isContainerEvent_OptionalExitCode
- func (m *ContainerEvent) GetOptionalExitTimestamp() isContainerEvent_OptionalExitTimestamp
- func (m *ContainerEvent) GetSource() string
- func (m *ContainerEvent) Marshal() (dAtA []byte, err error)
- func (m *ContainerEvent) MarshalTo(dAtA []byte) (int, error)
- func (*ContainerEvent) ProtoMessage()
- func (m *ContainerEvent) Reset()
- func (m *ContainerEvent) Size() (n int)
- func (m *ContainerEvent) String() string
- func (m *ContainerEvent) Unmarshal(dAtA []byte) error
- func (*ContainerEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ContainerEvent_ExitCode
- type ContainerEvent_ExitTimestamp
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetContainer() *ContainerEvent
- func (m *Event) GetEventType() Event_EventType
- func (m *Event) GetPod() *PodEvent
- func (m *Event) GetTypedEvent() isEvent_TypedEvent
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (*Event) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Event_Container
- type Event_EventType
- type Event_Pod
- type EventsPayload
- func (*EventsPayload) Descriptor() ([]byte, []int)
- func (m *EventsPayload) GetEvents() []*Event
- func (m *EventsPayload) GetHost() string
- func (m *EventsPayload) GetObjectKind() EventsPayload_ObjectKind
- func (m *EventsPayload) GetVersion() string
- func (m *EventsPayload) Marshal() (dAtA []byte, err error)
- func (m *EventsPayload) MarshalTo(dAtA []byte) (int, error)
- func (*EventsPayload) ProtoMessage()
- func (m *EventsPayload) Reset()
- func (m *EventsPayload) Size() (n int)
- func (m *EventsPayload) String() string
- func (m *EventsPayload) Unmarshal(dAtA []byte) error
- type EventsPayload_ObjectKind
- type PodEvent
- func (*PodEvent) Descriptor() ([]byte, []int)
- func (m *PodEvent) GetPodUID() string
- func (m *PodEvent) GetSource() string
- func (m *PodEvent) Marshal() (dAtA []byte, err error)
- func (m *PodEvent) MarshalTo(dAtA []byte) (int, error)
- func (*PodEvent) ProtoMessage()
- func (m *PodEvent) Reset()
- func (m *PodEvent) Size() (n int)
- func (m *PodEvent) String() string
- func (m *PodEvent) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthContlcycle = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowContlcycle = fmt.Errorf("proto: integer overflow") )
View Source
var Event_EventType_name = map[int32]string{
0: "Delete",
}
View Source
var Event_EventType_value = map[string]int32{
"Delete": 0,
}
View Source
var EventsPayload_ObjectKind_name = map[int32]string{
0: "Container",
1: "Pod",
}
View Source
var EventsPayload_ObjectKind_value = map[string]int32{
"Container": 0,
"Pod": 1,
}
Functions ¶
This section is empty.
Types ¶
type ContainerEvent ¶
type ContainerEvent struct { ContainerID string `protobuf:"bytes,1,opt,name=containerID,proto3" json:"containerID,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // Types that are valid to be assigned to OptionalExitCode: // *ContainerEvent_ExitCode OptionalExitCode isContainerEvent_OptionalExitCode `protobuf_oneof:"optionalExitCode"` // Types that are valid to be assigned to OptionalExitTimestamp: // *ContainerEvent_ExitTimestamp OptionalExitTimestamp isContainerEvent_OptionalExitTimestamp `protobuf_oneof:"optionalExitTimestamp"` }
ContainerEvent contains container event metadata
func (*ContainerEvent) Descriptor ¶
func (*ContainerEvent) Descriptor() ([]byte, []int)
func (*ContainerEvent) GetContainerID ¶
func (m *ContainerEvent) GetContainerID() string
func (*ContainerEvent) GetExitCode ¶
func (m *ContainerEvent) GetExitCode() int32
func (*ContainerEvent) GetExitTimestamp ¶
func (m *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 (m *ContainerEvent) GetSource() string
func (*ContainerEvent) Marshal ¶
func (m *ContainerEvent) Marshal() (dAtA []byte, err error)
func (*ContainerEvent) ProtoMessage ¶
func (*ContainerEvent) ProtoMessage()
func (*ContainerEvent) Reset ¶
func (m *ContainerEvent) Reset()
func (*ContainerEvent) Size ¶
func (m *ContainerEvent) Size() (n int)
func (*ContainerEvent) String ¶
func (m *ContainerEvent) String() string
func (*ContainerEvent) Unmarshal ¶
func (m *ContainerEvent) Unmarshal(dAtA []byte) error
func (*ContainerEvent) XXX_OneofFuncs ¶
func (*ContainerEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ContainerEvent_ExitCode ¶
type ContainerEvent_ExitCode struct {
ExitCode int32 `protobuf:"varint,3,opt,name=exitCode,proto3,oneof"`
}
func (*ContainerEvent_ExitCode) MarshalTo ¶
func (m *ContainerEvent_ExitCode) MarshalTo(dAtA []byte) (int, error)
func (*ContainerEvent_ExitCode) Size ¶
func (m *ContainerEvent_ExitCode) Size() (n int)
type ContainerEvent_ExitTimestamp ¶
type ContainerEvent_ExitTimestamp struct {
ExitTimestamp int64 `protobuf:"varint,4,opt,name=exitTimestamp,proto3,oneof"`
}
func (*ContainerEvent_ExitTimestamp) MarshalTo ¶
func (m *ContainerEvent_ExitTimestamp) MarshalTo(dAtA []byte) (int, error)
func (*ContainerEvent_ExitTimestamp) Size ¶
func (m *ContainerEvent_ExitTimestamp) Size() (n int)
type Event ¶
type Event struct { EventType Event_EventType `protobuf:"varint,1,opt,name=eventType,proto3,enum=datadog.contlcycle.Event_EventType" json:"eventType,omitempty"` // Types that are valid to be assigned to TypedEvent: // *Event_Container // *Event_Pod TypedEvent isEvent_TypedEvent `protobuf_oneof:"typedEvent"` }
Event contains the details about a container lifecycle event
func (*Event) Descriptor ¶
func (*Event) GetContainer ¶
func (m *Event) GetContainer() *ContainerEvent
func (*Event) GetEventType ¶
func (m *Event) GetEventType() Event_EventType
func (*Event) GetTypedEvent ¶
func (m *Event) GetTypedEvent() isEvent_TypedEvent
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type Event_Container ¶
type Event_Container struct {
Container *ContainerEvent `protobuf:"bytes,2,opt,name=container,oneof"`
}
func (*Event_Container) Size ¶
func (m *Event_Container) Size() (n int)
type Event_EventType ¶
type Event_EventType int32
const (
Event_Delete Event_EventType = 0
)
func (Event_EventType) EnumDescriptor ¶
func (Event_EventType) EnumDescriptor() ([]byte, []int)
func (Event_EventType) String ¶
func (x Event_EventType) String() string
type EventsPayload ¶
type EventsPayload struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` ObjectKind EventsPayload_ObjectKind `protobuf:"varint,3,opt,name=objectKind,proto3,enum=datadog.contlcycle.EventsPayload_ObjectKind" json:"objectKind,omitempty"` Events []*Event `protobuf:"bytes,4,rep,name=events" json:"events,omitempty"` }
EventsPayload represents the main container lifecycle event payload
func (*EventsPayload) Descriptor ¶
func (*EventsPayload) Descriptor() ([]byte, []int)
func (*EventsPayload) GetEvents ¶
func (m *EventsPayload) GetEvents() []*Event
func (*EventsPayload) GetHost ¶
func (m *EventsPayload) GetHost() string
func (*EventsPayload) GetObjectKind ¶
func (m *EventsPayload) GetObjectKind() EventsPayload_ObjectKind
func (*EventsPayload) GetVersion ¶
func (m *EventsPayload) GetVersion() string
func (*EventsPayload) Marshal ¶
func (m *EventsPayload) Marshal() (dAtA []byte, err error)
func (*EventsPayload) ProtoMessage ¶
func (*EventsPayload) ProtoMessage()
func (*EventsPayload) Reset ¶
func (m *EventsPayload) Reset()
func (*EventsPayload) Size ¶
func (m *EventsPayload) Size() (n int)
func (*EventsPayload) String ¶
func (m *EventsPayload) String() string
func (*EventsPayload) Unmarshal ¶
func (m *EventsPayload) Unmarshal(dAtA []byte) error
type EventsPayload_ObjectKind ¶
type EventsPayload_ObjectKind int32
const ( EventsPayload_Container EventsPayload_ObjectKind = 0 EventsPayload_Pod EventsPayload_ObjectKind = 1 )
func (EventsPayload_ObjectKind) EnumDescriptor ¶
func (EventsPayload_ObjectKind) EnumDescriptor() ([]byte, []int)
func (EventsPayload_ObjectKind) String ¶
func (x EventsPayload_ObjectKind) String() string
type PodEvent ¶
type PodEvent struct { PodUID string `protobuf:"bytes,1,opt,name=podUID,proto3" json:"podUID,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` }
PodEvent contains pod event metadata
func (*PodEvent) Descriptor ¶
func (*PodEvent) ProtoMessage ¶
func (*PodEvent) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.