MCPcopy
hub / github.com/kubeedge/kubeedge / PacmanOS

Struct PacmanOS

keadm/cmd/keadm/app/cmd/util/pacmaninstaller.go:15–18  ·  view source on GitHub ↗

PacmanOS struct objects shall have information of the tools version to be installed on Hosts having PacmanOS. It implements OSTypeInstaller interface

Source from the content-addressed store, hash-verified

13// on Hosts having PacmanOS.
14// It implements OSTypeInstaller interface
15type PacmanOS struct {
16 KubeEdgeVersion semver.Version
17 IsEdgeNode bool
18}
19
20// SetKubeEdgeVersion sets the KubeEdge version for the objects instance
21func (o *PacmanOS) SetKubeEdgeVersion(version semver.Version) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected