- Sort Score
- Result 10 results
- Languages All
Results 731 - 740 of 1,250 for struct (0.07 sec)
-
internal/config/identity/openid/jwt.go
jwtgo "github.com/golang-jwt/jwt/v4" "github.com/minio/minio/internal/arn" "github.com/minio/minio/internal/auth" xnet "github.com/minio/pkg/v3/net" "github.com/minio/pkg/v3/policy" ) type publicKeys struct { *sync.RWMutex // map of kid to public key pkMap map[string]interface{} } func (pk *publicKeys) parseAndAdd(b io.Reader) error { var jwk JWKS err := json.NewDecoder(b).Decode(&jwk) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 02:46:36 UTC 2024 - 8.4K bytes - Viewed (0) -
tests/named_polymorphic_test.go
package tests_test import ( "testing" . "gorm.io/gorm/utils/tests" ) type Hamster struct { Id int Name string PreferredToy Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_preferred"` OtherToy Toy `gorm:"polymorphic:Owner;polymorphicValue:hamster_other"` } func TestNamedPolymorphic(t *testing.T) { DB.Migrator().DropTable(&Hamster{}) DB.AutoMigrate(&Hamster{})
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jul 08 09:59:40 UTC 2020 - 4.2K bytes - Viewed (0) -
internal/config/subnet/config.go
Value: "", }, config.KV{ Key: config.APIKey, Value: "", }, config.KV{ Key: config.Proxy, Value: "", }, } // Config represents the subnet related configuration type Config struct { // The subnet license token - Deprecated Dec 2021 License string `json:"license"` // The subnet api key APIKey string `json:"apiKey"` // The HTTP(S) proxy URL to use for connecting to SUBNET
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 3.8K bytes - Viewed (0) -
internal/s3select/errors.go
type SelectError interface { Cause() error ErrorCode() string ErrorMessage() string HTTPStatusCode() int Error() string } type s3Error struct { code string message string statusCode int cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 14 16:48:36 UTC 2022 - 4.3K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
"k8s.io/client-go/kubernetes" "istio.io/istio/cni/pkg/constants" "istio.io/istio/pkg/kube" "istio.io/istio/pkg/log" "istio.io/istio/pkg/util/sets" ) type PodInfo struct { Containers sets.String Labels map[string]string Annotations map[string]string ProxyType string ProxyEnvironments map[string]string ProxyUID *int64
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 01 18:38:14 UTC 2024 - 3.7K bytes - Viewed (0) -
internal/crypto/header.go
h.Del(xhttp.AmzMetaUnencryptedContentMD5) } // SSECopy represents AWS SSE-C for copy requests. It provides // functionality to handle SSE-C copy requests. var SSECopy = ssecCopy{} type ssecCopy struct{} // IsRequested returns true if the HTTP headers contains // at least one SSE-C copy header. Regular SSE-C headers // are ignored. func (ssecCopy) IsRequested(h http.Header) bool {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/listener.go
IPMatcher = "type.googleapis.com/xds.type.matcher.v3.IPMatcher" ) // ListenerFilter is used to pass filter information into listener based config writer print functions type ListenerFilter struct { Address string Port uint32 Type string Verbose bool } // Verify returns true if the passed listener matches the filter fields func (l *ListenerFilter) Verify(listener *listener.Listener) bool {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Nov 29 12:37:14 UTC 2023 - 18.1K bytes - Viewed (0) -
internal/config/etcd/etcd.go
Value: "/skydns", }, config.KV{ Key: ClientCert, Value: "", }, config.KV{ Key: ClientCertKey, Value: "", }, } ) // Config - server etcd config. type Config struct { Enabled bool `json:"enabled"` PathPrefix string `json:"pathPrefix"` CoreDNSPath string `json:"coreDNSPath"` clientv3.Config } // New - initialize new etcd client.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 28 23:17:22 UTC 2024 - 5.2K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
"errors" "fmt" "net" "net/netip" "strings" "github.com/vishvananda/netlink" "golang.org/x/sys/unix" ) func RealNlDeps() NetlinkIpsetDeps { return &realDeps{} } type realDeps struct{} func (m *realDeps) ipsetIPHashCreate(name string, v6 bool) error { var family uint8 if v6 { family = unix.AF_INET6 } else { family = unix.AF_INET }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 18 23:53:18 UTC 2024 - 4.1K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
if !r.dualStack { t.Fatalf("expect dualStack is true, actual %v", r.dualStack) } } func Test_dedupPorts(t *testing.T) { type args struct { ports []string } tests := []struct { name string args args want []string }{ { name: "No duplicates", args: args{ports: []string{"1234", "2345"}}, want: []string{"1234", "2345"}, },
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 17.3K bytes - Viewed (0)