Documentation ¶
Index ¶
- Variables
- func Arch(s ssh.Interface) string
- type Package
- func (p *Package) CopyToNode(s ssh.Interface, version string) (string, error)
- func (p *Package) CopyToNodeWithDefault(s ssh.Interface) (string, error)
- func (p *Package) DefaultVersion() string
- func (p *Package) NormalizeVersion(version string) (string, error)
- func (p *Package) Resource(arch, version string) (string, error)
- func (p *Package) ResourceForNode(s ssh.Interface, version string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Docker = Package{ Name: "docker", Versions: spec.DockerVersions, } CNIPlugins = Package{ Name: "cni-plugins", Versions: spec.CNIPluginsVersions, } Kubeadm = Package{ Name: "kubeadm", Versions: spec.KubeadmVersions, } KubernetesNode = Package{ Name: "kubernetes-node", Versions: spec.K8sVersionsWithV, } NvidiaDriver = Package{ Name: "NVIDIA", Versions: spec.NvidiaDriverVersions, } NvidiaContainerRuntime = Package{ Name: "nvidia-container-runtime", Versions: spec.NvidiaContainerRuntimeVersions, } )
Functions ¶
Types ¶
type Package ¶
func (*Package) CopyToNode ¶
CopyToNode copy package which use default version to node and return dst filename
func (*Package) CopyToNodeWithDefault ¶
CopyToNode copy package which use default version to node and return dst filename
func (*Package) DefaultVersion ¶
func (*Package) NormalizeVersion ¶
Click to show internal directories.
Click to hide internal directories.