Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for fare (0.16 sec)

  1. istioctl/pkg/tag/tag_test.go

    import (
    	"bytes"
    	"context"
    	"strings"
    	"testing"
    
    	admitv1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/kubernetes/fake"
    
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/util"
    	"istio.io/istio/pkg/kube"
    )
    
    func TestTagList(t *testing.T) {
    	tcs := []struct {
    		name          string
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package mesh
    
    import (
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    
    	"k8s.io/client-go/kubernetes/fake"
    	"k8s.io/client-go/rest"
    	"sigs.k8s.io/controller-runtime/pkg/client"
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/operator/pkg/util/clog"
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/net_test.go

    	fixture := getTestFixure(ctx)
    	netServer := fixture.netServer
    	ztunnelServer := fixture.ztunnelServer
    	podMeta := metav1.ObjectMeta{
    		Name:      "foo",
    		Namespace: "bar",
    		// this uid exists in the fake filesystem.
    		UID: "863b91d4-4b68-4efa-917f-4b560e3e86aa",
    	}
    	podIP := netip.MustParseAddr("99.9.9.9")
    	podIPs := []netip.Addr{podIP}
    	expectPodAddedToIPSet(fixture.ipsetDeps, podMeta)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. istioctl/pkg/install/k8sversion/version_test.go

    // limitations under the License.
    
    package k8sversion
    
    import (
    	"bytes"
    	"fmt"
    	"strings"
    	"testing"
    
    	"k8s.io/apimachinery/pkg/version"
    	fakediscovery "k8s.io/client-go/discovery/fake"
    
    	"istio.io/istio/operator/pkg/util/clog"
    	"istio.io/istio/pkg/kube"
    	pkgVersion "istio.io/istio/pkg/version"
    )
    
    var (
    	version1_17 = &version.Info{
    		Major:      "1",
    		Minor:      "17",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 19 02:46:48 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. cni/test/install_cni.go

    ) {
    	ztunnelAddr := "/tmp/ztfoo"
    	cniEventAddr := "/tmp/cnieventfoo"
    	defer os.Remove(ztunnelAddr)
    	defer os.Remove(cniEventAddr)
    
    	// "fake" constant, overridable for tests
    	// TODO this is gross, fix this
    	constants.ServiceAccountPath = tempK8sSvcAcctDir
    
    	installConfig := config.Config{
    		InstallConfig: config.InstallConfig{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/core/v1/generated.proto

    // ---
    // New uses of this type are discouraged because of difficulty describing its usage when embedded in APIs.
    //  1. Ignored fields.  It includes many fields which are not generally honored.  For instance, ResourceVersion and FieldPath are both very rarely valid in actual usage.
    //  2. Invalid usage help.  It is impossible to add specific help for individual usage.  In most embedded usages, there are particular
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/testdata/deployment/hello-with-proxyconfig-anno.yaml

          labels:
            app: hello
            tier: backend
            track: stable
        spec:
          containers:
            - name: hello
              image: "fake.docker.io/google-samples/hello-go-gke:1.0"
              ports:
                - name: http
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 556 bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/testdata/deployment/hello.yaml.injected

          creationTimestamp: null
          labels:
            app: hello
            tier: backend
            track: stable
        spec:
          containers:
          - image: fake.docker.io/google-samples/hello-go-gke:1.0
            name: hello
            ports:
            - containerPort: 80
              name: http
            resources: {}
          - image: docker.io/istio/proxy_debug:unittest
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers.go

    		s.queue.Add(o)
    	}))
    
    	// Namespaces could be anything though, so we watch all of those
    	//
    	// NOTE that we are requeueing namespaces here explicitly to work around
    	// test flakes with the fake kube client in `pkg/kube/client.go` -
    	// because we are using `List()` in the handler, without this requeue,
    	// the fake client will sometimes drop pod events leading to test flakes.
    	//
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/ztunnelserver_test.go

    	devNull, err := os.Open(os.DevNull)
    	if err != nil {
    		panic(err)
    	}
    	// we can't close this now, because we need to pass it from the ztunnel server to the client
    	// it would leak, but this is a test, so we don't care
    	//	defer devNull.Close()
    
    	id := ztunnelTestCounter.Add(1)
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: fmt.Sprintf("name-%d", id),
    			UID:  types.UID(fmt.Sprintf("uid-%d", id)),
    		},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top