service

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptFuncToDestroy

func AdaptFuncToDestroy(namespace, name string) (resources.DestroyFunc, error)

func AdaptFuncToEnsure

func AdaptFuncToEnsure(
	namespace string,
	name string,
	labels map[string]string,
	ports []Port,
	t string,
	selector map[string]string,
	publishNotReadyAddresses bool,
	clusterIP string,
	externalName string,
) (
	resources.QueryFunc,
	error,
)

Types

type Port

type Port struct {
	Port       int
	Protocol   string
	TargetPort string
	NodePort   int
	Name       string
}

Jump to

Keyboard shortcuts

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