v1beta1

package
v1.27.0-kw4 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "authentication.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1beta1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

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 `json:"apiVersion,omitempty"`

	// 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 `json:"kind,omitempty"`

	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	Metadata *apimachinery_pkg_apis_meta_v1.ObjectMeta `json:"metadata,omitempty"`

	// Status is filled in by the server with the user attributes.
	Status *SelfSubjectReviewStatus `json:"status,omitempty"`
}

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

swagger:model SelfSubjectReview

func (*SelfSubjectReview) GroupVersionKind

func (v *SelfSubjectReview) GroupVersionKind() schema.GroupVersionKind

type SelfSubjectReviewStatus

type SelfSubjectReviewStatus struct {

	// User attributes of the user making this request.
	UserInfo *api_authentication_v1.UserInfo `json:"userInfo,omitempty"`
}

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

swagger:model SelfSubjectReviewStatus

Jump to

Keyboard shortcuts

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