Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,666 for meth (1.35 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/get.go

    */
    
    package handlers
    
    import (
    	"context"
    	"fmt"
    	"math/rand"
    	"net/http"
    	"net/url"
    	"strings"
    	"time"
    
    	"go.opentelemetry.io/otel/attribute"
    
    	"k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/api/meta"
    	metainternalversion "k8s.io/apimachinery/pkg/apis/meta/internalversion"
    	metainternalversionscheme "k8s.io/apimachinery/pkg/apis/meta/internalversion/scheme"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 10:22:16 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/metacache-stream.go

    		}
    		if len(meta.metadata) == 0 {
    			metaDataPoolPut(meta.metadata)
    			meta.metadata = nil
    		}
    		if !inclDirs && (meta.isDir() || (!inclVersions && meta.isObjectDir() && meta.isLatestDeletemarker())) {
    			continue
    		}
    		if !inclDeleted && meta.isLatestDeletemarker() && meta.isObject() && !meta.isObjectDir() {
    			continue
    		}
    		res = append(res, meta)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  3. pkg/volume/csi/csi_test.go

    limitations under the License.
    */
    
    package csi
    
    import (
    	"fmt"
    	"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/runtime"
    	"k8s.io/apimachinery/pkg/types"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/informers"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 03 15:55:13 UTC 2022
    - 21.1K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/replica_calculator.go

    	replicaCount = statusReplicas
    	usageRatio := float64(usage) / (float64(targetAverageUsage) * float64(replicaCount))
    	if math.Abs(1.0-usageRatio) > c.tolerance {
    		// update number of replicas if change is large enough
    		replicaCount = int32(math.Ceil(float64(usage) / float64(targetAverageUsage)))
    	}
    	usage = int64(math.Ceil(float64(usage) / float64(statusReplicas)))
    	return replicaCount, usage, timestamp, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  5. pilot/pkg/config/kube/ingress/controller_test.go

    	"time"
    
    	corev1 "k8s.io/api/core/v1"
    	net "k8s.io/api/networking/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	kubecontroller "istio.io/istio/pilot/pkg/serviceregistry/kube/controller"
    	"istio.io/istio/pkg/config"
    	"istio.io/istio/pkg/config/mesh"
    	"istio.io/istio/pkg/config/schema/gvk"
    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/kclient/clienttest"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 18:34:32 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. pkg/adsc/delta.go

    	return v3.GetShortType(k.TypeURL) + "/" + k.Name
    }
    
    type keySet = sets.Set[resourceKey]
    
    // resourceNode represents a resource state in the dynamic tree structure of the service mesh.
    // It tracks the relationships of a resource with its parents and children within the mesh.
    //
    // Example: Consider a scenario where we have a direct wildcard CDS watch.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 09:32:41 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    		}
    	}
    	b, err := json.Marshal(m)
    	if err != nil {
    		t.Fatal(err)
    	}
    	meta := model.NodeMetadata{}
    	if err := json.Unmarshal(b, &meta); err != nil {
    		t.Fatal(err)
    	}
    	pc := (*model.NodeMetaProxyConfig)(proxyConfig)
    	meta.Namespace = "fake-namespace"
    	meta.ServiceAccount = "fake-sa"
    	meta.ProxyConfig = pc
    	return meta
    }
    
    func setupCa(t *testing.T, auth *security.FakeAuthenticator) *mock.CAServer {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. tests/integration/ambient/main_test.go

    	Uncaptured echo.Instances
    	// Sidecar echo services with sidecar
    	Sidecar echo.Instances
    
    	// All echo services
    	All echo.Instances
    	// Echo services that are in the mesh
    	Mesh echo.Instances
    	// Echo services that are not in mesh
    	MeshExternal echo.Instances
    
    	MockExternal echo.Instances
    
    	// WaypointProxies by
    	WaypointProxies map[string]ambient.WaypointProxy
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    limitations under the License.
    */
    
    package cel
    
    import (
    	"context"
    	"fmt"
    	"math"
    	"reflect"
    	"time"
    
    	"github.com/google/cel-go/interpreter"
    
    	admissionv1 "k8s.io/api/admission/v1"
    	authenticationv1 "k8s.io/api/authentication/v1"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/admission"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. istioctl/pkg/kubeinject/kubeinject.go

      kubectl -n istio-system get cm istio -o jsonpath="{.data.mesh}" > /tmp/mesh.yaml
      kubectl -n istio-system get cm istio-sidecar-injector -o jsonpath="{.data.values}" > /tmp/values.json
    
      # Use kube-inject based on captured configuration
      istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml \
        --injectConfigFile /tmp/inj-template.tmpl \
        --meshConfigFile /tmp/mesh.yaml \
        --valuesFile /tmp/values.json
    `,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top