Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,360 for AsObject (0.29 sec)

  1. pkg/apis/rbac/types.go

    	NonResourceURLs []string
    }
    
    // Subject contains a reference to the object or user identities a role binding applies to.  This can either hold a direct API object reference,
    // or a value for non-objects such as user and group names.
    type Subject struct {
    	// Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 24 20:35:20 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. security/pkg/pki/util/generate_csr_test.go

    		if err != nil {
    			t.Fatalf("%s: failed to parse csr", id)
    		}
    		if err = csr.CheckSignature(); err != nil {
    			t.Errorf("%s: csr signature is invalid", id)
    		}
    		if csr.Subject.Organization[0] != "MyOrg" {
    			t.Errorf("%s: csr subject does not match", id)
    		}
    		if !strings.HasSuffix(string(csr.Extensions[0].Value), "test_ca.com") {
    			t.Errorf("%s: csr host does not match", id)
    		}
    		if tc.csrOptions.ECSigAlg != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 25 09:40:13 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/test/groovy/org/gradle/ide/xcode/internal/XcodePropertyAdapterTest.groovy

     */
    
    package org.gradle.ide.xcode.internal
    
    import org.gradle.api.Project
    import spock.lang.Specification
    import spock.lang.Subject
    
    class XcodePropertyAdapterTest extends Specification {
        def project = Mock(Project)
    
        @Subject
        def xcodePropertyAdapter = new XcodePropertyAdapter(project)
    
        def "getAction"() {
            expectProperty("org.gradle.internal.xcode.bridge.ACTION", "myaction")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/JvmInstallationProblemReporterTest.groovy

    import org.gradle.jvm.toolchain.internal.InstallationLocation
    import org.gradle.test.fixtures.file.TestFile
    import spock.lang.Specification
    import spock.lang.Subject
    
    class JvmInstallationProblemReporterTest extends Specification {
        @Subject
        def problemReporter = new JvmInstallationProblemReporter()
        def location = new TestFile("location")
        def logger = Mock(Logger)
    
        def "only reports problems once"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/UserInputResumeEventSerializerTest.groovy

    package org.gradle.internal.logging.serializer
    
    import org.gradle.api.logging.LogLevel
    import org.gradle.internal.logging.events.UserInputResumeEvent
    import spock.lang.Subject
    
    class UserInputResumeEventSerializerTest extends LogSerializerSpec {
    
        @Subject def serializer = new UserInputResumeEventSerializer()
    
        def "can serialize user input resume event"() {
            given:
            def event = new UserInputResumeEvent(123)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 00:09:24 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1/generated.proto

    // and adds who information via Subject.
    message ClusterRoleBinding {
      // Standard object's metadata.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
      // Subjects holds references to the objects the role applies to.
      // +optional
      // +listType=atomic
      repeated Subject subjects = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ModelSetNodeInitializerExtractionStrategy.java

            }
    
            @Override
            public Multimap<ModelActionRole, ModelAction> getActions(ModelReference<?> subject, ModelRuleDescriptor descriptor) {
                return ImmutableSetMultimap.<ModelActionRole, ModelAction>builder()
                    .put(ModelActionRole.Discover, AddProjectionsAction.of(subject, descriptor,
                        TypedModelProjection.of(
                            ModelTypes.modelSet(schema.getElementType()),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/Finalize.java

    import java.lang.annotation.Target;
    
    /**
     * Denotes that the {@link RuleSource} method rule carrying this annotation finalizes the rule subject.
     * <p>
     * Finalize rules execute after {@link Mutate} rules, but before {@link Validate} rules.
     * The first parameter of the rule is the rule subject, which is mutable for the duration of the rule.
     * <p>
     * Please see {@link RuleSource} for more information on method rules.
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

    package org.gradle.cache.internal
    
    import org.gradle.util.ConcurrentSpecification
    import spock.lang.Subject
    
    import java.util.concurrent.atomic.AtomicInteger
    
    import static org.gradle.test.fixtures.ConcurrentTestUtil.poll
    
    class DefaultFileLockManagerAwaitableFileLockReleasedSignalTest extends ConcurrentSpecification {
    
        @Subject def signal = new DefaultFileLockManager.AwaitableFileLockReleasedSignal()
    
        def "can reuse signal"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/serializer/ProgressEventSerializerTest.groovy

     */
    package org.gradle.internal.logging.serializer
    
    import org.gradle.internal.operations.OperationIdentifier
    import org.gradle.internal.logging.events.ProgressEvent
    import spock.lang.Subject
    
    @Subject(ProgressEventSerializer)
    class ProgressEventSerializerTest extends LogSerializerSpec {
        private static final OperationIdentifier OPERATION_ID = new OperationIdentifier(1234L)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top