contlcycle

package
v5.0.206 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2026 License: BSD-3-Clause Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ObjectKind_name = map[int32]string{
		0: "Container",
		1: "Pod",
		2: "Task",
	}
	ObjectKind_value = map[string]int32{
		"Container": 0,
		"Pod":       1,
		"Task":      2,
	}
)

Enum value maps for ObjectKind.

View Source
var (
	Event_EventType_name = map[int32]string{
		0: "Delete",
		1: "Transition",
		2: "Create",
	}
	Event_EventType_value = map[string]int32{
		"Delete":     0,
		"Transition": 1,
		"Create":     2,
	}
)

Enum value maps for Event_EventType.

View Source
var (
	PodStatusField_name = map[int32]string{
		0: "POD_STATUS_FIELD_UNSPECIFIED",
		1: "POD_STATUS_FIELD_PHASE",
		2: "POD_STATUS_FIELD_CONDITION",
	}
	PodStatusField_value = map[string]int32{
		"POD_STATUS_FIELD_UNSPECIFIED": 0,
		"POD_STATUS_FIELD_PHASE":       1,
		"POD_STATUS_FIELD_CONDITION":   2,
	}
)

Enum value maps for PodStatusField.

View Source
var (
	ContainerKind_name = map[int32]string{
		0: "CONTAINER_KIND_UNSPECIFIED",
		1: "CONTAINER_KIND_REGULAR",
		2: "CONTAINER_KIND_INIT",
		3: "CONTAINER_KIND_EPHEMERAL",
	}
	ContainerKind_value = map[string]int32{
		"CONTAINER_KIND_UNSPECIFIED": 0,
		"CONTAINER_KIND_REGULAR":     1,
		"CONTAINER_KIND_INIT":        2,
		"CONTAINER_KIND_EPHEMERAL":   3,
	}
)

Enum value maps for ContainerKind.

View Source
var (
	Precision_name = map[int32]string{
		0: "PRECISION_APPROXIMATE",
		1: "PRECISION_EXACT",
	}
	Precision_value = map[string]int32{
		"PRECISION_APPROXIMATE": 0,
		"PRECISION_EXACT":       1,
	}
)

Enum value maps for Precision.

View Source
var (
	MissedIntermediate_name = map[int32]string{
		0: "MISSED_INTERMEDIATE_UNKNOWABLE",
		1: "MISSED_INTERMEDIATE_PROVEN",
	}
	MissedIntermediate_value = map[string]int32{
		"MISSED_INTERMEDIATE_UNKNOWABLE": 0,
		"MISSED_INTERMEDIATE_PROVEN":     1,
	}
)

Enum value maps for MissedIntermediate.

View Source
var (
	ContainerStateKind_name = map[int32]string{
		0: "CONTAINER_STATE_KIND_UNSPECIFIED",
		1: "CONTAINER_STATE_KIND_WAITING",
		2: "CONTAINER_STATE_KIND_RUNNING",
		3: "CONTAINER_STATE_KIND_TERMINATED",
	}
	ContainerStateKind_value = map[string]int32{
		"CONTAINER_STATE_KIND_UNSPECIFIED": 0,
		"CONTAINER_STATE_KIND_WAITING":     1,
		"CONTAINER_STATE_KIND_RUNNING":     2,
		"CONTAINER_STATE_KIND_TERMINATED":  3,
	}
)

Enum value maps for ContainerStateKind.

View Source
var File_proto_contlcycle_contlcycle_proto protoreflect.FileDescriptor
View Source
var File_proto_contlcycle_transition_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConditionValue added in v5.0.206

type ConditionValue struct {
	Type    string  `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`     // Ready, Initialized, ContainersReady, PodScheduled, ...
	Status  string  `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` // True / False / Unknown
	Reason  *string `protobuf:"bytes,3,opt,name=reason,proto3,oneof" json:"reason,omitempty"`
	Message *string `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"`
	// contains filtered or unexported fields
}

ConditionValue represents the value of a Kubernetes pod condition

func (*ConditionValue) Descriptor deprecated added in v5.0.206

func (*ConditionValue) Descriptor() ([]byte, []int)

Deprecated: Use ConditionValue.ProtoReflect.Descriptor instead.

func (*ConditionValue) GetMessage added in v5.0.206

func (x *ConditionValue) GetMessage() string

func (*ConditionValue) GetReason added in v5.0.206

func (x *ConditionValue) GetReason() string

func (*ConditionValue) GetStatus added in v5.0.206

func (x *ConditionValue) GetStatus() string

func (*ConditionValue) GetType added in v5.0.206

func (x *ConditionValue) GetType() string

func (*ConditionValue) ProtoMessage added in v5.0.206

func (*ConditionValue) ProtoMessage()

func (*ConditionValue) ProtoReflect added in v5.0.206

func (x *ConditionValue) ProtoReflect() protoreflect.Message

func (*ConditionValue) Reset added in v5.0.206

func (x *ConditionValue) Reset()

func (*ConditionValue) String added in v5.0.206

func (x *ConditionValue) String() string

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"`
	// Types that are assignable to OptionalCreationTimestamp:
	//
	//	*ContainerEvent_CreationTimestamp
	OptionalCreationTimestamp isContainerEvent_OptionalCreationTimestamp `protobuf_oneof:"optionalCreationTimestamp"`
	Owner                     *ContainerEvent_Owner                      `protobuf:"bytes,5,opt,name=owner,proto3,oneof" json:"owner,omitempty"` // owner contains the information about who this container belongs to
	ContainerName             *string                                    `protobuf:"bytes,6,opt,name=containerName,proto3,oneof" json:"containerName,omitempty"`
	Transition                *ContainerStateTransition                  `protobuf:"bytes,7,opt,name=transition,proto3,oneof" json:"transition,omitempty"`
	// 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) GetContainerName added in v5.0.206

func (x *ContainerEvent) GetContainerName() string

func (*ContainerEvent) GetCreationTimestamp added in v5.0.206

func (x *ContainerEvent) GetCreationTimestamp() int64

func (*ContainerEvent) GetExitCode

func (x *ContainerEvent) GetExitCode() int32

func (*ContainerEvent) GetExitTimestamp

func (x *ContainerEvent) GetExitTimestamp() int64

func (*ContainerEvent) GetOptionalCreationTimestamp added in v5.0.206

func (m *ContainerEvent) GetOptionalCreationTimestamp() isContainerEvent_OptionalCreationTimestamp

func (*ContainerEvent) GetOptionalExitCode

func (m *ContainerEvent) GetOptionalExitCode() isContainerEvent_OptionalExitCode

func (*ContainerEvent) GetOptionalExitTimestamp

func (m *ContainerEvent) GetOptionalExitTimestamp() isContainerEvent_OptionalExitTimestamp

func (*ContainerEvent) GetOwner added in v5.0.79

func (x *ContainerEvent) GetOwner() *ContainerEvent_Owner

func (*ContainerEvent) GetSource

func (x *ContainerEvent) GetSource() string

func (*ContainerEvent) GetTransition added in v5.0.206

func (x *ContainerEvent) GetTransition() *ContainerStateTransition

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_CreationTimestamp added in v5.0.206

type ContainerEvent_CreationTimestamp struct {
	CreationTimestamp int64 `protobuf:"varint,8,opt,name=creationTimestamp,proto3,oneof"` // creationTimestamp contains the creation timestamp of the container
}

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 ContainerEvent_Owner added in v5.0.79

type ContainerEvent_Owner struct {
	OwnerType ObjectKind `protobuf:"varint,1,opt,name=ownerType,proto3,enum=datadog.contlcycle.ObjectKind" json:"ownerType,omitempty"` // ownerType represents the owner type (pod, etc)
	OwnerUID  string     `protobuf:"bytes,2,opt,name=ownerUID,proto3" json:"ownerUID,omitempty"`                                       // ownerUID contains the owner UID
	// contains filtered or unexported fields
}

Owner contains information about what a container belongs to

func (*ContainerEvent_Owner) Descriptor deprecated added in v5.0.79

func (*ContainerEvent_Owner) Descriptor() ([]byte, []int)

Deprecated: Use ContainerEvent_Owner.ProtoReflect.Descriptor instead.

func (*ContainerEvent_Owner) GetOwnerType added in v5.0.79

func (x *ContainerEvent_Owner) GetOwnerType() ObjectKind

func (*ContainerEvent_Owner) GetOwnerUID added in v5.0.79

func (x *ContainerEvent_Owner) GetOwnerUID() string

func (*ContainerEvent_Owner) ProtoMessage added in v5.0.79

func (*ContainerEvent_Owner) ProtoMessage()

func (*ContainerEvent_Owner) ProtoReflect added in v5.0.79

func (x *ContainerEvent_Owner) ProtoReflect() protoreflect.Message

func (*ContainerEvent_Owner) Reset added in v5.0.79

func (x *ContainerEvent_Owner) Reset()

func (*ContainerEvent_Owner) String added in v5.0.79

func (x *ContainerEvent_Owner) String() string

type ContainerKind added in v5.0.206

type ContainerKind int32

ContainerKind identifies which container slot a ContainerStateTransition applies to

const (
	ContainerKind_CONTAINER_KIND_UNSPECIFIED ContainerKind = 0
	ContainerKind_CONTAINER_KIND_REGULAR     ContainerKind = 1 // .status.containerStatuses[*]
	ContainerKind_CONTAINER_KIND_INIT        ContainerKind = 2 // .status.initContainerStatuses[*]
	ContainerKind_CONTAINER_KIND_EPHEMERAL   ContainerKind = 3 // .status.ephemeralContainerStatuses[*]
)

func (ContainerKind) Descriptor added in v5.0.206

func (ContainerKind) Enum added in v5.0.206

func (x ContainerKind) Enum() *ContainerKind

func (ContainerKind) EnumDescriptor deprecated added in v5.0.206

func (ContainerKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerKind.Descriptor instead.

func (ContainerKind) Number added in v5.0.206

func (ContainerKind) String added in v5.0.206

func (x ContainerKind) String() string

func (ContainerKind) Type added in v5.0.206

type ContainerStateKind added in v5.0.206

type ContainerStateKind int32

ContainerStateKind represents the kind of a Kubernetes container state

const (
	ContainerStateKind_CONTAINER_STATE_KIND_UNSPECIFIED ContainerStateKind = 0
	ContainerStateKind_CONTAINER_STATE_KIND_WAITING     ContainerStateKind = 1
	ContainerStateKind_CONTAINER_STATE_KIND_RUNNING     ContainerStateKind = 2
	ContainerStateKind_CONTAINER_STATE_KIND_TERMINATED  ContainerStateKind = 3
)

func (ContainerStateKind) Descriptor added in v5.0.206

func (ContainerStateKind) Enum added in v5.0.206

func (ContainerStateKind) EnumDescriptor deprecated added in v5.0.206

func (ContainerStateKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ContainerStateKind.Descriptor instead.

func (ContainerStateKind) Number added in v5.0.206

func (ContainerStateKind) String added in v5.0.206

func (x ContainerStateKind) String() string

func (ContainerStateKind) Type added in v5.0.206

type ContainerStateTransition added in v5.0.206

type ContainerStateTransition struct {
	ContainerKind       ContainerKind        `protobuf:"varint,1,opt,name=containerKind,proto3,enum=datadog.contlcycle.ContainerKind" json:"containerKind,omitempty"`
	LastObservedState   *ContainerStateValue `protobuf:"bytes,2,opt,name=lastObservedState,proto3,oneof" json:"lastObservedState,omitempty"`
	NewState            *ContainerStateValue `protobuf:"bytes,3,opt,name=newState,proto3" json:"newState,omitempty"`
	TransitionTimestamp int64                `protobuf:"varint,4,opt,name=transitionTimestamp,proto3" json:"transitionTimestamp,omitempty"`
	Precision           Precision            `protobuf:"varint,5,opt,name=precision,proto3,enum=datadog.contlcycle.Precision" json:"precision,omitempty"`
	MissedIntermediate  MissedIntermediate   `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

ContainerStateTransition represents a Kubernetes container-level state transition

func (*ContainerStateTransition) Descriptor deprecated added in v5.0.206

func (*ContainerStateTransition) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStateTransition.ProtoReflect.Descriptor instead.

func (*ContainerStateTransition) GetContainerKind added in v5.0.206

func (x *ContainerStateTransition) GetContainerKind() ContainerKind

func (*ContainerStateTransition) GetLastObservedState added in v5.0.206

func (x *ContainerStateTransition) GetLastObservedState() *ContainerStateValue

func (*ContainerStateTransition) GetMissedIntermediate added in v5.0.206

func (x *ContainerStateTransition) GetMissedIntermediate() MissedIntermediate

func (*ContainerStateTransition) GetNewState added in v5.0.206

func (*ContainerStateTransition) GetPrecision added in v5.0.206

func (x *ContainerStateTransition) GetPrecision() Precision

func (*ContainerStateTransition) GetTransitionTimestamp added in v5.0.206

func (x *ContainerStateTransition) GetTransitionTimestamp() int64

func (*ContainerStateTransition) ProtoMessage added in v5.0.206

func (*ContainerStateTransition) ProtoMessage()

func (*ContainerStateTransition) ProtoReflect added in v5.0.206

func (x *ContainerStateTransition) ProtoReflect() protoreflect.Message

func (*ContainerStateTransition) Reset added in v5.0.206

func (x *ContainerStateTransition) Reset()

func (*ContainerStateTransition) String added in v5.0.206

func (x *ContainerStateTransition) String() string

type ContainerStateValue added in v5.0.206

type ContainerStateValue struct {
	Kind     ContainerStateKind `protobuf:"varint,1,opt,name=kind,proto3,enum=datadog.contlcycle.ContainerStateKind" json:"kind,omitempty"`
	Reason   *string            `protobuf:"bytes,2,opt,name=reason,proto3,oneof" json:"reason,omitempty"`      // ContainerCreating, CrashLoopBackOff, Completed, Error, OOMKilled, ...
	ExitCode *int32             `protobuf:"varint,3,opt,name=exitCode,proto3,oneof" json:"exitCode,omitempty"` // TERMINATED only
	Signal   *int32             `protobuf:"varint,4,opt,name=signal,proto3,oneof" json:"signal,omitempty"`     // TERMINATED only
	// contains filtered or unexported fields
}

ContainerStateValue represents the value of a Kubernetes container state

func (*ContainerStateValue) Descriptor deprecated added in v5.0.206

func (*ContainerStateValue) Descriptor() ([]byte, []int)

Deprecated: Use ContainerStateValue.ProtoReflect.Descriptor instead.

func (*ContainerStateValue) GetExitCode added in v5.0.206

func (x *ContainerStateValue) GetExitCode() int32

func (*ContainerStateValue) GetKind added in v5.0.206

func (*ContainerStateValue) GetReason added in v5.0.206

func (x *ContainerStateValue) GetReason() string

func (*ContainerStateValue) GetSignal added in v5.0.206

func (x *ContainerStateValue) GetSignal() int32

func (*ContainerStateValue) ProtoMessage added in v5.0.206

func (*ContainerStateValue) ProtoMessage()

func (*ContainerStateValue) ProtoReflect added in v5.0.206

func (x *ContainerStateValue) ProtoReflect() protoreflect.Message

func (*ContainerStateValue) Reset added in v5.0.206

func (x *ContainerStateValue) Reset()

func (*ContainerStateValue) String added in v5.0.206

func (x *ContainerStateValue) String() string

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
	// Types that are assignable to TypedEvent:
	//
	//	*Event_Container
	//	*Event_Pod
	//	*Event_Task
	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) Descriptor() ([]byte, []int)

Deprecated: Use Event.ProtoReflect.Descriptor instead.

func (*Event) GetContainer

func (x *Event) GetContainer() *ContainerEvent

func (*Event) GetEventType

func (x *Event) GetEventType() Event_EventType

func (*Event) GetPod

func (x *Event) GetPod() *PodEvent

func (*Event) GetTask added in v5.0.108

func (x *Event) GetTask() *TaskEvent

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

func (*Event) Reset

func (x *Event) Reset()

func (*Event) String

func (x *Event) String() string

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 // existing termination path
	Event_Transition Event_EventType = 1 // a Kubernetes pod or container status change
	Event_Create     Event_EventType = 2 // creation path, mirroring Delete
)

func (Event_EventType) Descriptor added in v5.0.77

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 (Event_EventType) String

func (x Event_EventType) String() string

func (Event_EventType) Type added in v5.0.77

type Event_Pod

type Event_Pod struct {
	Pod *PodEvent `protobuf:"bytes,3,opt,name=pod,proto3,oneof"`
}

type Event_Task added in v5.0.108

type Event_Task struct {
	Task *TaskEvent `protobuf:"bytes,4,opt,name=task,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 ObjectKind `protobuf:"varint,3,opt,name=objectKind,proto3,enum=datadog.contlcycle.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
	ClusterId  string     `protobuf:"bytes,5,opt,name=clusterId,proto3" json:"clusterId,omitempty"`
	// 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) GetClusterId added in v5.0.176

func (x *EventsPayload) GetClusterId() string

func (*EventsPayload) GetEvents

func (x *EventsPayload) GetEvents() []*Event

func (*EventsPayload) GetHost

func (x *EventsPayload) GetHost() string

func (*EventsPayload) GetObjectKind

func (x *EventsPayload) GetObjectKind() 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 MissedIntermediate added in v5.0.206

type MissedIntermediate int32

MissedIntermediate represents whether the intermediate state was possibly missed between kubelet polls

const (
	MissedIntermediate_MISSED_INTERMEDIATE_UNKNOWABLE MissedIntermediate = 0
	MissedIntermediate_MISSED_INTERMEDIATE_PROVEN     MissedIntermediate = 1
)

func (MissedIntermediate) Descriptor added in v5.0.206

func (MissedIntermediate) Enum added in v5.0.206

func (MissedIntermediate) EnumDescriptor deprecated added in v5.0.206

func (MissedIntermediate) EnumDescriptor() ([]byte, []int)

Deprecated: Use MissedIntermediate.Descriptor instead.

func (MissedIntermediate) Number added in v5.0.206

func (MissedIntermediate) String added in v5.0.206

func (x MissedIntermediate) String() string

func (MissedIntermediate) Type added in v5.0.206

type ObjectKind added in v5.0.79

type ObjectKind int32
const (
	ObjectKind_Container ObjectKind = 0
	ObjectKind_Pod       ObjectKind = 1
	ObjectKind_Task      ObjectKind = 2
)

func (ObjectKind) Descriptor added in v5.0.79

func (ObjectKind) Descriptor() protoreflect.EnumDescriptor

func (ObjectKind) Enum added in v5.0.79

func (x ObjectKind) Enum() *ObjectKind

func (ObjectKind) EnumDescriptor deprecated added in v5.0.79

func (ObjectKind) EnumDescriptor() ([]byte, []int)

Deprecated: Use ObjectKind.Descriptor instead.

func (ObjectKind) Number added in v5.0.79

func (x ObjectKind) Number() protoreflect.EnumNumber

func (ObjectKind) String added in v5.0.79

func (x ObjectKind) String() string

func (ObjectKind) Type added in v5.0.79

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
	CreationTimestamp *int64              `protobuf:"varint,4,opt,name=creationTimestamp,proto3,oneof" json:"creationTimestamp,omitempty"` // creationTimestamp contains the creation timestamp of the pod
	Transition        *PodStateTransition `protobuf:"bytes,5,opt,name=transition,proto3,oneof" json:"transition,omitempty"`
	// contains filtered or unexported fields
}

PodEvent contains pod event metadata

func (*PodEvent) Descriptor deprecated

func (*PodEvent) Descriptor() ([]byte, []int)

Deprecated: Use PodEvent.ProtoReflect.Descriptor instead.

func (*PodEvent) GetCreationTimestamp added in v5.0.206

func (x *PodEvent) GetCreationTimestamp() int64

func (*PodEvent) GetExitTimestamp added in v5.0.78

func (x *PodEvent) GetExitTimestamp() int64

func (*PodEvent) GetPodUID

func (x *PodEvent) GetPodUID() string

func (*PodEvent) GetSource

func (x *PodEvent) GetSource() string

func (*PodEvent) GetTransition added in v5.0.206

func (x *PodEvent) GetTransition() *PodStateTransition

func (*PodEvent) ProtoMessage

func (*PodEvent) ProtoMessage()

func (*PodEvent) ProtoReflect added in v5.0.77

func (x *PodEvent) ProtoReflect() protoreflect.Message

func (*PodEvent) Reset

func (x *PodEvent) Reset()

func (*PodEvent) String

func (x *PodEvent) String() string

type PodStateTransition added in v5.0.206

type PodStateTransition struct {
	Field               PodStatusField     `protobuf:"varint,1,opt,name=field,proto3,enum=datadog.contlcycle.PodStatusField" json:"field,omitempty"`
	LastObservedState   *PodStatusValue    `protobuf:"bytes,2,opt,name=lastObservedState,proto3,oneof" json:"lastObservedState,omitempty"`
	NewState            *PodStatusValue    `protobuf:"bytes,3,opt,name=newState,proto3" json:"newState,omitempty"`
	TransitionTimestamp int64              `protobuf:"varint,4,opt,name=transitionTimestamp,proto3" json:"transitionTimestamp,omitempty"`
	Precision           Precision          `protobuf:"varint,5,opt,name=precision,proto3,enum=datadog.contlcycle.Precision" json:"precision,omitempty"`
	MissedIntermediate  MissedIntermediate `` /* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

PodStateTransition represents a Kubernetes pod-level status transition (phase or condition)

func (*PodStateTransition) Descriptor deprecated added in v5.0.206

func (*PodStateTransition) Descriptor() ([]byte, []int)

Deprecated: Use PodStateTransition.ProtoReflect.Descriptor instead.

func (*PodStateTransition) GetField added in v5.0.206

func (x *PodStateTransition) GetField() PodStatusField

func (*PodStateTransition) GetLastObservedState added in v5.0.206

func (x *PodStateTransition) GetLastObservedState() *PodStatusValue

func (*PodStateTransition) GetMissedIntermediate added in v5.0.206

func (x *PodStateTransition) GetMissedIntermediate() MissedIntermediate

func (*PodStateTransition) GetNewState added in v5.0.206

func (x *PodStateTransition) GetNewState() *PodStatusValue

func (*PodStateTransition) GetPrecision added in v5.0.206

func (x *PodStateTransition) GetPrecision() Precision

func (*PodStateTransition) GetTransitionTimestamp added in v5.0.206

func (x *PodStateTransition) GetTransitionTimestamp() int64

func (*PodStateTransition) ProtoMessage added in v5.0.206

func (*PodStateTransition) ProtoMessage()

func (*PodStateTransition) ProtoReflect added in v5.0.206

func (x *PodStateTransition) ProtoReflect() protoreflect.Message

func (*PodStateTransition) Reset added in v5.0.206

func (x *PodStateTransition) Reset()

func (*PodStateTransition) String added in v5.0.206

func (x *PodStateTransition) String() string

type PodStatusField added in v5.0.206

type PodStatusField int32

PodStatusField identifies the Kubernetes pod status field that changed

const (
	PodStatusField_POD_STATUS_FIELD_UNSPECIFIED PodStatusField = 0
	PodStatusField_POD_STATUS_FIELD_PHASE       PodStatusField = 1 // .status.phase
	PodStatusField_POD_STATUS_FIELD_CONDITION   PodStatusField = 2 // .status.conditions[*]
)

func (PodStatusField) Descriptor added in v5.0.206

func (PodStatusField) Enum added in v5.0.206

func (x PodStatusField) Enum() *PodStatusField

func (PodStatusField) EnumDescriptor deprecated added in v5.0.206

func (PodStatusField) EnumDescriptor() ([]byte, []int)

Deprecated: Use PodStatusField.Descriptor instead.

func (PodStatusField) Number added in v5.0.206

func (PodStatusField) String added in v5.0.206

func (x PodStatusField) String() string

func (PodStatusField) Type added in v5.0.206

type PodStatusValue added in v5.0.206

type PodStatusValue struct {

	// Types that are assignable to Value:
	//
	//	*PodStatusValue_Phase
	//	*PodStatusValue_Condition
	Value isPodStatusValue_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

PodStatusValue represents the value of a Kubernetes pod-level status field

func (*PodStatusValue) Descriptor deprecated added in v5.0.206

func (*PodStatusValue) Descriptor() ([]byte, []int)

Deprecated: Use PodStatusValue.ProtoReflect.Descriptor instead.

func (*PodStatusValue) GetCondition added in v5.0.206

func (x *PodStatusValue) GetCondition() *ConditionValue

func (*PodStatusValue) GetPhase added in v5.0.206

func (x *PodStatusValue) GetPhase() string

func (*PodStatusValue) GetValue added in v5.0.206

func (m *PodStatusValue) GetValue() isPodStatusValue_Value

func (*PodStatusValue) ProtoMessage added in v5.0.206

func (*PodStatusValue) ProtoMessage()

func (*PodStatusValue) ProtoReflect added in v5.0.206

func (x *PodStatusValue) ProtoReflect() protoreflect.Message

func (*PodStatusValue) Reset added in v5.0.206

func (x *PodStatusValue) Reset()

func (*PodStatusValue) String added in v5.0.206

func (x *PodStatusValue) String() string

type PodStatusValue_Condition added in v5.0.206

type PodStatusValue_Condition struct {
	Condition *ConditionValue `protobuf:"bytes,2,opt,name=condition,proto3,oneof"` // POD_STATUS_FIELD_CONDITION
}

type PodStatusValue_Phase added in v5.0.206

type PodStatusValue_Phase struct {
	Phase string `protobuf:"bytes,1,opt,name=phase,proto3,oneof"` // POD_STATUS_FIELD_PHASE
}

type Precision added in v5.0.206

type Precision int32

Precision represents the precision of the transition timestamp

const (
	Precision_PRECISION_APPROXIMATE Precision = 0
	Precision_PRECISION_EXACT       Precision = 1
)

func (Precision) Descriptor added in v5.0.206

func (Precision) Descriptor() protoreflect.EnumDescriptor

func (Precision) Enum added in v5.0.206

func (x Precision) Enum() *Precision

func (Precision) EnumDescriptor deprecated added in v5.0.206

func (Precision) EnumDescriptor() ([]byte, []int)

Deprecated: Use Precision.Descriptor instead.

func (Precision) Number added in v5.0.206

func (x Precision) Number() protoreflect.EnumNumber

func (Precision) String added in v5.0.206

func (x Precision) String() string

func (Precision) Type added in v5.0.206

type TaskEvent added in v5.0.108

type TaskEvent struct {
	TaskARN       string `protobuf:"bytes,1,opt,name=taskARN,proto3" json:"taskARN,omitempty"`                    // taskARN contains the task ARN
	Source        string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`                      // source contains the task source
	ExitTimestamp *int64 `protobuf:"varint,3,opt,name=exitTimestamp,proto3,oneof" json:"exitTimestamp,omitempty"` // exitTimestamp contains the exit timestamp of the task
	// contains filtered or unexported fields
}

TaskEvent contains task event metadata

func (*TaskEvent) Descriptor deprecated added in v5.0.108

func (*TaskEvent) Descriptor() ([]byte, []int)

Deprecated: Use TaskEvent.ProtoReflect.Descriptor instead.

func (*TaskEvent) GetExitTimestamp added in v5.0.108

func (x *TaskEvent) GetExitTimestamp() int64

func (*TaskEvent) GetSource added in v5.0.108

func (x *TaskEvent) GetSource() string

func (*TaskEvent) GetTaskARN added in v5.0.108

func (x *TaskEvent) GetTaskARN() string

func (*TaskEvent) ProtoMessage added in v5.0.108

func (*TaskEvent) ProtoMessage()

func (*TaskEvent) ProtoReflect added in v5.0.108

func (x *TaskEvent) ProtoReflect() protoreflect.Message

func (*TaskEvent) Reset added in v5.0.108

func (x *TaskEvent) Reset()

func (*TaskEvent) String added in v5.0.108

func (x *TaskEvent) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL