port

package
v1.17.4 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PortMapping

type PortMapping struct {
	// ID is the stable unique identifier for the mapping row.
	//
	// Required: true
	ID string `json:"id"`

	// ContainerID is the owning container ID.
	//
	// Required: true
	ContainerID string `json:"containerId"`

	// ContainerName is the primary container name.
	//
	// Required: true
	ContainerName string `json:"containerName"`

	// HostIP is the host interface IP when the port is published.
	//
	// Required: false
	HostIP string `json:"hostIp,omitempty"`

	// HostPort is the published port on the host.
	//
	// Required: false
	HostPort int `json:"hostPort,omitempty"`

	// ContainerPort is the exposed port inside the container.
	//
	// Required: true
	ContainerPort int `json:"containerPort"`

	// Protocol is the transport protocol.
	//
	// Required: true
	Protocol string `json:"protocol"`

	// IsPublished indicates whether the port is bound on the host.
	//
	// Required: true
	IsPublished bool `json:"isPublished"`
}

Jump to

Keyboard shortcuts

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