Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for attachTC (0.19 sec)

  1. istioctl/pkg/clioptions/central.go

    	Plaintext bool
    
    	// GCP project number or ID to use for XDS calls, if any.
    	GCPProject string
    
    	// Istiod address. For MCP may be different than Xds.
    	IstiodAddr string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --endpoint)
    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  2. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  4. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  5. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	}
    
    	// Extracted session policy name string can be removed as its not useful
    	// at this point.
    	delete(m, sessionPolicyNameExtracted)
    
    	// sessionPolicy is nil and there is embedded policy attached we remove
    	// embedded policy at that point.
    	if _, ok := m[policy.SessionPolicyName]; ok && opts.sessionPolicy == nil {
    		delete(m, policy.SessionPolicyName)
    		m[iamPolicyClaimNameSA()] = inheritedPolicyType
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. istioctl/pkg/clioptions/control_plane.go

    // ControlPlaneOptions defines common options used by istioctl.
    type ControlPlaneOptions struct {
    	// Revision is the istio.io/rev control plane revision
    	Revision string
    }
    
    // AttachControlPlaneFlags attaches control-plane flags to a Cobra command.
    // (Currently just --revision)
    func (o *ControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVarP(&o.Revision, "revision", "r", "",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 01 05:47:27 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  8. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  10. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top