Documentation
¶
Overview ¶
Package v1 contains API Schema definitions for the idp v1 API group +kubebuilder:object:generate=true +groupName=idp.dcas.dev
Index ¶
- Constants
- Variables
- type OAuthClient
- func (in *OAuthClient) DeepCopy() *OAuthClient
- func (in *OAuthClient) DeepCopyInto(out *OAuthClient)
- func (in *OAuthClient) DeepCopyObject() runtime.Object
- func (r *OAuthClient) Default()
- func (r *OAuthClient) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *OAuthClient) ValidateCreate() error
- func (r *OAuthClient) ValidateDelete() error
- func (r *OAuthClient) ValidateUpdate(old runtime.Object) error
- type OAuthClientList
- type OAuthClientSpec
- type OAuthClientStatus
Constants ¶
const KindOAuthClient = "OAuthClient"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "idp.dcas.dev", Version: "v1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type OAuthClient ¶
type OAuthClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OAuthClientSpec `json:"spec,omitempty"` Status OAuthClientStatus `json:"status,omitempty"` }
OAuthClient is the Schema for the oauthclients API
func (*OAuthClient) DeepCopy ¶
func (in *OAuthClient) DeepCopy() *OAuthClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClient.
func (*OAuthClient) DeepCopyInto ¶
func (in *OAuthClient) DeepCopyInto(out *OAuthClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAuthClient) DeepCopyObject ¶
func (in *OAuthClient) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*OAuthClient) Default ¶
func (r *OAuthClient) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*OAuthClient) SetupWebhookWithManager ¶
func (r *OAuthClient) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*OAuthClient) ValidateCreate ¶
func (r *OAuthClient) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*OAuthClient) ValidateDelete ¶
func (r *OAuthClient) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*OAuthClient) ValidateUpdate ¶
func (r *OAuthClient) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type OAuthClientList ¶
type OAuthClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []OAuthClient `json:"items"` }
OAuthClientList contains a list of OAuthClient
func (*OAuthClientList) DeepCopy ¶
func (in *OAuthClientList) DeepCopy() *OAuthClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientList.
func (*OAuthClientList) DeepCopyInto ¶
func (in *OAuthClientList) DeepCopyInto(out *OAuthClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OAuthClientList) DeepCopyObject ¶
func (in *OAuthClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OAuthClientSpec ¶
type OAuthClientSpec struct { //+kubebuilder:validation:Required ClientID string `json:"id"` //+kubebuilder:validation:Required ClientSecretRef corev1.SecretKeySelector `json:"secretRef"` //+kubebuilder:validation:MinItems:=1 RedirectURIs []string `json:"redirectURIs"` TrustedPeers []string `json:"trustedPeers,omitempty"` Public bool `json:"public,omitempty"` LogoURL string `json:"logoURL,omitempty"` }
OAuthClientSpec defines the desired state of OAuthClient
func (*OAuthClientSpec) DeepCopy ¶
func (in *OAuthClientSpec) DeepCopy() *OAuthClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientSpec.
func (*OAuthClientSpec) DeepCopyInto ¶
func (in *OAuthClientSpec) DeepCopyInto(out *OAuthClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthClientStatus ¶
OAuthClientStatus defines the observed state of OAuthClient
func (*OAuthClientStatus) DeepCopy ¶
func (in *OAuthClientStatus) DeepCopy() *OAuthClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientStatus.
func (*OAuthClientStatus) DeepCopyInto ¶
func (in *OAuthClientStatus) DeepCopyInto(out *OAuthClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.