virtualdeploymentbinding

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: UPL-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterVDBsByServiceRef

func FilterVDBsByServiceRef(vdbs *servicemeshapi.VirtualDeploymentBindingList, serviceName string, serviceNamespace string) []servicemeshapi.VirtualDeploymentBinding

FilterVDBsByServiceRef return a filtered list of VDBs from the input list that refers to the given service

func GetServiceRefNamespace

func GetServiceRefNamespace(vdb *servicemeshapi.VirtualDeploymentBinding) string

GetServiceRefNamespace returns the namespace of the serviceRef from the VDB resource

func GetVDB

GetVDB returns the vdb object for a given name and namespace

func GetVDBForPod

GetVDBForPod checks for which vdb does the "vdb.Spec.Target.Service.MatchLabels" match the given Pod labels

func IsVirtualDeploymentBindingActive

func IsVirtualDeploymentBindingActive(virtualDeploymentBinding *servicemeshapi.VirtualDeploymentBinding) bool

func ListVDB

ListVDB returns a list of virtual deployment binding for all namespaces

Types

This section is empty.

Jump to

Keyboard shortcuts

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