generators

package
v0.0.0-...-1e5aeb1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CCNPName

func CCNPName(idx int64) string

func CCNPUUID

func CCNPUUID(idx int64) string

func CELocalID

func CELocalID(idx int64) int64

func CEName

func CEName(idx int64) string

func CEUUID

func CEUUID(idx int64) string

func CIID

func CIID(idx int64) int64

func CIName

func CIName(idx int64) string

func CIUUID

func CIUUID(idx int64) string

func CLRPName

func CLRPName(idx int64) string

func CLRPUUID

func CLRPUUID(idx int64) string

func CNName

func CNName(idx int64) string

func CNPName

func CNPName(idx int64) string

func CNPUUID

func CNPUUID(idx int64) string

func CNUUID

func CNUUID(idx int64) string

func CiliumEndpointLabels

func CiliumEndpointLabels(idx int64) []string

func CiliumIdentityLabels

func CiliumIdentityLabels(idx int64) map[string]string

func CiliumSecurityIdentityLabels

func CiliumSecurityIdentityLabels(idx int64) map[string]string

func ContainerID

func ContainerID(idx int64) string

func ESName

func ESName(idx int64) string

func ESUUID

func ESUUID(idx int64) string

func GetHostIP

func GetHostIP(hostIdx int64) (string, string)

GetHostIP returns the v4 and v6 IP address for the given hostIdx

func GetHostOfPodIPv4

func GetHostOfPodIPv4(podIP string) string

GetHostOfPodIPv4 returns the Host IPv4 address of the that has the given pod IP.

func GetHostOfPodIPv6

func GetHostOfPodIPv6(podIP string) string

GetHostOfPodIPv6 returns the Host IPv6 address of the that has the given pod IP.

func GetPodCIDR

func GetPodCIDR(hostIdx int64) (string, string)

GetPodCIDR returns the v4 and v6 podCIDR for the given hostIdx

func GetPodIP

func GetPodIP(idx int64) (string, string)

GetPodIP returns the v4 and v6 IP addresses for the given podIdx

func GetServiceIP

func GetServiceIP(svcIdx int64) (string, string)

GetServiceIP returns the v4 and v6 IP address for the given serviceIdx.

func IPFromCIDR

func IPFromCIDR(cidr string, idx int) string

IPFromCIDR returns the IP address with the index 'idx' from the provided CIDR

func IsBlockListedPod

func IsBlockListedPod(ipStr string) bool

func NamespaceName

func NamespaceName(idx int64) string

func NamespaceUUID

func NamespaceUUID(idx int64) string

func NetPolName

func NetPolName(idx int64) string

func NetPolUUID

func NetPolUUID(idx int64) string

func NodeName

func NodeName(idx int64) string

func NodeNameOfPodIdx

func NodeNameOfPodIdx(idx int64) string

NodeNameOfPodIdx returns the Node Name that is hosting the Pod with the given index.

func NodeUUID

func NodeUUID(idx int64) string

func PodLabels

func PodLabels(int64) map[string]string

func PodName

func PodName(idx int64) string

func PodUUID

func PodUUID(idx int64) string

func ServiceName

func ServiceName(idx int64) string

func ServiceUUID

func ServiceUUID(idx int64) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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