summary

package
v0.11.6 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package summary shows observability data from discovery engine

Index

Constants

This section is empty.

Variables

View Source
var (
	// SysProcHeader variable contains source process, destination process path, count, timestamp and status
	SysProcHeader = []string{"Src Process", "Destination Process Path", "Count", "Last Updated Time", "Status"}
	// SysFileHeader variable contains source process, destination file path, count, timestamp and status
	SysFileHeader = []string{"Src Process", "Destination File Path", "Count", "Last Updated Time", "Status"}
	// SysNwHeader variable contains protocol, command, POD/SVC/IP, Port, Namespace, and Labels
	SysNwHeader = []string{"Protocol", "Command", "POD/SVC/IP", "Port", "Namespace", "Labels", "Count", "Last Updated Time"}
	// SysBindNwHeader variable contains protocol, command, Bind Port, Bind Address, count and timestamp
	SysBindNwHeader = []string{"Protocol", "Command", "Bind Port", "Bind Address", "Count", "Last Updated Time"}
)
View Source
var DefaultReqType = "process,file,network"

DefaultReqType : default option for request type

Functions

func DisplaySummaryOutput

func DisplaySummaryOutput(resp *opb.Response, revDNSLookup bool, requestType string)

DisplaySummaryOutput function

func Summary

func Summary(c *k8s.Client, o Options) error

Summary : Get summary on pods

func WriteTable

func WriteTable(header []string, data [][]string)

WriteTable function

Types

type Options

type Options struct {
	GRPC          string
	Labels        string
	Namespace     string
	PodName       string
	ClusterName   string
	ContainerName string
	Type          string
	Output        string
	RevDNSLookup  bool
	Aggregation   bool
}

Options Structure

Jump to

Keyboard shortcuts

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