- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,022 for authorizationv1 (0.59 sec)
-
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
*/ package rest import ( authorizationv1 "k8s.io/api/authorization/v1" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/registry/generic" "k8s.io/apiserver/pkg/registry/rest" genericapiserver "k8s.io/apiserver/pkg/server" serverstorage "k8s.io/apiserver/pkg/server/storage" "k8s.io/kubernetes/pkg/api/legacyscheme" "k8s.io/kubernetes/pkg/apis/authorization"
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
fuzz "github.com/google/gofuzz" authorizationv1 "k8s.io/api/authorization/v1" authorizationv1beta1 "k8s.io/api/authorization/v1beta1" ) func TestRoundTrip(t *testing.T) { f := fuzz.New() seed := time.Now().UnixNano() t.Logf("seed = %v", seed) f.RandSource(rand.New(rand.NewSource(seed))) for i := 0; i < 1000; i++ { original := &authorizationv1.SubjectAccessReview{} f.Fuzz(&original.Spec)
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
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
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" // SchemeGroupVersion is group version used to register these objects
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) -
staging/src/k8s.io/apiserver/pkg/authorization/cel/compile.go
"github.com/google/cel-go/common/types/ref" authorizationv1 "k8s.io/api/authorization/v1" "k8s.io/apimachinery/pkg/util/version" apiservercel "k8s.io/apiserver/pkg/cel" "k8s.io/apiserver/pkg/cel/environment" ) const ( subjectAccessReviewRequestVarName = "request" ) // CompilationResult represents a compiled authorization cel expression. type CompilationResult struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 02 20:56:52 UTC 2023 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/metrics_test.go
limitations under the License. */ package webhook import ( "context" "net/http" "testing" authorizationv1 "k8s.io/api/authorization/v1" "k8s.io/apiserver/pkg/apis/apiserver" "k8s.io/apiserver/pkg/authentication/user" "k8s.io/apiserver/pkg/authorization/authorizer" "k8s.io/apiserver/pkg/authorization/cel" ) func TestAuthorizerMetrics(t *testing.T) { scenarios := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 04 19:01:15 UTC 2024 - 6.6K 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)