Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for json (0.13 sec)

  1. 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)
  2. cmd/signature-v4_test.go

    				"X-Amz-Credential":      fmt.Sprintf(credentialTemplate, accessKeyID, now.Format(yyyymmdd), region),
    				"X-Amz-Content-Sha256":  payloadSHA256,
    				"response-content-type": "application/json",
    			},
    			headers: map[string]string{
    				"X-Amz-Date":           now.Format(iso8601Format),
    				"X-Amz-Content-Sha256": payloadSHA256,
    			},
    			region:   "",
    			expected: ErrSignatureDoesNotMatch,
    		},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  3. cmd/erasure-server-pool-rebalance.go

    	Object            string        `json:"object" msg:"ob"`             // Last rebalanced object
    	NumObjects        uint64        `json:"numObjects" msg:"no"`         // Number of objects rebalanced
    	NumVersions       uint64        `json:"numVersions" msg:"nv"`        // Number of versions rebalanced
    	Bytes             uint64        `json:"bytes" msg:"bs"`              // Number of bytes rebalanced
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. cmd/tier.go

    	config.drivercache[tierName] = d
    	return d, nil
    }
    
    // configReader returns a PutObjReader and ObjectOptions needed to save config
    // using a PutObject API. PutObjReader encrypts json encoded tier configurations
    // if KMS is enabled, otherwise simply yields the json encoded bytes as is.
    // Similarly, ObjectOptions value depends on KMS' status.
    func (config *TierConfigMgr) configReader(ctx context.Context) (*PutObjReader, *ObjectOptions, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. internal/logger/config.go

    		},
    	}
    )
    
    // Config console and http logger targets
    type Config struct {
    	Console      Console                 `json:"console"`
    	HTTP         map[string]http.Config  `json:"http"`
    	AuditWebhook map[string]http.Config  `json:"audit"`
    	AuditKafka   map[string]kafka.Config `json:"audit_kafka"`
    }
    
    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  6. cmd/admin-handlers-config-kv.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 cmd
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"io"
    	"net/http"
    	"strconv"
    	"strings"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/config"
    	"github.com/minio/minio/internal/config/etcd"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    	}
    	return objectAPI.TransitionObject(ctx, oi.Bucket, oi.Name, opts)
    }
    
    type auditTierOp struct {
    	Tier             string `json:"tier"`
    	TimeToResponseNS int64  `json:"timeToResponseNS"`
    	OutputBytes      int64  `json:"tx,omitempty"`
    	Error            string `json:"error,omitempty"`
    }
    
    func auditTierActions(ctx context.Context, tier string, bytes int64) func(err error) {
    	startTime := time.Now()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables.go

    )
    
    var log = istiolog.RegisterScope("iptables", "iptables helper")
    
    type Config struct {
    	RestoreFormat bool `json:"RESTORE_FORMAT"`
    	TraceLogging  bool `json:"IPTABLES_TRACE_LOGGING"`
    	EnableIPv6    bool `json:"ENABLE_INBOUND_IPV6"`
    	RedirectDNS   bool `json:"REDIRECT_DNS"`
    }
    
    type IptablesConfigurator struct {
    	ext    dep.Dependencies
    	nlDeps NetlinkDependencies
    	cfg    *Config
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/envoy/configdump/listener.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"encoding/json"
    	"fmt"
    	"reflect"
    	"sort"
    	"strings"
    	"text/tabwriter"
    
    	matcher "github.com/cncf/xds/go/xds/type/matcher/v3"
    	listener "github.com/envoyproxy/go-control-plane/envoy/config/listener/v3"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  10. internal/s3select/sql/value.go

    type Value struct {
    	value interface{}
    }
    
    // Missing is used to indicate a non-existing value.
    type Missing struct{}
    
    // MarshalJSON provides json marshaling of values.
    func (v Value) MarshalJSON() ([]byte, error) {
    	if b, ok := v.ToBytes(); ok {
    		return b, nil
    	}
    	return json.Marshal(v.value)
    }
    
    // GetTypeString returns a string representation for vType
    func (v Value) GetTypeString() string {
    	switch v.value.(type) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
Back to top