Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for utilversion (0.16 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. pkg/util/iptables/iptables.go

    var WaitMinVersion = utilversion.MustParseGeneric("1.4.20")
    
    // WaitIntervalMinVersion a minimum iptables versions supporting the wait interval useconds
    var WaitIntervalMinVersion = utilversion.MustParseGeneric("1.6.1")
    
    // WaitSecondsMinVersion a minimum iptables versions supporting the wait seconds
    var WaitSecondsMinVersion = utilversion.MustParseGeneric("1.4.22")
    
    // WaitRestoreMinVersion a minimum iptables versions supporting the wait restore seconds
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 28.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tools/istio-iptables/pkg/dependencies/implementation_linux.go

    }
    
    var (
    	// IptablesRestoreLocking is the version where locking and -w is added to iptables-restore
    	IptablesRestoreLocking = utilversion.MustParseGeneric("1.6.2")
    	// IptablesLockfileEnv is the version where XTABLES_LOCKFILE is added to iptables.
    	IptablesLockfileEnv = utilversion.MustParseGeneric("1.8.6")
    )
    
    func shouldUseBinaryForCurrentContext(iptablesBin string) (IptablesVersion, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 12 20:49:10 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/volume/csi/csi_plugin.go

    	storage "k8s.io/api/storage/v1"
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	meta "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilruntime "k8s.io/apimachinery/pkg/util/runtime"
    	utilversion "k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apimachinery/pkg/util/wait"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	clientset "k8s.io/client-go/kubernetes"
    	storagelisters "k8s.io/client-go/listers/storage/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_plugin_test.go

    	"math/rand"
    	"os"
    	"path/filepath"
    	"testing"
    	"time"
    
    	api "k8s.io/api/core/v1"
    	storage "k8s.io/api/storage/v1"
    	meta "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/types"
    	utilversion "k8s.io/apimachinery/pkg/util/version"
    	"k8s.io/apimachinery/pkg/util/wait"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	"k8s.io/client-go/informers"
    	fakeclient "k8s.io/client-go/kubernetes/fake"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    func (m *kubeGenericRuntimeManager) Type() string {
    	return m.runtimeName
    }
    
    func newRuntimeVersion(version string) (*utilversion.Version, error) {
    	if ver, err := utilversion.ParseSemantic(version); err == nil {
    		return ver, err
    	}
    	return utilversion.ParseGeneric(version)
    }
    
    func (m *kubeGenericRuntimeManager) getTypedVersion(ctx context.Context) (*runtimeapi.VersionResponse, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top