- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for idempotent (0.41 sec)
-
src/go/printer/printer_test.go
{"slow.input", "slow.golden", idempotent}, {"complit.input", "complit.x", export}, {"go2numbers.input", "go2numbers.golden", idempotent}, {"go2numbers.input", "go2numbers.norm", normNumber | idempotent}, {"generics.input", "generics.golden", idempotent | allowTypeParams}, {"gobuild1.input", "gobuild1.golden", idempotent}, {"gobuild2.input", "gobuild2.golden", idempotent}, {"gobuild3.input", "gobuild3.golden", idempotent},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 20.4K bytes - Viewed (0) -
pkg/volume/volume.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/types" ) // Volume represents a directory used by pods or hosts on a node. All method // implementations of methods in the volume interface must be idempotent. type Volume interface { // GetPath returns the path to which the volume should be mounted for the // pod. GetPath() string // MetricsProvider embeds methods for exposing metrics (e.g.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/volume/downwardapi/downwardapi.go
return volume.Attributes{ ReadOnly: true, Managed: true, SELinuxRelabel: true, } } // SetUp puts in place the volume plugin. // This function is not idempotent by design. We want the data to be refreshed periodically. // The internal sync interval of kubelet will drive the refresh of data. // TODO: Add volume specific ticker and refresh loop
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 10.4K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir.go
if ed.mounter == nil { return fmt.Errorf("memory storage requested, but mounter is nil") } if err := ed.setupDir(dir); err != nil { return err } // Make SetUp idempotent. medium, isMnt, _, err := ed.mountDetector.GetMountMedium(dir, ed.medium) if err != nil { return err } // If the directory is a mountpoint with medium memory, there is no
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 19K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
log.Debugf("ignoring error deleting optional iptables rule: %v", err) } } } return errors.Join(delErrs...) } // Setup iptables rules for in-pod mode. Ideally this should be an idempotent function. // NOTE that this expects to be run from within the pod network namespace! func (cfg *IptablesConfigurator) CreateInpodRules(hostProbeSNAT, hostProbeV6SNAT *netip.Addr) error { // Append our rules here
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 19.9K bytes - Viewed (0) -
src/cmd/go/main.go
telemetry.Start() // Open the telemetry counter file so counters can be written to it. handleChdirFlag() toolchain.Select() telemetry.StartWithUpload() // Run the upload process. Opening the counter file is idempotent. flag.Usage = base.Usage flag.Parse() telemetry.Inc("go/invocations") telemetry.CountFlags("go/flag:", *flag.CommandLine) args := flag.Args() if len(args) < 1 { base.Usage() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:09:11 UTC 2024 - 10K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/micro_time_test.go
time := MicroTime{} if err := time.Unmarshal(data); err != nil { t.Fatalf("Failed to unmarshal output: '%v': %v", input, err) } if !reflect.DeepEqual(input, time) { t.Errorf("Marshal->Unmarshal is not idempotent: '%v' vs '%v'", input, time) } } } func TestMicroTimeEqual(t *testing.T) { t1 := NewMicroTime(time.Now()) cases := []struct { name string x *MicroTime y *MicroTime
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 11.1K bytes - Viewed (0) -
pkg/kube/util.go
func IstioUserAgent() string { return adjustCommand(os.Args[0]) + "/" + istioversion.Info.Version } // SetRestDefaults is a helper function that sets default values for the given rest.Config. // This function is idempotent. func SetRestDefaults(config *rest.Config) *rest.Config { if config.GroupVersion == nil || config.GroupVersion.Empty() { config.GroupVersion = &corev1.SchemeGroupVersion } if len(config.APIPath) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
if actual != tc.want { t.Fatalf("Unexpected result.\nExpected:\n%v\nActual:\n%v", tc.want, actual) } t.Run("idempotency", func(t *testing.T) { actual := appendMultusNetwork(actual, "istio-cni") if actual != tc.want { t.Fatalf("Function is not idempotent.\nExpected:\n%v\nActual:\n%v", tc.want, actual) } }) }) } } func Test_updateClusterEnvs(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/basics/plugins.adoc
There are also some constraints and possible limitations. [[sec:constrained_syntax]] ==== Constrained Syntax The `plugins {}` block does not support arbitrary code. It is constrained to be idempotent (produce the same result every time) and side effect-free (safe for Gradle to execute at any time). The form is: ==== [.multi-language-sample] ===== .build.gradle.kts [source,kotlin] ----
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 04:11:37 UTC 2024 - 24.2K bytes - Viewed (0)