v1beta1

package
Version: v3.10.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 TokenReviewSpecOutput `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.

func (*TokenReview) ElementType

func (*TokenReview) ElementType() reflect.Type

func (*TokenReview) ToTokenReviewOutput

func (i *TokenReview) ToTokenReviewOutput() TokenReviewOutput

func (*TokenReview) ToTokenReviewOutputWithContext

func (i *TokenReview) ToTokenReviewOutputWithContext(ctx context.Context) TokenReviewOutput

func (*TokenReview) ToTokenReviewPtrOutput

func (i *TokenReview) ToTokenReviewPtrOutput() TokenReviewPtrOutput

func (*TokenReview) ToTokenReviewPtrOutputWithContext

func (i *TokenReview) ToTokenReviewPtrOutputWithContext(ctx context.Context) TokenReviewPtrOutput

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 TokenReviewArray

type TokenReviewArray []TokenReviewInput

func (TokenReviewArray) ElementType

func (TokenReviewArray) ElementType() reflect.Type

func (TokenReviewArray) ToTokenReviewArrayOutput

func (i TokenReviewArray) ToTokenReviewArrayOutput() TokenReviewArrayOutput

func (TokenReviewArray) ToTokenReviewArrayOutputWithContext

func (i TokenReviewArray) ToTokenReviewArrayOutputWithContext(ctx context.Context) TokenReviewArrayOutput

type TokenReviewArrayInput

type TokenReviewArrayInput interface {
	pulumi.Input

	ToTokenReviewArrayOutput() TokenReviewArrayOutput
	ToTokenReviewArrayOutputWithContext(context.Context) TokenReviewArrayOutput
}

TokenReviewArrayInput is an input type that accepts TokenReviewArray and TokenReviewArrayOutput values. You can construct a concrete instance of `TokenReviewArrayInput` via:

TokenReviewArray{ TokenReviewArgs{...} }

type TokenReviewArrayOutput

type TokenReviewArrayOutput struct{ *pulumi.OutputState }

func (TokenReviewArrayOutput) ElementType

func (TokenReviewArrayOutput) ElementType() reflect.Type

func (TokenReviewArrayOutput) Index

func (TokenReviewArrayOutput) ToTokenReviewArrayOutput

func (o TokenReviewArrayOutput) ToTokenReviewArrayOutput() TokenReviewArrayOutput

func (TokenReviewArrayOutput) ToTokenReviewArrayOutputWithContext

func (o TokenReviewArrayOutput) ToTokenReviewArrayOutputWithContext(ctx context.Context) TokenReviewArrayOutput

type TokenReviewInput

type TokenReviewInput interface {
	pulumi.Input

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

type TokenReviewMap

type TokenReviewMap map[string]TokenReviewInput

func (TokenReviewMap) ElementType

func (TokenReviewMap) ElementType() reflect.Type

func (TokenReviewMap) ToTokenReviewMapOutput

func (i TokenReviewMap) ToTokenReviewMapOutput() TokenReviewMapOutput

func (TokenReviewMap) ToTokenReviewMapOutputWithContext

func (i TokenReviewMap) ToTokenReviewMapOutputWithContext(ctx context.Context) TokenReviewMapOutput

type TokenReviewMapInput

type TokenReviewMapInput interface {
	pulumi.Input

	ToTokenReviewMapOutput() TokenReviewMapOutput
	ToTokenReviewMapOutputWithContext(context.Context) TokenReviewMapOutput
}

TokenReviewMapInput is an input type that accepts TokenReviewMap and TokenReviewMapOutput values. You can construct a concrete instance of `TokenReviewMapInput` via:

TokenReviewMap{ "key": TokenReviewArgs{...} }

type TokenReviewMapOutput

type TokenReviewMapOutput struct{ *pulumi.OutputState }

func (TokenReviewMapOutput) ElementType

func (TokenReviewMapOutput) ElementType() reflect.Type

func (TokenReviewMapOutput) MapIndex

func (TokenReviewMapOutput) ToTokenReviewMapOutput

func (o TokenReviewMapOutput) ToTokenReviewMapOutput() TokenReviewMapOutput

func (TokenReviewMapOutput) ToTokenReviewMapOutputWithContext

func (o TokenReviewMapOutput) ToTokenReviewMapOutputWithContext(ctx context.Context) TokenReviewMapOutput

type TokenReviewOutput

type TokenReviewOutput struct{ *pulumi.OutputState }

func (TokenReviewOutput) ElementType

func (TokenReviewOutput) ElementType() reflect.Type

func (TokenReviewOutput) ToTokenReviewOutput

func (o TokenReviewOutput) ToTokenReviewOutput() TokenReviewOutput

func (TokenReviewOutput) ToTokenReviewOutputWithContext

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

func (TokenReviewOutput) ToTokenReviewPtrOutput

func (o TokenReviewOutput) ToTokenReviewPtrOutput() TokenReviewPtrOutput

func (TokenReviewOutput) ToTokenReviewPtrOutputWithContext

func (o TokenReviewOutput) ToTokenReviewPtrOutputWithContext(ctx context.Context) TokenReviewPtrOutput

type TokenReviewPtrInput

type TokenReviewPtrInput interface {
	pulumi.Input

	ToTokenReviewPtrOutput() TokenReviewPtrOutput
	ToTokenReviewPtrOutputWithContext(ctx context.Context) TokenReviewPtrOutput
}

type TokenReviewPtrOutput

type TokenReviewPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewPtrOutput) Elem added in v3.7.2

func (TokenReviewPtrOutput) ElementType

func (TokenReviewPtrOutput) ElementType() reflect.Type

func (TokenReviewPtrOutput) ToTokenReviewPtrOutput

func (o TokenReviewPtrOutput) ToTokenReviewPtrOutput() TokenReviewPtrOutput

func (TokenReviewPtrOutput) ToTokenReviewPtrOutputWithContext

func (o TokenReviewPtrOutput) ToTokenReviewPtrOutputWithContext(ctx context.Context) TokenReviewPtrOutput

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
}

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

func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput

func (TokenReviewSpecOutput) ToTokenReviewSpecPtrOutputWithContext

func (o TokenReviewSpecOutput) ToTokenReviewSpecPtrOutputWithContext(ctx context.Context) TokenReviewSpecPtrOutput

func (TokenReviewSpecOutput) Token

Token is the opaque bearer token.

type TokenReviewSpecPtrInput

type TokenReviewSpecPtrInput interface {
	pulumi.Input

	ToTokenReviewSpecPtrOutput() TokenReviewSpecPtrOutput
	ToTokenReviewSpecPtrOutputWithContext(context.Context) TokenReviewSpecPtrOutput
}

TokenReviewSpecPtrInput is an input type that accepts TokenReviewSpecArgs, TokenReviewSpecPtr and TokenReviewSpecPtrOutput values. You can construct a concrete instance of `TokenReviewSpecPtrInput` via:

        TokenReviewSpecArgs{...}

or:

        nil

type TokenReviewSpecPtrOutput

type TokenReviewSpecPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewSpecPtrOutput) 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 (TokenReviewSpecPtrOutput) Elem

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

Token is the opaque bearer token.

type TokenReviewState

type TokenReviewState struct {
}

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
}

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 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 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 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 (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
}

TokenReviewTypeInput is an input type that accepts TokenReviewTypeArgs and TokenReviewTypeOutput values. You can construct a concrete instance of `TokenReviewTypeInput` via:

TokenReviewTypeArgs{...}

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

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

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 (TokenReviewTypeOutput) Spec

Spec holds information about the request being evaluated

func (TokenReviewTypeOutput) Status

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
}

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