Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the auth v1alpha1 API group +kubebuilder:object:generate=true +groupName=auth.identitatem.io
Index ¶
- Variables
- type ConfigSpec
- type ConnectorSpec
- type DexClient
- type DexClientList
- type DexClientSpec
- type DexClientStatus
- type DexServer
- type DexServerList
- type DexServerSpec
- type DexServerStatus
- type ExpirySpec
- type GrpcSpec
- type LoggerSpec
- type Oauth2Spec
- type StaticPasswordSpec
- type StorageSpec
- type WebSpec
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "auth.identitatem.io", Version: "v1alpha1"} // 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 ConfigSpec ¶
type ConfigSpec struct { ClientID string `json:"clientID,omitempty"` ClientSecretRef string `json:"clientSecretRef,omitempty"` // TODO: confirm if we set this, or allow this to be passed in? RedirectURI string `json:"redirectURI,omitempty"` Org string `json:"org,omitempty"` }
ConfigSpec describes the client id and secret. The RedirectURI should be returned?
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectorSpec ¶
type ConnectorSpec struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` Id string `json:"id,omitempty"` Config ConfigSpec `json:"config,omitempty"` }
ConnectorSepc defines the OIDC connector config details
func (*ConnectorSpec) DeepCopy ¶
func (in *ConnectorSpec) DeepCopy() *ConnectorSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectorSpec.
func (*ConnectorSpec) DeepCopyInto ¶
func (in *ConnectorSpec) DeepCopyInto(out *ConnectorSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DexClient ¶
type DexClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DexClientSpec `json:"spec,omitempty"` Status DexClientStatus `json:"status,omitempty"` }
DexClient is the Schema for the dexclients API
func (*DexClient) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexClient.
func (*DexClient) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DexClient) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DexClientList ¶
type DexClientList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DexClient `json:"items"` }
DexClientList contains a list of DexClient
func (*DexClientList) DeepCopy ¶
func (in *DexClientList) DeepCopy() *DexClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexClientList.
func (*DexClientList) DeepCopyInto ¶
func (in *DexClientList) DeepCopyInto(out *DexClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DexClientList) DeepCopyObject ¶
func (in *DexClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DexClientSpec ¶
type DexClientSpec struct { // +kubebuilder:validation:MinLength=4 // The name of the oidc config ClientID string `json:"clientID,omitempty"` // +kubebuilder:validation:MinLength=2 // +kubebuilder:validation:Required // The shared oidc secret ClientSecret string `json:"clientSecret,omitempty"` // +optional // Sets the public flag Public bool `json:"public,omitempty"` // Redirect URIs RedirectURIs []string `json:"redirectURIs,omitempty"` // +optional // Trusted Peers TrustedPeers []string `json:"trustedPeers,omitempty"` // +optional // LogoURL LogoURL string `json:"logoURL,omitempty"` }
DexClientSpec defines the desired state of DexClient
func (*DexClientSpec) DeepCopy ¶
func (in *DexClientSpec) DeepCopy() *DexClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexClientSpec.
func (*DexClientSpec) DeepCopyInto ¶
func (in *DexClientSpec) DeepCopyInto(out *DexClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DexClientStatus ¶
type DexClientStatus struct { // +optional State string `json:"state,omitempty"` // +optional Message string `json:"message,omitempty"` }
DexClientStatus defines the observed state of DexClient
func (*DexClientStatus) DeepCopy ¶
func (in *DexClientStatus) DeepCopy() *DexClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexClientStatus.
func (*DexClientStatus) DeepCopyInto ¶
func (in *DexClientStatus) DeepCopyInto(out *DexClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DexServer ¶
type DexServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DexServerSpec `json:"spec,omitempty"` Status DexServerStatus `json:"status,omitempty"` }
DexServer is the Schema for the dexservers API
func (*DexServer) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexServer.
func (*DexServer) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DexServer) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DexServerList ¶
type DexServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DexServer `json:"items"` }
DexServerList contains a list of DexServer
func (*DexServerList) DeepCopy ¶
func (in *DexServerList) DeepCopy() *DexServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexServerList.
func (*DexServerList) DeepCopyInto ¶
func (in *DexServerList) DeepCopyInto(out *DexServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DexServerList) DeepCopyObject ¶
func (in *DexServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DexServerSpec ¶
type DexServerSpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "make" to regenerate code after modifying this file // Foo is an example field of DexServer. Edit dexserver_types.go to remove/update Foo string `json:"foo,omitempty"` // TODO: Issuer references the dex instance web URI. Should this be returned as status? Issuer string `json:"issuer,omitempty"` EnablePasswordDB bool `json:"enablepassworddb,omitempty"` StaticPasswords []StaticPasswordSpec `json:"staticpasswords,omitempty"` Storage StorageSpec `json:"storage,omitempty"` Web WebSpec `json:"web,omitempty"` Grpc GrpcSpec `json:"grpc,omitempty"` Expiry ExpirySpec `json:"expiry,omitempty"` Logger LoggerSpec `json:"logger,omitempty"` Oauth2 Oauth2Spec `json:"oauth2,omitempty"` Connectors []ConnectorSpec `json:"connectors,omitempty"` }
DexServerSpec defines the desired state of DexServer
func (*DexServerSpec) DeepCopy ¶
func (in *DexServerSpec) DeepCopy() *DexServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexServerSpec.
func (*DexServerSpec) DeepCopyInto ¶
func (in *DexServerSpec) DeepCopyInto(out *DexServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DexServerStatus ¶
type DexServerStatus struct { // +optional State string `json:"state,omitempty"` // +optional Message string `json:"message,omitempty"` }
DexServerStatus defines the observed state of DexServer
func (*DexServerStatus) DeepCopy ¶
func (in *DexServerStatus) DeepCopy() *DexServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DexServerStatus.
func (*DexServerStatus) DeepCopyInto ¶
func (in *DexServerStatus) DeepCopyInto(out *DexServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ExpirySpec ¶
type ExpirySpec struct {
DeviceRequests string `json:"deviceRequests,omitempty"`
}
ExpirySpec defines how we expire
func (*ExpirySpec) DeepCopy ¶
func (in *ExpirySpec) DeepCopy() *ExpirySpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExpirySpec.
func (*ExpirySpec) DeepCopyInto ¶
func (in *ExpirySpec) DeepCopyInto(out *ExpirySpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GrpcSpec ¶
type GrpcSpec struct { Addr string `json:"addr,omitempty"` TlsCert string `json:"tlsCert,omitempty"` TlsKey string `json:"tlsKey,omitempty"` TlsClientCA string `json:"tlsClientCA,omitempty"` }
GrpcSpec defines override options on how we run grpc server. Addr should not need to change. The certs are required.
func (*GrpcSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GrpcSpec.
func (*GrpcSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoggerSpec ¶
type LoggerSpec struct { Level string `json:"level,omitempty"` Format string `json:"format,omitempty"` }
LoggerSpec defines loggingoptions. Optional
func (*LoggerSpec) DeepCopy ¶
func (in *LoggerSpec) DeepCopy() *LoggerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoggerSpec.
func (*LoggerSpec) DeepCopyInto ¶
func (in *LoggerSpec) DeepCopyInto(out *LoggerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Oauth2Spec ¶
type Oauth2Spec struct { ResponseTypes []string `json:"responseTypes,omitempty"` SkipApprovalScreen bool `json:"skipApprovalScreen,omitempty"` AlwaysShowLoginScreen bool `json:"alwaysShowLoginScreen,omitempty"` PasswordConnector string `json:"passwordConnector,omitempty"` }
Oauth2Spec defines dex behavior flags
func (*Oauth2Spec) DeepCopy ¶
func (in *Oauth2Spec) DeepCopy() *Oauth2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Oauth2Spec.
func (*Oauth2Spec) DeepCopyInto ¶
func (in *Oauth2Spec) DeepCopyInto(out *Oauth2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StaticPasswordSpec ¶
type StaticPasswordSpec struct {
Email string `json:"email,omitempty"`
}
StaticPasswordSpec allows us to define login credentials. Do not expect us to use this.
func (*StaticPasswordSpec) DeepCopy ¶
func (in *StaticPasswordSpec) DeepCopy() *StaticPasswordSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticPasswordSpec.
func (*StaticPasswordSpec) DeepCopyInto ¶
func (in *StaticPasswordSpec) DeepCopyInto(out *StaticPasswordSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StorageSpec ¶
type StorageSpec struct {
Type string `json:"type,omitempty"`
}
StorageSpec defines how/if we persist the configuration to a database on store in K8s.
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StorageSpec.
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WebSpec ¶
type WebSpec struct { Http string `json:"http,omitempty"` Https string `json:"https,omitempty"` TlsCert string `json:"tlsCert,omitempty"` TlsKey string `json:"tlsKey,omitempty"` }
WebSpec defines override for cert to dex server.
func (*WebSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebSpec.
func (*WebSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.