- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for UnmarshalText (0.11 sec)
-
internal/kms/conn.go
KeyID: d.KeyID, Version: uint32(d.Version), Ciphertext: d.Ciphertext, }) } // UnmarshalText tries to decode text as JSON representation // of a DEK and sets DEK's key ID and ciphertext to the // decoded values. // // It sets DEK's plaintext to nil. func (d *DEK) UnmarshalText(text []byte) error { type JSON struct { KeyID string `json:"keyid"` Version uint32 `json:"version"`
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Aug 18 06:43:03 UTC 2024 - 5K bytes - Viewed (0) -
cni/pkg/log/uds_test.go
if k := cases[i].key; k != nil { want["key"] = *k } assert.Equal(t, want, parsedLog) i++ } } func TestParseCniLog(t *testing.T) { wantT := &time.Time{} assert.NoError(t, wantT.UnmarshalText([]byte("2020-01-01T00:00:00.356374Z"))) cases := []struct { name string in string out cniLog }{ { "without keys",
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jun 12 16:26:28 UTC 2024 - 4.1K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
// storage class kind supported. func IsValid(sc string) bool { return sc == RRS || sc == STANDARD } // UnmarshalText unmarshals storage class from its textual form into // storageClass structure. func (sc *StorageClass) UnmarshalText(b []byte) error { scStr := string(b) if scStr == "" { return nil } s, err := parseStorageClass(scStr) if err != nil { return err
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 12.3K bytes - Viewed (0) -
api/go1.23.txt
pkg crypto/x509, func ParseOID(string) (OID, error) #66249 pkg crypto/x509, method (*OID) UnmarshalBinary([]uint8) error #66249 pkg crypto/x509, method (*OID) UnmarshalText([]uint8) error #66249 pkg crypto/x509, method (OID) MarshalBinary() ([]uint8, error) #66249 pkg crypto/x509, method (OID) MarshalText() ([]uint8, error) #66249 pkg debug/elf, const PT_OPENBSD_NOBTCFI = 1705237480 #66054
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 25 17:08:08 UTC 2024 - 10.1K bytes - Viewed (0)