1 package state 2 3 import ( 4 "github.com/redhat-developer/odo/pkg/api" 5 ) 6 7 type Content struct { 8 // PID is the ID of the process to which the state belongs 9 PID int `json:"pid"` 10 // Platform indicates on which platform the session works 11 Platform string `json:"platform"` 12 // ForwardedPorts are the ports forwarded during odo dev session 13 ForwardedPorts []api.ForwardedPort `json:"forwardedPorts"` 14 APIServerPort int `json:"apiServerPort,omitempty"` 15 } 16