service

package
v0.0.0-...-0f2e0c4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefineService

func DefineService(name string,
	namespace string,
	port int32,
	targetPort int32,
	protocol corev1.Protocol,
	labels map[string]string,
	ipFamilies []corev1.IPFamily,
	ipFamilyPolicy *corev1.IPFamilyPolicy) *corev1.Service

DefineService defines service struct.

func RedefineWithNodePort

func RedefineWithNodePort(testService *corev1.Service) error

RedefineWithNodePort redefines service struct with NodePort.

Types

This section is empty.

Jump to

Keyboard shortcuts

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