Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Conventions (0.16 sec)

  1. istioctl/pkg/waypoint/waypoint_test.go

    				makeGateway("bookinfo-invalid", "fake", true, false),
    				makeGateway(constants.DefaultNamespaceWaypoint, "default", false, true),
    				makeGateway("bookinfo-valid", "bookinfo", true, true),
    				makeGateway("no-name-convention", "default", true, true),
    				makeGatewayWithRevision("bookinfo-rev", "bookinfo", true, true, "rev1"),
    			},
    			expectedOutFile: "combined-gateway",
    		},
    	}
    	for _, tt := range cases {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  2. istioctl/cmd/sysexits.go

    // or `less /usr/includes/sysexits.h` if you're on Linux
    //
    // Picking the right range is tricky--there are a lot of reserved ones (see
    // https://www.tldp.org/LDP/abs/html/exitcodes.html#EXITCODESREF) and then some
    // used by convention (see sysexits).
    //
    // The intention here is to use 64-78 in a way that matches the attempt in
    // sysexits to signify some error running istioctl, and use 79-125 as custom
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin.go

    }
    
    // Config is whatever you expect your configuration json to be. This is whatever
    // is passed in on stdin. Your plugin may wish to expose its functionality via
    // runtime args, see CONVENTIONS.md in the CNI spec.
    type Config struct {
    	types.NetConf
    
    	// Add plugin-specific flags here
    	LogLevel        string     `json:"log_level"`
    	LogUDSAddress   string     `json:"log_uds_address"`
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  4. istioctl/pkg/validate/validate.go

    					continue
    				}
    				if servicePortPrefixed(p["name"].(string)) {
    					errs = multierror.Append(errs, fmt.Errorf("service %q port %q does not follow the Istio naming convention."+
    						" See "+url.DeploymentRequirements, fmt.Sprintf("%s/%s/:", un.GetName(), un.GetNamespace()), p["name"].(string)))
    				}
    			}
    		}
    	}
    	if errs != nil {
    		return errs
    	}
    	return nil
    }
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jan 22 17:58:52 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    			"See %s.\n", url.DeploymentRequirements)
    	}
    }
    
    func kname(meta metav1.ObjectMeta) string {
    	if meta.Namespace == describeNamespace {
    		return meta.Name
    	}
    
    	// Use the Istio convention pod-name[.namespace]
    	return fmt.Sprintf("%s.%s", meta.Name, meta.Namespace)
    }
    
    func printService(writer io.Writer, svc corev1.Service, pod *corev1.Pod) {
    	fmt.Fprintf(writer, "Service: %s\n", kname(svc.ObjectMeta))
    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)
Back to top