- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 73 for tool (0.15 sec)
-
cni/pkg/ipset/ipset.go
Deps NetlinkIpsetDeps } const ( V4Name = "%s-v4" V6Name = "%s-v6" ) type NetlinkIpsetDeps interface { ipsetIPHashCreate(name string, v6 bool) error destroySet(name string) error addIP(name string, ip netip.Addr, ipProto uint8, comment string, replace bool) error deleteIP(name string, ip netip.Addr, ipProto uint8) error flush(name string) error clearEntriesWithComment(name string, comment string) error
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cni/pkg/util/podutil.go
return false } return true } func podHasSidecar(pod *corev1.Pod) bool { if _, f := pod.GetAnnotations()[annotation.SidecarStatus.Name]; f { return true } return false } func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool { return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 3.9K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
inputConfig string objectName string objectTags string objectModTime time.Time isDelMarker bool hasManyVersions bool expectedAction Action isNoncurrent bool objectSuccessorModTime time.Time versionID string }{ // Empty object name (unexpected case) should always return NoneAction {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 53.2K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle.go
Name string UserTags string ModTime time.Time Size int64 VersionID string IsLatest bool DeleteMarker bool NumVersions int SuccessorModTime time.Time TransitionStatus string RestoreOngoing bool RestoreExpires time.Time } // ExpiredObjectDeleteMarker returns true if an object version referred to by o
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 17.5K bytes - Viewed (0) -
internal/logger/logger.go
} // IsJSON - returns true if jsonFlag is true func IsJSON() bool { return jsonFlag } // IsQuiet - returns true if quietFlag is true func IsQuiet() bool { return quietFlag } // RegisterError registers the specified rendering function. This latter // will be called for a pretty rendering of fatal errors. func RegisterError(f func(string, error, bool) string) { errorFmtFunc = f }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat May 04 00:17:57 GMT 2024 - 12.4K bytes - Viewed (0) -
operator/cmd/mesh/install.go
// If set to true, the user is not prompted and a Yes response is assumed in all cases. SkipConfirmation bool // Force proceeds even if there are validation errors Force bool // Verify after installation Verify bool // Set is a string with element format "path=value" where path is an IstioOperator path and the value is a // value to set the node at that path to. Set []string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 14:30:43 GMT 2024 - 15.5K bytes - Viewed (1) -
internal/bucket/lifecycle/delmarker-expiration_test.go
err: errInvalidDaysDelMarkerExpiration, }, } for i, test := range tests { t.Run(fmt.Sprintf("TestDelMarker-%d", i), func(t *testing.T) { var dexp DelMarkerExpiration var fail bool err := xml.Unmarshal([]byte(test.xml), &dexp) if test.err == nil { if err != nil { fail = true } } else { if err == nil { fail = true }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 01:11:10 GMT 2024 - 1.6K bytes - Viewed (0) -
cni/pkg/ipset/nldeps_linux.go
"github.com/vishvananda/netlink/nl" "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 }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 3.9K bytes - Viewed (0) -
cmd/server-main.go
globalTierConfigMgr = NewTierConfigMgr() globalTransitionState = newTransitionState(GlobalContext) globalSiteResyncMetrics = newSiteResyncMetrics(GlobalContext) } func configRetriableErrors(err error) bool { if err == nil { return false } notInitialized := strings.Contains(err.Error(), "Server not initialized, please try again") || errors.Is(err, errServerNotInitialized)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri May 03 15:54:03 GMT 2024 - 34.9K bytes - Viewed (1) -
internal/color/color.go
import ( "fmt" "github.com/fatih/color" ) // global colors. var ( // Check if we stderr, stdout are dumb terminals, we do not apply // ansi coloring on dumb terminals. IsTerminal = func() bool { return !color.NoColor } Bold = func() func(format string, a ...interface{}) string { if IsTerminal() { return color.New(color.Bold).SprintfFunc() } return fmt.Sprintf }()
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 17:57:52 GMT 2024 - 3.8K bytes - Viewed (0)