Documentation ¶
Overview ¶
Package identity is the internal version of the Pinniped identity API.
Index ¶
Constants ¶
const GroupName = "identity.concierge.pinniped.dev"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}
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 back a Group qualified GroupResource.
Types ¶
type ExtraValue ¶
type ExtraValue []string
ExtraValue masks the value so protobuf can generate
func (ExtraValue) DeepCopy ¶
func (in ExtraValue) DeepCopy() ExtraValue
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExtraValue.
func (ExtraValue) DeepCopyInto ¶
func (in ExtraValue) DeepCopyInto(out *ExtraValue)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ExtraValue) String ¶
func (t ExtraValue) String() string
type KubernetesUserInfo ¶
type KubernetesUserInfo struct { // User is the UserInfo associated with the current user. User UserInfo // Audiences are audience identifiers chosen by the authenticator. Audiences []string }
KubernetesUserInfo represents the current authenticated user, exactly as Kubernetes understands it. Copied from the Kubernetes token review API.
func (*KubernetesUserInfo) DeepCopy ¶
func (in *KubernetesUserInfo) DeepCopy() *KubernetesUserInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KubernetesUserInfo.
func (*KubernetesUserInfo) DeepCopyInto ¶
func (in *KubernetesUserInfo) DeepCopyInto(out *KubernetesUserInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserInfo ¶
type UserInfo struct { // The name that uniquely identifies this user among all active users. Username string // 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 // The names of groups this user is a part of. Groups []string // Any additional information provided by the authenticator. Extra map[string]ExtraValue }
UserInfo holds the information about the user needed to implement the user.Info interface.
func (*UserInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserInfo.
func (*UserInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WhoAmIRequest ¶
type WhoAmIRequest struct { metav1.TypeMeta metav1.ObjectMeta Spec WhoAmIRequestSpec Status WhoAmIRequestStatus }
WhoAmIRequest submits a request to echo back the current authenticated user. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*WhoAmIRequest) DeepCopy ¶
func (in *WhoAmIRequest) DeepCopy() *WhoAmIRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WhoAmIRequest.
func (*WhoAmIRequest) DeepCopyInto ¶
func (in *WhoAmIRequest) DeepCopyInto(out *WhoAmIRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WhoAmIRequest) DeepCopyObject ¶
func (in *WhoAmIRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WhoAmIRequestList ¶
type WhoAmIRequestList struct { metav1.TypeMeta metav1.ListMeta // Items is a list of WhoAmIRequest Items []WhoAmIRequest }
WhoAmIRequestList is a list of WhoAmIRequest objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*WhoAmIRequestList) DeepCopy ¶
func (in *WhoAmIRequestList) DeepCopy() *WhoAmIRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WhoAmIRequestList.
func (*WhoAmIRequestList) DeepCopyInto ¶
func (in *WhoAmIRequestList) DeepCopyInto(out *WhoAmIRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*WhoAmIRequestList) DeepCopyObject ¶
func (in *WhoAmIRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type WhoAmIRequestSpec ¶
type WhoAmIRequestSpec struct { }
func (*WhoAmIRequestSpec) DeepCopy ¶
func (in *WhoAmIRequestSpec) DeepCopy() *WhoAmIRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WhoAmIRequestSpec.
func (*WhoAmIRequestSpec) DeepCopyInto ¶
func (in *WhoAmIRequestSpec) DeepCopyInto(out *WhoAmIRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WhoAmIRequestStatus ¶
type WhoAmIRequestStatus struct { // The current authenticated user, exactly as Kubernetes understands it. KubernetesUserInfo KubernetesUserInfo }
func (*WhoAmIRequestStatus) DeepCopy ¶
func (in *WhoAmIRequestStatus) DeepCopy() *WhoAmIRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WhoAmIRequestStatus.
func (*WhoAmIRequestStatus) DeepCopyInto ¶
func (in *WhoAmIRequestStatus) DeepCopyInto(out *WhoAmIRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha1 is the v1alpha1 version of the Pinniped identity API.
|
Package v1alpha1 is the v1alpha1 version of the Pinniped identity API. |