Documentation ¶
Index ¶
- type OService
- func (s *OService) Label(name, value string) *OService
- func (s *OService) PodSelector(selector, value string) *OService
- func (s *OService) PodSelectors(selectors map[string]string) *OService
- func (s *OService) Ports(ports ...*OServicePort) *OService
- func (s *OService) SetLabels(selectors map[string]string) *OService
- type OServicePort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OService ¶
func (*OService) PodSelector ¶
func (*OService) PodSelectors ¶
func (*OService) Ports ¶
func (s *OService) Ports(ports ...*OServicePort) *OService
type OServicePort ¶
type OServicePort struct {
kapi.ServicePort
}
func ServicePort ¶
func ServicePort(port int) *OServicePort
func (*OServicePort) Name ¶
func (s *OServicePort) Name(name string) *OServicePort
func (*OServicePort) Protocol ¶
func (s *OServicePort) Protocol(proto kapi.Protocol) *OServicePort
func (*OServicePort) TargetPort ¶
func (s *OServicePort) TargetPort(port int) *OServicePort
Click to show internal directories.
Click to hide internal directories.