Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 279 for parsing (0.24 sec)

  1. istioctl/pkg/tag/generate_test.go

    	})
    	for _, tc := range tcs {
    		t.Run(tc.name, func(t *testing.T) {
    			webhookConfig, err := tagWebhookConfigFromCanonicalWebhook(tc.webhook, "default", tc.istioNamespace)
    			if err != nil {
    				t.Fatalf("webhook parsing failed with error: %v", err)
    			}
    			webhookConfig, err = fixWhConfig(fakeClient, webhookConfig)
    			if err != nil {
    				t.Fatalf("webhook fixing failed with error: %v", err)
    			}
    			opts := &GenerateOptions{
    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)
  2. cni/pkg/plugin/sidecar_redirect.go

    }
    
    func validateCIDRList(cidrs string) error {
    	if len(cidrs) > 0 {
    		for _, cidr := range strings.Split(cidrs, ",") {
    			if _, err := netip.ParsePrefix(cidr); err != nil {
    				return fmt.Errorf("failed parsing cidr '%s': %v", cidr, err)
    			}
    		}
    	}
    	return nil
    }
    
    func splitPorts(portsString string) []string {
    	return strings.Split(portsString, ",")
    }
    
    func dedupPorts(ports []string) []string {
    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)
  3. operator/cmd/mesh/profile-diff_test.go

    			output, fErr := runCommand(c.args)
    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    func TestProfileDiffDirect(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    			// We won't be parsing with Cobra, but this is the command equivalent
    			args: "profile diff default openshift",
    			// This is just one of the many differences
    			expectedString: "+    profile: openshift",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  4. istioctl/pkg/util/common.go

    	},
    }
    
    var ManifestsFlagHelpStr = `Specify a path to a directory of charts and profiles
    (e.g. ~/Downloads/istio-` + binversion.OperatorVersionString + `/manifests).`
    
    // CommandParseError distinguishes an error parsing istioctl CLI arguments from an error processing
    type CommandParseError struct {
    	Err error
    }
    
    func (c CommandParseError) Error() string {
    	return c.Err.Error()
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    		// if we have a conflict, we will fail. If --skip-confirmation is set, we will continue with a
    		// warning; when actually applying we will also confirm to ensure the user does not see the
    		// warning *after* it has applied
    		if !skipConfirmation {
    			_, _ = stderr.Write([]byte(err.Error()))
    			if !generate {
    				if !util.Confirm("Apply anyways? [y/N]", w) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	}
    	for _, whc := range webhooks.Items {
    		for _, wh := range whc.Webhooks {
    			if wh.ClientConfig.URL != nil {
    				u, err := url.Parse(*wh.ClientConfig.URL)
    				if err != nil {
    					return nil, fmt.Errorf("parsing webhook URL: %w", err)
    				}
    				if isMCPAddr(u) {
    					return parseMCPAddr(u)
    				}
    				port := u.Port()
    				if port == "" {
    					port = "443" // default from Kubernetes
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/storage/v1beta1/generated.proto

      //
      // The CSI driver specifies podInfoOnMount as part of driver deployment.
      // If true, Kubelet will pass pod information as VolumeContext in the CSI NodePublishVolume() calls.
      // The CSI driver is responsible for parsing and validating the information passed in as VolumeContext.
      //
      // The following VolumeConext will be passed if podInfoOnMount is set to true.
      // This list might grow, but the prefix will be used.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  8. licenses/go.uber.org/zap/LICENSE.txt

    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    Plain Text
    - Registered: Wed Feb 28 22:53:11 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 1K bytes
    - Viewed (0)
  9. licenses/github.com/BurntSushi/toml/COPYING

    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 26 02:47:39 GMT 2019
    - 1.1K bytes
    - Viewed (0)
  10. licenses/github.com/alecholmes/xfccparser/LICENSE

    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jul 14 16:30:33 GMT 2022
    - 1K bytes
    - Viewed (0)
Back to top