- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 223 for isattached (0.18 sec)
-
pkg/volume/flexvolume/driver-call.go
Message string `json:"message,omitempty"` // Path to the device attached. This field is valid only for attach calls. // ie: /dev/sdx DevicePath string `json:"device,omitempty"` // Cluster wide unique name of the volume. VolumeName string `json:"volumeName,omitempty"` // Represents volume is attached on the node Attached bool `json:"attached,omitempty"` // Returns capabilities of the driver.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 25 02:39:55 UTC 2021 - 7.5K bytes - Viewed (0) -
pkg/volume/flexvolume/flexvolume_test.go
}' exit 0 elif [ "$1" == "getvolumename" -a $# -eq 4 ]; then echo -n '{ "status": "Success", "volume": "fakevolume" }' exit 0 elif [ "$1" == "isattached" -a $# -eq 2 ]; then echo -n '{ "status": "Success", "attached": true }' exit 0 fi echo -n '{ "status": "Not supported" }' exit 1 # Direct the arguments to a file to be tested against later
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 6.8K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher_test.go
func TestIsVolumeAttached(tt *testing.T) { t := harness.For(tt) defer t.Close() spec := fakeVolumeSpec() plugin, _ := testPlugin(t) plugin.runner = fakeRunner( assertDriverCall(t, notSupportedOutput(), isAttached, specJSON(plugin, spec, nil), "localhost"), ) a, _ := plugin.NewAttacher() specs := []*volume.Spec{spec} a.VolumesAreAttached(specs, "localhost")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 2.2K bytes - Viewed (0) -
pkg/volume/flexvolume/attacher.go
call := a.plugin.NewDriverCall(isAttached) call.AppendSpec(spec, a.plugin.host, nil) call.Append(string(nodeName)) status, err := call.Run() if isCmdNotSupportedErr(err) { return nil, nil } else if err == nil { if !status.Attached { volumesAttachedCheck[spec] = false klog.V(2).Infof("VolumesAreAttached: check volume (%q) is no longer attached", spec.Name()) } } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jul 03 23:29:42 UTC 2021 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/FallbackConsoleMetaData.java
ATTACHED(true), NOT_ATTACHED(false); private final boolean attached; FallbackConsoleMetaData(boolean attached) { this.attached = attached; } @Override public boolean isStdOut() { return attached; } @Override public boolean isStdErr() { return attached; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/artifact/AttachedArtifact.java
} public List<ArtifactVersion> getAvailableVersions() { return parent.getAvailableVersions(); } public void setAvailableVersions(List<ArtifactVersion> availableVersions) { throw new UnsupportedOperationException("Cannot change the version information for an attached artifact."
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/logging-api/src/main/java/org/gradle/api/logging/configuration/ConsoleOutput.java
*/ Plain, /** * Enable color and rich output when the current process is attached to a console, disable when not attached to a console. */ Auto, /** * Enable color and rich output, regardless of whether the current process is attached to a console or not. * When not attached to a console, the color and rich output is encoded using ANSI control characters. */ Rich, /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 1.4K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ConsoleAttachment.java
public enum ConsoleAttachment { NOT_ATTACHED("not attached to a console", null), ATTACHED("console attached to both stdout and stderr", TestConsoleMetadata.BOTH), ATTACHED_STDOUT_ONLY("console attached to stdout only", TestConsoleMetadata.STDOUT_ONLY), ATTACHED_STDERR_ONLY("console attached to stderr only", TestConsoleMetadata.STDERR_ONLY); private final String description;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/strategy_test.go
newAttachment := va.DeepCopy() newAttachment.Status.Attached = true Strategy.PrepareForUpdate(context.TODO(), newAttachment, va) if newAttachment.Status.Attached { t.Errorf("expected status to be %v got %v", false, newAttachment.Status.Attached) } } func TestCreatePreventsStatusWrite(t *testing.T) { va := getValidVolumeAttachment("valid-attachment") va.Status.Attached = true Strategy.PrepareForCreate(context.TODO(), va)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 8.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/ProgressCrossVersionSpec.groovy
ProjectConnection connection -> connection.model(BuildInvocations).forTasks('assemble').addProgressListener(events).get() } then: "progress events must be forwarded to the attached listeners" events.assertIsABuild() } def "receive progress events when launching a build"() { given: goodCode() when: "launching a build"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 4.3K bytes - Viewed (0)