Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for describe (0.23 sec)

  1. istioctl/pkg/describe/describe_test.go

    func TestDescribe(t *testing.T) {
    	productPageConfigPath := "testdata/describe/http_config.json"
    	config, err := os.ReadFile(productPageConfigPath)
    	if err != nil {
    		t.Fatalf("failed to read %s: %v", productPageConfigPath, err)
    	}
    	cases := []execAndK8sConfigTestCase{
    		{ // case 0
    			args:           []string{},
    			expectedString: "Describe resource and related Istio configuration",
    		},
    		{ // case 2 no pod
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/metrics-v3-types.go

    // metrics group.
    func (mg *MetricsGroup) IsBucketMetricsGroup() bool {
    	return mg.bucketLoader != nil
    }
    
    // Describe - implements prometheus.Collector interface.
    func (mg *MetricsGroup) Describe(ch chan<- *prometheus.Desc) {
    	for _, desc := range mg.Descriptors {
    		ch <- desc.toPromDesc(mg.CollectorPath.metricPrefix(), mg.ExtraLabels)
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cmd/metrics-resource.go

    type minioResourceCollector struct {
    	metricsGroups []*MetricsGroupV2
    	desc          *prometheus.Desc
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioResourceCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  4. src/bytes/buffer.go

    	off      int    // read at &buf[off], write at &buf[len(buf)]
    	lastRead readOp // last read operation, so that Unread* can work correctly.
    }
    
    // The readOp constants describe the last action performed on
    // the buffer, so that UnreadRune and UnreadByte can check for
    // invalid usage. opReadRuneX constants are chosen such that
    // converted to int they correspond to the rune size that was read.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  5. istioctl/cmd/root.go

    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/config"
    	"istio.io/istio/istioctl/pkg/dashboard"
    	"istio.io/istio/istioctl/pkg/describe"
    	"istio.io/istio/istioctl/pkg/injector"
    	"istio.io/istio/istioctl/pkg/internaldebug"
    	"istio.io/istio/istioctl/pkg/kubeinject"
    	"istio.io/istio/istioctl/pkg/metrics"
    	"istio.io/istio/istioctl/pkg/multicluster"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    	api_pkg_labels "k8s.io/apimachinery/pkg/labels"
    
    	"istio.io/api/annotation"
    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/istioctl/pkg/describe"
    	"istio.io/istio/istioctl/pkg/util/ambient"
    	"istio.io/istio/pkg/config/analysis/analyzers/injection"
    	analyzer_util "istio.io/istio/pkg/config/analysis/analyzers/util"
    	"istio.io/istio/pkg/config/resource"
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  7. cmd/kms-handlers.go

    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // KMSDescribePolicyHandler - GET /minio/kms/v1/policy/describe?policy=<policy>
    func (a kmsAPIHandlers) KMSDescribePolicyHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "KMSDescribePolicy")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/metrics.go

    	}
    }
    
    // minioCollector is the Custom Collector
    type minioCollector struct {
    	desc *prometheus.Desc
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  9. cmd/admin-router.go

    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/list-jobs").HandlerFunc(
    			adminMiddleware(adminAPI.ListBatchJobs))
    
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/describe-job").HandlerFunc(
    			adminMiddleware(adminAPI.DescribeBatchJob))
    		adminRouter.Methods(http.MethodDelete).Path(adminVersion + "/cancel-job").HandlerFunc(
    			adminMiddleware(adminAPI.CancelBatchJob))
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  10. internal/kms/kes.go

    func (c *kesClient) HMAC(ctx context.Context, keyID string, msg []byte) ([]byte, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.HMAC(context.Background(), keyID, msg)
    }
    
    // DescribePolicy describes a policy by returning its metadata.
    // e.g. who created the policy at which point in time.
    func (c *kesClient) DescribePolicy(ctx context.Context, policy string) (*kes.PolicyInfo, error) {
    	c.lock.RLock()
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
Back to top