Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for newRule (0.21 sec)

  1. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/controller_policy.go

    			Rules: []rbacv1.PolicyRule{
    				rbacv1helpers.NewRule("list", "watch").Groups(legacyGroup).Resources("persistentvolumes", "persistentvolumeclaims").RuleOrDie(),
    				rbacv1helpers.NewRule("get", "list", "watch").Groups(legacyGroup).Resources("nodes").RuleOrDie(),
    				rbacv1helpers.NewRule("patch", "update").Groups(legacyGroup).Resources("nodes/status").RuleOrDie(),
    				rbacv1helpers.NewRule("list", "watch").Groups(legacyGroup).Resources("pods").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    				rbacv1helpers.NewRule("create").Groups(coordinationGroup).Resources("leases").RuleOrDie(),
    				rbacv1helpers.NewRule("get", "update").Groups(coordinationGroup).Resources("leases").Names("kube-controller-manager").RuleOrDie(),
    				// Fundamental resources.
    				rbacv1helpers.NewRule("create").Groups(legacyGroup).Resources("secrets", "serviceaccounts").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/AbstractKotlinIntegrationTest.kt

            withSettingsIn(".", script, produceFile)
    
        protected
        fun withSettingsIn(baseDir: String, script: String, produceFile: (String) -> File = ::newFile): File =
            withFile("$baseDir/settings.gradle.kts", script, produceFile)
    
        protected
        fun withBuildScript(script: String, produceFile: (String) -> File = ::newFile): File =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 16:44:39 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected CharMappingItem item;
    
            protected MappingUpdater(final CharMappingItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(MAPPING, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/synonym/SynonymFile.java

            protected File newFile;
    
            protected Writer writer;
    
            protected SynonymItem item;
    
            protected SynonymUpdater(final SynonymItem newItem) {
                try {
                    newFile = ComponentUtil.getSystemHelper().createTempFile(SYNONYM, ".txt");
                    writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(newFile), Constants.UTF_8));
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. src/os/file_unix.go

    	}
    
    	return uintptr(f.pfd.Sysfd)
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor. On Unix systems, if the file descriptor is in
    // non-blocking mode, NewFile will attempt to return a pollable File
    // (one for which the SetDeadline methods work).
    //
    // After passing it to NewFile, fd may become invalid under the same
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy

            FileTime.makeOld(targetDir, triggerFile)
    
            and:
            def newFile = targetDir.file("aaa.txt")
            deleter = FileTime.deleterWithDeletionAction() { file ->
                if (file.canonicalFile == triggerFile.canonicalFile) {
                    FileTime.createNewFile(newFile)
                }
                return DeletionAction.CONTINUE
            }
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 12:40:48 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  8. platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftIncrementalCompileIntegrationTest.groovy

             """
    
            outputs.snapshot { succeeds("compileDebugSwift") }
    
            when:
            def newFile = file("src/main/swift/NewFile.swift")
            newFile << """
                public class NewFile {}
            """
            and:
            succeeds("compileDebugSwift")
    
            then:
            outputs.recompiledFile(newFile)
        }
    
        def 'adding a new file that overlaps with an existing type fails'() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  9. src/os/file_windows.go

    func newConsoleFile(h syscall.Handle, name string) *File {
    	return newFile(h, name, "console")
    }
    
    // NewFile returns a new File with the given file descriptor and
    // name. The returned value will be nil if fd is not a valid file
    // descriptor.
    func NewFile(fd uintptr, name string) *File {
    	h := syscall.Handle(fd)
    	if h == syscall.InvalidHandle {
    		return nil
    	}
    	return newFile(h, name, "file")
    }
    
    func epipecheck(file *File, e error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideFile.java

                } catch (final Exception e) {
                    if (newFile != null) {
                        newFile.delete();
                    }
                    throw new DictionaryException("Failed to write a userDict file.", e);
                }
                item = newItem;
            }
    
            public StemmerOverrideItem write(final StemmerOverrideItem oldItem) {
                try {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top