Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 63 for json (0.17 sec)

  1. cmd/erasure-server-pool-decom.go

    type PoolDecommissionInfo struct {
    	StartTime   time.Time `json:"startTime" msg:"st"`
    	StartSize   int64     `json:"startSize" msg:"ss"`
    	TotalSize   int64     `json:"totalSize" msg:"ts"`
    	CurrentSize int64     `json:"currentSize" msg:"cs"`
    
    	Complete bool `json:"complete" msg:"cmp"`
    	Failed   bool `json:"failed" msg:"fl"`
    	Canceled bool `json:"canceled" msg:"cnl"`
    
    	// Internal information.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  2. cmd/iam-store.go

    	// IAM identity file which captures identity credentials.
    	iamIdentityFile = "identity.json"
    
    	// IAM policy file which provides policies for each users.
    	iamPolicyFile = "policy.json"
    
    	// IAM group members file
    	iamGroupMembersFile = "members.json"
    
    	// IAM format file
    	iamFormatFile = "format.json"
    
    	iamFormatVersion1 = 1
    
    	minServiceAccountExpiry time.Duration = 15 * time.Minute
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  3. internal/logger/console.go

    type Logger interface {
    	json(msg string, args ...interface{})
    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    	case jsonFlag:
    		// Strip escape control characters from json message
    		msg = ansiRE.ReplaceAllLiteralString(msg, "")
    		console.json(msg, args...)
    	case quietFlag:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. cmd/site-replication.go

    // format.
    type srStateV1 struct {
    	Name string `json:"name"`
    
    	// Peers maps peers by their deploymentID
    	Peers                   map[string]madmin.PeerInfo `json:"peers"`
    	ServiceAccountAccessKey string                     `json:"serviceAccountAccessKey"`
    	UpdatedAt               time.Time                  `json:"updatedAt"`
    }
    
    // srStateData represents the format of the current `srStateFile`.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  6. 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)
  7. cmd/storage-datatypes.go

    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/ztunnel/configdump/policies.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package configdump
    
    import (
    	"cmp"
    	"encoding/json"
    	"fmt"
    	"strings"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/maps"
    	"istio.io/istio/pkg/slices"
    )
    
    // PolicyFilter is used to pass filter information into service based config writer print functions
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/cni-watcher_test.go

    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    	addEvent, err := processAddEvent(payload)
    
    	assert.NoError(t, err)
    	assert.Equal(t, valid, addEvent)
    }
    
    func TestProcessAddEventBadPayload(t *testing.T) {
    	valid := CNIPluginAddEvent{
    		Netns:        "/var/netns/foo",
    		PodName:      "pod-bingo",
    		PodNamespace: "funkyns",
    	}
    
    	payload, _ := json.Marshal(valid)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 21:29:40 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  10. 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)
Back to top