MCPcopy
hub / github.com/kubeedge/kubeedge / OSTypeInstaller

Interface OSTypeInstaller

keadm/cmd/keadm/app/cmd/common/types.go:247–255  ·  view source on GitHub ↗

OSTypeInstaller interface for methods to be executed over a specified OS distribution type

Source from the content-addressed store, hash-verified

245
246// OSTypeInstaller interface for methods to be executed over a specified OS distribution type
247type OSTypeInstaller interface {
248 InstallMQTT() error
249 IsK8SComponentInstalled(string, string) error
250 SetKubeEdgeVersion(version semver.Version)
251 InstallKubeEdge(InstallOptions) error
252 RunEdgeCore() error
253 KillKubeEdgeBinary(string) error
254 IsKubeEdgeProcessRunning(string) (bool, error)
255}
256
257// FlagData stores value and default value of the flags used in this command
258type FlagData struct {

Callers 27

InstallToolsMethod · 0.65
RunHelmInstallMethod · 0.65
InstallMethod · 0.65
UpgradeMethod · 0.65
InstallToolsMethod · 0.65
InstallToolsMethod · 0.65
NewCloudCoreHelmToolFunction · 0.65
TestSetKubeEdgeVersionFunction · 0.65
InstallToolsMethod · 0.65
TearDownMethod · 0.65
InstallToolsMethod · 0.65

Implementers 7

MockOSTypeInstallerkeadm/cmd/keadm/app/cmd/helm/installer
MockOSTypeInstallerkeadm/cmd/keadm/app/cmd/common/fake/fa
PacmanOSkeadm/cmd/keadm/app/cmd/util/pacmanins
CommonTestsMockOSTypeInstallerkeadm/cmd/keadm/app/cmd/util/common_te
DebOSkeadm/cmd/keadm/app/cmd/util/debinstal
mockOSTypeInstallerkeadm/cmd/keadm/app/cmd/util/cloudinst
RpmOSkeadm/cmd/keadm/app/cmd/util/rpminstal

Calls

no outgoing calls

Tested by

no test coverage detected