- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 559 for Authorize (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go
}, }, { name: "authorizer", policy: authorizerPolicy, schemaToReturn: &spec.Schema{ SchemaProps: spec.SchemaProps{ Type: []string{"object"}, Properties: map[string]spec.Schema{ "foo": *spec.StringProperty(), }, }, }, assertions: []assertionFunc{toBeEmpty}, }, { name: "authorizer invalid", policy: authorizerInvalidPolicy,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/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 - 3.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/plugin.go
NewValidatingAdmissionPolicyAccessor, NewValidatingAdmissionPolicyBindingAccessor, compilePolicy, f, dynamicClient, restMapper, ) }, func(a authorizer.Authorizer, m *matching.Matcher) generic.Dispatcher[PolicyHook] { return NewDispatcher(a, generic.NewPolicyMatcher(m)) }, ), } } // Validate makes an admission decision based on the request attributes.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 7.5K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1alpha1/types.go
// 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". // If the Authorizer does not recognized the kind value, the Authorizer should report an error. Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // APIVersion holds the API group and version of the referenced subject.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 22:49:19 UTC 2024 - 11.2K 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) -
pkg/kubelet/apis/config/types.go
// Authorization in the Kubelet. type KubeletWebhookAuthorization struct { // cacheAuthorizedTTL is the duration to cache 'authorized' responses from the webhook authorizer. CacheAuthorizedTTL metav1.Duration // cacheUnauthorizedTTL is the duration to cache 'unauthorized' responses from the webhook authorizer. CacheUnauthorizedTTL metav1.Duration } // KubeletAuthentication holds the Kubetlet Authentication setttings.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 21:10:42 UTC 2024 - 35.1K 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/api/rbac/v1/types.go
// +structType=atomic type Subject struct { // 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. Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // 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 May 23 17:42:49 UTC 2024 - 10.7K bytes - Viewed (0) -
staging/src/k8s.io/api/rbac/v1beta1/types.go
// 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". // If the Authorizer does not recognized the kind value, the Authorizer should report an error. Kind string `json:"kind" protobuf:"bytes,1,opt,name=kind"` // 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 22:49:19 UTC 2024 - 13.1K bytes - Viewed (0)