apik8s.io/api/authentication/v1alpha1 Index | Files

package v1alpha1

import "k8s.io/api/authentication/v1alpha1"

Index

Constants

const GroupName = "authentication.k8s.io"

GroupName is the group name use in this package

Variables

var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

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 {
	metav1.TypeMeta `json:",inline"`
	// metadata is the standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// status is filled in by the server with the user attributes.
	// +optional
	Status SelfSubjectReviewStatus `json:"status,omitempty" protobuf:"bytes,2,opt,name=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 (*SelfSubjectReview) APILifecycleDeprecated

func (in *SelfSubjectReview) APILifecycleDeprecated() (major, minor int)

APILifecycleDeprecated is an autogenerated function, returning the release in which the API struct was or will be deprecated as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:deprecated" tags in types.go or "k8s:prerelease-lifecycle-gen:introduced" plus three minor.

func (*SelfSubjectReview) APILifecycleIntroduced

func (in *SelfSubjectReview) APILifecycleIntroduced() (major, minor int)

APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.

func (*SelfSubjectReview) APILifecycleRemoved

func (in *SelfSubjectReview) APILifecycleRemoved() (major, minor int)

APILifecycleRemoved is an autogenerated function, returning the release in which the API is no longer served as int versions of major and minor for comparison. It is controlled by "k8s:prerelease-lifecycle-gen:removed" tags in types.go or "k8s:prerelease-lifecycle-gen:deprecated" plus three minor.

func (*SelfSubjectReview) DeepCopy

func (in *SelfSubjectReview) DeepCopy() *SelfSubjectReview

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReview.

func (*SelfSubjectReview) DeepCopyInto

func (in *SelfSubjectReview) DeepCopyInto(out *SelfSubjectReview)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SelfSubjectReview) DeepCopyObject

func (in *SelfSubjectReview) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*SelfSubjectReview) Marshal

func (m *SelfSubjectReview) Marshal() (dAtA []byte, err error)

func (*SelfSubjectReview) MarshalTo

func (m *SelfSubjectReview) MarshalTo(dAtA []byte) (int, error)

func (*SelfSubjectReview) MarshalToSizedBuffer

func (m *SelfSubjectReview) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SelfSubjectReview) OpenAPIModelName

func (in SelfSubjectReview) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

func (*SelfSubjectReview) Reset

func (m *SelfSubjectReview) Reset()

func (*SelfSubjectReview) Size

func (m *SelfSubjectReview) Size() (n int)

func (*SelfSubjectReview) String

func (this *SelfSubjectReview) String() string

func (SelfSubjectReview) SwaggerDoc

func (SelfSubjectReview) SwaggerDoc() map[string]string

func (*SelfSubjectReview) Unmarshal

func (m *SelfSubjectReview) Unmarshal(dAtA []byte) error

type SelfSubjectReviewStatus

type SelfSubjectReviewStatus struct {
	// userInfo is a set of attributes belonging to the user making this request.
	// +optional
	UserInfo v1.UserInfo `json:"userInfo,omitempty" protobuf:"bytes,1,opt,name=userInfo"`
}

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

func (*SelfSubjectReviewStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SelfSubjectReviewStatus.

func (*SelfSubjectReviewStatus) DeepCopyInto

func (in *SelfSubjectReviewStatus) DeepCopyInto(out *SelfSubjectReviewStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SelfSubjectReviewStatus) Marshal

func (m *SelfSubjectReviewStatus) Marshal() (dAtA []byte, err error)

func (*SelfSubjectReviewStatus) MarshalTo

func (m *SelfSubjectReviewStatus) MarshalTo(dAtA []byte) (int, error)

func (*SelfSubjectReviewStatus) MarshalToSizedBuffer

func (m *SelfSubjectReviewStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SelfSubjectReviewStatus) OpenAPIModelName

func (in SelfSubjectReviewStatus) OpenAPIModelName() string

OpenAPIModelName returns the OpenAPI model name for this type.

func (*SelfSubjectReviewStatus) Reset

func (m *SelfSubjectReviewStatus) Reset()

func (*SelfSubjectReviewStatus) Size

func (m *SelfSubjectReviewStatus) Size() (n int)

func (*SelfSubjectReviewStatus) String

func (this *SelfSubjectReviewStatus) String() string

func (SelfSubjectReviewStatus) SwaggerDoc

func (SelfSubjectReviewStatus) SwaggerDoc() map[string]string

func (*SelfSubjectReviewStatus) Unmarshal

func (m *SelfSubjectReviewStatus) Unmarshal(dAtA []byte) error

Source Files

doc.go generated.pb.go register.go types.go types_swagger_doc_generated.go zz_generated.deepcopy.go zz_generated.model_name.go zz_generated.prerelease-lifecycle.go

Version
v0.36.0-alpha.2
Published
Feb 26, 2026
Platform
js/wasm
Imports
9 packages
Last checked
6 seconds ago

Tools for package owners.