endpointslices

package
v1.23.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// The name of the by service index in the EndpointSlices.
	EndpointSlicesByServiceIndex = "by-service-index"
)

Variables

This section is empty.

Functions

func EndpointSlicesByServiceFunc

func EndpointSlicesByServiceFunc(obj interface{}) ([]string, error)

Index function. If applied for an EndpointSlice with an associated service it returns properly formatted service name with a namespace as a key. Otherwise returns an empty keys array which means that the object will not be indexed.

func EndpointSlicesServiceKey

func EndpointSlicesServiceKey(slice *discovery.EndpointSlice) (string, error)

Prepares Endpoint Slices Service key.

func FormatEndpointSlicesServiceKey

func FormatEndpointSlicesServiceKey(namespace, name string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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