v1alpha1

package
v0.26.10 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 20

Documentation

Index

Constants

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

GroupName is the group name use in this package

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
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
)
View Source
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"`
	// 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.
	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.

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

func (*SelfSubjectReview) Descriptor() ([]byte, []int)

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

func (*SelfSubjectReview) ProtoMessage()

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

func (*SelfSubjectReview) XXX_DiscardUnknown

func (m *SelfSubjectReview) XXX_DiscardUnknown()

func (*SelfSubjectReview) XXX_Marshal

func (m *SelfSubjectReview) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfSubjectReview) XXX_Merge

func (m *SelfSubjectReview) XXX_Merge(src proto.Message)

func (*SelfSubjectReview) XXX_Size

func (m *SelfSubjectReview) XXX_Size() int

func (*SelfSubjectReview) XXX_Unmarshal

func (m *SelfSubjectReview) XXX_Unmarshal(b []byte) error

type SelfSubjectReviewStatus

type SelfSubjectReviewStatus struct {
	// User attributes of 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) Descriptor

func (*SelfSubjectReviewStatus) Descriptor() ([]byte, []int)

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

func (*SelfSubjectReviewStatus) ProtoMessage()

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

func (*SelfSubjectReviewStatus) XXX_DiscardUnknown

func (m *SelfSubjectReviewStatus) XXX_DiscardUnknown()

func (*SelfSubjectReviewStatus) XXX_Marshal

func (m *SelfSubjectReviewStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SelfSubjectReviewStatus) XXX_Merge

func (m *SelfSubjectReviewStatus) XXX_Merge(src proto.Message)

func (*SelfSubjectReviewStatus) XXX_Size

func (m *SelfSubjectReviewStatus) XXX_Size() int

func (*SelfSubjectReviewStatus) XXX_Unmarshal

func (m *SelfSubjectReviewStatus) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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