- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for authorization_v1 (0.47 sec)
-
api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json
} }, "description": "OK" }, "401": { "description": "Unauthorized" } }, "tags": [ "authorization_v1" ] } }, "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": { "parameters": [ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:26 UTC 2023 - 66.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go
version, authorizationv1.SchemeGroupVersion.Version, authorizationv1beta1.SchemeGroupVersion.Version, ) } } type subjectAccessReviewV1Client struct { client rest.Interface } func (t *subjectAccessReviewV1Client) Create(ctx context.Context, subjectAccessReview *authorizationv1.SubjectAccessReview, opts metav1.CreateOptions) (result *authorizationv1.SubjectAccessReview, statusCode int, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 18.4K bytes - Viewed (0) -
pkg/registry/authorization/rest/storage_authorization.go
// subjectaccessreviews if resource := "subjectaccessreviews"; apiResourceConfigSource.ResourceEnabled(authorizationv1.SchemeGroupVersion.WithResource(resource)) { storage[resource] = subjectaccessreview.NewREST(p.Authorizer) } // selfsubjectaccessreviews if resource := "selfsubjectaccessreviews"; apiResourceConfigSource.ResourceEnabled(authorizationv1.SchemeGroupVersion.WithResource(resource)) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 18:36:33 UTC 2022 - 3.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/round_trip_test.go
if in == nil { return nil } return &authorizationv1.NonResourceAttributes{ Path: in.Path, Verb: in.Verb, } } func v1beta1ExtraToV1Extra(in map[string]authorizationv1beta1.ExtraValue) map[string]authorizationv1.ExtraValue { if in == nil { return nil }
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/authorization/cel/matcher.go
See the License for the specific language governing permissions and limitations under the License. */ package cel import ( "context" "fmt" "time" celgo "github.com/google/cel-go/cel" authorizationv1 "k8s.io/api/authorization/v1" utilerrors "k8s.io/apimachinery/pkg/util/errors" ) type CELMatcher struct { CompilationResults []CompilationResult
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 22:41:27 UTC 2024 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook_v1_test.go
type recorderV1Service struct { last authorizationv1.SubjectAccessReview err error } func (rec *recorderV1Service) Review(r *authorizationv1.SubjectAccessReview) { rec.last = authorizationv1.SubjectAccessReview{} rec.last = *r r.Status.Allowed = true } func (rec *recorderV1Service) Last() (authorizationv1.SubjectAccessReview, error) { return rec.last, rec.err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 43.2K bytes - Viewed (0) -
pkg/apis/authorization/v1/register.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 v1 import ( authorizationv1 "k8s.io/api/authorization/v1" "k8s.io/apimachinery/pkg/runtime/schema" ) // GroupName is the group name use in this package const GroupName = "authorization.k8s.io"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 09 16:45:37 UTC 2019 - 1.7K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets.go
return cached } err := func() error { resp, err := s.sar.Create(context.Background(), &authorizationv1.SubjectAccessReview{ ObjectMeta: metav1.ObjectMeta{}, Spec: authorizationv1.SubjectAccessReviewSpec{ ResourceAttributes: &authorizationv1.ResourceAttributes{ Namespace: namespace, Verb: "list", Resource: "secrets", }, User: user, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 10K bytes - Viewed (0) -
pilot/pkg/credentials/kube/secrets_test.go
a := action.(k8stesting.CreateAction).GetObject().(*authorizationv1.SubjectAccessReview) if allowed.Contains(a.Spec.User) { return true, &authorizationv1.SubjectAccessReview{ Status: authorizationv1.SubjectAccessReviewStatus{ Allowed: true, }, }, nil } return true, &authorizationv1.SubjectAccessReview{ Status: authorizationv1.SubjectAccessReviewStatus{ Allowed: false,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 23 19:18:21 UTC 2024 - 18.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go
)) } func convertObjectToUnstructured(obj *authorizationv1.SubjectAccessReviewSpec) map[string]interface{} { // Construct version containing every SubjectAccessReview user and string attribute field, even omitempty ones, for evaluation by CEL extra := obj.Extra if extra == nil { extra = map[string]authorizationv1.ExtraValue{} } ret := map[string]interface{}{ "user": obj.User,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 02 20:56:52 UTC 2023 - 7.9K bytes - Viewed (0)