Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for imageName (0.13 sec)

  1. pkg/test/fakes/imageregistry/main.go

    		return path
    	}
    
    	prefix := matches[regexForManifest.SubexpIndex("Prefix")]
    	imageName := matches[regexForManifest.SubexpIndex("ImageName")]
    	tag := matches[regexForManifest.SubexpIndex("Tag")]
    	key := imageName + ":" + tag
    
    	log.Infof("key: %v", key)
    
    	if converted, found := h.tagMap[imageName+":"+tag]; found {
    		return prefix + "/" + imageName + "/manifests/" + converted
    	}
    	return path
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. pkg/kubelet/kuberuntime/kuberuntime_image_test.go

    		require.NoError(t, err)
    
    		_, err = fakeManager.PullImage(ctx, kubecontainer.ImageSpec{Image: test.imageName}, test.passedSecrets, nil)
    		require.NoError(t, err)
    		fakeImageService.AssertImagePulledWithAuth(t, &runtimeapi.ImageSpec{Image: test.imageName, Annotations: make(map[string]string)}, test.expectedAuth, description)
    	}
    }
    
    func TestPullWithSecretsWithError(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  3. tests/integration/ambient/wasm_test.go

    	"istio.io/istio/pkg/test/framework/components/crd"
    	"istio.io/istio/pkg/test/framework/components/echo"
    	"istio.io/istio/pkg/test/framework/components/echo/check"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const (
    	imageName      = "istio-testing/wasm/header-injector"
    	injectedHeader = "x-resp-injection"
    	wasmConfigFile = "testdata/wasm-filter.yaml"
    )
    
    type wasmTestConfigs struct {
    	desc         string
    	name         string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. tests/integration/telemetry/api/wasmplugin_test.go

    	"istio.io/istio/pkg/test/framework/components/prometheus"
    	"istio.io/istio/pkg/test/util/retry"
    	util "istio.io/istio/tests/integration/telemetry"
    )
    
    const (
    	imageName      = "istio-testing/wasm/header-injector"
    	injectedHeader = "x-resp-injection"
    	wasmConfigFile = "testdata/wasm-filter.yaml"
    )
    
    type wasmTestConfigs struct {
    	desc            string
    	name            string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. cluster/gce/gci/flexvolume_node_setup.sh

    set -o errexit
    set -o nounset
    set -o pipefail
    
    MOUNTER_IMAGE=${1:-}
    MOUNTER_PATH=/home/kubernetes/flexvolume_mounter
    VOLUME_PLUGIN_DIR=/home/kubernetes/flexvolume
    
    usage() {
      echo "usage: $0 imagename[:tag]"
      echo "    imagename  Name of a Container Registry image. By default the latest image is used."
      echo "    :tag       Container Registry image tag."
      exit 1
    }
    
    if [ -z "${MOUNTER_IMAGE}" ]; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 13 17:58:51 UTC 2020
    - 5.8K bytes
    - Viewed (0)
  6. pkg/kube/inject/inject.go

    		imageType = image.ImageType
    	}
    
    	if global.GetProxy() != nil && global.GetProxy().GetImage() != "" {
    		imageName = global.GetProxy().GetImage()
    	}
    
    	if it, ok := annotations[annotation.SidecarProxyImageType.Name]; ok {
    		imageType = it
    	}
    
    	return imageURL(global.GetHub(), imageName, tag, imageType)
    }
    
    func InboundTrafficPolicyMode(meshConfig *meshconfig.MeshConfig) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  7. pkg/credentialprovider/keyring_test.go

    		{false: "registry:5000/foo/bar"},
    		{false: "myhostdocker.io/foo/bar"},
    	}
    	for _, sample := range samples {
    		for expected, imageName := range sample {
    			if got := isDefaultRegistryMatch(imageName); got != expected {
    				t.Errorf("Expected '%s' to be %t, got %t", imageName, expected, got)
    			}
    		}
    	}
    }
    
    func TestProvidersDockerKeyring(t *testing.T) {
    	provider := &testProvider{
    		Count: 0,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 15 10:47:22 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  8. pkg/kubelet/images/image_gc_manager_test.go

    	return &vCopy, ok
    }
    
    // Returns the id of the image with the given ID.
    func imageID(id int) string {
    	return fmt.Sprintf("image-%d", id)
    }
    
    // Returns the name of the image with the given ID.
    func imageName(id int) string {
    	return imageID(id) + "-name"
    }
    
    // Make an image with the specified ID.
    func makeImage(id int, size int64) container.Image {
    	return container.Image{
    		ID:   imageID(id),
    		Size: size,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/types.go

    	}
    	if len(n.ImageStates) > 0 {
    		state := make(map[string]*ImageStateSummary, len(n.ImageStates))
    		for imageName, imageState := range n.ImageStates {
    			state[imageName] = imageState.Snapshot()
    		}
    		clone.ImageStates = state
    	}
    	for key, value := range n.PVCRefCounts {
    		clone.PVCRefCounts[key] = value
    	}
    	return clone
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// In case this value is set, kubeadm does not change automatically the version of the above components during upgrades.
    	// +optional
    	ImageTag string `json:"imageTag,omitempty"`
    
    	//TODO: evaluate if we need also a ImageName based on user feedbacks
    }
    
    // APIEndpoint struct contains elements of API server instance deployed on a node.
    type APIEndpoint struct {
    	// AdvertiseAddress sets the IP address for the API server to advertise.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top