Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for utilversion (0.2 sec)

  1. tools/istio-iptables/pkg/dependencies/implementation_test.go

    			want: utilversion.MustParseGeneric("1.8.7"),
    		},
    		{
    			name: "xenial",
    			ver:  "iptables v1.6.0",
    
    			want: utilversion.MustParseGeneric("1.6.0"),
    		},
    		{
    			name: "bionic",
    			ver:  "iptables v1.6.1",
    
    			want: utilversion.MustParseGeneric("1.6.1"),
    		},
    		{
    			name: "centos 7",
    			ver:  "iptables v1.4.21",
    
    			want: utilversion.MustParseGeneric("1.4.21"),
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tools/istio-iptables/pkg/dependencies/implementation.go

    func parseIptablesVer(rawVer string) (*utilversion.Version, error) {
    	versionMatcher := regexp.MustCompile(iptablesVersionPattern)
    	match := versionMatcher.FindStringSubmatch(rawVer)
    	if match == nil {
    		return nil, fmt.Errorf("no iptables version found for: %q", rawVer)
    	}
    	version, err := utilversion.ParseGeneric(match[1])
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 19:54:50 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/dra/plugin/plugin.go

    	pluginName string,
    	versions []string,
    ) (*utilversion.Version, error) {
    	if len(versions) == 0 {
    		return nil, errors.New(
    			log(
    				"%s for DRA plugin %q failed. Plugin returned an empty list for supported versions",
    				callerName,
    				pluginName,
    			),
    		)
    	}
    
    	// Validate version
    	newPluginHighestVersion, err := utilversion.HighestSupportedVersion(versions)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 16:27:05 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. pkg/volume/csi/csi_drivers_store.go

    limitations under the License.
    */
    
    package csi
    
    import (
    	"sync"
    
    	utilversion "k8s.io/apimachinery/pkg/util/version"
    )
    
    // Driver is a description of a CSI Driver, defined by an endpoint and the
    // highest CSI version supported
    type Driver struct {
    	endpoint                string
    	highestSupportedVersion *utilversion.Version
    }
    
    // DriversStore holds a list of CSI Drivers
    type DriversStore struct {
    	store
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 16 11:12:06 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/ipset.go

    func checkMinVersion(vstring string) bool {
    	version, err := utilversion.ParseGeneric(vstring)
    	if err != nil {
    		klog.ErrorS(err, "Got invalid version string", "versionString", vstring)
    		return false
    	}
    
    	minVersion, err := utilversion.ParseGeneric(MinIPSetCheckVersion)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top