Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for parcelable (0.24 sec)

  1. cmd/sftp-server.go

    	}
    
    	private, err := ssh.ParsePrivateKey(privateBytes)
    	if err != nil {
    		logger.Fatal(fmt.Errorf("invalid arguments passed, private key file is not parseable: %v", err), "unable to start SFTP server")
    	}
    
    	// An SSH server is represented by a ServerConfig, which holds
    	// certificate details and handles authentication of ServerConns.
    	sshConfig := &ssh.ServerConfig{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    			args: args{ports: []string{}},
    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    }
    
    func registerBooleanParameter(name string, value bool, usage string) {
    	rootCmd.Flags().Bool(name, value, usage)
    	registerEnvironment(name, value, usage)
    }
    
    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. cmd/iam.go

    	spolicyStr, ok := spolicy.(string)
    	if !ok {
    		// Sub policy if set, should be a string reject
    		// malformed/malicious requests.
    		return
    	}
    
    	// Check if policy is parseable.
    	subPolicy, err := policy.ParseConfig(bytes.NewReader([]byte(spolicyStr)))
    	if err != nil {
    		// Log any error in input session policy config.
    		iamLogIf(GlobalContext, err)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. istioctl/pkg/analyze/analyze.go

    	analysisCmd.PersistentFlags().BoolVar(&ignoreUnknown, "ignore-unknown", false,
    		"Don't complain about un-parseable input documents, for cases where analyze should run only on k8s compliant inputs.")
    	analysisCmd.PersistentFlags().StringVarP(&revisionSpecified, "revision", "", "default",
    		"analyze a specific revision deployed.")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top