- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 1,950 for func (0.05 sec)
-
istioctl/pkg/multicluster/remote_secret_test.go
b bytes.Buffer injectError error failAfter int } func (w *fakeOutputWriter) Write(p []byte) (n int, err error) { w.failAfter-- if w.failAfter <= 0 && w.injectError != nil { return 0, w.injectError } return w.b.Write(p) } func (w *fakeOutputWriter) String() string { return w.b.String() } func TestCreateRemoteSecrets(t *testing.T) { prevOutputWriterStub := makeOutputWriterTestHook
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0) -
cni/pkg/plugin/sidecar_redirect.go
invalidDrop bool } type annotationValidationFunc func(value string) error type annotationParam struct { key string defaultVal string validator annotationValidationFunc } func alwaysValidFunc(value string) error { return nil } // validateInterceptionMode validates the interceptionMode annotation func validateInterceptionMode(mode string) error { switch mode {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 10.6K bytes - Viewed (0) -
cmd/utils.go
) // isMaxObjectSize - verify if max object size func isMaxObjectSize(size int64) bool { return size > globalMaxObjectSize } // Check if part size is more than or equal to minimum allowed size. func isMinAllowedPartSize(size int64) bool { return size >= globalMinPartSize } // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID. func isMaxPartID(partID int) bool { return partID > globalMaxPartID
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 31.9K bytes - Viewed (0) -
api/go1.11.txt
pkg regexp/syntax, method (Op) String() string pkg runtime/trace, func IsEnabled() bool pkg runtime/trace, func Log(context.Context, string, string) pkg runtime/trace, func Logf(context.Context, string, string, ...interface{}) pkg runtime/trace, func NewTask(context.Context, string) (context.Context, *Task) pkg runtime/trace, func StartRegion(context.Context, string) *Region pkg runtime/trace, func WithRegion(context.Context, string, func())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 22 03:48:56 UTC 2018 - 25K bytes - Viewed (0) -
internal/config/lambda/event/targetidset.go
// IsEmpty returns true if the set is empty. func (set TargetIDSet) IsEmpty() bool { return len(set) != 0 } // Clone - returns copy of this set. func (set TargetIDSet) Clone() TargetIDSet { setCopy := NewTargetIDSet() for k, v := range set { setCopy[k] = v } return setCopy } // add - adds TargetID to the set. func (set TargetIDSet) add(targetID TargetID) { set[targetID] = struct{}{} }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.9K bytes - Viewed (0) -
cni/pkg/iptables/nldeps.go
} func (r *realDeps) DelLoopbackRoutes(cfg *Config) error { return DelLoopbackRoutes(cfg) } type emptyDeps struct{} func EmptyNlDeps() NetlinkDependencies { return &emptyDeps{} } func (r *emptyDeps) AddInpodMarkIPRule(cfg *Config) error { return nil } func (r *emptyDeps) DelInpodMarkIPRule(cfg *Config) error { return nil } func (r *emptyDeps) AddLoopbackRoutes(cfg *Config) error { return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 1.6K bytes - Viewed (0) -
cni/pkg/install/install.go
} // NewInstaller returns an instance of Installer with the given config func NewInstaller(cfg *config.InstallConfig, isReady *atomic.Value) *Installer { return &Installer{ cfg: cfg, kubeconfigFilepath: filepath.Join(cfg.CNIAgentRunDir, constants.CNIPluginKubeconfName), isReady: isReady, } } func (in *Installer) installAll(ctx context.Context) (sets.String, error) { // Install binaries
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 09 21:33:51 UTC 2024 - 13.5K bytes - Viewed (0) -
cmd/xl-storage-errors.go
"errors" "os" "runtime" "syscall" ) // No space left on device error func isSysErrNoSpace(err error) bool { return errors.Is(err, syscall.ENOSPC) } // Invalid argument, unsupported flags such as O_DIRECT func isSysErrInvalidArg(err error) bool { return errors.Is(err, syscall.EINVAL) } // Input/output error func isSysErrIO(err error) bool { return errors.Is(err, syscall.EIO) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 06 16:56:29 UTC 2023 - 3.8K bytes - Viewed (0) -
internal/s3select/errors.go
cause error } func (err *s3Error) Cause() error { return err.cause } func (err *s3Error) ErrorCode() string { return err.code } func (err *s3Error) ErrorMessage() string { return err.message } func (err *s3Error) HTTPStatusCode() int { return err.statusCode } func (err *s3Error) Error() string { return err.message } func errMalformedXML(err error) *s3Error {
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/ipset/nldeps_linux.go
package ipset import ( "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)