github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/api/types/port.go (about)

     1  package types
     2  
     3  // This file was generated by the swagger tool.
     4  // Editing this file might prove futile when you re-run the swagger generate command
     5  
     6  // Port An open port on a container
     7  // swagger:model Port
     8  type Port struct {
     9  
    10  	// IP
    11  	IP string `json:"IP,omitempty"`
    12  
    13  	// Port on the container
    14  	// Required: true
    15  	PrivatePort uint16 `json:"PrivatePort"`
    16  
    17  	// Port exposed on the host
    18  	PublicPort uint16 `json:"PublicPort,omitempty"`
    19  
    20  	// type
    21  	// Required: true
    22  	Type string `json:"Type"`
    23  }