v1alpha1

package
v0.0.0-...-844c169 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the Pinniped identity API.

Index

Constants

View Source
const GroupName = "identity.concierge.pinniped.dev"

Variables

View Source
var (
	SchemeBuilder runtime.SchemeBuilder

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

SchemeGroupVersion is group version used to register these objects.

Functions

func Convert_identity_KubernetesUserInfo_To_v1alpha1_KubernetesUserInfo

func Convert_identity_KubernetesUserInfo_To_v1alpha1_KubernetesUserInfo(in *identity.KubernetesUserInfo, out *KubernetesUserInfo, s conversion.Scope) error

Convert_identity_KubernetesUserInfo_To_v1alpha1_KubernetesUserInfo is an autogenerated conversion function.

func Convert_identity_UserInfo_To_v1alpha1_UserInfo

func Convert_identity_UserInfo_To_v1alpha1_UserInfo(in *identity.UserInfo, out *UserInfo, s conversion.Scope) error

Convert_identity_UserInfo_To_v1alpha1_UserInfo is an autogenerated conversion function.

func Convert_identity_WhoAmIRequestList_To_v1alpha1_WhoAmIRequestList

func Convert_identity_WhoAmIRequestList_To_v1alpha1_WhoAmIRequestList(in *identity.WhoAmIRequestList, out *WhoAmIRequestList, s conversion.Scope) error

Convert_identity_WhoAmIRequestList_To_v1alpha1_WhoAmIRequestList is an autogenerated conversion function.

func Convert_identity_WhoAmIRequestSpec_To_v1alpha1_WhoAmIRequestSpec

func Convert_identity_WhoAmIRequestSpec_To_v1alpha1_WhoAmIRequestSpec(in *identity.WhoAmIRequestSpec, out *WhoAmIRequestSpec, s conversion.Scope) error

Convert_identity_WhoAmIRequestSpec_To_v1alpha1_WhoAmIRequestSpec is an autogenerated conversion function.

func Convert_identity_WhoAmIRequestStatus_To_v1alpha1_WhoAmIRequestStatus

func Convert_identity_WhoAmIRequestStatus_To_v1alpha1_WhoAmIRequestStatus(in *identity.WhoAmIRequestStatus, out *WhoAmIRequestStatus, s conversion.Scope) error

Convert_identity_WhoAmIRequestStatus_To_v1alpha1_WhoAmIRequestStatus is an autogenerated conversion function.

func Convert_identity_WhoAmIRequest_To_v1alpha1_WhoAmIRequest

func Convert_identity_WhoAmIRequest_To_v1alpha1_WhoAmIRequest(in *identity.WhoAmIRequest, out *WhoAmIRequest, s conversion.Scope) error

Convert_identity_WhoAmIRequest_To_v1alpha1_WhoAmIRequest is an autogenerated conversion function.

func Convert_v1alpha1_KubernetesUserInfo_To_identity_KubernetesUserInfo

func Convert_v1alpha1_KubernetesUserInfo_To_identity_KubernetesUserInfo(in *KubernetesUserInfo, out *identity.KubernetesUserInfo, s conversion.Scope) error

Convert_v1alpha1_KubernetesUserInfo_To_identity_KubernetesUserInfo is an autogenerated conversion function.

func Convert_v1alpha1_UserInfo_To_identity_UserInfo

func Convert_v1alpha1_UserInfo_To_identity_UserInfo(in *UserInfo, out *identity.UserInfo, s conversion.Scope) error

Convert_v1alpha1_UserInfo_To_identity_UserInfo is an autogenerated conversion function.

func Convert_v1alpha1_WhoAmIRequestList_To_identity_WhoAmIRequestList

func Convert_v1alpha1_WhoAmIRequestList_To_identity_WhoAmIRequestList(in *WhoAmIRequestList, out *identity.WhoAmIRequestList, s conversion.Scope) error

Convert_v1alpha1_WhoAmIRequestList_To_identity_WhoAmIRequestList is an autogenerated conversion function.

func Convert_v1alpha1_WhoAmIRequestSpec_To_identity_WhoAmIRequestSpec

func Convert_v1alpha1_WhoAmIRequestSpec_To_identity_WhoAmIRequestSpec(in *WhoAmIRequestSpec, out *identity.WhoAmIRequestSpec, s conversion.Scope) error

Convert_v1alpha1_WhoAmIRequestSpec_To_identity_WhoAmIRequestSpec is an autogenerated conversion function.

func Convert_v1alpha1_WhoAmIRequestStatus_To_identity_WhoAmIRequestStatus

func Convert_v1alpha1_WhoAmIRequestStatus_To_identity_WhoAmIRequestStatus(in *WhoAmIRequestStatus, out *identity.WhoAmIRequestStatus, s conversion.Scope) error

Convert_v1alpha1_WhoAmIRequestStatus_To_identity_WhoAmIRequestStatus is an autogenerated conversion function.

func Convert_v1alpha1_WhoAmIRequest_To_identity_WhoAmIRequest

func Convert_v1alpha1_WhoAmIRequest_To_identity_WhoAmIRequest(in *WhoAmIRequest, out *identity.WhoAmIRequest, s conversion.Scope) error

Convert_v1alpha1_WhoAmIRequest_To_identity_WhoAmIRequest is an autogenerated conversion function.

func RegisterConversions

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns 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 `json:"user"`
	// Audiences are audience identifiers chosen by the authenticator.
	// +optional
	Audiences []string `json:"audiences,omitempty"`
}

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 `json:"username"`
	// 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.
	// +optional
	UID string `json:"uid,omitempty"`
	// The names of groups this user is a part of.
	// +optional
	Groups []string `json:"groups,omitempty"`
	// Any additional information provided by the authenticator.
	// +optional
	Extra map[string]ExtraValue `json:"extra,omitempty"`
}

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

func (*UserInfo) DeepCopy

func (in *UserInfo) DeepCopy() *UserInfo

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

func (*UserInfo) DeepCopyInto

func (in *UserInfo) DeepCopyInto(out *UserInfo)

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

type WhoAmIRequest

type WhoAmIRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   WhoAmIRequestSpec   `json:"spec,omitempty"`
	Status WhoAmIRequestStatus `json:"status,omitempty"`
}

WhoAmIRequest submits a request to echo back the current authenticated user. +genclient +genclient:nonNamespaced +genclient:onlyVerbs=create +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 `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// Items is a list of WhoAmIRequest.
	Items []WhoAmIRequest `json:"items"`
}

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 {
}

Spec is always empty for a WhoAmIRequest.

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 `json:"kubernetesUserInfo"`
}

Status is set by the server in the response to a WhoAmIRequest.

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.

Jump to

Keyboard shortcuts

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