domain

package
v0.0.0-...-733d78f Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image

type Image struct {
	ID          string
	Name        string
	Size        int64
	SizeText    string
	NameDetails NameDetails
	VCS         *VCS
	Unknown     bool
}

type NameDetails

type NameDetails struct {
	Name                string
	Version             string
	RegistryURL         string
	RegistryIsDockerHub bool
	Vendor              string
}

type Service

type Service struct {
	Name          string
	WebURL        string
	Status        string
	VCS           *VCS
	ContainerID   string
	Self          bool
	MemoryHistory *shared.MeasurementMetricBuffer
	CPUHistory    *shared.MeasurementMetricBuffer
	Image         NameDetails
}

func NewService

func NewService(metricDepth int, metricUnique bool) *Service

type ServiceStatus

type ServiceStatus struct {
	Name        string
	WebURL      string
	Status      string
	VCS         *VCS
	ContainerID string
	Self        bool
	Memory      *shared.MeasurementMetric
	CPU         *shared.MeasurementMetric
	Image       NameDetails
}

type VCS

type VCS struct {
	Type string
	URL  string
	Host string
}

type Volume

type Volume struct {
	Name      string
	Driver    string
	Size      *int64
	CreatedAt string
}

Jump to

Keyboard shortcuts

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