Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,360 for AsObject (0.13 sec)

  1. pkg/apis/rbac/v1/helpers.go

    		r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, rbacv1.Subject{APIGroup: rbacv1.GroupName, Kind: rbacv1.GroupKind, Name: group})
    	}
    	return r
    }
    
    func (r *ClusterRoleBindingBuilder) Users(users ...string) *ClusterRoleBindingBuilder {
    	for _, user := range users {
    		r.ClusterRoleBinding.Subjects = append(r.ClusterRoleBinding.Subjects, rbacv1.Subject{APIGroup: rbacv1.GroupName, Kind: rbacv1.UserKind, Name: user})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. common-protos/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
      repeated Subject subjects = 2;
    
      // RoleRef can only reference a ClusterRole in the global namespace.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. platforms/ide/ide-native/src/main/java/org/gradle/api/internal/PropertyListTransformer.java

    package org.gradle.api.internal;
    
    import com.dd.plist.NSObject;
    import com.dd.plist.XMLPropertyListWriter;
    import org.gradle.api.Action;
    import org.gradle.api.Transformer;
    import org.gradle.api.UncheckedIOException;
    import org.gradle.internal.MutableActionSet;
    
    import java.io.IOException;
    import java.io.OutputStream;
    
    public class PropertyListTransformer<T extends NSObject> implements Transformer<T, T> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 08 17:10:32 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/main/resources/fess_env_web.properties

    mail.send.mock = false
    
    # SMTP server settings for main: host:port
    mail.smtp.server.main.host.and.port = localhost:25
    
    # The prefix of subject to show test environment or not
    mail.subject.test.prefix = 
    
    # The common return path of all mail
    mail.return.path = root@localhost
    
    # ========================================================================================
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Mon Jan 29 07:34:32 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/catalog/AbstractVersionCatalogTest.groovy

    import org.gradle.api.problems.internal.NoOpProblemEmitter
    import org.gradle.util.TestUtil
    import spock.lang.Specification
    import spock.lang.Subject
    
    import java.util.function.Supplier
    
    class AbstractVersionCatalogTest extends Specification {
        @Subject
        DefaultVersionCatalogBuilder builder = createVersionCatalogBuilder()
    
        def createVersionCatalogBuilder() {
            def supplier = Stub(Supplier)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 08:24:10 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    		if allowedCommonName == subject.CommonName {
    			return nil
    		}
    	}
    	return fmt.Errorf("x509: subject with cn=%s is not in the allowed list", subject.CommonName)
    }
    
    // DefaultVerifyOptions returns VerifyOptions that use the system root certificates, current time,
    // and requires certificates to be valid for client auth (x509.ExtKeyUsageClientAuth)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  7. security/pkg/pki/util/generate_cert_test.go

    		}
    		if len(c.csrTemplate.Subject.CommonName) == 0 {
    			if len(out.Subject.CommonName) > 0 {
    				t.Errorf("Common name should be empty, but got %s", out.Subject.CommonName)
    			}
    		} else if out.Subject.CommonName != c.subjectIDs[0] {
    			t.Errorf("Unmatched common name, expected %s, got %s", c.subjectIDs[0], out.Subject.CommonName)
    		}
    		if len(out.Subject.Organization) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Nov 06 12:48:53 UTC 2023
    - 29.4K bytes
    - Viewed (0)
  8. internal/event/target/nats_contrib_test.go

    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject: "test",
    	}
    	con, err := clientConfig.connectNats()
    	if err != nil {
    		t.Errorf("Could not connect to nats: %v", err)
    	}
    	defer con.Close()
    }
    
    func TestNatsConnUserPass(t *testing.T) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/gen_test.go

    	subject := flowcontrol.Subject{}
    	var matchingUIs, skippingUIs []user.Info
    	x := rng.Float32()
    	switch {
    	case x < 0.33:
    		subject.Kind = flowcontrol.SubjectKindUser
    		subject.User, matchingUIs, skippingUIs = genUser(rng, pfx)
    	case x < 0.67:
    		subject.Kind = flowcontrol.SubjectKindGroup
    		subject.Group, matchingUIs, skippingUIs = genGroup(rng, pfx)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NoInputsModelAction.java

    public class NoInputsModelAction<T> extends AbstractModelActionWithView<T> {
        private final Action<? super T> configAction;
    
        public NoInputsModelAction(ModelReference<T> subject, ModelRuleDescriptor descriptor, Action<? super T> configAction) {
            super(subject, descriptor, Collections.<ModelReference<?>>emptyList());
            this.configAction = configAction;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top