v1

package
v3.30.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

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
}

BoundObjectReferenceInput is an input type that accepts BoundObjectReferenceArgs and BoundObjectReferenceOutput values. You can construct a concrete instance of `BoundObjectReferenceInput` via:

BoundObjectReferenceArgs{...}

type BoundObjectReferenceOutput

type BoundObjectReferenceOutput struct{ *pulumi.OutputState }

BoundObjectReference is a reference to an object that a token is bound to.

func (BoundObjectReferenceOutput) ApiVersion

API version of the referent.

func (BoundObjectReferenceOutput) ElementType

func (BoundObjectReferenceOutput) ElementType() reflect.Type

func (BoundObjectReferenceOutput) Kind

Kind of the referent. Valid kinds are 'Pod' and 'Secret'.

func (BoundObjectReferenceOutput) Name

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

UID of the referent.

type BoundObjectReferencePatch added in v3.20.0

type BoundObjectReferencePatch 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 BoundObjectReferencePatchArgs added in v3.20.0

type BoundObjectReferencePatchArgs 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 (BoundObjectReferencePatchArgs) ElementType added in v3.20.0

func (BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchOutput added in v3.20.0

func (i BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchOutput() BoundObjectReferencePatchOutput

func (BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchOutputWithContext added in v3.20.0

func (i BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchOutputWithContext(ctx context.Context) BoundObjectReferencePatchOutput

func (BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchPtrOutput added in v3.20.0

func (i BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchPtrOutput() BoundObjectReferencePatchPtrOutput

func (BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (i BoundObjectReferencePatchArgs) ToBoundObjectReferencePatchPtrOutputWithContext(ctx context.Context) BoundObjectReferencePatchPtrOutput

type BoundObjectReferencePatchInput added in v3.20.0

type BoundObjectReferencePatchInput interface {
	pulumi.Input

	ToBoundObjectReferencePatchOutput() BoundObjectReferencePatchOutput
	ToBoundObjectReferencePatchOutputWithContext(context.Context) BoundObjectReferencePatchOutput
}

BoundObjectReferencePatchInput is an input type that accepts BoundObjectReferencePatchArgs and BoundObjectReferencePatchOutput values. You can construct a concrete instance of `BoundObjectReferencePatchInput` via:

BoundObjectReferencePatchArgs{...}

type BoundObjectReferencePatchOutput added in v3.20.0

type BoundObjectReferencePatchOutput struct{ *pulumi.OutputState }

BoundObjectReference is a reference to an object that a token is bound to.

func (BoundObjectReferencePatchOutput) ApiVersion added in v3.20.0

API version of the referent.

func (BoundObjectReferencePatchOutput) ElementType added in v3.20.0

func (BoundObjectReferencePatchOutput) Kind added in v3.20.0

Kind of the referent. Valid kinds are 'Pod' and 'Secret'.

func (BoundObjectReferencePatchOutput) Name added in v3.20.0

Name of the referent.

func (BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchOutput added in v3.20.0

func (o BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchOutput() BoundObjectReferencePatchOutput

func (BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchOutputWithContext added in v3.20.0

func (o BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchOutputWithContext(ctx context.Context) BoundObjectReferencePatchOutput

func (BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchPtrOutput added in v3.20.0

func (o BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchPtrOutput() BoundObjectReferencePatchPtrOutput

func (BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (o BoundObjectReferencePatchOutput) ToBoundObjectReferencePatchPtrOutputWithContext(ctx context.Context) BoundObjectReferencePatchPtrOutput

func (BoundObjectReferencePatchOutput) Uid added in v3.20.0

UID of the referent.

type BoundObjectReferencePatchPtrInput added in v3.20.0

type BoundObjectReferencePatchPtrInput interface {
	pulumi.Input

	ToBoundObjectReferencePatchPtrOutput() BoundObjectReferencePatchPtrOutput
	ToBoundObjectReferencePatchPtrOutputWithContext(context.Context) BoundObjectReferencePatchPtrOutput
}

BoundObjectReferencePatchPtrInput is an input type that accepts BoundObjectReferencePatchArgs, BoundObjectReferencePatchPtr and BoundObjectReferencePatchPtrOutput values. You can construct a concrete instance of `BoundObjectReferencePatchPtrInput` via:

        BoundObjectReferencePatchArgs{...}

or:

        nil

func BoundObjectReferencePatchPtr added in v3.20.0

type BoundObjectReferencePatchPtrOutput added in v3.20.0

type BoundObjectReferencePatchPtrOutput struct{ *pulumi.OutputState }

func (BoundObjectReferencePatchPtrOutput) ApiVersion added in v3.20.0

API version of the referent.

func (BoundObjectReferencePatchPtrOutput) Elem added in v3.20.0

func (BoundObjectReferencePatchPtrOutput) ElementType added in v3.20.0

func (BoundObjectReferencePatchPtrOutput) Kind added in v3.20.0

Kind of the referent. Valid kinds are 'Pod' and 'Secret'.

func (BoundObjectReferencePatchPtrOutput) Name added in v3.20.0

Name of the referent.

func (BoundObjectReferencePatchPtrOutput) ToBoundObjectReferencePatchPtrOutput added in v3.20.0

func (o BoundObjectReferencePatchPtrOutput) ToBoundObjectReferencePatchPtrOutput() BoundObjectReferencePatchPtrOutput

func (BoundObjectReferencePatchPtrOutput) ToBoundObjectReferencePatchPtrOutputWithContext added in v3.20.0

func (o BoundObjectReferencePatchPtrOutput) ToBoundObjectReferencePatchPtrOutputWithContext(ctx context.Context) BoundObjectReferencePatchPtrOutput

func (BoundObjectReferencePatchPtrOutput) Uid added in v3.20.0

UID of the referent.

type BoundObjectReferencePtrInput

type BoundObjectReferencePtrInput interface {
	pulumi.Input

	ToBoundObjectReferencePtrOutput() BoundObjectReferencePtrOutput
	ToBoundObjectReferencePtrOutputWithContext(context.Context) BoundObjectReferencePtrOutput
}

BoundObjectReferencePtrInput is an input type that accepts BoundObjectReferenceArgs, BoundObjectReferencePtr and BoundObjectReferencePtrOutput values. You can construct a concrete instance of `BoundObjectReferencePtrInput` via:

        BoundObjectReferenceArgs{...}

or:

        nil

type BoundObjectReferencePtrOutput

type BoundObjectReferencePtrOutput struct{ *pulumi.OutputState }

func (BoundObjectReferencePtrOutput) ApiVersion

API version of the referent.

func (BoundObjectReferencePtrOutput) Elem

func (BoundObjectReferencePtrOutput) ElementType

func (BoundObjectReferencePtrOutput) Kind

Kind of the referent. Valid kinds are 'Pod' and 'Secret'.

func (BoundObjectReferencePtrOutput) Name

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

UID of the referent.

type TokenRequest

type TokenRequest 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMeta `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec TokenRequestSpec `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the token can be authenticated.
	Status *TokenRequestStatus `pulumi:"status"`
}

TokenRequest requests a token for a given service account.

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 `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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec TokenRequestSpecInput `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the token can be authenticated.
	Status TokenRequestStatusPtrInput `pulumi:"status"`
}

TokenRequest requests a token for a given service account.

func (TokenRequestArgs) ElementType

func (TokenRequestArgs) ElementType() reflect.Type

func (TokenRequestArgs) ToTokenRequestOutput added in v3.28.0

func (i TokenRequestArgs) ToTokenRequestOutput() TokenRequestOutput

func (TokenRequestArgs) ToTokenRequestOutputWithContext added in v3.28.0

func (i TokenRequestArgs) ToTokenRequestOutputWithContext(ctx context.Context) TokenRequestOutput

type TokenRequestInput

type TokenRequestInput interface {
	pulumi.Input

	ToTokenRequestOutput() TokenRequestOutput
	ToTokenRequestOutputWithContext(context.Context) TokenRequestOutput
}

TokenRequestInput is an input type that accepts TokenRequestArgs and TokenRequestOutput values. You can construct a concrete instance of `TokenRequestInput` via:

TokenRequestArgs{...}

type TokenRequestOutput

type TokenRequestOutput struct{ *pulumi.OutputState }

TokenRequest requests a token for a given service account.

func (TokenRequestOutput) ApiVersion added in v3.19.1

func (o TokenRequestOutput) 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 (TokenRequestOutput) ElementType

func (TokenRequestOutput) ElementType() reflect.Type

func (TokenRequestOutput) Kind added in v3.19.1

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 (TokenRequestOutput) Metadata added in v3.19.1

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (TokenRequestOutput) Spec added in v3.19.1

Spec holds information about the request being evaluated

func (TokenRequestOutput) Status added in v3.19.1

Status is filled in by the server and indicates whether the token can be authenticated.

func (TokenRequestOutput) ToTokenRequestOutput

func (o TokenRequestOutput) ToTokenRequestOutput() TokenRequestOutput

func (TokenRequestOutput) ToTokenRequestOutputWithContext

func (o TokenRequestOutput) ToTokenRequestOutputWithContext(ctx context.Context) TokenRequestOutput

type TokenRequestPatch added in v3.20.0

type TokenRequestPatch 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec *TokenRequestSpecPatch `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the token can be authenticated.
	Status *TokenRequestStatusPatch `pulumi:"status"`
}

TokenRequest requests a token for a given service account.

type TokenRequestPatchArgs added in v3.20.0

type TokenRequestPatchArgs 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec TokenRequestSpecPatchPtrInput `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the token can be authenticated.
	Status TokenRequestStatusPatchPtrInput `pulumi:"status"`
}

TokenRequest requests a token for a given service account.

func (TokenRequestPatchArgs) ElementType added in v3.20.0

func (TokenRequestPatchArgs) ElementType() reflect.Type

func (TokenRequestPatchArgs) ToTokenRequestPatchOutput added in v3.28.0

func (i TokenRequestPatchArgs) ToTokenRequestPatchOutput() TokenRequestPatchOutput

func (TokenRequestPatchArgs) ToTokenRequestPatchOutputWithContext added in v3.28.0

func (i TokenRequestPatchArgs) ToTokenRequestPatchOutputWithContext(ctx context.Context) TokenRequestPatchOutput

type TokenRequestPatchInput added in v3.20.0

type TokenRequestPatchInput interface {
	pulumi.Input

	ToTokenRequestPatchOutput() TokenRequestPatchOutput
	ToTokenRequestPatchOutputWithContext(context.Context) TokenRequestPatchOutput
}

TokenRequestPatchInput is an input type that accepts TokenRequestPatchArgs and TokenRequestPatchOutput values. You can construct a concrete instance of `TokenRequestPatchInput` via:

TokenRequestPatchArgs{...}

type TokenRequestPatchOutput added in v3.20.0

type TokenRequestPatchOutput struct{ *pulumi.OutputState }

TokenRequest requests a token for a given service account.

func (TokenRequestPatchOutput) ApiVersion added in v3.20.0

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 (TokenRequestPatchOutput) ElementType added in v3.20.0

func (TokenRequestPatchOutput) ElementType() reflect.Type

func (TokenRequestPatchOutput) Kind added in v3.20.0

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 (TokenRequestPatchOutput) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (TokenRequestPatchOutput) Spec added in v3.20.0

Spec holds information about the request being evaluated

func (TokenRequestPatchOutput) Status added in v3.20.0

Status is filled in by the server and indicates whether the token can be authenticated.

func (TokenRequestPatchOutput) ToTokenRequestPatchOutput added in v3.20.0

func (o TokenRequestPatchOutput) ToTokenRequestPatchOutput() TokenRequestPatchOutput

func (TokenRequestPatchOutput) ToTokenRequestPatchOutputWithContext added in v3.20.0

func (o TokenRequestPatchOutput) ToTokenRequestPatchOutputWithContext(ctx context.Context) TokenRequestPatchOutput

type TokenRequestSpec

type TokenRequestSpec struct {
	// Audiences are the intendend audiences of the token. A recipient of a token must identify 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 identify 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

type TokenRequestSpecInput

type TokenRequestSpecInput interface {
	pulumi.Input

	ToTokenRequestSpecOutput() TokenRequestSpecOutput
	ToTokenRequestSpecOutputWithContext(context.Context) TokenRequestSpecOutput
}

TokenRequestSpecInput is an input type that accepts TokenRequestSpecArgs and TokenRequestSpecOutput values. You can construct a concrete instance of `TokenRequestSpecInput` via:

TokenRequestSpecArgs{...}

type TokenRequestSpecOutput

type TokenRequestSpecOutput struct{ *pulumi.OutputState }

TokenRequestSpec contains client provided parameters of a token request.

func (TokenRequestSpecOutput) Audiences

Audiences are the intendend audiences of the token. A recipient of a token must identify 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

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

type TokenRequestSpecPatch added in v3.20.0

type TokenRequestSpecPatch struct {
	// Audiences are the intendend audiences of the token. A recipient of a token must identify 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 *BoundObjectReferencePatch `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 TokenRequestSpecPatchArgs added in v3.20.0

type TokenRequestSpecPatchArgs struct {
	// Audiences are the intendend audiences of the token. A recipient of a token must identify 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 BoundObjectReferencePatchPtrInput `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 (TokenRequestSpecPatchArgs) ElementType added in v3.20.0

func (TokenRequestSpecPatchArgs) ElementType() reflect.Type

func (TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchOutput added in v3.20.0

func (i TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchOutput() TokenRequestSpecPatchOutput

func (TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchOutputWithContext added in v3.20.0

func (i TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchOutputWithContext(ctx context.Context) TokenRequestSpecPatchOutput

func (TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchPtrOutput added in v3.20.0

func (i TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchPtrOutput() TokenRequestSpecPatchPtrOutput

func (TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (i TokenRequestSpecPatchArgs) ToTokenRequestSpecPatchPtrOutputWithContext(ctx context.Context) TokenRequestSpecPatchPtrOutput

type TokenRequestSpecPatchInput added in v3.20.0

type TokenRequestSpecPatchInput interface {
	pulumi.Input

	ToTokenRequestSpecPatchOutput() TokenRequestSpecPatchOutput
	ToTokenRequestSpecPatchOutputWithContext(context.Context) TokenRequestSpecPatchOutput
}

TokenRequestSpecPatchInput is an input type that accepts TokenRequestSpecPatchArgs and TokenRequestSpecPatchOutput values. You can construct a concrete instance of `TokenRequestSpecPatchInput` via:

TokenRequestSpecPatchArgs{...}

type TokenRequestSpecPatchOutput added in v3.20.0

type TokenRequestSpecPatchOutput struct{ *pulumi.OutputState }

TokenRequestSpec contains client provided parameters of a token request.

func (TokenRequestSpecPatchOutput) Audiences added in v3.20.0

Audiences are the intendend audiences of the token. A recipient of a token must identify 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 (TokenRequestSpecPatchOutput) BoundObjectRef added in v3.20.0

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 (TokenRequestSpecPatchOutput) ElementType added in v3.20.0

func (TokenRequestSpecPatchOutput) ExpirationSeconds added in v3.20.0

func (o TokenRequestSpecPatchOutput) 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 (TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchOutput added in v3.20.0

func (o TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchOutput() TokenRequestSpecPatchOutput

func (TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchOutputWithContext added in v3.20.0

func (o TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchOutputWithContext(ctx context.Context) TokenRequestSpecPatchOutput

func (TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchPtrOutput added in v3.20.0

func (o TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchPtrOutput() TokenRequestSpecPatchPtrOutput

func (TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (o TokenRequestSpecPatchOutput) ToTokenRequestSpecPatchPtrOutputWithContext(ctx context.Context) TokenRequestSpecPatchPtrOutput

type TokenRequestSpecPatchPtrInput added in v3.20.0

type TokenRequestSpecPatchPtrInput interface {
	pulumi.Input

	ToTokenRequestSpecPatchPtrOutput() TokenRequestSpecPatchPtrOutput
	ToTokenRequestSpecPatchPtrOutputWithContext(context.Context) TokenRequestSpecPatchPtrOutput
}

TokenRequestSpecPatchPtrInput is an input type that accepts TokenRequestSpecPatchArgs, TokenRequestSpecPatchPtr and TokenRequestSpecPatchPtrOutput values. You can construct a concrete instance of `TokenRequestSpecPatchPtrInput` via:

        TokenRequestSpecPatchArgs{...}

or:

        nil

func TokenRequestSpecPatchPtr added in v3.20.0

func TokenRequestSpecPatchPtr(v *TokenRequestSpecPatchArgs) TokenRequestSpecPatchPtrInput

type TokenRequestSpecPatchPtrOutput added in v3.20.0

type TokenRequestSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (TokenRequestSpecPatchPtrOutput) Audiences added in v3.20.0

Audiences are the intendend audiences of the token. A recipient of a token must identify 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 (TokenRequestSpecPatchPtrOutput) BoundObjectRef added in v3.20.0

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 (TokenRequestSpecPatchPtrOutput) Elem added in v3.20.0

func (TokenRequestSpecPatchPtrOutput) ElementType added in v3.20.0

func (TokenRequestSpecPatchPtrOutput) ExpirationSeconds added in v3.20.0

func (o TokenRequestSpecPatchPtrOutput) 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 (TokenRequestSpecPatchPtrOutput) ToTokenRequestSpecPatchPtrOutput added in v3.20.0

func (o TokenRequestSpecPatchPtrOutput) ToTokenRequestSpecPatchPtrOutput() TokenRequestSpecPatchPtrOutput

func (TokenRequestSpecPatchPtrOutput) ToTokenRequestSpecPatchPtrOutputWithContext added in v3.20.0

func (o TokenRequestSpecPatchPtrOutput) ToTokenRequestSpecPatchPtrOutputWithContext(ctx context.Context) TokenRequestSpecPatchPtrOutput

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.StringInput `pulumi:"expirationTimestamp"`
	// Token is the opaque bearer token.
	Token pulumi.StringInput `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
}

TokenRequestStatusInput is an input type that accepts TokenRequestStatusArgs and TokenRequestStatusOutput values. You can construct a concrete instance of `TokenRequestStatusInput` via:

TokenRequestStatusArgs{...}

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.StringOutput

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

Token is the opaque bearer token.

type TokenRequestStatusPatch added in v3.20.0

type TokenRequestStatusPatch 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 TokenRequestStatusPatchArgs added in v3.20.0

type TokenRequestStatusPatchArgs 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 (TokenRequestStatusPatchArgs) ElementType added in v3.20.0

func (TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchOutput added in v3.20.0

func (i TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchOutput() TokenRequestStatusPatchOutput

func (TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchOutputWithContext added in v3.20.0

func (i TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchOutputWithContext(ctx context.Context) TokenRequestStatusPatchOutput

func (TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchPtrOutput added in v3.20.0

func (i TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchPtrOutput() TokenRequestStatusPatchPtrOutput

func (TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (i TokenRequestStatusPatchArgs) ToTokenRequestStatusPatchPtrOutputWithContext(ctx context.Context) TokenRequestStatusPatchPtrOutput

type TokenRequestStatusPatchInput added in v3.20.0

type TokenRequestStatusPatchInput interface {
	pulumi.Input

	ToTokenRequestStatusPatchOutput() TokenRequestStatusPatchOutput
	ToTokenRequestStatusPatchOutputWithContext(context.Context) TokenRequestStatusPatchOutput
}

TokenRequestStatusPatchInput is an input type that accepts TokenRequestStatusPatchArgs and TokenRequestStatusPatchOutput values. You can construct a concrete instance of `TokenRequestStatusPatchInput` via:

TokenRequestStatusPatchArgs{...}

type TokenRequestStatusPatchOutput added in v3.20.0

type TokenRequestStatusPatchOutput struct{ *pulumi.OutputState }

TokenRequestStatus is the result of a token request.

func (TokenRequestStatusPatchOutput) ElementType added in v3.20.0

func (TokenRequestStatusPatchOutput) ExpirationTimestamp added in v3.20.0

func (o TokenRequestStatusPatchOutput) ExpirationTimestamp() pulumi.StringPtrOutput

ExpirationTimestamp is the time of expiration of the returned token.

func (TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchOutput added in v3.20.0

func (o TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchOutput() TokenRequestStatusPatchOutput

func (TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchOutputWithContext added in v3.20.0

func (o TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchOutputWithContext(ctx context.Context) TokenRequestStatusPatchOutput

func (TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchPtrOutput added in v3.20.0

func (o TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchPtrOutput() TokenRequestStatusPatchPtrOutput

func (TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (o TokenRequestStatusPatchOutput) ToTokenRequestStatusPatchPtrOutputWithContext(ctx context.Context) TokenRequestStatusPatchPtrOutput

func (TokenRequestStatusPatchOutput) Token added in v3.20.0

Token is the opaque bearer token.

type TokenRequestStatusPatchPtrInput added in v3.20.0

type TokenRequestStatusPatchPtrInput interface {
	pulumi.Input

	ToTokenRequestStatusPatchPtrOutput() TokenRequestStatusPatchPtrOutput
	ToTokenRequestStatusPatchPtrOutputWithContext(context.Context) TokenRequestStatusPatchPtrOutput
}

TokenRequestStatusPatchPtrInput is an input type that accepts TokenRequestStatusPatchArgs, TokenRequestStatusPatchPtr and TokenRequestStatusPatchPtrOutput values. You can construct a concrete instance of `TokenRequestStatusPatchPtrInput` via:

        TokenRequestStatusPatchArgs{...}

or:

        nil

func TokenRequestStatusPatchPtr added in v3.20.0

func TokenRequestStatusPatchPtr(v *TokenRequestStatusPatchArgs) TokenRequestStatusPatchPtrInput

type TokenRequestStatusPatchPtrOutput added in v3.20.0

type TokenRequestStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (TokenRequestStatusPatchPtrOutput) Elem added in v3.20.0

func (TokenRequestStatusPatchPtrOutput) ElementType added in v3.20.0

func (TokenRequestStatusPatchPtrOutput) ExpirationTimestamp added in v3.20.0

ExpirationTimestamp is the time of expiration of the returned token.

func (TokenRequestStatusPatchPtrOutput) ToTokenRequestStatusPatchPtrOutput added in v3.20.0

func (o TokenRequestStatusPatchPtrOutput) ToTokenRequestStatusPatchPtrOutput() TokenRequestStatusPatchPtrOutput

func (TokenRequestStatusPatchPtrOutput) ToTokenRequestStatusPatchPtrOutputWithContext added in v3.20.0

func (o TokenRequestStatusPatchPtrOutput) ToTokenRequestStatusPatchPtrOutputWithContext(ctx context.Context) TokenRequestStatusPatchPtrOutput

func (TokenRequestStatusPatchPtrOutput) Token added in v3.20.0

Token is the opaque bearer token.

type TokenRequestStatusPtrInput

type TokenRequestStatusPtrInput interface {
	pulumi.Input

	ToTokenRequestStatusPtrOutput() TokenRequestStatusPtrOutput
	ToTokenRequestStatusPtrOutputWithContext(context.Context) TokenRequestStatusPtrOutput
}

TokenRequestStatusPtrInput is an input type that accepts TokenRequestStatusArgs, TokenRequestStatusPtr and TokenRequestStatusPtrOutput values. You can construct a concrete instance of `TokenRequestStatusPtrInput` via:

        TokenRequestStatusArgs{...}

or:

        nil

type TokenRequestStatusPtrOutput

type TokenRequestStatusPtrOutput struct{ *pulumi.OutputState }

func (TokenRequestStatusPtrOutput) Elem

func (TokenRequestStatusPtrOutput) ElementType

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

Token is the opaque bearer token.

type TokenReview

type TokenReview 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	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 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 `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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPtrInput `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec TokenReviewSpecInput `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 (TokenReviewArgs) ElementType

func (TokenReviewArgs) ElementType() reflect.Type

func (TokenReviewArgs) ToTokenReviewOutput added in v3.28.0

func (i TokenReviewArgs) ToTokenReviewOutput() TokenReviewOutput

func (TokenReviewArgs) ToTokenReviewOutputWithContext added in v3.28.0

func (i TokenReviewArgs) ToTokenReviewOutputWithContext(ctx context.Context) TokenReviewOutput

type TokenReviewInput

type TokenReviewInput interface {
	pulumi.Input

	ToTokenReviewOutput() TokenReviewOutput
	ToTokenReviewOutputWithContext(context.Context) TokenReviewOutput
}

TokenReviewInput is an input type that accepts TokenReviewArgs and TokenReviewOutput values. You can construct a concrete instance of `TokenReviewInput` via:

TokenReviewArgs{...}

type TokenReviewOutput

type TokenReviewOutput 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 (TokenReviewOutput) ApiVersion added in v3.19.1

func (o TokenReviewOutput) 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 (TokenReviewOutput) ElementType

func (TokenReviewOutput) ElementType() reflect.Type

func (TokenReviewOutput) Kind added in v3.19.1

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 (TokenReviewOutput) Metadata added in v3.19.1

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (TokenReviewOutput) Spec added in v3.19.1

Spec holds information about the request being evaluated

func (TokenReviewOutput) Status added in v3.19.1

Status is filled in by the server and indicates whether the request can be authenticated.

func (TokenReviewOutput) ToTokenReviewOutput

func (o TokenReviewOutput) ToTokenReviewOutput() TokenReviewOutput

func (TokenReviewOutput) ToTokenReviewOutputWithContext

func (o TokenReviewOutput) ToTokenReviewOutputWithContext(ctx context.Context) TokenReviewOutput

type TokenReviewPatch added in v3.20.0

type TokenReviewPatch 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *metav1.ObjectMetaPatch `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec *TokenReviewSpecPatch `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the request can be authenticated.
	Status *TokenReviewStatusPatch `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 TokenReviewPatchArgs added in v3.20.0

type TokenReviewPatchArgs 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"`
	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata metav1.ObjectMetaPatchPtrInput `pulumi:"metadata"`
	// Spec holds information about the request being evaluated
	Spec TokenReviewSpecPatchPtrInput `pulumi:"spec"`
	// Status is filled in by the server and indicates whether the request can be authenticated.
	Status TokenReviewStatusPatchPtrInput `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 (TokenReviewPatchArgs) ElementType added in v3.20.0

func (TokenReviewPatchArgs) ElementType() reflect.Type

func (TokenReviewPatchArgs) ToTokenReviewPatchOutput added in v3.28.0

func (i TokenReviewPatchArgs) ToTokenReviewPatchOutput() TokenReviewPatchOutput

func (TokenReviewPatchArgs) ToTokenReviewPatchOutputWithContext added in v3.28.0

func (i TokenReviewPatchArgs) ToTokenReviewPatchOutputWithContext(ctx context.Context) TokenReviewPatchOutput

type TokenReviewPatchInput added in v3.20.0

type TokenReviewPatchInput interface {
	pulumi.Input

	ToTokenReviewPatchOutput() TokenReviewPatchOutput
	ToTokenReviewPatchOutputWithContext(context.Context) TokenReviewPatchOutput
}

TokenReviewPatchInput is an input type that accepts TokenReviewPatchArgs and TokenReviewPatchOutput values. You can construct a concrete instance of `TokenReviewPatchInput` via:

TokenReviewPatchArgs{...}

type TokenReviewPatchOutput added in v3.20.0

type TokenReviewPatchOutput 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 (TokenReviewPatchOutput) ApiVersion added in v3.20.0

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 (TokenReviewPatchOutput) ElementType added in v3.20.0

func (TokenReviewPatchOutput) ElementType() reflect.Type

func (TokenReviewPatchOutput) Kind added in v3.20.0

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 (TokenReviewPatchOutput) Metadata added in v3.20.0

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata

func (TokenReviewPatchOutput) Spec added in v3.20.0

Spec holds information about the request being evaluated

func (TokenReviewPatchOutput) Status added in v3.20.0

Status is filled in by the server and indicates whether the request can be authenticated.

func (TokenReviewPatchOutput) ToTokenReviewPatchOutput added in v3.20.0

func (o TokenReviewPatchOutput) ToTokenReviewPatchOutput() TokenReviewPatchOutput

func (TokenReviewPatchOutput) ToTokenReviewPatchOutputWithContext added in v3.20.0

func (o TokenReviewPatchOutput) ToTokenReviewPatchOutputWithContext(ctx context.Context) TokenReviewPatchOutput

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

type TokenReviewSpecInput

type TokenReviewSpecInput interface {
	pulumi.Input

	ToTokenReviewSpecOutput() TokenReviewSpecOutput
	ToTokenReviewSpecOutputWithContext(context.Context) TokenReviewSpecOutput
}

TokenReviewSpecInput is an input type that accepts TokenReviewSpecArgs and TokenReviewSpecOutput values. You can construct a concrete instance of `TokenReviewSpecInput` via:

TokenReviewSpecArgs{...}

type TokenReviewSpecOutput

type TokenReviewSpecOutput struct{ *pulumi.OutputState }

TokenReviewSpec is a description of the token authentication request.

func (TokenReviewSpecOutput) Audiences

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) Token

Token is the opaque bearer token.

type TokenReviewSpecPatch added in v3.20.0

type TokenReviewSpecPatch 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 TokenReviewSpecPatchArgs added in v3.20.0

type TokenReviewSpecPatchArgs 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 (TokenReviewSpecPatchArgs) ElementType added in v3.20.0

func (TokenReviewSpecPatchArgs) ElementType() reflect.Type

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutput added in v3.20.0

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutput() TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutputWithContext added in v3.20.0

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutputWithContext(ctx context.Context) TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutput added in v3.20.0

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutputWithContext added in v3.20.0

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutputWithContext(ctx context.Context) TokenReviewSpecPatchPtrOutput

type TokenReviewSpecPatchInput added in v3.20.0

type TokenReviewSpecPatchInput interface {
	pulumi.Input

	ToTokenReviewSpecPatchOutput() TokenReviewSpecPatchOutput
	ToTokenReviewSpecPatchOutputWithContext(context.Context) TokenReviewSpecPatchOutput
}

TokenReviewSpecPatchInput is an input type that accepts TokenReviewSpecPatchArgs and TokenReviewSpecPatchOutput values. You can construct a concrete instance of `TokenReviewSpecPatchInput` via:

TokenReviewSpecPatchArgs{...}

type TokenReviewSpecPatchOutput added in v3.20.0

type TokenReviewSpecPatchOutput struct{ *pulumi.OutputState }

TokenReviewSpec is a description of the token authentication request.

func (TokenReviewSpecPatchOutput) Audiences added in v3.20.0

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 (TokenReviewSpecPatchOutput) ElementType added in v3.20.0

func (TokenReviewSpecPatchOutput) ElementType() reflect.Type

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutput added in v3.20.0

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutput() TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutputWithContext added in v3.20.0

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutputWithContext(ctx context.Context) TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutput added in v3.20.0

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutputWithContext added in v3.20.0

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutputWithContext(ctx context.Context) TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchOutput) Token added in v3.20.0

Token is the opaque bearer token.

type TokenReviewSpecPatchPtrInput added in v3.20.0

type TokenReviewSpecPatchPtrInput interface {
	pulumi.Input

	ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput
	ToTokenReviewSpecPatchPtrOutputWithContext(context.Context) TokenReviewSpecPatchPtrOutput
}

TokenReviewSpecPatchPtrInput is an input type that accepts TokenReviewSpecPatchArgs, TokenReviewSpecPatchPtr and TokenReviewSpecPatchPtrOutput values. You can construct a concrete instance of `TokenReviewSpecPatchPtrInput` via:

        TokenReviewSpecPatchArgs{...}

or:

        nil

func TokenReviewSpecPatchPtr added in v3.20.0

func TokenReviewSpecPatchPtr(v *TokenReviewSpecPatchArgs) TokenReviewSpecPatchPtrInput

type TokenReviewSpecPatchPtrOutput added in v3.20.0

type TokenReviewSpecPatchPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewSpecPatchPtrOutput) Audiences added in v3.20.0

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 (TokenReviewSpecPatchPtrOutput) Elem added in v3.20.0

func (TokenReviewSpecPatchPtrOutput) ElementType added in v3.20.0

func (TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutput added in v3.20.0

func (o TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutputWithContext added in v3.20.0

func (o TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutputWithContext(ctx context.Context) TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchPtrOutput) Token added in v3.20.0

Token is the opaque bearer token.

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
}

TokenReviewStatusInput is an input type that accepts TokenReviewStatusArgs and TokenReviewStatusOutput values. You can construct a concrete instance of `TokenReviewStatusInput` via:

TokenReviewStatusArgs{...}

type TokenReviewStatusOutput

type TokenReviewStatusOutput struct{ *pulumi.OutputState }

TokenReviewStatus is the result of the token authentication request.

func (TokenReviewStatusOutput) Audiences

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

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

User is the UserInfo associated with the provided token.

type TokenReviewStatusPatch added in v3.20.0

type TokenReviewStatusPatch 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 *UserInfoPatch `pulumi:"user"`
}

TokenReviewStatus is the result of the token authentication request.

type TokenReviewStatusPatchArgs added in v3.20.0

type TokenReviewStatusPatchArgs 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 UserInfoPatchPtrInput `pulumi:"user"`
}

TokenReviewStatus is the result of the token authentication request.

func (TokenReviewStatusPatchArgs) ElementType added in v3.20.0

func (TokenReviewStatusPatchArgs) ElementType() reflect.Type

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutput added in v3.20.0

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutput() TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutputWithContext added in v3.20.0

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutputWithContext(ctx context.Context) TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutput added in v3.20.0

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutputWithContext added in v3.20.0

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutputWithContext(ctx context.Context) TokenReviewStatusPatchPtrOutput

type TokenReviewStatusPatchInput added in v3.20.0

type TokenReviewStatusPatchInput interface {
	pulumi.Input

	ToTokenReviewStatusPatchOutput() TokenReviewStatusPatchOutput
	ToTokenReviewStatusPatchOutputWithContext(context.Context) TokenReviewStatusPatchOutput
}

TokenReviewStatusPatchInput is an input type that accepts TokenReviewStatusPatchArgs and TokenReviewStatusPatchOutput values. You can construct a concrete instance of `TokenReviewStatusPatchInput` via:

TokenReviewStatusPatchArgs{...}

type TokenReviewStatusPatchOutput added in v3.20.0

type TokenReviewStatusPatchOutput struct{ *pulumi.OutputState }

TokenReviewStatus is the result of the token authentication request.

func (TokenReviewStatusPatchOutput) Audiences added in v3.20.0

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 (TokenReviewStatusPatchOutput) Authenticated added in v3.20.0

Authenticated indicates that the token was associated with a known user.

func (TokenReviewStatusPatchOutput) ElementType added in v3.20.0

func (TokenReviewStatusPatchOutput) Error added in v3.20.0

Error indicates that the token couldn't be checked

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutput added in v3.20.0

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutput() TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutputWithContext added in v3.20.0

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutputWithContext(ctx context.Context) TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutput added in v3.20.0

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutputWithContext added in v3.20.0

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutputWithContext(ctx context.Context) TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchOutput) User added in v3.20.0

User is the UserInfo associated with the provided token.

type TokenReviewStatusPatchPtrInput added in v3.20.0

type TokenReviewStatusPatchPtrInput interface {
	pulumi.Input

	ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput
	ToTokenReviewStatusPatchPtrOutputWithContext(context.Context) TokenReviewStatusPatchPtrOutput
}

TokenReviewStatusPatchPtrInput is an input type that accepts TokenReviewStatusPatchArgs, TokenReviewStatusPatchPtr and TokenReviewStatusPatchPtrOutput values. You can construct a concrete instance of `TokenReviewStatusPatchPtrInput` via:

        TokenReviewStatusPatchArgs{...}

or:

        nil

func TokenReviewStatusPatchPtr added in v3.20.0

func TokenReviewStatusPatchPtr(v *TokenReviewStatusPatchArgs) TokenReviewStatusPatchPtrInput

type TokenReviewStatusPatchPtrOutput added in v3.20.0

type TokenReviewStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewStatusPatchPtrOutput) Audiences added in v3.20.0

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 (TokenReviewStatusPatchPtrOutput) Authenticated added in v3.20.0

Authenticated indicates that the token was associated with a known user.

func (TokenReviewStatusPatchPtrOutput) Elem added in v3.20.0

func (TokenReviewStatusPatchPtrOutput) ElementType added in v3.20.0

func (TokenReviewStatusPatchPtrOutput) Error added in v3.20.0

Error indicates that the token couldn't be checked

func (TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutput added in v3.20.0

func (o TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutputWithContext added in v3.20.0

func (o TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutputWithContext(ctx context.Context) TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchPtrOutput) User added in v3.20.0

User is the UserInfo associated with the provided token.

type TokenReviewStatusPtrInput

type TokenReviewStatusPtrInput interface {
	pulumi.Input

	ToTokenReviewStatusPtrOutput() TokenReviewStatusPtrOutput
	ToTokenReviewStatusPtrOutputWithContext(context.Context) TokenReviewStatusPtrOutput
}

TokenReviewStatusPtrInput is an input type that accepts TokenReviewStatusArgs, TokenReviewStatusPtr and TokenReviewStatusPtrOutput values. You can construct a concrete instance of `TokenReviewStatusPtrInput` via:

        TokenReviewStatusArgs{...}

or:

        nil

type TokenReviewStatusPtrOutput

type TokenReviewStatusPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewStatusPtrOutput) Audiences

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

Authenticated indicates that the token was associated with a known user.

func (TokenReviewStatusPtrOutput) Elem

func (TokenReviewStatusPtrOutput) ElementType

func (TokenReviewStatusPtrOutput) ElementType() reflect.Type

func (TokenReviewStatusPtrOutput) Error

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

User is the UserInfo associated with the provided token.

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
}

UserInfoInput is an input type that accepts UserInfoArgs and UserInfoOutput values. You can construct a concrete instance of `UserInfoInput` via:

UserInfoArgs{...}

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

Any additional information provided by the authenticator.

func (UserInfoOutput) Groups

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

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 UserInfoPatch added in v3.20.0

type UserInfoPatch 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 UserInfoPatchArgs added in v3.20.0

type UserInfoPatchArgs 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 (UserInfoPatchArgs) ElementType added in v3.20.0

func (UserInfoPatchArgs) ElementType() reflect.Type

func (UserInfoPatchArgs) ToUserInfoPatchOutput added in v3.20.0

func (i UserInfoPatchArgs) ToUserInfoPatchOutput() UserInfoPatchOutput

func (UserInfoPatchArgs) ToUserInfoPatchOutputWithContext added in v3.20.0

func (i UserInfoPatchArgs) ToUserInfoPatchOutputWithContext(ctx context.Context) UserInfoPatchOutput

func (UserInfoPatchArgs) ToUserInfoPatchPtrOutput added in v3.20.0

func (i UserInfoPatchArgs) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchArgs) ToUserInfoPatchPtrOutputWithContext added in v3.20.0

func (i UserInfoPatchArgs) ToUserInfoPatchPtrOutputWithContext(ctx context.Context) UserInfoPatchPtrOutput

type UserInfoPatchInput added in v3.20.0

type UserInfoPatchInput interface {
	pulumi.Input

	ToUserInfoPatchOutput() UserInfoPatchOutput
	ToUserInfoPatchOutputWithContext(context.Context) UserInfoPatchOutput
}

UserInfoPatchInput is an input type that accepts UserInfoPatchArgs and UserInfoPatchOutput values. You can construct a concrete instance of `UserInfoPatchInput` via:

UserInfoPatchArgs{...}

type UserInfoPatchOutput added in v3.20.0

type UserInfoPatchOutput struct{ *pulumi.OutputState }

UserInfo holds the information about the user needed to implement the user.Info interface.

func (UserInfoPatchOutput) ElementType added in v3.20.0

func (UserInfoPatchOutput) ElementType() reflect.Type

func (UserInfoPatchOutput) Extra added in v3.20.0

Any additional information provided by the authenticator.

func (UserInfoPatchOutput) Groups added in v3.20.0

The names of groups this user is a part of.

func (UserInfoPatchOutput) ToUserInfoPatchOutput added in v3.20.0

func (o UserInfoPatchOutput) ToUserInfoPatchOutput() UserInfoPatchOutput

func (UserInfoPatchOutput) ToUserInfoPatchOutputWithContext added in v3.20.0

func (o UserInfoPatchOutput) ToUserInfoPatchOutputWithContext(ctx context.Context) UserInfoPatchOutput

func (UserInfoPatchOutput) ToUserInfoPatchPtrOutput added in v3.20.0

func (o UserInfoPatchOutput) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchOutput) ToUserInfoPatchPtrOutputWithContext added in v3.20.0

func (o UserInfoPatchOutput) ToUserInfoPatchPtrOutputWithContext(ctx context.Context) UserInfoPatchPtrOutput

func (UserInfoPatchOutput) Uid added in v3.20.0

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 (UserInfoPatchOutput) Username added in v3.20.0

The name that uniquely identifies this user among all active users.

type UserInfoPatchPtrInput added in v3.20.0

type UserInfoPatchPtrInput interface {
	pulumi.Input

	ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput
	ToUserInfoPatchPtrOutputWithContext(context.Context) UserInfoPatchPtrOutput
}

UserInfoPatchPtrInput is an input type that accepts UserInfoPatchArgs, UserInfoPatchPtr and UserInfoPatchPtrOutput values. You can construct a concrete instance of `UserInfoPatchPtrInput` via:

        UserInfoPatchArgs{...}

or:

        nil

func UserInfoPatchPtr added in v3.20.0

func UserInfoPatchPtr(v *UserInfoPatchArgs) UserInfoPatchPtrInput

type UserInfoPatchPtrOutput added in v3.20.0

type UserInfoPatchPtrOutput struct{ *pulumi.OutputState }

func (UserInfoPatchPtrOutput) Elem added in v3.20.0

func (UserInfoPatchPtrOutput) ElementType added in v3.20.0

func (UserInfoPatchPtrOutput) ElementType() reflect.Type

func (UserInfoPatchPtrOutput) Extra added in v3.20.0

Any additional information provided by the authenticator.

func (UserInfoPatchPtrOutput) Groups added in v3.20.0

The names of groups this user is a part of.

func (UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutput added in v3.20.0

func (o UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutputWithContext added in v3.20.0

func (o UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutputWithContext(ctx context.Context) UserInfoPatchPtrOutput

func (UserInfoPatchPtrOutput) Uid added in v3.20.0

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 (UserInfoPatchPtrOutput) Username added in v3.20.0

The name that uniquely identifies this user among all active users.

type UserInfoPtrInput

type UserInfoPtrInput interface {
	pulumi.Input

	ToUserInfoPtrOutput() UserInfoPtrOutput
	ToUserInfoPtrOutputWithContext(context.Context) UserInfoPtrOutput
}

UserInfoPtrInput is an input type that accepts UserInfoArgs, UserInfoPtr and UserInfoPtrOutput values. You can construct a concrete instance of `UserInfoPtrInput` via:

        UserInfoArgs{...}

or:

        nil

func UserInfoPtr

func UserInfoPtr(v *UserInfoArgs) UserInfoPtrInput

type UserInfoPtrOutput

type UserInfoPtrOutput struct{ *pulumi.OutputState }

func (UserInfoPtrOutput) Elem

func (UserInfoPtrOutput) ElementType

func (UserInfoPtrOutput) ElementType() reflect.Type

func (UserInfoPtrOutput) Extra

Any additional information provided by the authenticator.

func (UserInfoPtrOutput) Groups

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

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

The name that uniquely identifies this user among all active users.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL