Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 69 for abrac (0.05 sec)

  1. platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/RegExpPatternStepTest.java

        }
    
        @Test public void testMultiCharWildcard() {
            RegExpPatternStep step = new RegExpPatternStep("a*c", true);
            assertTrue(step.matches("abc"));
            assertTrue(step.matches("abrac"));
            assertFalse(step.matches("abcd"));
            assertFalse(step.matches("ab"));
            assertFalse(step.matches("a"));
    
            step = new RegExpPatternStep("*", true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. pkg/auth/authorizer/abac/abac.go

    limitations under the License.
    */
    
    // Package abac authorizes Kubernetes API actions using an Attribute-based access control scheme.
    package abac
    
    import (
    	"bufio"
    	"context"
    	"fmt"
    	"os"
    	"strings"
    
    	"k8s.io/klog/v2"
    
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/authentication/user"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/kubernetes/pkg/apis/abac"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 11 03:11:30 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  3. cluster/gce/manifests/abac-authz-policy.jsonl

    {"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"admin", "namespace": "*", "resource": "*", "apiGroup": "*", "nonResourcePath": "*"}}
    {"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"user":"{{kube_user}}", "namespace": "*", "resource": "*", "apiGroup": "*", "nonResourcePath": "*"}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 01 16:39:56 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  4. pkg/apis/abac/v1beta1/conversion_test.go

    	"k8s.io/kubernetes/pkg/apis/abac"
    	"k8s.io/kubernetes/pkg/apis/abac/v1beta1"
    )
    
    func TestV1Beta1Conversion(t *testing.T) {
    	testcases := map[string]struct {
    		old      *v1beta1.Policy
    		expected *abac.Policy
    	}{
    		// specifying a user is preserved
    		"user": {
    			old:      &v1beta1.Policy{Spec: v1beta1.PolicySpec{User: "bob"}},
    			expected: &abac.Policy{Spec: abac.PolicySpec{User: "bob"}},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  5. pkg/auth/authorizer/abac/example_policy_file.jsonl

    {"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group":"system:authenticated",  "nonResourcePath": "*", "readonly": true}}
    {"apiVersion": "abac.authorization.kubernetes.io/v1beta1", "kind": "Policy", "spec": {"group":"system:unauthenticated", "nonResourcePath": "*", "readonly": true}}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 12:24:57 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  6. pkg/apis/abac/v0/conversion_test.go

    	"k8s.io/kubernetes/pkg/apis/abac"
    	"k8s.io/kubernetes/pkg/apis/abac/v0"
    )
    
    func TestV0Conversion(t *testing.T) {
    	testcases := map[string]struct {
    		old      *v0.Policy
    		expected *abac.Policy
    	}{
    		// a completely empty policy rule allows everything to all users
    		"empty": {
    			old:      &v0.Policy{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 18:54:02 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  7. pkg/apis/abac/v1beta1/zz_generated.conversion.go

    	}); err != nil {
    		return err
    	}
    	if err := s.AddGeneratedConversionFunc((*PolicySpec)(nil), (*abac.PolicySpec)(nil), func(a, b interface{}, scope conversion.Scope) error {
    		return Convert_v1beta1_PolicySpec_To_abac_PolicySpec(a.(*PolicySpec), b.(*abac.PolicySpec), scope)
    	}); err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 4K bytes
    - Viewed (0)
  8. pkg/apis/abac/register.go

    limitations under the License.
    */
    
    package abac
    
    import (
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apimachinery/pkg/runtime/serializer"
    )
    
    // GroupName is the API group for abac
    const GroupName = "abac.authorization.kubernetes.io"
    
    // SchemeGroupVersion is the API group version used to register abac internal
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 18 16:05:04 UTC 2018
    - 1.8K bytes
    - Viewed (0)
  9. pkg/apis/abac/v0/zz_generated.conversion.go

    	runtime "k8s.io/apimachinery/pkg/runtime"
    	abac "k8s.io/kubernetes/pkg/apis/abac"
    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 1.3K bytes
    - Viewed (0)
  10. pkg/apis/abac/v0/register.go

    	"k8s.io/kubernetes/pkg/apis/abac"
    )
    
    // GroupName is the group name use in this package
    const GroupName = "abac.authorization.kubernetes.io"
    
    // SchemeGroupVersion is the API group version used to register abac v0
    var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v0"}
    
    func init() {
    	// TODO: Delete this init function, abac should not have its own scheme.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 28 20:14:20 UTC 2019
    - 2.2K bytes
    - Viewed (0)
Back to top