Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 823 for admin (0.02 sec)

  1. docs_src/bigger_applications/app_an/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 147 bytes
    - Viewed (0)
  2. istioctl/pkg/admin/admin.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package admin
    
    import (
    	"fmt"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    func Cmd(ctx cli.Context) *cobra.Command {
    	adminCmd := &cobra.Command{
    		Use:   "admin",
    		Short: "Manage control plane (istiod) configuration",
    		Long:  "A group of commands used to manage istiod configuration",
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. docs_src/bigger_applications/app_an_py39/internal/admin.py

    from fastapi import APIRouter
    
    router = APIRouter()
    
    
    @router.post("/")
    async def update_admin():
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 147 bytes
    - Viewed (0)
  4. cmd/admin-handlers_test.go

    	case stopCmd:
    		return serviceStop
    	}
    	return serviceRestart
    }
    
    func (c cmdType) toServiceAction() madmin.ServiceAction {
    	switch c {
    	case restartCmd:
    		return madmin.ServiceActionRestart
    	case stopCmd:
    		return madmin.ServiceActionStop
    	}
    	return madmin.ServiceActionRestart
    }
    
    // testServiceSignalReceiver - Helper function that simulates a
    // go-routine waiting on service signal.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. cmd/admin-router.go

    import (
    	"net/http"
    
    	"github.com/klauspost/compress/gzhttp"
    	"github.com/klauspost/compress/gzip"
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/mux"
    )
    
    const (
    	adminPathPrefix                = minioReservedBucketPath + "/admin"
    	adminAPIVersion                = madmin.AdminAPIVersion
    	adminAPIVersionPrefix          = SlashSeparator + adminAPIVersion
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 21 11:35:40 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	var backend madmin.ErasureBackend
    
    	mode := madmin.ItemInitializing
    
    	buckets := madmin.Buckets{}
    	objects := madmin.Objects{}
    	versions := madmin.Versions{}
    	deleteMarkers := madmin.DeleteMarkers{}
    	usage := madmin.Usage{}
    
    	objectAPI := newObjectLayerFn()
    	if objectAPI != nil {
    		mode = madmin.ItemOnline
    
    		// Load data usage
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	}
    
    	replLogIf(ctx, globalSiteReplicationSys.IAMChangeHook(ctx, madmin.SRIAMItem{
    		Type: madmin.SRIAMItemGroupInfo,
    		GroupInfo: &madmin.SRGroupInfo{
    			UpdateReq: madmin.GroupAddRemove{
    				Group:    group,
    				Status:   madmin.GroupStatus(status),
    				IsRemove: false,
    			},
    		},
    		UpdatedAt: updatedAt,
    	}))
    }
    
    // SetUserStatus - PUT /minio/admin/v3/set-user-status?accessKey=<access_key>&status=[enabled|disabled]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
  8. cmd/admin-handler-utils.go

    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusConflict,
    			}
    
    		// Tier admin API errors
    		case errors.Is(err, madmin.ErrTierNameEmpty):
    			apiErr = APIError{
    				Code:           "XMinioAdminTierNameEmpty",
    				Description:    err.Error(),
    				HTTPStatusCode: http.StatusBadRequest,
    			}
    		case errors.Is(err, madmin.ErrTierInvalidConfig):
    			apiErr = APIError{
    				Code:           "XMinioAdminTierInvalidConfig",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 03 07:17:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. cmd/rebalance-admin.go

    Anis Eleuch <******@****.***> 1703206603 -0800
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  10. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	var subSys string
    	switch idpCfgType {
    	case madmin.OpenidIDPCfg:
    		subSys = madmin.IdentityOpenIDSubSys
    	case madmin.LDAPIDPCfg:
    		subSys = madmin.IdentityLDAPSubSys
    	}
    
    	cfgName := mux.Vars(r)["name"]
    	cfgTarget := madmin.Default
    	if cfgName != "" {
    		cfgTarget = cfgName
    		if idpCfgType == madmin.LDAPIDPCfg && cfgName != madmin.Default {
    			// LDAP does not support multiple configurations. So cfgName must be
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top