Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for describe (0.21 sec)

  1. cmd/kms-router.go

    		// KMS Identity APIs
    		kmsRouter.Methods(http.MethodGet).Path(version+"/identity/describe").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSDescribeIdentityHandler))).Queries("identity", "{identity:.*}")
    		kmsRouter.Methods(http.MethodGet).Path(version + "/identity/describe-self").HandlerFunc(gz(httpTraceAll(kmsAPI.KMSDescribeSelfIdentityHandler)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 19 14:37:53 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  2. internal/disk/disk_windows.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    // SameDisk reports whether di1 and di2 describe the same disk.
    func SameDisk(disk1, disk2 string) (bool, error) {
    	return false, nil
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 951 bytes
    - Viewed (0)
  3. internal/disk/disk_unix.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"syscall"
    )
    
    // SameDisk reports whether di1 and di2 describe the same disk.
    func SameDisk(disk1, disk2 string) (bool, error) {
    	st1 := syscall.Stat_t{}
    	st2 := syscall.Stat_t{}
    
    	if err := syscall.Stat(disk1, &st1); err != nil {
    		return false, err
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 1.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. cmd/metrics-v2.go

    		desc:          prometheus.NewDesc("minio_bucket_stats", "Statistics exposed by MinIO server cluster wide per bucket", nil, nil),
    	}
    }
    
    // Describe sends the super-set of all possible descriptors of metrics
    func (c *minioBucketCollector) 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: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  7. cmd/encryption-v1_test.go

    	// This function is a reference (re-)implementation of
    	// decrypted range computation, written solely for the purpose
    	// of the unit tests.
    	//
    	// `s` gives the decrypted part sizes, and the other
    	// parameters describe the desired read segment. When
    	// `isFromEnd` is true, `skipLen` argument is ignored.
    	decryptedRangeRef := func(s []int64, skipLen, readLen int64, isFromEnd bool) (o, l, skip int64, sn uint32, ps int) {
    		oSize := lsum(s)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  8. internal/kms/identity-manager.go

    type IdentityManager interface {
    	// DescribeIdentity describes an identity by returning its metadata.
    	// e.g. which policy is currently assigned and whether its an admin identity.
    	DescribeIdentity(ctx context.Context, identity string) (*kes.IdentityInfo, error)
    
    	// DescribeSelfIdentity describes the identity issuing the request.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  9. internal/kms/kms.go

    	Verify(cxt context.Context) []VerifyResult
    }
    
    // VerifyResult describes the verification result details a KMS endpoint
    type VerifyResult struct {
    	Endpoint string
    	Decrypt  string
    	Encrypt  string
    	Version  string
    	Status   string
    }
    
    // Status describes the current state of a KMS.
    type Status struct {
    	Name      string   // The name of the KMS
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. internal/event/config.go

    type lambda struct {
    	ARN string `xml:"CloudFunction"`
    }
    
    // Unused. Available for completion.
    type topic struct {
    	ARN string `xml:"Topic" json:"Topic"`
    }
    
    // Config - notification configuration described in
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html
    type Config struct {
    	XMLNS      string   `xml:"xmlns,attr,omitempty"`
    	XMLName    xml.Name `xml:"NotificationConfiguration"`
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Nov 16 17:28:29 GMT 2021
    - 8.4K bytes
    - Viewed (0)
Back to top