Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for attach (0.17 sec)

  1. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    			default:
    				return fmt.Errorf("output format %q not supported", common.outputFormat)
    			}
    		}),
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	common.attach(cmd)
    
    	return cmd
    }
    
    func servicesCmd(ctx cli.Context) *cobra.Command {
    	var serviceNamespace string
    	common := new(commonFlags)
    	cmd := &cobra.Command{
    		Use:   "service",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    	existingPolicySet := mp.policySet()
    	policiesToUpdate := set.CreateStringSet(policies...)
    	var newPolicySet set.StringSet
    	newPolicyMapping := mp
    	if isAttach {
    		// new policies to attach => inputPolicies - existing (set difference)
    		policiesToUpdate = policiesToUpdate.Difference(existingPolicySet)
    		// validate that new policies to add are defined.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 74.4K bytes
    - Viewed (2)
  3. cmd/admin-handlers-idp-ldap.go

    		return
    	}
    
    	// Validate operation
    	operation := mux.Vars(r)["operation"]
    	if operation != "attach" && operation != "detach" {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminInvalidArgument), r.URL)
    		return
    	}
    
    	isAttach := operation == "attach"
    
    	// Validate API arguments in body.
    	password := cred.SecretKey
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Apr 06 05:26:02 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  4. cmd/typed-errors.go

    // error returned in IAM subsystem when groups doesn't exist.
    var errNoSuchGroup = errors.New("Specified group does not exist")
    
    // error returned in IAM subsystem when a policy attach/detach request has no
    // net effect, i.e. it is already applied.
    var errNoPolicyToAttachOrDetach = errors.New("Specified policy update has no net effect")
    
    // error returned in IAM subsystem when a non-empty group needs to be
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    		cmd *cobra.Command, args []string, toComplete string,
    	) ([]string, cobra.ShellCompDirective) {
    		return completion.ValidNamespaceArgs(cmd, ctx, args, toComplete)
    	})
    
    	// Attach the Istio logging options to the command.
    	root.LoggingOptions.AttachCobraFlags(rootCmd)
    	hiddenFlags := []string{
    		"log_as_json", "log_rotate", "log_rotate_max_age", "log_rotate_max_backups",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach policy: %v", caseNum, err)
    		}
    	}
    
    	for groupDN, policies := range content.ldapGroupPolicyMappings {
    		_, err := s.adm.AttachPolicyLDAP(ctx, madmin.PolicyAssociationReq{
    			Policies: policies,
    			Group:    groupDN,
    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err)
    		}
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 18 19:09:19 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    			}
    		}
    		fn = func(inputReader io.Reader, h http.Header, cFns ...func()) (r *GetObjectReader, err error) {
    			if isEncrypted {
    				copySource := h.Get(xhttp.AmzServerSideEncryptionCopyCustomerAlgorithm) != ""
    				// Attach decrypter on inputReader
    				inputReader, err = DecryptBlocksRequestR(inputReader, h, seqNum, firstPart, oi, copySource)
    				if err != nil {
    					// Call the cleanup funcs
    					for i := len(cFns) - 1; i >= 0; i-- {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. cmd/signature-v4-utils_test.go

    	}
    
    	if owner {
    		t.Fatalf("Expected owner to be 'false', found %t", owner)
    	}
    
    	_, err = globalIAMSys.PolicyDBSet(ctx, ucreds.AccessKey, "consoleAdmin", regUser, false)
    	if err != nil {
    		t.Fatalf("unable to attach policy to credential, %s", err)
    	}
    
    	time.Sleep(4 * time.Second)
    
    	policies, err := globalIAMSys.PolicyDBGet(ucreds.AccessKey)
    	if err != nil {
    		t.Fatalf("unable to get policy to credential, %s", err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  9. istioctl/pkg/kubeinject/kubeinject.go

    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    			if e.injectorAddress == "" {
    				return nil, fmt.Errorf("cannot attach to %T: %v", svc, err)
    			}
    			address = fmt.Sprintf("https://%s:%d%s", e.injectorAddress, *cc.Service.Port, *cc.Service.Path)
    		} else {
    			pod, err := GetFirstPod(e.client.Kube().CoreV1(), namespace, selector.String())
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  10. cmd/admin-router.go

    			HandlerFunc(adminMiddleware(adminAPI.SetPolicyForUserOrGroup)).
    			Queries("policyName", "{policyName:.*}", "userOrGroup", "{userOrGroup:.*}", "isGroup", "{isGroup:true|false}")
    
    		// Attach/Detach policies to/from user or group
    		adminRouter.Methods(http.MethodPost).Path(adminVersion + "/idp/builtin/policy/{operation}").HandlerFunc(adminMiddleware(adminAPI.AttachDetachPolicyBuiltin))
    
    		// Remove user IAM
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
Back to top