Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for OmitEmpty (7 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/api.go

    	DestinationPorts    []uint16      `json:"destinationPorts,omitempty"`
    	NotDestinationPorts []uint16      `json:"notDestinationPorts,omitempty"`
    }
    
    type StringMatch struct {
    	Exact    string `json:"Exact,omitempty"`
    	Suffix   string `json:"Suffix,omitempty"`
    	Prefix   string `json:"Prefix,omitempty"`
    	Presence any    `json:"Presence,omitempty"`
    }
    
    type ZtunnelPolicy struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 25 02:16:06 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/rule.go

    	ID                  string              `xml:"ID,omitempty"`
    	Status              Status              `xml:"Status"`
    	Filter              Filter              `xml:"Filter,omitempty"`
    	Prefix              Prefix              `xml:"Prefix,omitempty"`
    	Expiration          Expiration          `xml:"Expiration,omitempty"`
    	Transition          Transition          `xml:"Transition,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. internal/auth/credentials.go

    	ParentUser   string                 `xml:"-" json:"parentUser,omitempty"`
    	Groups       []string               `xml:"-" json:"groups,omitempty"`
    	Claims       map[string]interface{} `xml:"-" json:"claims,omitempty"`
    	Name         string                 `xml:"-" json:"name,omitempty"`
    	Description  string                 `xml:"-" json:"description,omitempty"`
    
    	// Deprecated: In favor of Description - when reading credentials from
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    // the duration of each API.
    type DiskMetrics struct {
    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    	Type             VersionType           `json:"Type" msg:"Type"`
    	ObjectV1         *xlMetaV1Object       `json:"V1Obj,omitempty" msg:"V1Obj,omitempty"`
    	ObjectV2         *xlMetaV2Object       `json:"V2Obj,omitempty" msg:"V2Obj,omitempty"`
    	DeleteMarker     *xlMetaV2DeleteMarker `json:"DelObj,omitempty" msg:"DelObj,omitempty"`
    	WrittenByVersion uint64                `msg:"v"` // Tracks written by MinIO version
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. cmd/data-usage-cache.go

    	Targets      map[string]replicationStats `msg:"t,omitempty"`
    	ReplicaSize  uint64                      `msg:"r,omitempty"`
    	ReplicaCount uint64                      `msg:"rc,omitempty"`
    }
    
    //msgp:tuple replicationAllStatsV1
    type replicationAllStatsV1 struct {
    	Targets      map[string]replicationStats
    	ReplicaSize  uint64 `msg:"ReplicaSize,omitempty"`
    	ReplicaCount uint64 `msg:"ReplicaCount,omitempty"`
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  7. cmd/api-errors.go

    	Code             string
    	Message          string
    	Key              string `xml:"Key,omitempty" json:"Key,omitempty"`
    	BucketName       string `xml:"BucketName,omitempty" json:"BucketName,omitempty"`
    	Resource         string
    	Region           string `xml:"Region,omitempty" json:"Region,omitempty"`
    	RequestID        string `xml:"RequestId" json:"RequestId"`
    	HostID           string `xml:"HostId" json:"HostId"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. internal/bucket/lifecycle/delmarker-expiration.go

    // DelMarkerExpiration used to xml encode/decode ILM action by the same name
    type DelMarkerExpiration struct {
    	XMLName xml.Name `xml:"DelMarkerExpiration"`
    	Days    int      `xml:"Days,omitempty"`
    }
    
    // Empty returns if a DelMarkerExpiration XML element is empty.
    // Used to detect if lifecycle.Rule contained a DelMarkerExpiration element.
    func (de DelMarkerExpiration) Empty() bool {
    	return de.Days == 0
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    }
    
    // PolicyDoc represents an IAM policy with some metadata.
    type PolicyDoc struct {
    	Version    int `json:",omitempty"`
    	Policy     policy.Policy
    	CreateDate time.Time `json:",omitempty"`
    	UpdateDate time.Time `json:",omitempty"`
    }
    
    func newPolicyDoc(p policy.Policy) PolicyDoc {
    	now := UTCNow().Round(time.Millisecond)
    	return PolicyDoc{
    		Version:    1,
    		Policy:     p,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  10. internal/bucket/lifecycle/lifecycle.go

    // Lifecycle - Configuration for bucket lifecycle.
    type Lifecycle struct {
    	XMLName         xml.Name   `xml:"LifecycleConfiguration"`
    	Rules           []Rule     `xml:"Rule"`
    	ExpiryUpdatedAt *time.Time `xml:"ExpiryUpdatedAt,omitempty"`
    }
    
    // HasTransition returns 'true' if lifecycle document has Transition enabled.
    func (lc Lifecycle) HasTransition() bool {
    	for _, rule := range lc.Rules {
    		if rule.Transition.IsEnabled() {
    			return true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top