Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for json (0.15 sec)

  1. internal/event/target/nats.go

    type NATSArgs struct {
    	Enable          bool      `json:"enable"`
    	Address         xnet.Host `json:"address"`
    	Subject         string    `json:"subject"`
    	Username        string    `json:"username"`
    	UserCredentials string    `json:"userCredentials"`
    	Password        string    `json:"password"`
    	Token           string    `json:"token"`
    	TLS             bool      `json:"tls"`
    	TLSSkipVerify   bool      `json:"tlsSkipVerify"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 18:11:55 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. internal/event/target/kafka.go

    		ClientAuth    tls.ClientAuthType `json:"clientAuth"`
    		ClientTLSCert string             `json:"clientTLSCert"`
    		ClientTLSKey  string             `json:"clientTLSKey"`
    	} `json:"tls"`
    	SASL struct {
    		Enable    bool   `json:"enable"`
    		User      string `json:"username"`
    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	Producer struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/kms-handlers.go

    		return
    	}
    	i, err := json.Marshal(identity)
    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, i)
    }
    
    type describeSelfIdentityResponse struct {
    	Policy     *kes.Policy `json:"policy"`
    	PolicyName string      `json:"policyName"`
    	Identity   string      `json:"identity"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  4. internal/grid/types.go

    	*t = zero
    	return t
    }
    
    // JSON is a wrapper around a T object that can be serialized.
    // There is an internal value
    type JSON[T any] struct {
    	p   *JSONPool[T]
    	val *T
    }
    
    // NewJSON returns a new JSONPool.
    // No initial value is set.
    func (p *JSONPool[T]) NewJSON() *JSON[T] {
    	var j JSON[T]
    	j.p = p
    	return &j
    }
    
    // NewJSONWith returns a new JSON with the provided value.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. docs/debugging/xl-meta/main.go

    						if err != nil {
    							return err
    						}
    						// Quote string...
    						b, _ := json.Marshal(file.Name)
    						b2, err := decode(r, file.Name)
    						if err != nil {
    							return err
    						}
    						var tmp map[string]interface{}
    						if err := json.Unmarshal(b2, &tmp); err == nil {
    							if b3, err := json.Marshal(tmp); err == nil {
    								b2 = b3
    							}
    						}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  6. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

      istioctl x ztunnel-config workload <ztunnel-name[.namespace]> --address 0.0.0.0 -o json
    
      # Retrieve Ztunnel config dump separately and inspect from file.
      kubectl exec -it $ZTUNNEL -n istio-system -- curl localhost:15000/config_dump > ztunnel-config.json
      istioctl x ztunnel-config workloads --file ztunnel-config.json
    
      # Retrieve workload summary for a specific namespace
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  7. internal/s3select/select.go

    type InputSerialization struct {
    	CompressionType CompressionType    `xml:"CompressionType"`
    	CSVArgs         csv.ReaderArgs     `xml:"CSV"`
    	JSONArgs        json.ReaderArgs    `xml:"JSON"`
    	ParquetArgs     parquet.ReaderArgs `xml:"Parquet"`
    	unmarshaled     bool
    	format          string
    }
    
    // IsEmpty - returns whether input serialization is empty or not.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  8. istioctl/pkg/tag/generate.go

    	}
    
    	scheme := runtime.NewScheme()
    	codecFactory := serializer.NewCodecFactory(scheme)
    	deserializer := codecFactory.UniversalDeserializer()
    	serializer := json.NewSerializerWithOptions(
    		json.DefaultMetaFactory, nil, nil, json.SerializerOptions{
    			Yaml:   true,
    			Pretty: true,
    			Strict: true,
    		})
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  9. internal/jwt/parser.go

    		h.pool.Put(hasher)
    	}
    	h.borrowed = nil
    }
    
    // StandardClaims are basically standard claims with "accessKey"
    type StandardClaims struct {
    	AccessKey string `json:"accessKey,omitempty"`
    	jwtgo.StandardClaims
    }
    
    // UnmarshalJSON provides custom JSON unmarshal.
    // This is mainly implemented for speed.
    func (c *StandardClaims) UnmarshalJSON(b []byte) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  10. internal/event/name.go

    		return err
    	}
    
    	*name = eventName
    	return nil
    }
    
    // MarshalJSON - encodes to JSON data.
    func (name Name) MarshalJSON() ([]byte, error) {
    	return json.Marshal(name.String())
    }
    
    // UnmarshalJSON - decodes JSON data.
    func (name *Name) UnmarshalJSON(data []byte) error {
    	var s string
    	if err := json.Unmarshal(data, &s); err != nil {
    		return err
    	}
    
    	eventName, err := ParseName(s)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
Back to top