services

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2018 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 NewOService added in v0.5.5

func NewOService(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