Documentation ¶
Index ¶
- type ContainerRuntimeInfoAnalyze
- type ContainerWorkloadManifestAnalyze
- type InstrumentationConfigAnalyze
- type InstrumentationDeviceAnalyze
- type InstrumentationInstanceAnalyze
- type InstrumentationLabelsAnalyze
- type InstrumentedApplicationAnalyze
- type K8sSourceObject
- type OdigosSourceResources
- type PodAnalyze
- type PodContainerAnalyze
- type RuntimeInfoAnalyze
- type SourceAnalyze
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerRuntimeInfoAnalyze ¶ added in v1.0.119
type ContainerRuntimeInfoAnalyze struct { ContainerName properties.EntityProperty `json:"containerName"` Language properties.EntityProperty `json:"language"` RuntimeVersion properties.EntityProperty `json:"runtimeVersion"` EnvVars []properties.EntityProperty `json:"envVars"` }
type ContainerWorkloadManifestAnalyze ¶ added in v1.0.119
type ContainerWorkloadManifestAnalyze struct { ContainerName properties.EntityProperty `json:"containerName"` Devices properties.EntityProperty `json:"devices"` OriginalEnv []properties.EntityProperty `json:"originalEnv"` }
type InstrumentationConfigAnalyze ¶ added in v1.0.119
type InstrumentationConfigAnalyze struct { Created properties.EntityProperty `json:"created"` CreateTime *properties.EntityProperty `json:"createTime"` }
type InstrumentationDeviceAnalyze ¶ added in v1.0.119
type InstrumentationDeviceAnalyze struct { StatusText properties.EntityProperty `json:"statusText"` Containers []ContainerWorkloadManifestAnalyze `json:"containers"` }
type InstrumentationInstanceAnalyze ¶ added in v1.0.119
type InstrumentationInstanceAnalyze struct { Healthy properties.EntityProperty `json:"healthy"` Message *properties.EntityProperty `json:"message"` IdentifyingAttributes []properties.EntityProperty `json:"identifyingAttributes"` }
type InstrumentationLabelsAnalyze ¶ added in v1.0.119
type InstrumentationLabelsAnalyze struct { Instrumented properties.EntityProperty `json:"instrumented"` Workload *properties.EntityProperty `json:"workload"` Namespace *properties.EntityProperty `json:"namespace"` InstrumentedText properties.EntityProperty `json:"instrumentedText"` }
type InstrumentedApplicationAnalyze ¶ added in v1.0.119
type InstrumentedApplicationAnalyze struct { Created properties.EntityProperty `json:"created"` CreateTime *properties.EntityProperty `json:"createTime"` Containers []ContainerRuntimeInfoAnalyze `json:"containers"` }
type K8sSourceObject ¶
type K8sSourceObject struct { metav1.ObjectMeta Kind string PodTemplateSpec *corev1.PodTemplateSpec LabelSelector *metav1.LabelSelector }
type OdigosSourceResources ¶
type OdigosSourceResources struct { Namespace *corev1.Namespace InstrumentationConfig *odigosv1.InstrumentationConfig InstrumentedApplication *odigosv1.InstrumentedApplication InstrumentationInstances *odigosv1.InstrumentationInstanceList Pods *corev1.PodList }
func GetRelevantSourceResources ¶
func GetRelevantSourceResources(ctx context.Context, kubeClient kubernetes.Interface, odigosClient odigosclientset.OdigosV1alpha1Interface, workloadObj *K8sSourceObject) (*OdigosSourceResources, error)
type PodAnalyze ¶ added in v1.0.119
type PodAnalyze struct { PodName properties.EntityProperty `json:"podName"` NodeName properties.EntityProperty `json:"nodeName"` Phase properties.EntityProperty `json:"phase"` Containers []PodContainerAnalyze `json:"containers"` }
type PodContainerAnalyze ¶ added in v1.0.119
type PodContainerAnalyze struct { ContainerName properties.EntityProperty `json:"containerName"` ActualDevices properties.EntityProperty `json:"actualDevices"` InstrumentationInstances []InstrumentationInstanceAnalyze `json:"instrumentationInstances"` }
type RuntimeInfoAnalyze ¶ added in v1.0.119
type RuntimeInfoAnalyze struct { Generation properties.EntityProperty `json:"generation"` Containers []ContainerRuntimeInfoAnalyze `json:"containers"` }
type SourceAnalyze ¶ added in v1.0.119
type SourceAnalyze struct { Name properties.EntityProperty `json:"name"` Kind properties.EntityProperty `json:"kind"` Namespace properties.EntityProperty `json:"namespace"` Labels InstrumentationLabelsAnalyze `json:"labels"` InstrumentationConfig InstrumentationConfigAnalyze `json:"instrumentationConfig"` RuntimeInfo *RuntimeInfoAnalyze `json:"runtimeInfo"` InstrumentedApplication InstrumentedApplicationAnalyze `json:"instrumentedApplication"` InstrumentationDevice InstrumentationDeviceAnalyze `json:"instrumentationDevice"` TotalPods int `json:"totalPods"` PodsPhasesCount string `json:"podsPhasesCount"` Pods []PodAnalyze `json:"pods"` }
func AnalyzeSource ¶ added in v1.0.119
func AnalyzeSource(resources *OdigosSourceResources, workloadObj *K8sSourceObject) *SourceAnalyze
Click to show internal directories.
Click to hide internal directories.