- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 68 for struct (0.24 sec)
-
istioctl/pkg/writer/ztunnel/configdump/api.go
} type ApplicationTunnel struct { Protocol string `json:"protocol"` Port *uint16 `json:"port,omitempty"` } type Waypoint struct { Destination string `json:"destination"` } type LoadBalancer struct { Mode string `json:"mode"` RoutingPreferences []string `json:"routingPreferences"` } type ZtunnelService struct { Name string `json:"name"`
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 25 02:16:06 GMT 2024 - 5.2K bytes - Viewed (0) -
istioctl/pkg/util/configdump/wrapper.go
return msg.ProtoReflect().Type(), nil } return typ, nil } // Wrapper is a wrapper around the Envoy ConfigDump // It has extra helper functions for handling any/struct/marshal protobuf pain type Wrapper struct { *admin.ConfigDump } // UnmarshalJSON is a custom unmarshaller to handle protobuf pain func (w *Wrapper) UnmarshalJSON(b []byte) error { cd := &admin.ConfigDump{}
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sun Apr 21 17:42:54 GMT 2024 - 1.8K bytes - Viewed (0) -
internal/config/server.go
type Opts struct { FTP struct { Address string `yaml:"address"` PassivePortRange string `yaml:"passive-port-range"` } `yaml:"ftp"` SFTP struct { Address string `yaml:"address"` SSHPrivateKey string `yaml:"ssh-private-key"` } `yaml:"sftp"` } // ServerConfigVersion struct is used to extract the version type ServerConfigVersion struct { Version string `yaml:"version"` }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 1.9K bytes - Viewed (0) -
internal/event/name_test.go
package event import ( "encoding/json" "encoding/xml" "reflect" "testing" ) func TestNameExpand(t *testing.T) { testCases := []struct { name Name expectedResult []Name }{ {BucketCreated, []Name{BucketCreated}}, {BucketRemoved, []Name{BucketRemoved}},
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) -
internal/http/listener.go
import ( "context" "fmt" "net" "syscall" "time" "github.com/minio/minio/internal/deadlineconn" ) type acceptResult struct { conn net.Conn err error lidx int } // httpListener - HTTP listener capable of handling multiple server addresses. type httpListener struct { opts TCPOptions listeners []net.Listener // underlying TCP listeners.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 5.6K bytes - Viewed (0) -
cmd/net_test.go
package cmd import ( "errors" "fmt" "reflect" "testing" "github.com/minio/minio-go/v7/pkg/set" ) func TestMustSplitHostPort(t *testing.T) { testCases := []struct { hostPort string expectedHost string expectedPort string }{ {":54321", "", "54321"}, {"server:54321", "server", "54321"}, {":0", "", "0"}, {"server:https", "server", "443"},
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 19 08:43:09 GMT 2024 - 9.3K bytes - Viewed (0) -
clause/where.go
package clause import ( "strings" ) const ( AndWithSpace = " AND " OrWithSpace = " OR " ) // Where where clause type Where struct { Exprs []Expression } // Name where clause name func (where Where) Name() string { return "WHERE" } // Build build where clause func (where Where) Build(builder Builder) { if len(where.Exprs) == 1 { if andCondition, ok := where.Exprs[0].(AndConditions); ok {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Thu Apr 25 12:22:53 GMT 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables_test.go
"net/netip" "path/filepath" "strings" "testing" testutil "istio.io/istio/pilot/test/util" dep "istio.io/istio/tools/istio-iptables/pkg/dependencies" ) func TestIptables(t *testing.T) { cases := []struct { name string config func(cfg *Config) }{ { "default", func(cfg *Config) { cfg.RedirectDNS = true }, }, } probeSNATipv4 := netip.MustParseAddr("169.254.7.127")
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.7K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
cachevalue.Opts{ReturnLastGood: true}, loadNodesUpDown) } type driveIOStatMetrics struct { readsPerSec float64 readsKBPerSec float64 readsAwait float64 writesPerSec float64 writesKBPerSec float64 writesAwait float64 percUtil float64 } // storageMetrics - cached storage metrics. type storageMetrics struct { storageInfo madmin.StorageInfo
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Tue Apr 23 23:56:12 GMT 2024 - 7.9K bytes - Viewed (0) -
internal/logger/console.go
if msg != "" { errMsg = errorFmtFunc(fmt.Sprintf(msg, data...), err, jsonFlag) } else { errMsg = err.Error() } consoleLog(fatalMessage, errMsg) } var fatalMessage fatalMsg type fatalMsg struct{} func (f fatalMsg) json(msg string, args ...interface{}) { var message string if msg != "" { message = fmt.Sprintf(msg, args...) } else { message = fmt.Sprint(args...) }
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)