Documentation
¶
Index ¶
- type Port
- type Service
- func (serv Service) MarshalJSON() ([]byte, error)
- func (serv Service) MarshalYAML() (interface{}, error)
- func (serv Service) RenderJSON() (string, error)
- func (serv Service) RenderTable() string
- func (serv Service) RenderYAML() (string, error)
- func (_ *Service) TableHeaders() []string
- func (serv *Service) TableRows() [][]string
- type ServiceList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Port ¶
func PortFromKube ¶
func PortFromKube(kubePort model.ServicePort) Port
func (Port) RenderJSON ¶
func (*Port) RenderTable ¶
func (Port) RenderYAML ¶
func (*Port) TableHeaders ¶
type Service ¶
type Service struct { Name string CreatedAt *time.Time Deploy string IPs []string Domain string Ports []Port // contains filtered or unexported fields }
func ServiceFromKube ¶
func (Service) MarshalJSON ¶
func (Service) MarshalYAML ¶
func (Service) RenderJSON ¶
func (Service) RenderTable ¶
func (Service) RenderYAML ¶
func (*Service) TableHeaders ¶
type ServiceList ¶
type ServiceList []Service
func ServiceListFromKube ¶
func ServiceListFromKube(kubeList []model.Service) ServiceList
func (ServiceList) RenderJSON ¶
func (list ServiceList) RenderJSON() (string, error)
func (ServiceList) RenderTable ¶
func (list ServiceList) RenderTable() string
func (ServiceList) RenderYAML ¶
func (list ServiceList) RenderYAML() (string, error)
func (ServiceList) TableHeaders ¶
func (_ ServiceList) TableHeaders() []string
func (ServiceList) TableRows ¶
func (list ServiceList) TableRows() [][]string
Click to show internal directories.
Click to hide internal directories.