kubernetes

package
v0.0.0-...-ba0629f Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package kubernetes provides utilities to detect cloud provider from kubernetes.

Index

Constants

This section is empty.

Variables

View Source
var (
	// CloudProviderName contains the inventory name for Kubernetes (through the API server)
	CloudProviderName = "kubernetes"
)

Functions

func GetHostAliases

func GetHostAliases(_ context.Context) ([]string, error)

GetHostAliases returns the host aliases from the Kubernetes node annotations

Types

This section is empty.

Jump to

Keyboard shortcuts

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