Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for service (0.18 sec)

  1. istioctl/pkg/completion/completion.go

    	serviceList, err := client.Kube().CoreV1().Services(ns).List(context.Background(), metav1.ListOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	var serviceNameList []string
    	for _, service := range serviceList.Items {
    		if toComplete == "" || strings.HasPrefix(service.Name, toComplete) {
    			serviceNameList = append(serviceNameList, service.Name)
    		}
    	}
    
    	return serviceNameList, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  2. istioctl/pkg/describe/describe.go

    	cmd := &cobra.Command{
    		Use:     "service <svc>",
    		Aliases: []string{"svc"},
    		Short:   "Describe services and their Istio configuration [kube-only]",
    		Long: `Analyzes service, pods, DestinationRules, and VirtualServices and reports
    the configuration objects that affect that service.`,
    		Example: `  istioctl experimental describe service productpage`,
    		Args: func(cmd *cobra.Command, args []string) error {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  3. cmd/iam-store.go

    		if scred.ParentUser != parentUser {
    			return updatedAt, fmt.Errorf("%w: the service account access key is taken by another user", errIAMServiceAccountNotAllowed)
    		}
    		return updatedAt, fmt.Errorf("%w: the service account access key already taken", errIAMServiceAccountNotAllowed)
    	}
    
    	// Parent user must not be a service account.
    	if u, found := cache.iamUsersMap[parentUser]; found && u.Credentials.IsServiceAccount() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  4. istioctl/pkg/writer/ztunnel/configdump/services.go

    			return r
    		}
    		return cmp.Compare(a.Hostname, b.Hostname)
    	})
    	fmt.Fprintln(w, "NAMESPACE\tSERVICE NAME\tSERVICE VIP\tWAYPOINT")
    
    	for _, svc := range svcs {
    		var ip string
    		if len(svc.Addresses) > 0 {
    			_, ip, _ = strings.Cut(svc.Addresses[0], "/")
    		}
    		waypoint := serviceWaypointName(svc, zDump.Services)
    		fmt.Fprintf(w, "%v\t%v\t%v\t%v\n",
    			svc.Namespace, svc.Name, ip, waypoint)
    	}
    	return w.Flush()
    }
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  5. cmd/signature-v4.go

    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    // getSignature final signature in hexadecimal form.
    func getSignature(signingKey []byte, stringToSign string) string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/ztunnel/configdump/policies.go

    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    type PolicyFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *PolicyFilter) Verify(pol *ZtunnelPolicy) bool {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-idp-ldap.go

    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // AddServiceAccountLDAP adds a new service account for provided LDAP username or DN
    //
    // PUT /minio/admin/v3/idp/ldap/add-service-account
    func (a adminAPIHandlers) AddServiceAccountLDAP(w http.ResponseWriter, r *http.Request) {
    	ctx, cred, opts, createReq, targetUser, APIError := commonAddServiceAccount(r)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	// Permission checks:
    	//
    	// 1. Any type of account (i.e. access keys (previously/still called service
    	// accounts), STS accounts, internal IDP accounts, etc) with the
    	// policy.UpdateServiceAccountAdminAction permission can update any service
    	// account.
    	//
    	// 2. We would like to let a user update their own access keys, however it
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 77.3K bytes
    - Viewed (0)
  9. cmd/notification.go

    	for index, err := range g.Wait() {
    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // GetSysServices - Get information about system services
    // (only the services that are of concern to minio)
    func (sys *NotificationSys) GetSysServices(ctx context.Context) []madmin.SysServices {
    	reply := make([]madmin.SysServices, len(sys.peerClients))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 12 18:13:36 GMT 2024
    - 44.5K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    	// Notify all other MinIO peers signal service.
    	for _, nerr := range globalNotificationSys.SignalService(serviceRestart) {
    		if nerr.Err != nil {
    			logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    			adminLogIf(ctx, nerr.Err)
    		}
    	}
    
    	globalServiceSignalCh <- serviceRestart
    }
    
    // ServiceHandler - POST /minio/admin/v3/service?action={action}
    // ----------
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
Back to top