Documentation ¶
Index ¶
- type Checker
- type CheckerCmdOptions
- type Installer
- func (remote *Installer) Cleanup() error
- func (remote *Installer) Init() error
- func (remote *Installer) InstallByContainerOptimizedOS() error
- func (remote *Installer) InstallByPackageManager() error
- func (remote *Installer) NewDaemonSetForPackageManager() *appsv1.DaemonSet
- func (remote *Installer) Run() error
- type InstallerCmdOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checker ¶
type Checker struct { CheckerCmdOptions // contains filtered or unexported fields }
Checker provide functions for the preflight check.
type CheckerCmdOptions ¶
type CheckerCmdOptions struct { types.GlobalCmdOptions EnableSpdk bool HugePageSize int UserspaceDriver string }
CheckerCmdOptions holds the options for the command.
type Installer ¶
type Installer struct { InstallerCmdOptions // contains filtered or unexported fields }
Installer provide functions for the preflight install.
func (*Installer) Cleanup ¶
Cleanup deletes the DaemonSet created for the preflight install when it's installed with package manager.
func (*Installer) InstallByContainerOptimizedOS ¶
InstallByContainerOptimizedOS installs the dependencies on Container Optimized OS. It creates a ConfigMap and a DaemonSet. Then it waits for the DaemonSet to be ready.
func (*Installer) InstallByPackageManager ¶
InstallByPackageManager installs the dependencies with package manager. It creates a DaemonSet. Then it waits for the DaemonSet to complete.
func (*Installer) NewDaemonSetForPackageManager ¶
NewDaemonSetForPackageManager prepares a DaemonSet for installing dependencies with the package manager.