Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Carnes (0.19 sec)

  1. internal/arn/arn.go

    // In this implementation, account-id is empty.
    //
    // Reference: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
    
    const (
    	arnPrefixArn        = "arn"
    	arnPartitionMinio   = "minio"
    	arnServiceIAM       = "iam"
    	arnResourceTypeRole = "role"
    )
    
    // ARN - representation of resources based on AWS ARNs.
    type ARN struct {
    	Partition    string
    	Service      string
    	Region       string
    	ResourceType string
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 08:31:34 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock.go

    		}
    	}
    
    	return r
    }
    
    // Maximum 4KiB size per object lock config.
    const maxObjectLockConfigSize = 1 << 12
    
    // ParseObjectLockConfig parses ObjectLockConfig from xml
    func ParseObjectLockConfig(reader io.Reader) (*Config, error) {
    	config := Config{}
    	if err := xml.NewDecoder(io.LimitReader(reader, maxObjectLockConfigSize)).Decode(&config); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. internal/config/lambda/event/arn.go

    	if arn.TargetID.ID == "" && arn.TargetID.Name == "" && arn.region == "" {
    		return ""
    	}
    
    	return "arn:minio:s3-object-lambda:" + arn.region + ":" + arn.TargetID.String()
    }
    
    // ParseARN - parses string to ARN.
    func ParseARN(s string) (*ARN, error) {
    	// ARN must be in the format of arn:minio:s3-object-lambda:<REGION>:<ID>:<TYPE>
    	if !strings.HasPrefix(s, "arn:minio:s3-object-lambda:") {
    		return nil, &ErrInvalidARN{s}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 07 16:12:41 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  4. internal/event/targetid.go

    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	targetID, err := parseTargetID(s)
    	if err != nil {
    		return err
    	}
    
    	*tid = *targetID
    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  5. internal/config/identity/openid/provider/provider.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 provider
    
    import "errors"
    
    // DiscoveryDoc - parses the output from openid-configuration
    // for example https://accounts.google.com/.well-known/openid-configuration
    //
    //nolint:unused
    type DiscoveryDoc struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  6. docs/sts/client-grants.go

    	"crypto/tls"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"log"
    	"net/http"
    	"net/url"
    	"strings"
    
    	minio "github.com/minio/minio-go/v7"
    	"github.com/minio/minio-go/v7/pkg/credentials"
    )
    
    // JWTToken - parses the output from IDP id_token.
    type JWTToken struct {
    	AccessToken string `json:"access_token"`
    	Expiry      int    `json:"expires_in"`
    }
    
    var (
    	stsEndpoint  string
    	idpEndpoint  string
    	clientID     string
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  7. docs/sts/client-grants.md

    By default, the temporary security credentials created by AssumeRoleWithClientGrants last for one hour. However, use the optional DurationSeconds parameter to specify the duration of the credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    ## API Request Parameters
    
    ### Token
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 7.2K bytes
    - Viewed (1)
  8. internal/bucket/lifecycle/lifecycle.go

    			return true
    		}
    		if !rule.Transition.IsNull() { // this allows for Transition.Days to be zero.
    			return true
    		}
    
    	}
    	return false
    }
    
    // ParseLifecycleConfigWithID - parses for a Lifecycle config and assigns
    // unique id to rules with empty ID.
    func ParseLifecycleConfigWithID(r io.Reader) (*Lifecycle, error) {
    	var lc Lifecycle
    	if err := xml.NewDecoder(r).Decode(&lc); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cmd/generic-handlers.go

    }
    
    // Supported Amz date headers.
    var amzDateHeaders = []string{
    	// Do not change this order, x-amz-date value should be
    	// validated first.
    	"x-amz-date",
    	"date",
    }
    
    // parseAmzDateHeader - parses supported amz date headers, in
    // supported amz date formats.
    func parseAmzDateHeader(req *http.Request) (time.Time, APIErrorCode) {
    	for _, amzDateHeader := range amzDateHeaders {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  10. cmd/bucket-encryption.go

    func (sys *BucketSSEConfigSys) Get(bucket string) (*sse.BucketSSEConfig, error) {
    	sseCfg, _, err := globalBucketMetadataSys.GetSSEConfig(bucket)
    	return sseCfg, err
    }
    
    // validateBucketSSEConfig parses bucket encryption configuration and validates if it is supported by MinIO.
    func validateBucketSSEConfig(r io.Reader) (*sse.BucketSSEConfig, error) {
    	encConfig, err := sse.ParseBucketSSEConfig(r)
    	if err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top