github.com/k8snetworkplumbingwg/sriov-network-operator@v1.2.1-0.20240408194816-2d2e5a45d453/pkg/host/internal/common.go (about)

     1  package internal
     2  
     3  import (
     4  	"github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts"
     5  )
     6  
     7  const (
     8  	HostPathFromDaemon    = consts.Host
     9  	RedhatReleaseFile     = "/etc/redhat-release"
    10  	RhelRDMAConditionFile = "/usr/libexec/rdma-init-kernel"
    11  	RhelRDMAServiceName   = "rdma"
    12  	RhelPackageManager    = "yum"
    13  
    14  	UbuntuRDMAConditionFile = "/usr/sbin/rdma-ndd"
    15  	UbuntuRDMAServiceName   = "rdma-ndd"
    16  	UbuntuPackageManager    = "apt-get"
    17  
    18  	GenericOSReleaseFile = "/etc/os-release"
    19  )