github.com/cilium/cilium@v1.16.2/pkg/datapath/linux/modules/modules_unspecified.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright Authors of Cilium
     3  
     4  //go:build !linux
     5  
     6  package modules
     7  
     8  import (
     9  	"errors"
    10  	"io"
    11  )
    12  
    13  var ErrNotImplemented = errors.New("not implemented")
    14  
    15  func listModules() ([]string, error) {
    16  	return nil, ErrNotImplemented
    17  }
    18  
    19  func moduleLoader() string {
    20  	return "unknown-module-loader"
    21  }
    22  
    23  func parseModulesFile(r io.Reader) ([]string, error) {
    24  	return nil, ErrNotImplemented
    25  }