Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 160 for authorizer (0.5 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/initializer/interfaces.go

    	SetExternalKubeInformerFactory(informers.SharedInformerFactory)
    	admission.InitializationValidator
    }
    
    // WantsAuthorizer defines a function which sets Authorizer for admission plugins that need it.
    type WantsAuthorizer interface {
    	SetAuthorizer(authorizer.Authorizer)
    	admission.InitializationValidator
    }
    
    // WantsQuotaConfiguration defines a function which sets quota configuration for admission plugins that need it.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 19:11:10 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/groupversion.go

    	EquivalentResourceRegistry runtime.EquivalentResourceRegistry
    
    	// Authorizer determines whether a user is allowed to make a certain request. The Handler does a preliminary
    	// authorization check using the request URI but it may be necessary to make additional checks, such as in
    	// the create-on-update case
    	Authorizer authorizer.Authorizer
    
    	Admit admission.Interface
    
    	MinRequestTimeout time.Duration
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. pkg/registry/admissionregistration/validatingadmissionpolicybinding/storage/storage_test.go

    		},
    	}
    }
    
    func newInsecureStorage(t *testing.T) (*REST, *etcd3testing.EtcdTestServer) {
    	return newStorage(t, nil, nil, nil)
    }
    
    func newStorage(t *testing.T, authorizer authorizer.Authorizer, policyGetter PolicyGetter, resourceResolver resolver.ResourceResolver) (*REST, *etcd3testing.EtcdTestServer) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/interface.go

    	Validate(ctx context.Context, matchedResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *corev1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) ValidateResult
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 17:47:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher.go

    	t := time.Now()
    	evalResults, _, err := m.filter.ForInput(ctx, versionedAttr, celplugin.CreateAdmissionRequest(versionedAttr.Attributes, metav1.GroupVersionResource(versionedAttr.GetResource()), metav1.GroupVersionKind(versionedAttr.VersionedKind)), celplugin.OptionalVariableBindings{
    		VersionedParams: versionedParams,
    		Authorizer:      authz,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1/generated.proto

    // +structType=atomic
    message Subject {
      // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
      // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
      optional string kind = 1;
    
      // APIGroup holds the API group of the referenced subject.
      // Defaults to "" for ServiceAccount subjects.
    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. common-protos/k8s.io/api/rbac/v1beta1/generated.proto

    // or a value for non-objects such as user and group names.
    message Subject {
      // Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
      // If the Authorizer does not recognized the kind value, the Authorizer should report an error.
      optional string kind = 1;
    
      // APIGroup holds the API group of the referenced subject.
      // Defaults to "" for ServiceAccount subjects.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/authorization/authorizerfactory/metrics.go

    	"context"
    	"sync"
    
    	celmetrics "k8s.io/apiserver/pkg/authorization/cel"
    	webhookmetrics "k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics"
    	compbasemetrics "k8s.io/component-base/metrics"
    	"k8s.io/component-base/metrics/legacyregistry"
    )
    
    var registerMetrics sync.Once
    
    // RegisterMetrics registers authorizer metrics.
    func RegisterMetrics() {
    	registerMetrics.Do(func() {
    		legacyregistry.MustRegister(requestTotal)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package webhook implements the authorizer.Authorizer interface using HTTP webhooks.
    package webhook
    
    import (
    	"math/rand"
    	"reflect"
    	"testing"
    	"time"
    
    	"github.com/google/go-cmp/cmp"
    	fuzz "github.com/google/gofuzz"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. pkg/kubelet/server/auth_test.go

    )
    
    type AuthzTestCase struct {
    	Method, Path string
    
    	ExpectedVerb, ExpectedSubresource string
    }
    
    func (a *AuthzTestCase) AssertAttributes(t *testing.T, attrs authorizer.Attributes) {
    	expectedAttributes := authorizer.AttributesRecord{
    		User:            AuthzTestUser(),
    		APIGroup:        "",
    		APIVersion:      "v1",
    		Verb:            a.ExpectedVerb,
    		Resource:        "nodes",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 18:09:38 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top