kubeletutils

package
v0.0.0-...-a954c3e Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeletImpl

type KubeletImpl struct {
	Cmd      command.CLI
	NetUtils netutils.NetInterface
}

func (*KubeletImpl) ConfigureKubeletHttpProxy

func (k *KubeletImpl) ConfigureKubeletHttpProxy()

func (*KubeletImpl) EnsureDirReadableByPf9

func (k *KubeletImpl) EnsureDirReadableByPf9(dir string) error

func (*KubeletImpl) EnsureKubeletRunning

func (k *KubeletImpl) EnsureKubeletRunning(cfg config.Config) error

func (*KubeletImpl) EnsureKubeletStopped

func (k *KubeletImpl) EnsureKubeletStopped() error

func (*KubeletImpl) FetchAwsAz

func (k *KubeletImpl) FetchAwsAz() (string, error)

func (*KubeletImpl) FetchAwsInstanceId

func (k *KubeletImpl) FetchAwsInstanceId() (string, error)

func (*KubeletImpl) GenerateKubeletSystemdUnit

func (k *KubeletImpl) GenerateKubeletSystemdUnit(kubeletArgs string) error

func (*KubeletImpl) IsKubeletRunning

func (k *KubeletImpl) IsKubeletRunning() bool

func (*KubeletImpl) KubeletSetup

func (k *KubeletImpl) KubeletSetup(kubeletArgs string) error

func (*KubeletImpl) KubeletStart

func (k *KubeletImpl) KubeletStart() error

func (*KubeletImpl) KubeletStop

func (k *KubeletImpl) KubeletStop() error

func (*KubeletImpl) PrepareKubeletBootstrapConfig

func (k *KubeletImpl) PrepareKubeletBootstrapConfig(cfg config.Config) error

func (*KubeletImpl) TrimSans

func (k *KubeletImpl) TrimSans(str string) string

type KubeletUtilsInterface

type KubeletUtilsInterface interface {
	EnsureKubeletStopped() error
	EnsureKubeletRunning(config.Config) error
	FetchAwsInstanceId() (string, error)
	FetchAwsAz() (string, error)
	TrimSans(string) string
	PrepareKubeletBootstrapConfig(cfg config.Config) error
	EnsureDirReadableByPf9(string) error
	KubeletSetup(string) error
	GenerateKubeletSystemdUnit(string) error
	ConfigureKubeletHttpProxy()
	KubeletStart() error
	KubeletStop() error
	IsKubeletRunning() bool
}

func New

Jump to

Keyboard shortcuts

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