v1beta1

package
v4.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SelfSubjectReview

type SelfSubjectReview 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"`
	// Status is filled in by the server with the user attributes.
	Status *SelfSubjectReviewStatus `pulumi:"status"`
}

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

type SelfSubjectReviewArgs

type SelfSubjectReviewArgs 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"`
	// Status is filled in by the server with the user attributes.
	Status SelfSubjectReviewStatusPtrInput `pulumi:"status"`
}

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

func (SelfSubjectReviewArgs) ElementType

func (SelfSubjectReviewArgs) ElementType() reflect.Type

func (SelfSubjectReviewArgs) ToSelfSubjectReviewOutput

func (i SelfSubjectReviewArgs) ToSelfSubjectReviewOutput() SelfSubjectReviewOutput

func (SelfSubjectReviewArgs) ToSelfSubjectReviewOutputWithContext

func (i SelfSubjectReviewArgs) ToSelfSubjectReviewOutputWithContext(ctx context.Context) SelfSubjectReviewOutput

type SelfSubjectReviewInput

type SelfSubjectReviewInput interface {
	pulumi.Input

	ToSelfSubjectReviewOutput() SelfSubjectReviewOutput
	ToSelfSubjectReviewOutputWithContext(context.Context) SelfSubjectReviewOutput
}

SelfSubjectReviewInput is an input type that accepts SelfSubjectReviewArgs and SelfSubjectReviewOutput values. You can construct a concrete instance of `SelfSubjectReviewInput` via:

SelfSubjectReviewArgs{...}

type SelfSubjectReviewOutput

type SelfSubjectReviewOutput struct{ *pulumi.OutputState }

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

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

func (SelfSubjectReviewOutput) ElementType() reflect.Type

func (SelfSubjectReviewOutput) 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 (SelfSubjectReviewOutput) Status

Status is filled in by the server with the user attributes.

func (SelfSubjectReviewOutput) ToSelfSubjectReviewOutput

func (o SelfSubjectReviewOutput) ToSelfSubjectReviewOutput() SelfSubjectReviewOutput

func (SelfSubjectReviewOutput) ToSelfSubjectReviewOutputWithContext

func (o SelfSubjectReviewOutput) ToSelfSubjectReviewOutputWithContext(ctx context.Context) SelfSubjectReviewOutput

type SelfSubjectReviewPatch

type SelfSubjectReviewPatch 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"`
	// Status is filled in by the server with the user attributes.
	Status *SelfSubjectReviewStatusPatch `pulumi:"status"`
}

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

type SelfSubjectReviewPatchArgs

type SelfSubjectReviewPatchArgs 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"`
	// Status is filled in by the server with the user attributes.
	Status SelfSubjectReviewStatusPatchPtrInput `pulumi:"status"`
}

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

func (SelfSubjectReviewPatchArgs) ElementType

func (SelfSubjectReviewPatchArgs) ElementType() reflect.Type

func (SelfSubjectReviewPatchArgs) ToSelfSubjectReviewPatchOutput

func (i SelfSubjectReviewPatchArgs) ToSelfSubjectReviewPatchOutput() SelfSubjectReviewPatchOutput

func (SelfSubjectReviewPatchArgs) ToSelfSubjectReviewPatchOutputWithContext

func (i SelfSubjectReviewPatchArgs) ToSelfSubjectReviewPatchOutputWithContext(ctx context.Context) SelfSubjectReviewPatchOutput

type SelfSubjectReviewPatchInput

type SelfSubjectReviewPatchInput interface {
	pulumi.Input

	ToSelfSubjectReviewPatchOutput() SelfSubjectReviewPatchOutput
	ToSelfSubjectReviewPatchOutputWithContext(context.Context) SelfSubjectReviewPatchOutput
}

SelfSubjectReviewPatchInput is an input type that accepts SelfSubjectReviewPatchArgs and SelfSubjectReviewPatchOutput values. You can construct a concrete instance of `SelfSubjectReviewPatchInput` via:

SelfSubjectReviewPatchArgs{...}

type SelfSubjectReviewPatchOutput

type SelfSubjectReviewPatchOutput struct{ *pulumi.OutputState }

SelfSubjectReview contains the user information that the kube-apiserver has about the user making this request. When using impersonation, users will receive the user info of the user being impersonated. If impersonation or request header authentication is used, any extra keys will have their case ignored and returned as lowercase.

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

func (SelfSubjectReviewPatchOutput) 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 (SelfSubjectReviewPatchOutput) Status

Status is filled in by the server with the user attributes.

func (SelfSubjectReviewPatchOutput) ToSelfSubjectReviewPatchOutput

func (o SelfSubjectReviewPatchOutput) ToSelfSubjectReviewPatchOutput() SelfSubjectReviewPatchOutput

func (SelfSubjectReviewPatchOutput) ToSelfSubjectReviewPatchOutputWithContext

func (o SelfSubjectReviewPatchOutput) ToSelfSubjectReviewPatchOutputWithContext(ctx context.Context) SelfSubjectReviewPatchOutput

type SelfSubjectReviewStatus

type SelfSubjectReviewStatus struct {
	// User attributes of the user making this request.
	UserInfo *authenticationv1.UserInfo `pulumi:"userInfo"`
}

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

type SelfSubjectReviewStatusArgs

type SelfSubjectReviewStatusArgs struct {
	// User attributes of the user making this request.
	UserInfo authenticationv1.UserInfoPtrInput `pulumi:"userInfo"`
}

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

func (SelfSubjectReviewStatusArgs) ElementType

func (SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusOutput

func (i SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusOutput() SelfSubjectReviewStatusOutput

func (SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusOutputWithContext

func (i SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusOutputWithContext(ctx context.Context) SelfSubjectReviewStatusOutput

func (SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusPtrOutput

func (i SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusPtrOutput() SelfSubjectReviewStatusPtrOutput

func (SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusPtrOutputWithContext

func (i SelfSubjectReviewStatusArgs) ToSelfSubjectReviewStatusPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPtrOutput

type SelfSubjectReviewStatusInput

type SelfSubjectReviewStatusInput interface {
	pulumi.Input

	ToSelfSubjectReviewStatusOutput() SelfSubjectReviewStatusOutput
	ToSelfSubjectReviewStatusOutputWithContext(context.Context) SelfSubjectReviewStatusOutput
}

SelfSubjectReviewStatusInput is an input type that accepts SelfSubjectReviewStatusArgs and SelfSubjectReviewStatusOutput values. You can construct a concrete instance of `SelfSubjectReviewStatusInput` via:

SelfSubjectReviewStatusArgs{...}

type SelfSubjectReviewStatusOutput

type SelfSubjectReviewStatusOutput struct{ *pulumi.OutputState }

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

func (SelfSubjectReviewStatusOutput) ElementType

func (SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusOutput

func (o SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusOutput() SelfSubjectReviewStatusOutput

func (SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusOutputWithContext

func (o SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusOutputWithContext(ctx context.Context) SelfSubjectReviewStatusOutput

func (SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusPtrOutput

func (o SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusPtrOutput() SelfSubjectReviewStatusPtrOutput

func (SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusPtrOutputWithContext

func (o SelfSubjectReviewStatusOutput) ToSelfSubjectReviewStatusPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPtrOutput

func (SelfSubjectReviewStatusOutput) UserInfo

User attributes of the user making this request.

type SelfSubjectReviewStatusPatch

type SelfSubjectReviewStatusPatch struct {
	// User attributes of the user making this request.
	UserInfo *authenticationv1.UserInfoPatch `pulumi:"userInfo"`
}

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

type SelfSubjectReviewStatusPatchArgs

type SelfSubjectReviewStatusPatchArgs struct {
	// User attributes of the user making this request.
	UserInfo authenticationv1.UserInfoPatchPtrInput `pulumi:"userInfo"`
}

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

func (SelfSubjectReviewStatusPatchArgs) ElementType

func (SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchOutput

func (i SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchOutput() SelfSubjectReviewStatusPatchOutput

func (SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchOutputWithContext

func (i SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPatchOutput

func (SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchPtrOutput

func (i SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchPtrOutput() SelfSubjectReviewStatusPatchPtrOutput

func (SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchPtrOutputWithContext

func (i SelfSubjectReviewStatusPatchArgs) ToSelfSubjectReviewStatusPatchPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPatchPtrOutput

type SelfSubjectReviewStatusPatchInput

type SelfSubjectReviewStatusPatchInput interface {
	pulumi.Input

	ToSelfSubjectReviewStatusPatchOutput() SelfSubjectReviewStatusPatchOutput
	ToSelfSubjectReviewStatusPatchOutputWithContext(context.Context) SelfSubjectReviewStatusPatchOutput
}

SelfSubjectReviewStatusPatchInput is an input type that accepts SelfSubjectReviewStatusPatchArgs and SelfSubjectReviewStatusPatchOutput values. You can construct a concrete instance of `SelfSubjectReviewStatusPatchInput` via:

SelfSubjectReviewStatusPatchArgs{...}

type SelfSubjectReviewStatusPatchOutput

type SelfSubjectReviewStatusPatchOutput struct{ *pulumi.OutputState }

SelfSubjectReviewStatus is filled by the kube-apiserver and sent back to a user.

func (SelfSubjectReviewStatusPatchOutput) ElementType

func (SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchOutput

func (o SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchOutput() SelfSubjectReviewStatusPatchOutput

func (SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchOutputWithContext

func (o SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPatchOutput

func (SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchPtrOutput

func (o SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchPtrOutput() SelfSubjectReviewStatusPatchPtrOutput

func (SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchPtrOutputWithContext

func (o SelfSubjectReviewStatusPatchOutput) ToSelfSubjectReviewStatusPatchPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPatchPtrOutput

func (SelfSubjectReviewStatusPatchOutput) UserInfo

User attributes of the user making this request.

type SelfSubjectReviewStatusPatchPtrInput

type SelfSubjectReviewStatusPatchPtrInput interface {
	pulumi.Input

	ToSelfSubjectReviewStatusPatchPtrOutput() SelfSubjectReviewStatusPatchPtrOutput
	ToSelfSubjectReviewStatusPatchPtrOutputWithContext(context.Context) SelfSubjectReviewStatusPatchPtrOutput
}

SelfSubjectReviewStatusPatchPtrInput is an input type that accepts SelfSubjectReviewStatusPatchArgs, SelfSubjectReviewStatusPatchPtr and SelfSubjectReviewStatusPatchPtrOutput values. You can construct a concrete instance of `SelfSubjectReviewStatusPatchPtrInput` via:

        SelfSubjectReviewStatusPatchArgs{...}

or:

        nil

type SelfSubjectReviewStatusPatchPtrOutput

type SelfSubjectReviewStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (SelfSubjectReviewStatusPatchPtrOutput) Elem

func (SelfSubjectReviewStatusPatchPtrOutput) ElementType

func (SelfSubjectReviewStatusPatchPtrOutput) ToSelfSubjectReviewStatusPatchPtrOutput

func (o SelfSubjectReviewStatusPatchPtrOutput) ToSelfSubjectReviewStatusPatchPtrOutput() SelfSubjectReviewStatusPatchPtrOutput

func (SelfSubjectReviewStatusPatchPtrOutput) ToSelfSubjectReviewStatusPatchPtrOutputWithContext

func (o SelfSubjectReviewStatusPatchPtrOutput) ToSelfSubjectReviewStatusPatchPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPatchPtrOutput

func (SelfSubjectReviewStatusPatchPtrOutput) UserInfo

User attributes of the user making this request.

type SelfSubjectReviewStatusPtrInput

type SelfSubjectReviewStatusPtrInput interface {
	pulumi.Input

	ToSelfSubjectReviewStatusPtrOutput() SelfSubjectReviewStatusPtrOutput
	ToSelfSubjectReviewStatusPtrOutputWithContext(context.Context) SelfSubjectReviewStatusPtrOutput
}

SelfSubjectReviewStatusPtrInput is an input type that accepts SelfSubjectReviewStatusArgs, SelfSubjectReviewStatusPtr and SelfSubjectReviewStatusPtrOutput values. You can construct a concrete instance of `SelfSubjectReviewStatusPtrInput` via:

        SelfSubjectReviewStatusArgs{...}

or:

        nil

type SelfSubjectReviewStatusPtrOutput

type SelfSubjectReviewStatusPtrOutput struct{ *pulumi.OutputState }

func (SelfSubjectReviewStatusPtrOutput) Elem

func (SelfSubjectReviewStatusPtrOutput) ElementType

func (SelfSubjectReviewStatusPtrOutput) ToSelfSubjectReviewStatusPtrOutput

func (o SelfSubjectReviewStatusPtrOutput) ToSelfSubjectReviewStatusPtrOutput() SelfSubjectReviewStatusPtrOutput

func (SelfSubjectReviewStatusPtrOutput) ToSelfSubjectReviewStatusPtrOutputWithContext

func (o SelfSubjectReviewStatusPtrOutput) ToSelfSubjectReviewStatusPtrOutputWithContext(ctx context.Context) SelfSubjectReviewStatusPtrOutput

func (SelfSubjectReviewStatusPtrOutput) UserInfo

User attributes of the user making this request.

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

func (i TokenReviewArgs) ToTokenReviewOutput() TokenReviewOutput

func (TokenReviewArgs) ToTokenReviewOutputWithContext

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

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

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

func (TokenReviewOutput) Spec

Spec holds information about the request being evaluated

func (TokenReviewOutput) Status

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

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

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

func (TokenReviewPatchArgs) ElementType() reflect.Type

func (TokenReviewPatchArgs) ToTokenReviewPatchOutput

func (i TokenReviewPatchArgs) ToTokenReviewPatchOutput() TokenReviewPatchOutput

func (TokenReviewPatchArgs) ToTokenReviewPatchOutputWithContext

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

type TokenReviewPatchInput

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

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

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

func (TokenReviewPatchOutput) ElementType() reflect.Type

func (TokenReviewPatchOutput) 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 (TokenReviewPatchOutput) Metadata

func (TokenReviewPatchOutput) Spec

Spec holds information about the request being evaluated

func (TokenReviewPatchOutput) Status

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

func (TokenReviewPatchOutput) ToTokenReviewPatchOutput

func (o TokenReviewPatchOutput) ToTokenReviewPatchOutput() TokenReviewPatchOutput

func (TokenReviewPatchOutput) ToTokenReviewPatchOutputWithContext

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

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

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

func (TokenReviewSpecPatchArgs) ElementType() reflect.Type

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutput

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutput() TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchOutputWithContext

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

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutput

func (i TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchArgs) ToTokenReviewSpecPatchPtrOutputWithContext

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

type TokenReviewSpecPatchInput

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

type TokenReviewSpecPatchOutput struct{ *pulumi.OutputState }

TokenReviewSpec is a description of the token authentication request.

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

func (TokenReviewSpecPatchOutput) ElementType() reflect.Type

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutput

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutput() TokenReviewSpecPatchOutput

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchOutputWithContext

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

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutput

func (o TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchOutput) ToTokenReviewSpecPatchPtrOutputWithContext

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

func (TokenReviewSpecPatchOutput) Token

Token is the opaque bearer token.

type TokenReviewSpecPatchPtrInput

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

type TokenReviewSpecPatchPtrOutput

type TokenReviewSpecPatchPtrOutput struct{ *pulumi.OutputState }

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

func (TokenReviewSpecPatchPtrOutput) ElementType

func (TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutput

func (o TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutput() TokenReviewSpecPatchPtrOutput

func (TokenReviewSpecPatchPtrOutput) ToTokenReviewSpecPatchPtrOutputWithContext

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

func (TokenReviewSpecPatchPtrOutput) Token

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

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

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

func (TokenReviewStatusPatchArgs) ElementType() reflect.Type

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutput

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutput() TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchOutputWithContext

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

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutput

func (i TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchArgs) ToTokenReviewStatusPatchPtrOutputWithContext

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

type TokenReviewStatusPatchInput

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

type TokenReviewStatusPatchOutput struct{ *pulumi.OutputState }

TokenReviewStatus is the result of the token authentication request.

func (TokenReviewStatusPatchOutput) 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 (TokenReviewStatusPatchOutput) Authenticated

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

func (TokenReviewStatusPatchOutput) ElementType

func (TokenReviewStatusPatchOutput) Error

Error indicates that the token couldn't be checked

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutput

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutput() TokenReviewStatusPatchOutput

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchOutputWithContext

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

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutput

func (o TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchOutput) ToTokenReviewStatusPatchPtrOutputWithContext

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

func (TokenReviewStatusPatchOutput) User

User is the UserInfo associated with the provided token.

type TokenReviewStatusPatchPtrInput

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

type TokenReviewStatusPatchPtrOutput

type TokenReviewStatusPatchPtrOutput struct{ *pulumi.OutputState }

func (TokenReviewStatusPatchPtrOutput) 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 (TokenReviewStatusPatchPtrOutput) Authenticated

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

func (TokenReviewStatusPatchPtrOutput) Elem

func (TokenReviewStatusPatchPtrOutput) ElementType

func (TokenReviewStatusPatchPtrOutput) Error

Error indicates that the token couldn't be checked

func (TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutput

func (o TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutput() TokenReviewStatusPatchPtrOutput

func (TokenReviewStatusPatchPtrOutput) ToTokenReviewStatusPatchPtrOutputWithContext

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

func (TokenReviewStatusPatchPtrOutput) 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 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

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

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

func (UserInfoPatchArgs) ElementType() reflect.Type

func (UserInfoPatchArgs) ToUserInfoPatchOutput

func (i UserInfoPatchArgs) ToUserInfoPatchOutput() UserInfoPatchOutput

func (UserInfoPatchArgs) ToUserInfoPatchOutputWithContext

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

func (UserInfoPatchArgs) ToUserInfoPatchPtrOutput

func (i UserInfoPatchArgs) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchArgs) ToUserInfoPatchPtrOutputWithContext

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

type UserInfoPatchInput

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

type UserInfoPatchOutput struct{ *pulumi.OutputState }

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

func (UserInfoPatchOutput) ElementType

func (UserInfoPatchOutput) ElementType() reflect.Type

func (UserInfoPatchOutput) Extra

Any additional information provided by the authenticator.

func (UserInfoPatchOutput) Groups

The names of groups this user is a part of.

func (UserInfoPatchOutput) ToUserInfoPatchOutput

func (o UserInfoPatchOutput) ToUserInfoPatchOutput() UserInfoPatchOutput

func (UserInfoPatchOutput) ToUserInfoPatchOutputWithContext

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

func (UserInfoPatchOutput) ToUserInfoPatchPtrOutput

func (o UserInfoPatchOutput) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchOutput) ToUserInfoPatchPtrOutputWithContext

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

func (UserInfoPatchOutput) 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 (UserInfoPatchOutput) Username

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

type UserInfoPatchPtrInput

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

type UserInfoPatchPtrOutput

type UserInfoPatchPtrOutput struct{ *pulumi.OutputState }

func (UserInfoPatchPtrOutput) Elem

func (UserInfoPatchPtrOutput) ElementType

func (UserInfoPatchPtrOutput) ElementType() reflect.Type

func (UserInfoPatchPtrOutput) Extra

Any additional information provided by the authenticator.

func (UserInfoPatchPtrOutput) Groups

The names of groups this user is a part of.

func (UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutput

func (o UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutput() UserInfoPatchPtrOutput

func (UserInfoPatchPtrOutput) ToUserInfoPatchPtrOutputWithContext

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

func (UserInfoPatchPtrOutput) 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 (UserInfoPatchPtrOutput) Username

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