- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 160 for authorizer (0.17 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator.go
func (v *validator) Validate(ctx context.Context, matchedResource schema.GroupVersionResource, versionedAttr *admission.VersionedAttributes, versionedParams runtime.Object, namespace *corev1.Namespace, runtimeCELCostBudget int64, authz authorizer.Authorizer) ValidateResult { var f v1.FailurePolicyType if v.failPolicy == nil { f = v1.Fail } else { f = *v.failPolicy } if v.celMatcher != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 23:31:44 UTC 2024 - 9.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source_test.go
"k8s.io/apimachinery/pkg/types" "k8s.io/apiserver/pkg/admission/plugin/policy/generic" "k8s.io/apiserver/pkg/admission/plugin/policy/matching" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/client-go/tools/cache" ) func makeTestDispatcher(authorizer.Authorizer, *matching.Matcher) generic.Dispatcher[generic.PolicyHook[*FakePolicy, *FakeBinding, generic.Evaluator]] { return nil } func TestPolicySourceHasSyncedEmpty(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 6.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/metrics_test.go
# TYPE apiserver_authorization_match_condition_evaluation_errors_total counter apiserver_authorization_match_condition_evaluation_errors_total{name="wh1.example.com",type="Webhook"} 1 # HELP apiserver_authorization_match_condition_evaluation_seconds [ALPHA] Authorization match condition evaluation time in seconds, split by authorizer type and name.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 4K bytes - Viewed (0) -
pkg/kubeapiserver/options/authorization_test.go
"github.com/spf13/pflag" utilerrors "k8s.io/apimachinery/pkg/util/errors" "k8s.io/apimachinery/pkg/util/wait" "k8s.io/kubernetes/pkg/kubeapiserver/authorizer/modes" ) func TestAuthzValidate(t *testing.T) { examplePolicyFile := "../../auth/authorizer/abac/example_policy_file.jsonl" testCases := []struct { name string modes []string policyFile string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 06:28:47 UTC 2023 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 6.6K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/rbac/subject_locator_test.go
"testing" rbacv1 "k8s.io/api/rbac/v1" "k8s.io/apiserver/pkg/authentication/user" "k8s.io/apiserver/pkg/authorization/authorizer" rbacregistryvalidation "k8s.io/kubernetes/pkg/registry/rbac/validation" ) func TestSubjectLocator(t *testing.T) { type actionToSubjects struct { action authorizer.Attributes subjects []rbacv1.Subject } tests := []struct { name string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 22 12:17:05 UTC 2018 - 5.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/path/doc.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 path contains an authorizer that allows certain paths and path prefixes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 11 10:32:04 UTC 2018 - 720 bytes - Viewed (0) -
pkg/registry/rbac/rest/storage_rbac_test.go
limitations under the License. */ package rest import ( "testing" "k8s.io/client-go/kubernetes/fake" "k8s.io/kubernetes/plugin/pkg/auth/authorizer/rbac/bootstrappolicy" ) func BenchmarkEnsureRBACPolicy(b *testing.B) { for n := 0; n < b.N; n++ { var policy = &PolicyData{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 02 03:03:06 UTC 2021 - 1.4K bytes - Viewed (0) -
plugin/pkg/auth/authorizer/node/metrics.go
&metrics.HistogramOpts{ Subsystem: nodeAuthorizerSubsystem, Name: "graph_actions_duration_seconds", Help: "Histogram of duration of graph actions in node authorizer.", StabilityLevel: metrics.ALPHA, // Start with 0.1ms with the last bucket being [~200ms, Inf) Buckets: metrics.ExponentialBuckets(0.0001, 2, 12), }, []string{"operation"}, ) )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 10 07:40:46 UTC 2020 - 1.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/authorizer/rule.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 authorizer type ResourceRuleInfo interface { // GetVerbs returns a list of kubernetes resource API verbs. GetVerbs() []string // GetAPIGroups return the names of the APIGroup that contains the resources.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 01 11:09:43 UTC 2017 - 2.1K bytes - Viewed (0)