Documentation
¶
Overview ¶
Package clientsecret is the internal version of the Pinniped client secret API.
Index ¶
Constants ¶
const GroupName = "clientsecret.supervisor.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 OIDCClientSecretRequest ¶
type OIDCClientSecretRequest struct {
metav1.TypeMeta
metav1.ObjectMeta // metadata.name must be set to the client ID
Spec OIDCClientSecretRequestSpec
// +optional
Status OIDCClientSecretRequestStatus
}
OIDCClientSecretRequest can be used to update the client secrets associated with an OIDCClient. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*OIDCClientSecretRequest) DeepCopy ¶
func (in *OIDCClientSecretRequest) DeepCopy() *OIDCClientSecretRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientSecretRequest.
func (*OIDCClientSecretRequest) DeepCopyInto ¶
func (in *OIDCClientSecretRequest) DeepCopyInto(out *OIDCClientSecretRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OIDCClientSecretRequest) DeepCopyObject ¶
func (in *OIDCClientSecretRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OIDCClientSecretRequestList ¶
type OIDCClientSecretRequestList struct {
metav1.TypeMeta
metav1.ListMeta
// Items is a list of OIDCClientSecretRequest.
Items []OIDCClientSecretRequest
}
OIDCClientSecretRequestList is a list of OIDCClientSecretRequest objects. +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*OIDCClientSecretRequestList) DeepCopy ¶
func (in *OIDCClientSecretRequestList) DeepCopy() *OIDCClientSecretRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientSecretRequestList.
func (*OIDCClientSecretRequestList) DeepCopyInto ¶
func (in *OIDCClientSecretRequestList) DeepCopyInto(out *OIDCClientSecretRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OIDCClientSecretRequestList) DeepCopyObject ¶
func (in *OIDCClientSecretRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OIDCClientSecretRequestSpec ¶
type OIDCClientSecretRequestSpec struct {
// Request a new client secret to for the OIDCClient referenced by the metadata.name field.
// +optional
GenerateNewSecret bool
// Revoke the old client secrets associated with the OIDCClient referenced by the metadata.name field.
// +optional
RevokeOldSecrets bool
}
Spec of the OIDCClientSecretRequest.
func (*OIDCClientSecretRequestSpec) DeepCopy ¶
func (in *OIDCClientSecretRequestSpec) DeepCopy() *OIDCClientSecretRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientSecretRequestSpec.
func (*OIDCClientSecretRequestSpec) DeepCopyInto ¶
func (in *OIDCClientSecretRequestSpec) DeepCopyInto(out *OIDCClientSecretRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OIDCClientSecretRequestStatus ¶
type OIDCClientSecretRequestStatus struct {
// The unencrypted OIDC Client Secret. This will only be shared upon creation and cannot be recovered if lost.
GeneratedSecret string
// The total number of client secrets associated with the OIDCClient referenced by the metadata.name field.
TotalClientSecrets int
}
Status of the OIDCClientSecretRequest.
func (*OIDCClientSecretRequestStatus) DeepCopy ¶
func (in *OIDCClientSecretRequestStatus) DeepCopy() *OIDCClientSecretRequestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OIDCClientSecretRequestStatus.
func (*OIDCClientSecretRequestStatus) DeepCopyInto ¶
func (in *OIDCClientSecretRequestStatus) DeepCopyInto(out *OIDCClientSecretRequestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.