- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 44 for fileContent (0.33 sec)
-
cmd/kubeadm/app/preflight/checks.go
} // Name returns label for individual FileContentChecks. If not known, will return based on path. func (fcc FileContentCheck) Name() string { if fcc.Label != "" { return fcc.Label } return fmt.Sprintf("FileContent-%s", strings.Replace(fcc.Path, "/", "-", -1)) } // Check validates if the given file contains the given content. func (fcc FileContentCheck) Check() (warnings, errorList []error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 03 11:20:55 UTC 2024 - 39.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/file/FileContents.java
*/ package org.gradle.api.file; import org.gradle.api.provider.Provider; /** * Provides lazy access to the contents of a given file. * * @since 6.1 */ public interface FileContents { /** * Gets a provider of the entire file contents as a single String. * * <p> * The file is read only once and only when the value is requested for the first time. * </p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 08 14:00:30 UTC 2021 - 2.6K bytes - Viewed (0) -
pkg/proxy/ipvs/proxier_test.go
} } func Test_getFirstColumn(t *testing.T) { testCases := []struct { name string fileContent string want []string wantErr bool }{ { name: "valid content", fileContent: `libiscsi_tcp 28672 1 iscsi_tcp, Live 0xffffffffc07ae000 libiscsi 57344 3 ib_iser,iscsi_tcp,libiscsi_tcp, Live 0xffffffffc079a000
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/marshal_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/fixtures/MSBuildExecutor.java
} else { for (ExecutionOutput output : getOutputFiles()) { String gradleStdout = fileContents(output.stdout); String gradleStderr = fileContents(output.stderr); System.out.println(gradleStdout); System.out.println(gradleStderr);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 8K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultProviderFactory.java
); } @Override public FileContents fileContents(RegularFile file) { return fileContents(property -> property.set(file)); } @Override public FileContents fileContents(Provider<RegularFile> file) { return fileContents(property -> property.set(file)); } private FileContents fileContents(Action<RegularFileProperty> setFileProperty) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 8.7K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/initconfiguration_test.go
// cfgFiles is in cluster_test.go var tests = []struct { name string fileContents []byte expectErr bool validate func(*testing.T, *kubeadm.InitConfiguration) }{ { name: "v1beta3.partial1", fileContents: cfgFiles["InitConfiguration_v1beta3"], }, { name: "v1beta3.partial2", fileContents: bytes.Join([][]byte{ cfgFiles["InitConfiguration_v1beta3"], clusterCfg,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 13 09:17:03 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/software/resources-s3/src/integTest/groovy/org/gradle/integtests/resource/s3/S3ClientIntegrationTest.groovy
@Requires(UnitTestPreconditions.Jdk9OrLater) def "should perform #authenticationType put get and list on an S3 bucket"() { setup: def fileContents = 'This is only a test' File file = temporaryFolder.createFile(FILE_NAME) file << fileContents def directSubdirectories = ['some-dir', 'second-dir', 'some-other-dir'] directSubdirectories.each { temporaryFolder.createDir(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 9.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/provider/ProviderFactory.java
* @param file the file whose contents to read. * @return an interface that allows lazy access to the contents of the given file. * * @see FileContents#getAsText() * @see FileContents#getAsBytes() * * @since 6.1 */ FileContents fileContents(RegularFile file); /** * Allows lazy access to the contents of the given file. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 09:14:21 UTC 2024 - 13.9K bytes - Viewed (0) -
platforms/software/resources-gcs/src/integTest/groovy/org/gradle/integtests/resource/gcs/GcsClientIntegrationTest.groovy
@Rule final GcsServer server = new GcsServer(temporaryFolder) def "should perform put, get and list on an Gcs bucket"() { setup: def fileContents = 'This is only a test' File file = temporaryFolder.createFile(FILE_NAME) file << fileContents Storage.Builder builder = new Storage.Builder(new NetHttpTransport(), new GsonFactory(), null) builder.setRootUrl(server.uri.toString())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.4K bytes - Viewed (0)