Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for ison (0.13 sec)

  1. internal/logger/target/console/console.go

    package console
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"strconv"
    	"strings"
    
    	"github.com/minio/minio/internal/color"
    	"github.com/minio/minio/internal/logger"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    // Target implements loggerTarget to send log
    // in plain or json format to the standard output.
    type Target struct {
    	output io.Writer
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. docs/zh/docs/index.md

        * 因为 `q` 被声明为 `= None`,所以它是可选的。
        * 如果没有 `None` 它将会是必需的 (如 `PUT` 例子中的请求体)。
    * 对于访问 `/items/{item_id}` 的 `PUT` 请求,将请求体读取为 JSON 并:
        * 检查是否有必需属性 `name` 并且值为 `str` 类型 。
        * 检查是否有必需属性 `price` 并且值为 `float` 类型。
        * 检查是否有可选属性 `is_offer`, 如果有的话值应该为 `bool` 类型。
        * 以上过程对于多层嵌套的 JSON 对象同样也会执行
    * 自动对 JSON 进行转换或转换成 JSON。
    * 通过 OpenAPI 文档来记录所有内容,可被用于:
        * 交互式文档系统
        * 许多编程语言的客户端代码自动生成系统
    * 直接提供 2 种交互式文档 web 界面。
    
    ---
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  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. docs/ko/docs/index.md

        * `None`이 없다면 필수사항입니다(`PUT`의 경우와 마찬가지로).
    * `/items/{item_id}`으로의 `PUT` 요청은 본문을 JSON으로 읽음:
        * `name`을 필수 속성으로 갖고 `str` 형인지 검사.
        * `price`을 필수 속성으로 갖고 `float` 형인지 검사.
        * 만약 주어진다면, `is_offer`를 선택 속성으로 갖고 `bool` 형인지 검사.
        * 이 모든 것은 깊이 중첩된 JSON 객체에도 적용됩니다.
    * JSON을 변환하거나 JSON으로 변환하는 것을 자동화.
    * 다음에서 사용할 수 있는 모든 것을 OpenAPI로 문서화:
        * 대화형 문서 시스템.
        * 여러 언어들에 대한 자동 클라이언트 코드 생성 시스템.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. docs/zh-hant/docs/index.md

    - 編輯器支援:
        - 自動補全
        - 型別檢查
    - 資料驗證:
        - 驗證失敗時自動生成清楚的錯誤訊息
        - 可驗證多層巢狀的 JSON 物件
    - <abbr title="也被稱為: 序列化或解析">轉換</abbr>輸入的資料: 轉換來自網路請求到 Python 資料型別。包含以下數據:
        - JSON
        - 路徑參數
        - 查詢參數
        - Cookies
        - 請求標頭
        - 表單
        - 文件
    - <abbr title="也被稱為: 序列化或解析">轉換</abbr>輸出的資料: 轉換 Python 資料型別到網路傳輸的 JSON:
        - 轉換 Python 型別 (`str`、 `int`、 `float`、 `bool`、 `list` 等)
        - `datetime` 物件
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  6. docs/es/docs/index.md

        * Revisar si tiene un atributo requerido `name` que debe ser un `str`.
        * Revisar si tiene un atributo requerido `price` que debe ser un `float`.
        * Revisar si tiene un atributo opcional `is_offer`, que debe ser un `bool`si está presente.
        * Todo esto funcionaría para objetos JSON profundamente anidados.
    * Convertir de y a JSON automáticamente.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  7. docs/auditlog/auditlog-echo.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 main
    
    import (
    	"bytes"
    	"encoding/json"
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"net/http"
    )
    
    var port int
    
    func init() {
    	flag.IntVar(&port, "port", 8080, "Port to listen on")
    }
    
    func mainHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. internal/event/name_test.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 event
    
    import (
    	"encoding/json"
    	"encoding/xml"
    	"reflect"
    	"testing"
    )
    
    func TestNameExpand(t *testing.T) {
    	testCases := []struct {
    		name           Name
    		expectedResult []Name
    	}{
    		{BucketCreated, []Name{BucketCreated}},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  9. internal/logger/logrotate.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 logger
    
    import (
    	"encoding/json"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"time"
    
    	"github.com/klauspost/compress/gzip"
    	xioutil "github.com/minio/minio/internal/ioutil"
    	"github.com/minio/pkg/v2/logger/message/log"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  10. cmd/erasure-sets.go

    			// Reset for the next interval
    			timer.Reset(globalAPIConfig.getStaleUploadsCleanupInterval())
    		}
    	}
    }
    
    type auditObjectOp struct {
    	Name  string   `json:"name"`
    	Pool  int      `json:"poolId"`
    	Set   int      `json:"setId"`
    	Disks []string `json:"disks"`
    }
    
    // Add erasure set information to the current context
    func auditObjectErasureSet(ctx context.Context, object string, set *erasureObjects) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 37.7K bytes
    - Viewed (5)
Back to top