Documentation ¶
Overview ¶
nolint: lll
nolint: lll
nolint: lll
Index ¶
- type BoundObjectReference
- type BoundObjectReferenceArgs
- func (BoundObjectReferenceArgs) ElementType() reflect.Type
- func (i BoundObjectReferenceArgs) ToBoundObjectReferenceOutput() BoundObjectReferenceOutput
- func (i BoundObjectReferenceArgs) ToBoundObjectReferenceOutputWithContext(ctx context.Context) BoundObjectReferenceOutput
- func (i BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
- func (i BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
- type BoundObjectReferenceInput
- type BoundObjectReferenceOutput
- func (o BoundObjectReferenceOutput) ApiVersion() pulumi.StringPtrOutput
- func (BoundObjectReferenceOutput) ElementType() reflect.Type
- func (o BoundObjectReferenceOutput) Kind() pulumi.StringPtrOutput
- func (o BoundObjectReferenceOutput) Name() pulumi.StringPtrOutput
- func (o BoundObjectReferenceOutput) ToBoundObjectReferenceOutput() BoundObjectReferenceOutput
- func (o BoundObjectReferenceOutput) ToBoundObjectReferenceOutputWithContext(ctx context.Context) BoundObjectReferenceOutput
- func (o BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
- func (o BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
- func (o BoundObjectReferenceOutput) Uid() pulumi.StringPtrOutput
- type BoundObjectReferencePtrInput
- type BoundObjectReferencePtrOutput
- func (o BoundObjectReferencePtrOutput) ApiVersion() pulumi.StringPtrOutput
- func (o BoundObjectReferencePtrOutput) Elem() BoundObjectReferenceOutput
- func (BoundObjectReferencePtrOutput) ElementType() reflect.Type
- func (o BoundObjectReferencePtrOutput) Kind() pulumi.StringPtrOutput
- func (o BoundObjectReferencePtrOutput) Name() pulumi.StringPtrOutput
- func (o BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
- func (o BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
- func (o BoundObjectReferencePtrOutput) Uid() pulumi.StringPtrOutput
- type TokenRequest
- type TokenRequestArgs
- type TokenRequestSpec
- type TokenRequestSpecArgs
- func (TokenRequestSpecArgs) ElementType() reflect.Type
- func (i TokenRequestSpecArgs) ToTokenRequestSpecOutput() TokenRequestSpecOutput
- func (i TokenRequestSpecArgs) ToTokenRequestSpecOutputWithContext(ctx context.Context) TokenRequestSpecOutput
- func (i TokenRequestSpecArgs) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
- func (i TokenRequestSpecArgs) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
- type TokenRequestSpecInput
- type TokenRequestSpecOutput
- func (o TokenRequestSpecOutput) Audiences() pulumi.StringArrayOutput
- func (o TokenRequestSpecOutput) BoundObjectRef() BoundObjectReferencePtrOutput
- func (TokenRequestSpecOutput) ElementType() reflect.Type
- func (o TokenRequestSpecOutput) ExpirationSeconds() pulumi.IntPtrOutput
- func (o TokenRequestSpecOutput) ToTokenRequestSpecOutput() TokenRequestSpecOutput
- func (o TokenRequestSpecOutput) ToTokenRequestSpecOutputWithContext(ctx context.Context) TokenRequestSpecOutput
- func (o TokenRequestSpecOutput) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
- func (o TokenRequestSpecOutput) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
- type TokenRequestSpecPtrInput
- type TokenRequestSpecPtrOutput
- func (o TokenRequestSpecPtrOutput) Audiences() pulumi.StringArrayOutput
- func (o TokenRequestSpecPtrOutput) BoundObjectRef() BoundObjectReferencePtrOutput
- func (o TokenRequestSpecPtrOutput) Elem() TokenRequestSpecOutput
- func (TokenRequestSpecPtrOutput) ElementType() reflect.Type
- func (o TokenRequestSpecPtrOutput) ExpirationSeconds() pulumi.IntPtrOutput
- func (o TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
- func (o TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
- type TokenRequestState
- type TokenRequestStatus
- type TokenRequestStatusArgs
- func (TokenRequestStatusArgs) ElementType() reflect.Type
- func (i TokenRequestStatusArgs) ToTokenRequestStatusOutput() TokenRequestStatusOutput
- func (i TokenRequestStatusArgs) ToTokenRequestStatusOutputWithContext(ctx context.Context) TokenRequestStatusOutput
- func (i TokenRequestStatusArgs) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
- func (i TokenRequestStatusArgs) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
- type TokenRequestStatusInput
- type TokenRequestStatusOutput
- func (TokenRequestStatusOutput) ElementType() reflect.Type
- func (o TokenRequestStatusOutput) ExpirationTimestamp() pulumi.StringPtrOutput
- func (o TokenRequestStatusOutput) ToTokenRequestStatusOutput() TokenRequestStatusOutput
- func (o TokenRequestStatusOutput) ToTokenRequestStatusOutputWithContext(ctx context.Context) TokenRequestStatusOutput
- func (o TokenRequestStatusOutput) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
- func (o TokenRequestStatusOutput) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
- func (o TokenRequestStatusOutput) Token() pulumi.StringPtrOutput
- type TokenRequestStatusPtrInput
- type TokenRequestStatusPtrOutput
- func (o TokenRequestStatusPtrOutput) Elem() TokenRequestStatusOutput
- func (TokenRequestStatusPtrOutput) ElementType() reflect.Type
- func (o TokenRequestStatusPtrOutput) ExpirationTimestamp() pulumi.StringPtrOutput
- func (o TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
- func (o TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
- func (o TokenRequestStatusPtrOutput) Token() pulumi.StringPtrOutput
- type TokenRequestType
- type TokenRequestTypeArgs
- type TokenRequestTypeInput
- type TokenRequestTypeOutput
- func (o TokenRequestTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (TokenRequestTypeOutput) ElementType() reflect.Type
- func (o TokenRequestTypeOutput) Kind() pulumi.StringPtrOutput
- func (o TokenRequestTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o TokenRequestTypeOutput) Spec() TokenRequestSpecPtrOutput
- func (o TokenRequestTypeOutput) Status() TokenRequestStatusPtrOutput
- func (o TokenRequestTypeOutput) ToTokenRequestTypeOutput() TokenRequestTypeOutput
- func (o TokenRequestTypeOutput) ToTokenRequestTypeOutputWithContext(ctx context.Context) TokenRequestTypeOutput
- type TokenReview
- type TokenReviewArgs
- type TokenReviewSpec
- type TokenReviewSpecArgs
- func (TokenReviewSpecArgs) ElementType() reflect.Type
- func (i TokenReviewSpecArgs) ToTokenReviewSpecOutput() TokenReviewSpecOutput
- func (i TokenReviewSpecArgs) ToTokenReviewSpecOutputWithContext(ctx context.Context) TokenReviewSpecOutput
- func (i TokenReviewSpecArgs) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
- func (i TokenReviewSpecArgs) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
- type TokenReviewSpecInput
- type TokenReviewSpecOutput
- func (o TokenReviewSpecOutput) Audiences() pulumi.StringArrayOutput
- func (TokenReviewSpecOutput) ElementType() reflect.Type
- func (o TokenReviewSpecOutput) ToTokenReviewSpecOutput() TokenReviewSpecOutput
- func (o TokenReviewSpecOutput) ToTokenReviewSpecOutputWithContext(ctx context.Context) TokenReviewSpecOutput
- func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
- func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
- func (o TokenReviewSpecOutput) Token() pulumi.StringPtrOutput
- type TokenReviewSpecPtrInput
- type TokenReviewSpecPtrOutput
- func (o TokenReviewSpecPtrOutput) Audiences() pulumi.StringArrayOutput
- func (o TokenReviewSpecPtrOutput) Elem() TokenReviewSpecOutput
- func (TokenReviewSpecPtrOutput) ElementType() reflect.Type
- func (o TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
- func (o TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
- func (o TokenReviewSpecPtrOutput) Token() pulumi.StringPtrOutput
- type TokenReviewState
- type TokenReviewStatus
- type TokenReviewStatusArgs
- func (TokenReviewStatusArgs) ElementType() reflect.Type
- func (i TokenReviewStatusArgs) ToTokenReviewStatusOutput() TokenReviewStatusOutput
- func (i TokenReviewStatusArgs) ToTokenReviewStatusOutputWithContext(ctx context.Context) TokenReviewStatusOutput
- func (i TokenReviewStatusArgs) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
- func (i TokenReviewStatusArgs) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
- type TokenReviewStatusInput
- type TokenReviewStatusOutput
- func (o TokenReviewStatusOutput) Audiences() pulumi.StringArrayOutput
- func (o TokenReviewStatusOutput) Authenticated() pulumi.BoolPtrOutput
- func (TokenReviewStatusOutput) ElementType() reflect.Type
- func (o TokenReviewStatusOutput) Error() pulumi.StringPtrOutput
- func (o TokenReviewStatusOutput) ToTokenReviewStatusOutput() TokenReviewStatusOutput
- func (o TokenReviewStatusOutput) ToTokenReviewStatusOutputWithContext(ctx context.Context) TokenReviewStatusOutput
- func (o TokenReviewStatusOutput) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
- func (o TokenReviewStatusOutput) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
- func (o TokenReviewStatusOutput) User() UserInfoPtrOutput
- type TokenReviewStatusPtrInput
- type TokenReviewStatusPtrOutput
- func (o TokenReviewStatusPtrOutput) Audiences() pulumi.StringArrayOutput
- func (o TokenReviewStatusPtrOutput) Authenticated() pulumi.BoolPtrOutput
- func (o TokenReviewStatusPtrOutput) Elem() TokenReviewStatusOutput
- func (TokenReviewStatusPtrOutput) ElementType() reflect.Type
- func (o TokenReviewStatusPtrOutput) Error() pulumi.StringPtrOutput
- func (o TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
- func (o TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
- func (o TokenReviewStatusPtrOutput) User() UserInfoPtrOutput
- type TokenReviewType
- type TokenReviewTypeArgs
- type TokenReviewTypeInput
- type TokenReviewTypeOutput
- func (o TokenReviewTypeOutput) ApiVersion() pulumi.StringPtrOutput
- func (TokenReviewTypeOutput) ElementType() reflect.Type
- func (o TokenReviewTypeOutput) Kind() pulumi.StringPtrOutput
- func (o TokenReviewTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
- func (o TokenReviewTypeOutput) Spec() TokenReviewSpecPtrOutput
- func (o TokenReviewTypeOutput) Status() TokenReviewStatusPtrOutput
- func (o TokenReviewTypeOutput) ToTokenReviewTypeOutput() TokenReviewTypeOutput
- func (o TokenReviewTypeOutput) ToTokenReviewTypeOutputWithContext(ctx context.Context) TokenReviewTypeOutput
- type UserInfo
- type UserInfoArgs
- func (UserInfoArgs) ElementType() reflect.Type
- func (i UserInfoArgs) ToUserInfoOutput() UserInfoOutput
- func (i UserInfoArgs) ToUserInfoOutputWithContext(ctx context.Context) UserInfoOutput
- func (i UserInfoArgs) ToUserInfoPtrOutput() UserInfoPtrOutput
- func (i UserInfoArgs) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
- type UserInfoInput
- type UserInfoOutput
- func (UserInfoOutput) ElementType() reflect.Type
- func (o UserInfoOutput) Extra() pulumi.StringArrayMapOutput
- func (o UserInfoOutput) Groups() pulumi.StringArrayOutput
- func (o UserInfoOutput) ToUserInfoOutput() UserInfoOutput
- func (o UserInfoOutput) ToUserInfoOutputWithContext(ctx context.Context) UserInfoOutput
- func (o UserInfoOutput) ToUserInfoPtrOutput() UserInfoPtrOutput
- func (o UserInfoOutput) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
- func (o UserInfoOutput) Uid() pulumi.StringPtrOutput
- func (o UserInfoOutput) Username() pulumi.StringPtrOutput
- type UserInfoPtrInput
- type UserInfoPtrOutput
- func (o UserInfoPtrOutput) Elem() UserInfoOutput
- func (UserInfoPtrOutput) ElementType() reflect.Type
- func (o UserInfoPtrOutput) Extra() pulumi.StringArrayMapOutput
- func (o UserInfoPtrOutput) Groups() pulumi.StringArrayOutput
- func (o UserInfoPtrOutput) ToUserInfoPtrOutput() UserInfoPtrOutput
- func (o UserInfoPtrOutput) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
- func (o UserInfoPtrOutput) Uid() pulumi.StringPtrOutput
- func (o UserInfoPtrOutput) Username() pulumi.StringPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoundObjectReference ¶
type BoundObjectReference struct { // API version of the referent. ApiVersion *string `pulumi:"apiVersion"` // Kind of the referent. Valid kinds are 'Pod' and 'Secret'. Kind *string `pulumi:"kind"` // Name of the referent. Name *string `pulumi:"name"` // UID of the referent. Uid *string `pulumi:"uid"` }
BoundObjectReference is a reference to an object that a token is bound to.
type BoundObjectReferenceArgs ¶
type BoundObjectReferenceArgs struct { // API version of the referent. ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind of the referent. Valid kinds are 'Pod' and 'Secret'. Kind pulumi.StringPtrInput `pulumi:"kind"` // Name of the referent. Name pulumi.StringPtrInput `pulumi:"name"` // UID of the referent. Uid pulumi.StringPtrInput `pulumi:"uid"` }
BoundObjectReference is a reference to an object that a token is bound to.
func (BoundObjectReferenceArgs) ElementType ¶
func (BoundObjectReferenceArgs) ElementType() reflect.Type
func (BoundObjectReferenceArgs) ToBoundObjectReferenceOutput ¶
func (i BoundObjectReferenceArgs) ToBoundObjectReferenceOutput() BoundObjectReferenceOutput
func (BoundObjectReferenceArgs) ToBoundObjectReferenceOutputWithContext ¶
func (i BoundObjectReferenceArgs) ToBoundObjectReferenceOutputWithContext(ctx context.Context) BoundObjectReferenceOutput
func (BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutput ¶
func (i BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
func (BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutputWithContext ¶
func (i BoundObjectReferenceArgs) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
type BoundObjectReferenceInput ¶
type BoundObjectReferenceInput interface { pulumi.Input ToBoundObjectReferenceOutput() BoundObjectReferenceOutput ToBoundObjectReferenceOutputWithContext(context.Context) BoundObjectReferenceOutput }
type BoundObjectReferenceOutput ¶
type BoundObjectReferenceOutput struct{ *pulumi.OutputState }
BoundObjectReference is a reference to an object that a token is bound to.
func (BoundObjectReferenceOutput) ApiVersion ¶
func (o BoundObjectReferenceOutput) ApiVersion() pulumi.StringPtrOutput
API version of the referent.
func (BoundObjectReferenceOutput) ElementType ¶
func (BoundObjectReferenceOutput) ElementType() reflect.Type
func (BoundObjectReferenceOutput) Kind ¶
func (o BoundObjectReferenceOutput) Kind() pulumi.StringPtrOutput
Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
func (BoundObjectReferenceOutput) Name ¶
func (o BoundObjectReferenceOutput) Name() pulumi.StringPtrOutput
Name of the referent.
func (BoundObjectReferenceOutput) ToBoundObjectReferenceOutput ¶
func (o BoundObjectReferenceOutput) ToBoundObjectReferenceOutput() BoundObjectReferenceOutput
func (BoundObjectReferenceOutput) ToBoundObjectReferenceOutputWithContext ¶
func (o BoundObjectReferenceOutput) ToBoundObjectReferenceOutputWithContext(ctx context.Context) BoundObjectReferenceOutput
func (BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutput ¶
func (o BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
func (BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutputWithContext ¶
func (o BoundObjectReferenceOutput) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
func (BoundObjectReferenceOutput) Uid ¶
func (o BoundObjectReferenceOutput) Uid() pulumi.StringPtrOutput
UID of the referent.
type BoundObjectReferencePtrInput ¶
type BoundObjectReferencePtrInput interface { pulumi.Input ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput ToBoundObjectReferencePtrOutputWithContext(context.Context) BoundObjectReferencePtrOutput }
func BoundObjectReferencePtr ¶
func BoundObjectReferencePtr(v *BoundObjectReferenceArgs) BoundObjectReferencePtrInput
type BoundObjectReferencePtrOutput ¶
type BoundObjectReferencePtrOutput struct{ *pulumi.OutputState }
func (BoundObjectReferencePtrOutput) ApiVersion ¶
func (o BoundObjectReferencePtrOutput) ApiVersion() pulumi.StringPtrOutput
API version of the referent.
func (BoundObjectReferencePtrOutput) Elem ¶
func (o BoundObjectReferencePtrOutput) Elem() BoundObjectReferenceOutput
func (BoundObjectReferencePtrOutput) ElementType ¶
func (BoundObjectReferencePtrOutput) ElementType() reflect.Type
func (BoundObjectReferencePtrOutput) Kind ¶
func (o BoundObjectReferencePtrOutput) Kind() pulumi.StringPtrOutput
Kind of the referent. Valid kinds are 'Pod' and 'Secret'.
func (BoundObjectReferencePtrOutput) Name ¶
func (o BoundObjectReferencePtrOutput) Name() pulumi.StringPtrOutput
Name of the referent.
func (BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutput ¶
func (o BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
func (BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutputWithContext ¶
func (o BoundObjectReferencePtrOutput) ToBoundObjectReferencePtrOutputWithContext(ctx context.Context) BoundObjectReferencePtrOutput
func (BoundObjectReferencePtrOutput) Uid ¶
func (o BoundObjectReferencePtrOutput) Uid() pulumi.StringPtrOutput
UID of the referent.
type TokenRequest ¶
type TokenRequest struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` Spec TokenRequestSpecPtrOutput `pulumi:"spec"` Status TokenRequestStatusPtrOutput `pulumi:"status"` }
TokenRequest requests a token for a given service account.
func GetTokenRequest ¶
func GetTokenRequest(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TokenRequestState, opts ...pulumi.ResourceOption) (*TokenRequest, error)
GetTokenRequest gets an existing TokenRequest resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTokenRequest ¶
func NewTokenRequest(ctx *pulumi.Context, name string, args *TokenRequestArgs, opts ...pulumi.ResourceOption) (*TokenRequest, error)
NewTokenRequest registers a new resource with the given unique name, arguments, and options.
type TokenRequestArgs ¶
type TokenRequestArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput Metadata metav1.ObjectMetaPtrInput Spec TokenRequestSpecInput }
The set of arguments for constructing a TokenRequest resource.
func (TokenRequestArgs) ElementType ¶
func (TokenRequestArgs) ElementType() reflect.Type
type TokenRequestSpec ¶
type TokenRequestSpec struct { // Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences. Audiences []string `pulumi:"audiences"` // BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation. BoundObjectRef *BoundObjectReference `pulumi:"boundObjectRef"` // ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. ExpirationSeconds *int `pulumi:"expirationSeconds"` }
TokenRequestSpec contains client provided parameters of a token request.
type TokenRequestSpecArgs ¶
type TokenRequestSpecArgs struct { // Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences. Audiences pulumi.StringArrayInput `pulumi:"audiences"` // BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation. BoundObjectRef BoundObjectReferencePtrInput `pulumi:"boundObjectRef"` // ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response. ExpirationSeconds pulumi.IntPtrInput `pulumi:"expirationSeconds"` }
TokenRequestSpec contains client provided parameters of a token request.
func (TokenRequestSpecArgs) ElementType ¶
func (TokenRequestSpecArgs) ElementType() reflect.Type
func (TokenRequestSpecArgs) ToTokenRequestSpecOutput ¶
func (i TokenRequestSpecArgs) ToTokenRequestSpecOutput() TokenRequestSpecOutput
func (TokenRequestSpecArgs) ToTokenRequestSpecOutputWithContext ¶
func (i TokenRequestSpecArgs) ToTokenRequestSpecOutputWithContext(ctx context.Context) TokenRequestSpecOutput
func (TokenRequestSpecArgs) ToTokenRequestSpecPtrOutput ¶
func (i TokenRequestSpecArgs) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
func (TokenRequestSpecArgs) ToTokenRequestSpecPtrOutputWithContext ¶
func (i TokenRequestSpecArgs) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
type TokenRequestSpecInput ¶
type TokenRequestSpecInput interface { pulumi.Input ToTokenRequestSpecOutput() TokenRequestSpecOutput ToTokenRequestSpecOutputWithContext(context.Context) TokenRequestSpecOutput }
type TokenRequestSpecOutput ¶
type TokenRequestSpecOutput struct{ *pulumi.OutputState }
TokenRequestSpec contains client provided parameters of a token request.
func (TokenRequestSpecOutput) Audiences ¶
func (o TokenRequestSpecOutput) Audiences() pulumi.StringArrayOutput
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
func (TokenRequestSpecOutput) BoundObjectRef ¶
func (o TokenRequestSpecOutput) BoundObjectRef() BoundObjectReferencePtrOutput
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
func (TokenRequestSpecOutput) ElementType ¶
func (TokenRequestSpecOutput) ElementType() reflect.Type
func (TokenRequestSpecOutput) ExpirationSeconds ¶
func (o TokenRequestSpecOutput) ExpirationSeconds() pulumi.IntPtrOutput
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
func (TokenRequestSpecOutput) ToTokenRequestSpecOutput ¶
func (o TokenRequestSpecOutput) ToTokenRequestSpecOutput() TokenRequestSpecOutput
func (TokenRequestSpecOutput) ToTokenRequestSpecOutputWithContext ¶
func (o TokenRequestSpecOutput) ToTokenRequestSpecOutputWithContext(ctx context.Context) TokenRequestSpecOutput
func (TokenRequestSpecOutput) ToTokenRequestSpecPtrOutput ¶
func (o TokenRequestSpecOutput) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
func (TokenRequestSpecOutput) ToTokenRequestSpecPtrOutputWithContext ¶
func (o TokenRequestSpecOutput) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
type TokenRequestSpecPtrInput ¶
type TokenRequestSpecPtrInput interface { pulumi.Input ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput ToTokenRequestSpecPtrOutputWithContext(context.Context) TokenRequestSpecPtrOutput }
func TokenRequestSpecPtr ¶
func TokenRequestSpecPtr(v *TokenRequestSpecArgs) TokenRequestSpecPtrInput
type TokenRequestSpecPtrOutput ¶
type TokenRequestSpecPtrOutput struct{ *pulumi.OutputState }
func (TokenRequestSpecPtrOutput) Audiences ¶
func (o TokenRequestSpecPtrOutput) Audiences() pulumi.StringArrayOutput
Audiences are the intendend audiences of the token. A recipient of a token must identitfy themself with an identifier in the list of audiences of the token, and otherwise should reject the token. A token issued for multiple audiences may be used to authenticate against any of the audiences listed but implies a high degree of trust between the target audiences.
func (TokenRequestSpecPtrOutput) BoundObjectRef ¶
func (o TokenRequestSpecPtrOutput) BoundObjectRef() BoundObjectReferencePtrOutput
BoundObjectRef is a reference to an object that the token will be bound to. The token will only be valid for as long as the bound object exists. NOTE: The API server's TokenReview endpoint will validate the BoundObjectRef, but other audiences may not. Keep ExpirationSeconds small if you want prompt revocation.
func (TokenRequestSpecPtrOutput) Elem ¶
func (o TokenRequestSpecPtrOutput) Elem() TokenRequestSpecOutput
func (TokenRequestSpecPtrOutput) ElementType ¶
func (TokenRequestSpecPtrOutput) ElementType() reflect.Type
func (TokenRequestSpecPtrOutput) ExpirationSeconds ¶
func (o TokenRequestSpecPtrOutput) ExpirationSeconds() pulumi.IntPtrOutput
ExpirationSeconds is the requested duration of validity of the request. The token issuer may return a token with a different validity duration so a client needs to check the 'expiration' field in a response.
func (TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutput ¶
func (o TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutput() TokenRequestSpecPtrOutput
func (TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutputWithContext ¶
func (o TokenRequestSpecPtrOutput) ToTokenRequestSpecPtrOutputWithContext(ctx context.Context) TokenRequestSpecPtrOutput
type TokenRequestState ¶
type TokenRequestState struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput Metadata metav1.ObjectMetaPtrInput Spec TokenRequestSpecPtrInput Status TokenRequestStatusPtrInput }
func (TokenRequestState) ElementType ¶
func (TokenRequestState) ElementType() reflect.Type
type TokenRequestStatus ¶
type TokenRequestStatus struct { // ExpirationTimestamp is the time of expiration of the returned token. ExpirationTimestamp *string `pulumi:"expirationTimestamp"` // Token is the opaque bearer token. Token *string `pulumi:"token"` }
TokenRequestStatus is the result of a token request.
type TokenRequestStatusArgs ¶
type TokenRequestStatusArgs struct { // ExpirationTimestamp is the time of expiration of the returned token. ExpirationTimestamp pulumi.StringPtrInput `pulumi:"expirationTimestamp"` // Token is the opaque bearer token. Token pulumi.StringPtrInput `pulumi:"token"` }
TokenRequestStatus is the result of a token request.
func (TokenRequestStatusArgs) ElementType ¶
func (TokenRequestStatusArgs) ElementType() reflect.Type
func (TokenRequestStatusArgs) ToTokenRequestStatusOutput ¶
func (i TokenRequestStatusArgs) ToTokenRequestStatusOutput() TokenRequestStatusOutput
func (TokenRequestStatusArgs) ToTokenRequestStatusOutputWithContext ¶
func (i TokenRequestStatusArgs) ToTokenRequestStatusOutputWithContext(ctx context.Context) TokenRequestStatusOutput
func (TokenRequestStatusArgs) ToTokenRequestStatusPtrOutput ¶
func (i TokenRequestStatusArgs) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
func (TokenRequestStatusArgs) ToTokenRequestStatusPtrOutputWithContext ¶
func (i TokenRequestStatusArgs) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
type TokenRequestStatusInput ¶
type TokenRequestStatusInput interface { pulumi.Input ToTokenRequestStatusOutput() TokenRequestStatusOutput ToTokenRequestStatusOutputWithContext(context.Context) TokenRequestStatusOutput }
type TokenRequestStatusOutput ¶
type TokenRequestStatusOutput struct{ *pulumi.OutputState }
TokenRequestStatus is the result of a token request.
func (TokenRequestStatusOutput) ElementType ¶
func (TokenRequestStatusOutput) ElementType() reflect.Type
func (TokenRequestStatusOutput) ExpirationTimestamp ¶
func (o TokenRequestStatusOutput) ExpirationTimestamp() pulumi.StringPtrOutput
ExpirationTimestamp is the time of expiration of the returned token.
func (TokenRequestStatusOutput) ToTokenRequestStatusOutput ¶
func (o TokenRequestStatusOutput) ToTokenRequestStatusOutput() TokenRequestStatusOutput
func (TokenRequestStatusOutput) ToTokenRequestStatusOutputWithContext ¶
func (o TokenRequestStatusOutput) ToTokenRequestStatusOutputWithContext(ctx context.Context) TokenRequestStatusOutput
func (TokenRequestStatusOutput) ToTokenRequestStatusPtrOutput ¶
func (o TokenRequestStatusOutput) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
func (TokenRequestStatusOutput) ToTokenRequestStatusPtrOutputWithContext ¶
func (o TokenRequestStatusOutput) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
func (TokenRequestStatusOutput) Token ¶
func (o TokenRequestStatusOutput) Token() pulumi.StringPtrOutput
Token is the opaque bearer token.
type TokenRequestStatusPtrInput ¶
type TokenRequestStatusPtrInput interface { pulumi.Input ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput ToTokenRequestStatusPtrOutputWithContext(context.Context) TokenRequestStatusPtrOutput }
func TokenRequestStatusPtr ¶
func TokenRequestStatusPtr(v *TokenRequestStatusArgs) TokenRequestStatusPtrInput
type TokenRequestStatusPtrOutput ¶
type TokenRequestStatusPtrOutput struct{ *pulumi.OutputState }
func (TokenRequestStatusPtrOutput) Elem ¶
func (o TokenRequestStatusPtrOutput) Elem() TokenRequestStatusOutput
func (TokenRequestStatusPtrOutput) ElementType ¶
func (TokenRequestStatusPtrOutput) ElementType() reflect.Type
func (TokenRequestStatusPtrOutput) ExpirationTimestamp ¶
func (o TokenRequestStatusPtrOutput) ExpirationTimestamp() pulumi.StringPtrOutput
ExpirationTimestamp is the time of expiration of the returned token.
func (TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutput ¶
func (o TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
func (TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutputWithContext ¶
func (o TokenRequestStatusPtrOutput) ToTokenRequestStatusPtrOutputWithContext(ctx context.Context) TokenRequestStatusPtrOutput
func (TokenRequestStatusPtrOutput) Token ¶
func (o TokenRequestStatusPtrOutput) Token() pulumi.StringPtrOutput
Token is the opaque bearer token.
type TokenRequestType ¶
type TokenRequestType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` Metadata *metav1.ObjectMeta `pulumi:"metadata"` Spec *TokenRequestSpec `pulumi:"spec"` Status *TokenRequestStatus `pulumi:"status"` }
TokenRequest requests a token for a given service account.
type TokenRequestTypeArgs ¶
type TokenRequestTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` Spec TokenRequestSpecPtrInput `pulumi:"spec"` Status TokenRequestStatusPtrInput `pulumi:"status"` }
TokenRequest requests a token for a given service account.
func (TokenRequestTypeArgs) ElementType ¶
func (TokenRequestTypeArgs) ElementType() reflect.Type
func (TokenRequestTypeArgs) ToTokenRequestTypeOutput ¶
func (i TokenRequestTypeArgs) ToTokenRequestTypeOutput() TokenRequestTypeOutput
func (TokenRequestTypeArgs) ToTokenRequestTypeOutputWithContext ¶
func (i TokenRequestTypeArgs) ToTokenRequestTypeOutputWithContext(ctx context.Context) TokenRequestTypeOutput
type TokenRequestTypeInput ¶
type TokenRequestTypeInput interface { pulumi.Input ToTokenRequestTypeOutput() TokenRequestTypeOutput ToTokenRequestTypeOutputWithContext(context.Context) TokenRequestTypeOutput }
type TokenRequestTypeOutput ¶
type TokenRequestTypeOutput struct{ *pulumi.OutputState }
TokenRequest requests a token for a given service account.
func (TokenRequestTypeOutput) ApiVersion ¶
func (o TokenRequestTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (TokenRequestTypeOutput) ElementType ¶
func (TokenRequestTypeOutput) ElementType() reflect.Type
func (TokenRequestTypeOutput) Kind ¶
func (o TokenRequestTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (TokenRequestTypeOutput) Metadata ¶
func (o TokenRequestTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
func (TokenRequestTypeOutput) Spec ¶
func (o TokenRequestTypeOutput) Spec() TokenRequestSpecPtrOutput
func (TokenRequestTypeOutput) Status ¶
func (o TokenRequestTypeOutput) Status() TokenRequestStatusPtrOutput
func (TokenRequestTypeOutput) ToTokenRequestTypeOutput ¶
func (o TokenRequestTypeOutput) ToTokenRequestTypeOutput() TokenRequestTypeOutput
func (TokenRequestTypeOutput) ToTokenRequestTypeOutputWithContext ¶
func (o TokenRequestTypeOutput) ToTokenRequestTypeOutputWithContext(ctx context.Context) TokenRequestTypeOutput
type TokenReview ¶
type TokenReview struct { pulumi.CustomResourceState // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrOutput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrOutput `pulumi:"kind"` Metadata metav1.ObjectMetaPtrOutput `pulumi:"metadata"` // Spec holds information about the request being evaluated Spec TokenReviewSpecPtrOutput `pulumi:"spec"` // Status is filled in by the server and indicates whether the request can be authenticated. Status TokenReviewStatusPtrOutput `pulumi:"status"` }
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.
func GetTokenReview ¶
func GetTokenReview(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TokenReviewState, opts ...pulumi.ResourceOption) (*TokenReview, error)
GetTokenReview gets an existing TokenReview resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewTokenReview ¶
func NewTokenReview(ctx *pulumi.Context, name string, args *TokenReviewArgs, opts ...pulumi.ResourceOption) (*TokenReview, error)
NewTokenReview registers a new resource with the given unique name, arguments, and options.
type TokenReviewArgs ¶
type TokenReviewArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput Metadata metav1.ObjectMetaPtrInput // Spec holds information about the request being evaluated Spec TokenReviewSpecInput }
The set of arguments for constructing a TokenReview resource.
func (TokenReviewArgs) ElementType ¶
func (TokenReviewArgs) ElementType() reflect.Type
type TokenReviewSpec ¶
type TokenReviewSpec struct { // Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. Audiences []string `pulumi:"audiences"` // Token is the opaque bearer token. Token *string `pulumi:"token"` }
TokenReviewSpec is a description of the token authentication request.
type TokenReviewSpecArgs ¶
type TokenReviewSpecArgs struct { // Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver. Audiences pulumi.StringArrayInput `pulumi:"audiences"` // Token is the opaque bearer token. Token pulumi.StringPtrInput `pulumi:"token"` }
TokenReviewSpec is a description of the token authentication request.
func (TokenReviewSpecArgs) ElementType ¶
func (TokenReviewSpecArgs) ElementType() reflect.Type
func (TokenReviewSpecArgs) ToTokenReviewSpecOutput ¶
func (i TokenReviewSpecArgs) ToTokenReviewSpecOutput() TokenReviewSpecOutput
func (TokenReviewSpecArgs) ToTokenReviewSpecOutputWithContext ¶
func (i TokenReviewSpecArgs) ToTokenReviewSpecOutputWithContext(ctx context.Context) TokenReviewSpecOutput
func (TokenReviewSpecArgs) ToTokenReviewSpecPtrOutput ¶
func (i TokenReviewSpecArgs) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
func (TokenReviewSpecArgs) ToTokenReviewSpecPtrOutputWithContext ¶
func (i TokenReviewSpecArgs) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
type TokenReviewSpecInput ¶
type TokenReviewSpecInput interface { pulumi.Input ToTokenReviewSpecOutput() TokenReviewSpecOutput ToTokenReviewSpecOutputWithContext(context.Context) TokenReviewSpecOutput }
type TokenReviewSpecOutput ¶
type TokenReviewSpecOutput struct{ *pulumi.OutputState }
TokenReviewSpec is a description of the token authentication request.
func (TokenReviewSpecOutput) Audiences ¶
func (o TokenReviewSpecOutput) Audiences() pulumi.StringArrayOutput
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
func (TokenReviewSpecOutput) ElementType ¶
func (TokenReviewSpecOutput) ElementType() reflect.Type
func (TokenReviewSpecOutput) ToTokenReviewSpecOutput ¶
func (o TokenReviewSpecOutput) ToTokenReviewSpecOutput() TokenReviewSpecOutput
func (TokenReviewSpecOutput) ToTokenReviewSpecOutputWithContext ¶
func (o TokenReviewSpecOutput) ToTokenReviewSpecOutputWithContext(ctx context.Context) TokenReviewSpecOutput
func (TokenReviewSpecOutput) ToTokenReviewSpecPtrOutput ¶
func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
func (TokenReviewSpecOutput) ToTokenReviewSpecPtrOutputWithContext ¶
func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
func (TokenReviewSpecOutput) Token ¶
func (o TokenReviewSpecOutput) Token() pulumi.StringPtrOutput
Token is the opaque bearer token.
type TokenReviewSpecPtrInput ¶
type TokenReviewSpecPtrInput interface { pulumi.Input ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput ToTokenReviewSpecPtrOutputWithContext(context.Context) TokenReviewSpecPtrOutput }
func TokenReviewSpecPtr ¶
func TokenReviewSpecPtr(v *TokenReviewSpecArgs) TokenReviewSpecPtrInput
type TokenReviewSpecPtrOutput ¶
type TokenReviewSpecPtrOutput struct{ *pulumi.OutputState }
func (TokenReviewSpecPtrOutput) Audiences ¶
func (o TokenReviewSpecPtrOutput) Audiences() pulumi.StringArrayOutput
Audiences is a list of the identifiers that the resource server presented with the token identifies as. Audience-aware token authenticators will verify that the token was intended for at least one of the audiences in this list. If no audiences are provided, the audience will default to the audience of the Kubernetes apiserver.
func (TokenReviewSpecPtrOutput) Elem ¶
func (o TokenReviewSpecPtrOutput) Elem() TokenReviewSpecOutput
func (TokenReviewSpecPtrOutput) ElementType ¶
func (TokenReviewSpecPtrOutput) ElementType() reflect.Type
func (TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutput ¶
func (o TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
func (TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutputWithContext ¶
func (o TokenReviewSpecPtrOutput) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput
func (TokenReviewSpecPtrOutput) Token ¶
func (o TokenReviewSpecPtrOutput) Token() pulumi.StringPtrOutput
Token is the opaque bearer token.
type TokenReviewState ¶
type TokenReviewState struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput Metadata metav1.ObjectMetaPtrInput // Spec holds information about the request being evaluated Spec TokenReviewSpecPtrInput // Status is filled in by the server and indicates whether the request can be authenticated. Status TokenReviewStatusPtrInput }
func (TokenReviewState) ElementType ¶
func (TokenReviewState) ElementType() reflect.Type
type TokenReviewStatus ¶
type TokenReviewStatus struct { // Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. Audiences []string `pulumi:"audiences"` // Authenticated indicates that the token was associated with a known user. Authenticated *bool `pulumi:"authenticated"` // Error indicates that the token couldn't be checked Error *string `pulumi:"error"` // User is the UserInfo associated with the provided token. User *UserInfo `pulumi:"user"` }
TokenReviewStatus is the result of the token authentication request.
type TokenReviewStatusArgs ¶
type TokenReviewStatusArgs struct { // Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server. Audiences pulumi.StringArrayInput `pulumi:"audiences"` // Authenticated indicates that the token was associated with a known user. Authenticated pulumi.BoolPtrInput `pulumi:"authenticated"` // Error indicates that the token couldn't be checked Error pulumi.StringPtrInput `pulumi:"error"` // User is the UserInfo associated with the provided token. User UserInfoPtrInput `pulumi:"user"` }
TokenReviewStatus is the result of the token authentication request.
func (TokenReviewStatusArgs) ElementType ¶
func (TokenReviewStatusArgs) ElementType() reflect.Type
func (TokenReviewStatusArgs) ToTokenReviewStatusOutput ¶
func (i TokenReviewStatusArgs) ToTokenReviewStatusOutput() TokenReviewStatusOutput
func (TokenReviewStatusArgs) ToTokenReviewStatusOutputWithContext ¶
func (i TokenReviewStatusArgs) ToTokenReviewStatusOutputWithContext(ctx context.Context) TokenReviewStatusOutput
func (TokenReviewStatusArgs) ToTokenReviewStatusPtrOutput ¶
func (i TokenReviewStatusArgs) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
func (TokenReviewStatusArgs) ToTokenReviewStatusPtrOutputWithContext ¶
func (i TokenReviewStatusArgs) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
type TokenReviewStatusInput ¶
type TokenReviewStatusInput interface { pulumi.Input ToTokenReviewStatusOutput() TokenReviewStatusOutput ToTokenReviewStatusOutputWithContext(context.Context) TokenReviewStatusOutput }
type TokenReviewStatusOutput ¶
type TokenReviewStatusOutput struct{ *pulumi.OutputState }
TokenReviewStatus is the result of the token authentication request.
func (TokenReviewStatusOutput) Audiences ¶
func (o TokenReviewStatusOutput) Audiences() pulumi.StringArrayOutput
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
func (TokenReviewStatusOutput) Authenticated ¶
func (o TokenReviewStatusOutput) Authenticated() pulumi.BoolPtrOutput
Authenticated indicates that the token was associated with a known user.
func (TokenReviewStatusOutput) ElementType ¶
func (TokenReviewStatusOutput) ElementType() reflect.Type
func (TokenReviewStatusOutput) Error ¶
func (o TokenReviewStatusOutput) Error() pulumi.StringPtrOutput
Error indicates that the token couldn't be checked
func (TokenReviewStatusOutput) ToTokenReviewStatusOutput ¶
func (o TokenReviewStatusOutput) ToTokenReviewStatusOutput() TokenReviewStatusOutput
func (TokenReviewStatusOutput) ToTokenReviewStatusOutputWithContext ¶
func (o TokenReviewStatusOutput) ToTokenReviewStatusOutputWithContext(ctx context.Context) TokenReviewStatusOutput
func (TokenReviewStatusOutput) ToTokenReviewStatusPtrOutput ¶
func (o TokenReviewStatusOutput) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
func (TokenReviewStatusOutput) ToTokenReviewStatusPtrOutputWithContext ¶
func (o TokenReviewStatusOutput) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
func (TokenReviewStatusOutput) User ¶
func (o TokenReviewStatusOutput) User() UserInfoPtrOutput
User is the UserInfo associated with the provided token.
type TokenReviewStatusPtrInput ¶
type TokenReviewStatusPtrInput interface { pulumi.Input ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput ToTokenReviewStatusPtrOutputWithContext(context.Context) TokenReviewStatusPtrOutput }
func TokenReviewStatusPtr ¶
func TokenReviewStatusPtr(v *TokenReviewStatusArgs) TokenReviewStatusPtrInput
type TokenReviewStatusPtrOutput ¶
type TokenReviewStatusPtrOutput struct{ *pulumi.OutputState }
func (TokenReviewStatusPtrOutput) Audiences ¶
func (o TokenReviewStatusPtrOutput) Audiences() pulumi.StringArrayOutput
Audiences are audience identifiers chosen by the authenticator that are compatible with both the TokenReview and token. An identifier is any identifier in the intersection of the TokenReviewSpec audiences and the token's audiences. A client of the TokenReview API that sets the spec.audiences field should validate that a compatible audience identifier is returned in the status.audiences field to ensure that the TokenReview server is audience aware. If a TokenReview returns an empty status.audience field where status.authenticated is "true", the token is valid against the audience of the Kubernetes API server.
func (TokenReviewStatusPtrOutput) Authenticated ¶
func (o TokenReviewStatusPtrOutput) Authenticated() pulumi.BoolPtrOutput
Authenticated indicates that the token was associated with a known user.
func (TokenReviewStatusPtrOutput) Elem ¶
func (o TokenReviewStatusPtrOutput) Elem() TokenReviewStatusOutput
func (TokenReviewStatusPtrOutput) ElementType ¶
func (TokenReviewStatusPtrOutput) ElementType() reflect.Type
func (TokenReviewStatusPtrOutput) Error ¶
func (o TokenReviewStatusPtrOutput) Error() pulumi.StringPtrOutput
Error indicates that the token couldn't be checked
func (TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutput ¶
func (o TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
func (TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutputWithContext ¶
func (o TokenReviewStatusPtrOutput) ToTokenReviewStatusPtrOutputWithContext(ctx context.Context) TokenReviewStatusPtrOutput
func (TokenReviewStatusPtrOutput) User ¶
func (o TokenReviewStatusPtrOutput) User() UserInfoPtrOutput
User is the UserInfo associated with the provided token.
type TokenReviewType ¶
type TokenReviewType struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion *string `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind *string `pulumi:"kind"` Metadata *metav1.ObjectMeta `pulumi:"metadata"` // Spec holds information about the request being evaluated Spec *TokenReviewSpec `pulumi:"spec"` // Status is filled in by the server and indicates whether the request can be authenticated. Status *TokenReviewStatus `pulumi:"status"` }
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.
type TokenReviewTypeArgs ¶
type TokenReviewTypeArgs struct { // APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources ApiVersion pulumi.StringPtrInput `pulumi:"apiVersion"` // Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds Kind pulumi.StringPtrInput `pulumi:"kind"` Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"` // Spec holds information about the request being evaluated Spec TokenReviewSpecPtrInput `pulumi:"spec"` // Status is filled in by the server and indicates whether the request can be authenticated. Status TokenReviewStatusPtrInput `pulumi:"status"` }
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.
func (TokenReviewTypeArgs) ElementType ¶
func (TokenReviewTypeArgs) ElementType() reflect.Type
func (TokenReviewTypeArgs) ToTokenReviewTypeOutput ¶
func (i TokenReviewTypeArgs) ToTokenReviewTypeOutput() TokenReviewTypeOutput
func (TokenReviewTypeArgs) ToTokenReviewTypeOutputWithContext ¶
func (i TokenReviewTypeArgs) ToTokenReviewTypeOutputWithContext(ctx context.Context) TokenReviewTypeOutput
type TokenReviewTypeInput ¶
type TokenReviewTypeInput interface { pulumi.Input ToTokenReviewTypeOutput() TokenReviewTypeOutput ToTokenReviewTypeOutputWithContext(context.Context) TokenReviewTypeOutput }
type TokenReviewTypeOutput ¶
type TokenReviewTypeOutput struct{ *pulumi.OutputState }
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.
func (TokenReviewTypeOutput) ApiVersion ¶
func (o TokenReviewTypeOutput) ApiVersion() pulumi.StringPtrOutput
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
func (TokenReviewTypeOutput) ElementType ¶
func (TokenReviewTypeOutput) ElementType() reflect.Type
func (TokenReviewTypeOutput) Kind ¶
func (o TokenReviewTypeOutput) Kind() pulumi.StringPtrOutput
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
func (TokenReviewTypeOutput) Metadata ¶
func (o TokenReviewTypeOutput) Metadata() metav1.ObjectMetaPtrOutput
func (TokenReviewTypeOutput) Spec ¶
func (o TokenReviewTypeOutput) Spec() TokenReviewSpecPtrOutput
Spec holds information about the request being evaluated
func (TokenReviewTypeOutput) Status ¶
func (o TokenReviewTypeOutput) Status() TokenReviewStatusPtrOutput
Status is filled in by the server and indicates whether the request can be authenticated.
func (TokenReviewTypeOutput) ToTokenReviewTypeOutput ¶
func (o TokenReviewTypeOutput) ToTokenReviewTypeOutput() TokenReviewTypeOutput
func (TokenReviewTypeOutput) ToTokenReviewTypeOutputWithContext ¶
func (o TokenReviewTypeOutput) ToTokenReviewTypeOutputWithContext(ctx context.Context) TokenReviewTypeOutput
type UserInfo ¶
type UserInfo struct { // Any additional information provided by the authenticator. Extra map[string][]string `pulumi:"extra"` // The names of groups this user is a part of. Groups []string `pulumi:"groups"` // A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. Uid *string `pulumi:"uid"` // The name that uniquely identifies this user among all active users. Username *string `pulumi:"username"` }
UserInfo holds the information about the user needed to implement the user.Info interface.
type UserInfoArgs ¶
type UserInfoArgs struct { // Any additional information provided by the authenticator. Extra pulumi.StringArrayMapInput `pulumi:"extra"` // The names of groups this user is a part of. Groups pulumi.StringArrayInput `pulumi:"groups"` // A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs. Uid pulumi.StringPtrInput `pulumi:"uid"` // The name that uniquely identifies this user among all active users. Username pulumi.StringPtrInput `pulumi:"username"` }
UserInfo holds the information about the user needed to implement the user.Info interface.
func (UserInfoArgs) ElementType ¶
func (UserInfoArgs) ElementType() reflect.Type
func (UserInfoArgs) ToUserInfoOutput ¶
func (i UserInfoArgs) ToUserInfoOutput() UserInfoOutput
func (UserInfoArgs) ToUserInfoOutputWithContext ¶
func (i UserInfoArgs) ToUserInfoOutputWithContext(ctx context.Context) UserInfoOutput
func (UserInfoArgs) ToUserInfoPtrOutput ¶
func (i UserInfoArgs) ToUserInfoPtrOutput() UserInfoPtrOutput
func (UserInfoArgs) ToUserInfoPtrOutputWithContext ¶
func (i UserInfoArgs) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
type UserInfoInput ¶
type UserInfoInput interface { pulumi.Input ToUserInfoOutput() UserInfoOutput ToUserInfoOutputWithContext(context.Context) UserInfoOutput }
type UserInfoOutput ¶
type UserInfoOutput struct{ *pulumi.OutputState }
UserInfo holds the information about the user needed to implement the user.Info interface.
func (UserInfoOutput) ElementType ¶
func (UserInfoOutput) ElementType() reflect.Type
func (UserInfoOutput) Extra ¶
func (o UserInfoOutput) Extra() pulumi.StringArrayMapOutput
Any additional information provided by the authenticator.
func (UserInfoOutput) Groups ¶
func (o UserInfoOutput) Groups() pulumi.StringArrayOutput
The names of groups this user is a part of.
func (UserInfoOutput) ToUserInfoOutput ¶
func (o UserInfoOutput) ToUserInfoOutput() UserInfoOutput
func (UserInfoOutput) ToUserInfoOutputWithContext ¶
func (o UserInfoOutput) ToUserInfoOutputWithContext(ctx context.Context) UserInfoOutput
func (UserInfoOutput) ToUserInfoPtrOutput ¶
func (o UserInfoOutput) ToUserInfoPtrOutput() UserInfoPtrOutput
func (UserInfoOutput) ToUserInfoPtrOutputWithContext ¶
func (o UserInfoOutput) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
func (UserInfoOutput) Uid ¶
func (o UserInfoOutput) Uid() pulumi.StringPtrOutput
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
func (UserInfoOutput) Username ¶
func (o UserInfoOutput) Username() pulumi.StringPtrOutput
The name that uniquely identifies this user among all active users.
type UserInfoPtrInput ¶
type UserInfoPtrInput interface { pulumi.Input ToUserInfoPtrOutput() UserInfoPtrOutput ToUserInfoPtrOutputWithContext(context.Context) UserInfoPtrOutput }
func UserInfoPtr ¶
func UserInfoPtr(v *UserInfoArgs) UserInfoPtrInput
type UserInfoPtrOutput ¶
type UserInfoPtrOutput struct{ *pulumi.OutputState }
func (UserInfoPtrOutput) Elem ¶
func (o UserInfoPtrOutput) Elem() UserInfoOutput
func (UserInfoPtrOutput) ElementType ¶
func (UserInfoPtrOutput) ElementType() reflect.Type
func (UserInfoPtrOutput) Extra ¶
func (o UserInfoPtrOutput) Extra() pulumi.StringArrayMapOutput
Any additional information provided by the authenticator.
func (UserInfoPtrOutput) Groups ¶
func (o UserInfoPtrOutput) Groups() pulumi.StringArrayOutput
The names of groups this user is a part of.
func (UserInfoPtrOutput) ToUserInfoPtrOutput ¶
func (o UserInfoPtrOutput) ToUserInfoPtrOutput() UserInfoPtrOutput
func (UserInfoPtrOutput) ToUserInfoPtrOutputWithContext ¶
func (o UserInfoPtrOutput) ToUserInfoPtrOutputWithContext(ctx context.Context) UserInfoPtrOutput
func (UserInfoPtrOutput) Uid ¶
func (o UserInfoPtrOutput) Uid() pulumi.StringPtrOutput
A unique value that identifies this user across time. If this user is deleted and another user by the same name is added, they will have different UIDs.
func (UserInfoPtrOutput) Username ¶
func (o UserInfoPtrOutput) Username() pulumi.StringPtrOutput
The name that uniquely identifies this user among all active users.