clientsecret

package
v0.33.0 Latest Latest
Warning

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

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

Documentation

Overview

Package clientsecret is the internal version of the Pinniped client secret API.

Index

Constants

View Source
const GroupName = "clientsecret.supervisor.pinniped.dev"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects.

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind.

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

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

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

func (*OIDCClientSecretRequestList) DeepCopyInto

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

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

func (*OIDCClientSecretRequestSpec) DeepCopyInto

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

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

func (*OIDCClientSecretRequestStatus) DeepCopyInto

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

Directories

Path Synopsis
Package v1alpha1 is the v1alpha1 version of the Pinniped client secret API.
Package v1alpha1 is the v1alpha1 version of the Pinniped client secret API.

Jump to

Keyboard shortcuts

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