Help us shape the future of Go! Take the 2026 Go Developer Survey

services

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OService

type OService struct {
	kapi.Service
}

func Service

func Service(name string) *OService

func (*OService) Label

func (s *OService) Label(name, value string) *OService

func (*OService) PodSelector

func (s *OService) PodSelector(selector, value string) *OService

func (*OService) PodSelectors

func (s *OService) PodSelectors(selectors map[string]string) *OService

func (*OService) Ports

func (s *OService) Ports(ports ...*OServicePort) *OService

func (*OService) SetLabels

func (s *OService) SetLabels(selectors map[string]string) *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

Jump to

Keyboard shortcuts

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