kubelet

package
v0.0.0-...-41dbc07 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package kubelet provides utilities to interact with kubelet.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHostAliases

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

GetHostAliases uses the "kubelet" hostname provider to fetch the kubernetes alias

func GetHostname

func GetHostname(_ context.Context) (string, error)

GetHostname builds a hostname from the kubernetes nodename and an optional cluster-name

func GetMetaClusterNameText

func GetMetaClusterNameText(_ context.Context, _ string) string

GetMetaClusterNameText returns the clusterName text for the agent status output

Types

This section is empty.

Jump to

Keyboard shortcuts

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