fpga: rename files to make them linux-only

This commit is contained in:
Dmitry Rozhkov 2020-01-29 13:42:10 +02:00
parent 9d76946b49
commit 3a845cfe15
11 changed files with 11 additions and 29 deletions

View File

@ -22,8 +22,8 @@ import (
"path/filepath"
"strings"
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga"
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
fpga "github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/linux"
"github.com/pkg/errors"
utilsexec "k8s.io/utils/exec"
)

View File

@ -24,8 +24,8 @@ import (
"github.com/pkg/errors"
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga"
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"
fpga "github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/linux"
)
const (

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"math"

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"io/ioutil"

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"math"

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"github.com/intel/intel-device-plugins-for-kubernetes/pkg/fpga/bitstream"

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"os"

View File

@ -11,11 +11,8 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// +build linux
//
package linux
package fpga
import (
"fmt"

View File

@ -22,7 +22,7 @@
// Code generated by carefully reading documentation and cherry-picking right kernel headers. DO NOT EDIT.
//
package linux
package fpga
/*
#include "fpga-dfl.h"

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package linux
package fpga
import (
"io/ioutil"

View File

@ -1,7 +1,7 @@
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
// cgo -godefs -- -Iuapi types.go
package linux
package fpga
const (
DFL_FPGA_GET_API_VERSION = 0xb600