util

package
v0.17.4 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const ExtensionAPIServerAuthenticationConfigMap = "extension-apiserver-authentication"
View Source
const PCI_ADDRESS_PATTERN = `^([\da-fA-F]{4}):([\da-fA-F]{2}):([\da-fA-F]{2}).([0-7]{1})$`
View Source
const RequestHeaderClientCAFileKey = "requestheader-client-ca-file"
View Source
const ServiceAccountNamespaceFile = "/var/run/secrets/kubernetes.io/serviceaccount/namespace"

Variables

This section is empty.

Functions

func GetNamespace added in v0.9.0

func GetNamespace() (string, error)

func ParsePciAddress

func ParsePciAddress(pciAddress string) ([]string, error)

ParsePciAddress returns an array of PCI DBSF fields (domain, bus, slot, function)

Types

This section is empty.

Directories

Path Synopsis
net
dns
grpc
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.
* This file is part of the KubeVirt project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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