Documentation ¶
Overview ¶
Package login is the internal version of the Pinniped login API.
Index ¶
Constants ¶
const GroupName = "login.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 ClusterCredential ¶
type ClusterCredential struct { // ExpirationTimestamp indicates a time when the provided credentials expire. ExpirationTimestamp metav1.Time // Token is a bearer token used by the client for request authentication. Token string // PEM-encoded client TLS certificates (including intermediates, if any). ClientCertificateData string // PEM-encoded private key for the above certificate. ClientKeyData string }
ClusterCredential is a credential (token or certificate) which is valid on the Kubernetes cluster.
func (*ClusterCredential) DeepCopy ¶
func (in *ClusterCredential) DeepCopy() *ClusterCredential
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterCredential.
func (*ClusterCredential) DeepCopyInto ¶
func (in *ClusterCredential) DeepCopyInto(out *ClusterCredential)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenCredentialRequest ¶
type TokenCredentialRequest struct { metav1.TypeMeta metav1.ObjectMeta Spec TokenCredentialRequestSpec Status TokenCredentialRequestStatus }
TokenCredentialRequest submits an IDP-specific credential to Pinniped in exchange for a cluster-specific credential. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TokenCredentialRequest) DeepCopy ¶
func (in *TokenCredentialRequest) DeepCopy() *TokenCredentialRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenCredentialRequest.
func (*TokenCredentialRequest) DeepCopyInto ¶
func (in *TokenCredentialRequest) DeepCopyInto(out *TokenCredentialRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenCredentialRequest) DeepCopyObject ¶
func (in *TokenCredentialRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenCredentialRequestList ¶
type TokenCredentialRequestList struct { metav1.TypeMeta metav1.ListMeta // Items is a list of TokenCredentialRequest Items []TokenCredentialRequest }
TokenCredentialRequestList is a list of TokenCredentialRequest objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*TokenCredentialRequestList) DeepCopy ¶
func (in *TokenCredentialRequestList) DeepCopy() *TokenCredentialRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenCredentialRequestList.
func (*TokenCredentialRequestList) DeepCopyInto ¶
func (in *TokenCredentialRequestList) DeepCopyInto(out *TokenCredentialRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenCredentialRequestList) DeepCopyObject ¶
func (in *TokenCredentialRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenCredentialRequestSpec ¶
type TokenCredentialRequestSpec struct { // Bearer token supplied with the credential request. Token string // Reference to an authenticator which can validate this credential request. Authenticator corev1.TypedLocalObjectReference }
func (*TokenCredentialRequestSpec) DeepCopy ¶
func (in *TokenCredentialRequestSpec) DeepCopy() *TokenCredentialRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenCredentialRequestSpec.
func (*TokenCredentialRequestSpec) DeepCopyInto ¶
func (in *TokenCredentialRequestSpec) DeepCopyInto(out *TokenCredentialRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenCredentialRequestStatus ¶
type TokenCredentialRequestStatus struct { // A ClusterCredential will be returned for a successful credential request. // +optional Credential *ClusterCredential // An error message will be returned for an unsuccessful credential request. // +optional Message *string }
func (*TokenCredentialRequestStatus) DeepCopy ¶
func (in *TokenCredentialRequestStatus) DeepCopy() *TokenCredentialRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenCredentialRequestStatus.
func (*TokenCredentialRequestStatus) DeepCopyInto ¶
func (in *TokenCredentialRequestStatus) DeepCopyInto(out *TokenCredentialRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.