container_controller

package
v0.0.0-...-ac82891 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2021 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 ContainerControlBlock

type ContainerControlBlock struct {
	UECContainerID string `json:"uec_container_id"`
	ContainerID    string `json:"container_id"`
	ImageName      string `json:"image_name"`

	// Networks
	ExposedTCPPorts        []string `json:"exposed_tcp_ports"`
	ExposedTCPMappingPorts []string `json:"exposed_tcp_mapping_ports"`
	ExposedUDPPorts        []string `json:"exposed_udp_ports"`
	ExposedUDPMappingPorts []string `json:"exposed_udp_mapping_ports"`

	// Resource
	CoreRequest    int `json:"core_request"`
	CoreAllocated  []string
	MemoryRequest  int64 `json:"memory_request"`
	StorageRequest int64 `json:"storage_request"`
	// contains filtered or unexported fields
}

func (*ContainerControlBlock) RenewMutexAfterReload

func (ccb *ContainerControlBlock) RenewMutexAfterReload()

func (*ContainerControlBlock) UpdateRunningResourceAllocated

func (ccb *ContainerControlBlock) UpdateRunningResourceAllocated(coreAllocated []string)

Jump to

Keyboard shortcuts

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