- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for TokenReviewStatus (0.27 sec)
-
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1beta1_test.go
} }() } } // recorderV1beta1Service records all token review requests, and responds with the // provided TokenReviewStatus. type recorderV1beta1Service struct { lastRequest authenticationv1beta1.TokenReview response authenticationv1beta1.TokenReviewStatus } func (rec *recorderV1beta1Service) Review(r *authenticationv1beta1.TokenReview) { rec.lastRequest = *r r.Status = rec.response }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 19.2K bytes - Viewed (0) -
pkg/apis/authentication/v1beta1/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddGeneratedConversionFunc((*v1beta1.TokenReviewStatus)(nil), (*authentication.TokenReviewStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1beta1_TokenReviewStatus_To_authentication_TokenReviewStatus(a.(*v1beta1.TokenReviewStatus), b.(*authentication.TokenReviewStatus), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 14K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/round_trip_test.go
if !reflect.DeepEqual(original, roundtripped) { t.Errorf("diff %s", cmp.Diff(original, roundtripped)) } } } func v1StatusToV1beta1Status(in authenticationv1.TokenReviewStatus) authenticationv1beta1.TokenReviewStatus { return authenticationv1beta1.TokenReviewStatus{ Authenticated: in.Authenticated, User: v1UserToV1beta1User(in.User), Audiences: in.Audiences, Error: in.Error, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 2.5K bytes - Viewed (0) -
pkg/apis/authentication/v1/zz_generated.conversion.go
}); err != nil { return err } if err := s.AddGeneratedConversionFunc((*v1.TokenReviewStatus)(nil), (*authentication.TokenReviewStatus)(nil), func(a, b interface{}, scope conversion.Scope) error { return Convert_v1_TokenReviewStatus_To_authentication_TokenReviewStatus(a.(*v1.TokenReviewStatus), b.(*authentication.TokenReviewStatus), scope) }); err != nil { return err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 12:50:40 UTC 2023 - 21.2K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/zz_generated.deepcopy.go
func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { *out = *in in.User.DeepCopyInto(&out.User) if in.Audiences != nil { in, out := &in.Audiences, &out.Audiences *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 23:42:33 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook_v1_test.go
} }() } } // recorderV1Service records all token review requests, and responds with the // provided TokenReviewStatus. type recorderV1Service struct { lastRequest authenticationv1.TokenReview response authenticationv1.TokenReviewStatus } func (rec *recorderV1Service) Review(r *authenticationv1.TokenReview) { rec.lastRequest = *r r.Status = rec.response }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 00:47:42 UTC 2022 - 19.1K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/types.go
// audience of the Kubernetes apiserver. // +optional // +listType=atomic Audiences []string `json:"audiences,omitempty" protobuf:"bytes,2,rep,name=audiences"` } // TokenReviewStatus is the result of the token authentication request. type TokenReviewStatus struct { // Authenticated indicates that the token was associated with a known user. // +optional
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:25 UTC 2023 - 6.1K bytes - Viewed (0) -
security/pkg/k8s/tokenreview/k8sauthn_test.go
tokenReview: authenticationv1.TokenReview{ Status: authenticationv1.TokenReviewStatus{ Error: "authentication error", }, }, expectedError: fmt.Errorf("the service account authentication returns an error: authentication error"), }, { name: "not authenticated", tokenReview: authenticationv1.TokenReview{ Status: authenticationv1.TokenReviewStatus{ Authenticated: false, }, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 13 17:12:41 UTC 2023 - 4K bytes - Viewed (0) -
pkg/apis/authentication/zz_generated.deepcopy.go
func (in *TokenReviewStatus) DeepCopyInto(out *TokenReviewStatus) { *out = *in in.User.DeepCopyInto(&out.User) if in.Audiences != nil { in, out := &in.Audiences, &out.Audiences *out = make([]string, len(*in)) copy(*out, *in) } return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenReviewStatus.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 14 16:00:26 UTC 2022 - 7.9K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1beta1/generated.pb.go
func (m *TokenReviewStatus) Reset() { *m = TokenReviewStatus{} } func (*TokenReviewStatus) ProtoMessage() {} func (*TokenReviewStatus) Descriptor() ([]byte, []int) { return fileDescriptor_fdc2de40fd7f3b21, []int{5} } func (m *TokenReviewStatus) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *TokenReviewStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 47.5K bytes - Viewed (0)