Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 174 for omitempty (0.17 sec)

  1. internal/bucket/object/lock/lock.go

    type ObjectRetention struct {
    	XMLNS           string        `xml:"xmlns,attr,omitempty"`
    	XMLName         xml.Name      `xml:"Retention"`
    	Mode            RetMode       `xml:"Mode,omitempty"`
    	RetainUntilDate RetentionDate `xml:"RetainUntilDate,omitempty"`
    }
    
    // Maximum 4KiB size per object retention config.
    const maxObjectRetentionSize = 1 << 12
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. src/encoding/json/encode_test.go

    	Sr string `json:"sr"`
    	So string `json:"so,omitempty"`
    	Sw string `json:"-"`
    
    	Ir int `json:"omitempty"` // actually named omitempty, not an option
    	Io int `json:"io,omitempty"`
    
    	Slr []string `json:"slr,random"`
    	Slo []string `json:"slo,omitempty"`
    
    	Mr map[string]any `json:"mr"`
    	Mo map[string]any `json:",omitempty"`
    
    	Fr float64 `json:"fr"`
    	Fo float64 `json:"fo,omitempty"`
    
    	Br bool `json:"br"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modcmd/edit.go

    	Go        string `json:",omitempty"`
    	Toolchain string `json:",omitempty"`
    	Require   []requireJSON
    	Exclude   []module.Version
    	Replace   []replaceJSON
    	Retract   []retractJSON
    }
    
    type editModuleJSON struct {
    	Path       string
    	Deprecated string `json:",omitempty"`
    }
    
    type requireJSON struct {
    	Path     string
    	Version  string `json:",omitempty"`
    	Indirect bool   `json:",omitempty"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. pilot/pkg/model/service.go

    }
    
    type WorkloadInstance struct {
    	Name      string `json:"name,omitempty"`
    	Namespace string `json:"namespace,omitempty"`
    	// Where the workloadInstance come from, valid values are`Pod` or `WorkloadEntry`
    	Kind     workloadKind      `json:"kind"`
    	Endpoint *IstioEndpoint    `json:"endpoint,omitempty"`
    	PortMap  map[string]uint32 `json:"portMap,omitempty"`
    	// Can only be selected by service entry of DNS type.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 02:03:58 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  5. pkg/zdsapi/zds.pb.go

    	unknownFields protoimpl.UnknownFields
    
    	Name           string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    	Namespace      string `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
    	ServiceAccount string `protobuf:"bytes,3,opt,name=service_account,json=serviceAccount,proto3" json:"service_account,omitempty"`
    }
    
    func (x *WorkloadInfo) Reset() {
    	*x = WorkloadInfo{}
    	if protoimpl.UnsafeEnabled {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/test/integration/registration_test.go

    	Kind       string `json:"kind,omitempty" protobuf:"bytes,1,opt,name=kind"`
    	APIVersion string `json:"apiVersion,omitempty" protobuf:"bytes,2,opt,name=apiVersion"`
    	Metadata   `json:"metadata,omitempty" protobuf:"bytes,3,opt,name=metadata"`
    }
    
    type Metadata struct {
    	Name      string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`
    	Namespace string `json:"namespace,omitempty" protobuf:"bytes,2,opt,name=namespace"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 11:58:05 UTC 2022
    - 15.4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/third_party/forked/golang/json/fields.go

    	// resolve the proper fields
    	index     []int
    	typ       reflect.Type
    	omitEmpty bool
    	quoted    bool
    }
    
    func (f field) String() string {
    	return fmt.Sprintf("{name: %s, type: %v, tag: %v, index: %v, omitEmpty: %v, quoted: %v}", f.name, f.typ, f.tag, f.index, f.omitEmpty, f.quoted)
    }
    
    func fillField(f field) field {
    	f.nameBytes = []byte(f.name)
    	f.equalFold = foldFunc(f.nameBytes)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 25 16:23:43 UTC 2022
    - 13.1K bytes
    - Viewed (0)
  8. istioctl/pkg/admin/istiodconfig.go

    	}}
    }
    
    type ScopeInfo struct {
    	Name            string `json:"name"`
    	Description     string `json:"description,omitempty"`
    	OutputLevel     string `json:"output_level,omitempty"`
    	StackTraceLevel string `json:"stack_trace_level,omitempty"`
    	LogCallers      bool   `json:"log_callers,omitempty"`
    }
    
    type ScopeLevelPair struct {
    	scope    string
    	logLevel string
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. src/cmd/internal/test2json/test2json.go

    )
    
    // event is the JSON struct we emit.
    type event struct {
    	Time    *time.Time `json:",omitempty"`
    	Action  string
    	Package string     `json:",omitempty"`
    	Test    string     `json:",omitempty"`
    	Elapsed *float64   `json:",omitempty"`
    	Output  *textBytes `json:",omitempty"`
    }
    
    // textBytes is a hack to get JSON to emit a []byte as a string
    // without actually copying it to a string.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 14.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/client-go/applyconfigurations/core/v1/configmap.go

    	v1.TypeMetaApplyConfiguration    `json:",inline"`
    	*v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"`
    	Immutable                        *bool             `json:"immutable,omitempty"`
    	Data                             map[string]string `json:"data,omitempty"`
    	BinaryData                       map[string][]byte `json:"binaryData,omitempty"`
    }
    
    // ConfigMap constructs an declarative configuration of the ConfigMap type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 23 17:59:55 UTC 2022
    - 12.9K bytes
    - Viewed (0)
Back to top