downwardapi

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	NetworkInfoAnnot      = "kubevirt.io/network-info"
	MountPath             = "/etc/podinfo"
	NetworkInfoVolumeName = "network-info-annotation"
	NetworkInfoVolumePath = "network-info"
)

Variables

This section is empty.

Functions

func CreateNetworkInfoAnnotationValue

func CreateNetworkInfoAnnotationValue(networkDeviceInfoMap map[string]*networkv1.DeviceInfo) string

Types

type Interface

type Interface struct {
	Network    string         `json:"network"`
	DeviceInfo *v1.DeviceInfo `json:"deviceInfo,omitempty"`
}

type NetworkInfo

type NetworkInfo struct {
	Interfaces []Interface `json:"interfaces,omitempty"`
}

Jump to

Keyboard shortcuts

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