software

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalPropInfo

type AdditionalPropInfo struct {
	Aliases             []string   `json:"aliases"`
	Dnsnames            []string   `json:"dnsnames"`
	DriverOpts          DriverOpts `json:"driverOpts"`
	EndpointID          string     `json:"endpointID"`
	Gateway             string     `json:"gateway"`
	GlobalIPv6Address   string     `json:"globalIPv6Address"`
	GlobalIPv6PrefixLen int        `json:"globalIPv6PrefixLen"`
	Ipaddress           string     `json:"ipaddress"`
	Ipamconfig          Ipamconfig `json:"ipamconfig"`
	IpprefixLen         int        `json:"ipprefixLen"`
	Ipv6Gateway         string     `json:"ipv6Gateway"`
	Links               []string   `json:"links"`
	MacAddress          string     `json:"macAddress"`
	NetworkID           string     `json:"networkID"`
}

type ContainerInfo

type ContainerInfo struct {
	Id              string              `json:"Id"`
	Command         string              `json:"command"`
	Created         int                 `json:"created"`
	HostConfig      HostConfig          `json:"hostConfig"`
	Image           string              `json:"image"`
	ImageID         string              `json:"imageID"`
	Labels          DriverOpts          `json:"labels"`
	Mounts          []MountPointInfo    `json:"mounts"`
	Names           []string            `json:"names"`
	NetworkSettings NetworkSettingsInfo `json:"networkSettings"`
	Ports           []PortInfo          `json:"ports"`
	SizeRootFs      int                 `json:"sizeRootFs"`
	SizeRw          int                 `json:"sizeRw"`
	State           string              `json:"state"`
	Status          string              `json:"status"`
}

type ContainerInfos

type ContainerInfos []ContainerInfo

type DebInfo

type DebInfo struct {
	Architecture  string   `json:"architecture"`
	Conffiles     []string `json:"conffiles"`
	Depends       string   `json:"depends"`
	Description   string   `json:"description"`
	Homepage      string   `json:"homepage"`
	InstalledSize int      `json:"installed_size"`
	Maintainer    string   `json:"maintainer"`
	MultiArch     string   `json:"multi_arch"`
	Package       string   `json:"package"`
	PreDepends    string   `json:"pre_depends"`
	Priority      string   `json:"priority"`
	Section       string   `json:"section"`
	Source        string   `json:"source"`
	Status        string   `json:"status"`
	Version       string   `json:"version"`
}

type DebInfos

type DebInfos []DebInfo

type DockerInfo

type DockerInfo struct {
	Containers []ContainerInfo `json:"containers"`
}

type DriverOpts

type DriverOpts struct {
	AdditionalProp1 string `json:"additionalProp1"`
	AdditionalProp2 string `json:"additionalProp2"`
	AdditionalProp3 string `json:"additionalProp3"`
}

type HostConfig

type HostConfig struct {
	NetworkMode string `json:"networkMode"`
}

type Ipamconfig

type Ipamconfig struct {
	Ipv4Address  string   `json:"ipv4Address"`
	Ipv6Address  string   `json:"ipv6Address"`
	LinkLocalIPs []string `json:"linkLocalIPs"`
}

type MountPointInfo

type MountPointInfo struct {
	Destination string `json:"destination"`
	Driver      string `json:"driver"`
	Mode        string `json:"mode"`
	Name        string `json:"name"`
	Propagation string `json:"propagation"`
	Rw          bool   `json:"rw"`
	Source      string `json:"source"`
	Type        string `json:"type"`
}

type MountPointInfos

type MountPointInfos []MountPointInfo

type NetworkSettingsInfo

type NetworkSettingsInfo struct {
	Networks NetworksInfo `json:"networks"`
}

type NetworksInfo

type NetworksInfo struct {
	AdditionalProp1 AdditionalPropInfo `json:"additionalProp1"`
	AdditionalProp2 AdditionalPropInfo `json:"additionalProp2"`
	AdditionalProp3 AdditionalPropInfo `json:"additionalProp3"`
}

type PodmanInfo

type PodmanInfo struct {
	Containers []ContainerInfo `json:"containers"`
}

type PortInfo

type PortInfo struct {
	IP          string `json:"IP"`
	PrivatePort int    `json:"PrivatePort"`
	PublicPort  int    `json:"PublicPort"`
	Type        string `json:"Type"`
}

type PortInfos

type PortInfos []PortInfo

type RpmInfo

type RpmInfo struct {
	Arch      string   `json:"arch"`
	License   string   `json:"license"`
	Name      string   `json:"name"`
	Release   string   `json:"release"`
	Requires  []string `json:"requires"`
	Size      int      `json:"size"`
	SourceRpm string   `json:"sourceRpm"`
	Summary   string   `json:"summary"`
	Vendor    string   `json:"vendor"`
	Version   string   `json:"version"`
}

type RpmInfos

type RpmInfos []RpmInfo

type SoftwareInfo

type SoftwareInfo struct {
	Deb    []DebInfo  `json:"deb"`
	Docker DockerInfo `json:"docker"`
	Podman PodmanInfo `json:"podman"`
	Rpm    []RpmInfo  `json:"rpm"`
}

Jump to

Keyboard shortcuts

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