class Pyrite::Api::Authentication::V1::TokenReview
- Pyrite::Api::Authentication::V1::TokenReview
- Pyrite::Kubernetes::Object
- Pyrite::Kubernetes::Resource
- Pyrite::Kubernetes::Spec
- Reference
- Object
Overview
TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
Defined in:
versions/v1.14/api/authentication/v1/token_review.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
TokenReview attempts to authenticate a token to a known user.
-
.new(pull : JSON::PullParser)
TokenReview attempts to authenticate a token to a known user.
- .new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Authentication::V1::TokenReviewSpec, status : Api::Authentication::V1::TokenReviewStatus? = nil)
Instance Method Summary
- #spec : Api::Authentication::V1::TokenReviewSpec
- #spec=(spec : Api::Authentication::V1::TokenReviewSpec)
- #status : Api::Authentication::V1::TokenReviewStatus?
- #status=(status : Api::Authentication::V1::TokenReviewStatus?)
Instance methods inherited from class Pyrite::Kubernetes::Object
metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?
metadata,
metadata=(metadata : Apimachinery::Apis::Meta::V1::ObjectMeta?)
metadata=
Constructor methods inherited from class Pyrite::Kubernetes::Object
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Instance methods inherited from class Pyrite::Kubernetes::Resource
api_version : String
api_version,
kind : String
kind
Constructor methods inherited from class Pyrite::Kubernetes::Resource
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
def self.new(pull : JSON::PullParser)
#
TokenReview attempts to authenticate a token to a known user. Note: TokenReview requests may be cached by the webhook token authenticator plugin in the kube-apiserver.
def self.new(*, metadata : Apimachinery::Apis::Meta::V1::ObjectMeta? = nil, spec : Api::Authentication::V1::TokenReviewSpec, status : Api::Authentication::V1::TokenReviewStatus? = nil)
#