Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetKernelVersion ¶
GetKernelVersion receives string with the kernel version information in the following format: "X.Y.Z-<Number>-<Description>". For example, "5.4.0-66-generic" returns kernel version - major and minor. For example, "5.4"
func GetOSNameAndVersion ¶
GetOSNameAndVersion receives string with the OS information in th following format: "<OS name> <OS version> <Extra information>". For example, "Ubuntu 18.04.4 LTS" returns os name with the lower case and major and minor version. For example, "ubuntu", "18.04"
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) CleanLabels ¶
CleanLabels deletes platform-label on each node in cluster
func (*Node) Update ¶
func (n *Node) Update(ctx context.Context, csi *csibaremetalv1.Deployment, scheme *runtime.Scheme) error
type PlatformDescription ¶
type PlatformDescription struct {
// contains filtered or unexported fields
}
func (*PlatformDescription) DaemonsetName ¶
func (pd *PlatformDescription) DaemonsetName(baseName string) string
func (*PlatformDescription) NodeImage ¶
func (pd *PlatformDescription) NodeImage(baseImage *components.Image) *components.Image
Click to show internal directories.
Click to hide internal directories.