Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 170 for omitempty (0.26 sec)

  1. src/cmd/vendor/golang.org/x/telemetry/internal/telemetry/types.go

    	Name     string
    	Versions []string        // versions present in a counterconfig
    	Counters []CounterConfig `json:",omitempty"`
    	Stacks   []CounterConfig `json:",omitempty"`
    }
    
    type CounterConfig struct {
    	Name  string
    	Rate  float64 // If X <= Rate, report this counter
    	Depth int     `json:",omitempty"` // for stack counters
    }
    
    // A Report is what's uploaded (or saved locally)
    type Report struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:10:54 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. src/encoding/xml/marshal_test.go

    }
    
    type OmitAttrTest struct {
    	Int   int     `xml:",attr,omitempty"`
    	Named int     `xml:"int,attr,omitempty"`
    	Float float64 `xml:",attr,omitempty"`
    	Uint8 uint8   `xml:",attr,omitempty"`
    	Bool  bool    `xml:",attr,omitempty"`
    	Str   string  `xml:",attr,omitempty"`
    	Bytes []byte  `xml:",attr,omitempty"`
    	PStr  *string `xml:",attr,omitempty"`
    }
    
    type OmitFieldTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/and.go

    type And struct {
    	XMLName               xml.Name `xml:"And"`
    	ObjectSizeGreaterThan int64    `xml:"ObjectSizeGreaterThan,omitempty"`
    	ObjectSizeLessThan    int64    `xml:"ObjectSizeLessThan,omitempty"`
    	Prefix                Prefix   `xml:"Prefix,omitempty"`
    	Tags                  []Tag    `xml:"Tag,omitempty"`
    }
    
    // isEmpty returns true if Tags field is null
    func (a And) isEmpty() bool {
    	return len(a.Tags) == 0 && !a.Prefix.set &&
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/paramref.go

    	Namespace               *string                                              `json:"namespace,omitempty"`
    	Selector                *v1.LabelSelectorApplyConfiguration                  `json:"selector,omitempty"`
    	ParameterNotFoundAction *admissionregistrationv1.ParameterNotFoundActionType `json:"parameterNotFoundAction,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/certificates/v1/types.go

    	// +optional
    	Reason string `json:"reason,omitempty" protobuf:"bytes,2,opt,name=reason"`
    	// message contains a human readable message with details about the request state
    	// +optional
    	Message string `json:"message,omitempty" protobuf:"bytes,3,opt,name=message"`
    	// lastUpdateTime is the time of the last update to this condition
    	// +optional
    	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,4,opt,name=lastUpdateTime"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go

    	ObjectSelector       *v1.LabelSelectorApplyConfiguration         `json:"objectSelector,omitempty"`
    	ResourceRules        []NamedRuleWithOperationsApplyConfiguration `json:"resourceRules,omitempty"`
    	ExcludeResourceRules []NamedRuleWithOperationsApplyConfiguration `json:"excludeResourceRules,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. pkg/kube/apimirror/probe.go

    	// +optional
    	Host string `json:"host,omitempty" protobuf:"bytes,3,opt,name=host"`
    	// Scheme to use for connecting to the host.
    	// Defaults to HTTP.
    	// +optional
    	Scheme URIScheme `json:"scheme,omitempty" protobuf:"bytes,4,opt,name=scheme"`
    	// Custom headers to set in the request. HTTP allows repeated headers.
    	// +optional
    	HTTPHeaders []HTTPHeader `json:"httpHeaders,omitempty" protobuf:"bytes,5,rep,name=httpHeaders"`
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. internal/logger/reqinfo.go

    	BucketName   string           `json:",omitempty"` // Bucket name
    	ObjectName   string           `json:",omitempty"` // Object name
    	VersionID    string           `json:",omitempty"` // corresponding versionID for the object
    	Objects      []ObjectVersion  `json:",omitempty"` // Only set during MultiObject delete handler.
    	Cred         auth.Credentials `json:"-"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 12K bytes
    - Viewed (0)
  10. internal/s3select/sql/parser_test.go

    		".*",
    
    		// array wildcard
    		"[*]",
    	}
    	for i, tc := range cases {
    		err := p.ParseString(tc, &j)
    		if err != nil {
    			t.Fatalf("%d: %v", i, err)
    		}
    		// repr.Println(j, repr.Indent("  "), repr.OmitEmpty(true))
    	}
    }
    
    func TestJSONPath(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPath{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top