service

package
v0.0.0-...-f4d4f89 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetServicePort

func GetServicePort(sn string, ports []v1.ServicePort) int32

Types

type Service

type Service struct {
	K8sClient kubernetes.Interface
	Name      string
	Namespace string
}

func (*Service) DeleteService

func (s *Service) DeleteService(sif informers.SharedInformerFactory, l map[string]string) (err error)

func (*Service) UpsertService

func (s *Service) UpsertService(sfi informers.SharedInformerFactory, ol map[string]string, newDeploy *appsv1.Deployment, oldDeploy *appsv1.Deployment) (err error)

Jump to

Keyboard shortcuts

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