util

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Scheme = runtime.NewScheme()
)

Functions

func UpdateNodeCondition

func UpdateNodeCondition(yurtCluster *operatorv1alpha1.YurtCluster, nodeName string, condition operatorv1alpha1.NodeCondition)

UpdateNodeCondition updates NodeCondition for YurtCluster

Types

type KubeletConfiguration

type KubeletConfiguration struct {
	CMD              string
	ConfigPath       string
	KubeConfigPath   string
	PodManifestsPath string
	APIServerAddress string
	HealthPort       int
}

KubeletConfiguration defines the configurations for kubelet

func LoadKubeletConfiguration

func LoadKubeletConfiguration(opt *options.BaseOptions) (*KubeletConfiguration, error)

LoadKubeletConfiguration returns the configuration of kubelet

Jump to

Keyboard shortcuts

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