- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for validar (0.2 sec)
-
cni/pkg/plugin/sidecar_redirect.go
dualStack bool invalidDrop bool } type annotationValidationFunc func(value string) error type annotationParam struct { key string defaultVal string validator annotationValidationFunc } func alwaysValidFunc(value string) error { return nil } // validateInterceptionMode validates the interceptionMode annotation
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
Example: ` # Validate bookinfo-gateway.yaml istioctl validate -f samples/bookinfo/networking/bookinfo-gateway.yaml # Validate bookinfo-gateway.yaml with shorthand syntax istioctl v -f samples/bookinfo/networking/bookinfo-gateway.yaml # Validate all yaml files under samples/bookinfo/networking directory istioctl validate -f samples/bookinfo/networking
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jan 22 17:58:52 GMT 2024 - 15K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
var iop *iopv1alpha1.IstioOperator y, err := manifest.ReadLayeredYAMLs([]string{iopFilename}) if err != nil { return "", nil, err } iop, err = validate.UnmarshalIOP(y) if err != nil { return "", nil, err } if err := validate.ValidIOP(iop); err != nil { return "", nil, fmt.Errorf("validation errors: \n%s", err) } if err != nil { return "", nil, err }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
ClientConfig: admitv1.WebhookClientConfig{ URL: &remoteInjectionURL, CABundle: []byte("ca"), }, }, }, } remoteValidationURL = "https://random.host.com/validate" ) func TestGenerateValidatingWebhook(t *testing.T) { tcs := []struct { name string istioNamespace string webhook admitv1.MutatingWebhookConfiguration whURL string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 12.1K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
valid: false, }, { name: "port name missing service", in: portNameMissingSvc, valid: false, }, { name: "version label missing deployment", in: versionLabelMissingDeployment, valid: true, }, { name: "valid port naming service", in: validPortNamingSvc, valid: true, }, { name: "valid port naming with suffix service",
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
t.Fatalf("failed with error: %v", err) } } func buildFakeDryRunPod() *corev1.Pod { app := corev1.Container{Name: "test"} proxy := corev1.Container{Name: "istio-proxy"} validate := corev1.Container{Name: "istio-validate"} fakePod := &corev1.Pod{ TypeMeta: metav1.TypeMeta{ APIVersion: "core/v1", Kind: "Pod", }, ObjectMeta: metav1.ObjectMeta{ Name: testPodName,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 8.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin_cni_conformance.go
// See the License for the specific language governing permissions and // limitations under the License. package plugin import ( "testing" "github.com/containernetworking/cni/pkg/types" ) // Validate k8sArgs struct works for unmarshalling kubelet args // This is important for CNI plugin conformance func TestLoadArgs(t *testing.T) { kubeletArgs := "IgnoreUnknown=1;K8S_POD_NAMESPACE=istio-system;" +
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 1.4K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
svcSelector := klabels.SelectorFromSet(svc.Spec.Selector) if svcSelector.Matches(podLabels) { matchingServices = append(matchingServices, svc) } } } // Validate Istio's "Service association" requirement if len(matchingServices) == 0 && !ignoreUnmeshed { fmt.Fprintf(cmd.OutOrStdout(),
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 50.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate.go
revisionTagTemplateName = "revision-tags.yaml" vwhTemplateName = "validatingwebhook.yaml" istioInjectionWebhookSuffix = "sidecar-injector.istio.io" vwhBaseTemplateName = "istiod-default-validator" operatorNamespace = "operator.istio.io" ) // tagWebhookConfig holds config needed to render a tag webhook. type tagWebhookConfig struct { Tag string Revision string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Jan 16 17:43:49 GMT 2024 - 13.2K bytes - Viewed (0) -
cni/pkg/plugin/cnieventclient_test.go
Address: net.IPNet{ IP: fakeIP, }, Gateway: fakeGW, } ) func TestPushCNIAddEventSucceed(t *testing.T) { // Fake out a test HTTP server and use that instead of a real HTTP server over gRPC to validate req/resp flows testServer := httptest.NewServer(http.HandlerFunc(func(res http.ResponseWriter, req *http.Request) { res.WriteHeader(http.StatusOK) res.Write([]byte("server happy")) }))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 4.2K bytes - Viewed (0)