Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the auth v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/agilestacks/auth-operator/pkg/apis/auth +k8s:defaulter-gen=TypeMeta +groupName=auth.agilestacks.com
Package v1alpha1 contains API Schema definitions for the auth v1alpha1 API group +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/agilestacks/auth-operator/pkg/apis/auth +k8s:defaulter-gen=TypeMeta +groupName=auth.agilestacks.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "auth.agilestacks.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} // AddToScheme is required by pkg/client/... AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource is required by pkg/client/listers/...
Types ¶
type Oidc ¶
type Oidc struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec OidcSpec `json:"spec,omitempty"` Status OidcStatus `json:"status,omitempty"` }
Oidc is the Schema for the oidcs API +k8s:openapi-gen=true
func (*Oidc) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oidc.
func (*Oidc) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Oidc) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OidcList ¶
type OidcList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Oidc `json:"items"` }
OidcList contains a list of Oidc
func (*OidcList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcList.
func (*OidcList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OidcList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type OidcSpec ¶
type OidcSpec struct { // Client ID and secret used to identify the client. ID string `json:"id,omitempty"` Secret string `json:"secret,omitempty"` // A registered set of redirect URIs. When redirecting from dex to the client, the URI // requested to redirect to MUST match one of these values, unless the client is "public". RedirectURIs []string `json:"redirectURIs,omitempty"` // TrustedPeers are a list of peers which can issue tokens on this client's behalf using // the dynamic "oauth2:server:client_id:(client_id)" scope. If a peer makes such a request, // this client's ID will appear as the ID Token's audience. // // Clients inherently trust themselves. TrustedPeers []string `json:"trustedPeers,omitempty"` // Public clients must use either use a redirectURL 127.0.0.1:X or "urn:ietf:wg:oauth:2.0:oob" Public bool `json:"public,omitempty"` // Name and LogoURL used when displaying this client to the end user. Name string `json:"name,omitempty"` LogoURL string `json:"logoURL,omitempty"` }
OidcSpec defines the desired state of Oidc
func (*OidcSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcSpec.
func (*OidcSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OidcStatus ¶
type OidcStatus struct { }
OidcStatus defines the observed state of Oidc
func (*OidcStatus) DeepCopy ¶
func (in *OidcStatus) DeepCopy() *OidcStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OidcStatus.
func (*OidcStatus) DeepCopyInto ¶
func (in *OidcStatus) DeepCopyInto(out *OidcStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.