Documentation
¶
Overview ¶
Package v1beta1 contains API Schema definitions for the auth.components v1beta1 API group +kubebuilder:object:generate=true +groupName=auth.components.formance.com
Index ¶
- Constants
- Variables
- type Client
- func (in *Client) AddScopeSpec(scope *Scope)
- func (in *Client) AuthServerReference() string
- func (in *Client) ClearAuthServerID()
- func (in *Client) DeepCopy() *Client
- func (in *Client) DeepCopyInto(out *Client)
- func (in *Client) DeepCopyObject() runtime.Object
- func (in *Client) GetConditions() *Conditions
- func (c *Client) GetStatus() Dirty
- func (in *Client) IsCreatedOnAuthServer() bool
- func (c *Client) IsDirty(t Object) bool
- func (in *Client) Match(client *authclient.Client) bool
- func (in *Client) SetClientCreated(id string)
- func (in *Client) SetClientUpdated()
- func (in *Client) SetScopeSynchronized(scope *Scope)
- func (in *Client) SetScopesRemoved(authServerID string)
- type ClientConfiguration
- type ClientList
- type ClientSpec
- type ClientStatus
- type Scope
- func (s *Scope) AuthServerReference() string
- func (s *Scope) ClearAuthServerID()
- func (in *Scope) DeepCopy() *Scope
- func (in *Scope) DeepCopyInto(out *Scope)
- func (in *Scope) DeepCopyObject() runtime.Object
- func (in *Scope) GetConditions() *Conditions
- func (s *Scope) GetStatus() Dirty
- func (s *Scope) IsCreatedOnAuthServer() bool
- func (s *Scope) IsDirty(t Object) bool
- func (s *Scope) IsInTransient(authScope *authclient.Scope) bool
- func (s *Scope) SetRegisteredTransientScope(transientScope *Scope)
- type ScopeList
- type ScopeSpec
- type ScopeStatus
- type StaticClient
- type TransientScopeStatus
Constants ¶
const ( ConditionTypeClientCreated = "ClientCreated" ConditionTypeClientUpdated = "ClientUpdated" ConditionTypeScopesSynchronized = "ScopesSynchronized" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "auth.components.formance.com", Version: "v1beta1"} // 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 Client ¶
type Client struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ClientSpec `json:"spec,omitempty"`
Status ClientStatus `json:"status,omitempty"`
}
Client is the Schema for the oauths API
func (*Client) AddScopeSpec ¶
func (*Client) AuthServerReference ¶
func (*Client) ClearAuthServerID ¶
func (in *Client) ClearAuthServerID()
func (*Client) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Client.
func (*Client) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Client) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Client) GetConditions ¶
func (in *Client) GetConditions() *Conditions
func (*Client) IsCreatedOnAuthServer ¶
func (*Client) SetClientCreated ¶
func (*Client) SetClientUpdated ¶
func (in *Client) SetClientUpdated()
func (*Client) SetScopeSynchronized ¶
func (*Client) SetScopesRemoved ¶
type ClientConfiguration ¶
type ClientConfiguration struct {
// +optional
Public bool `json:"public"`
// +optional
Description *string `json:"description,omitempty"`
// +optional
RedirectUris []string `json:"redirectUris,omitempty"`
// +optional
PostLogoutRedirectUris []string `json:"postLogoutRedirectUris,omitempty"`
// +optional
Scopes []string `json:"scopes,omitempty"`
}
func (*ClientConfiguration) DeepCopy ¶
func (in *ClientConfiguration) DeepCopy() *ClientConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientConfiguration.
func (*ClientConfiguration) DeepCopyInto ¶
func (in *ClientConfiguration) DeepCopyInto(out *ClientConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientList ¶
type ClientList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Client `json:"items"`
}
ClientList contains a list of Client
func (*ClientList) DeepCopy ¶
func (in *ClientList) DeepCopy() *ClientList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientList.
func (*ClientList) DeepCopyInto ¶
func (in *ClientList) DeepCopyInto(out *ClientList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientList) DeepCopyObject ¶
func (in *ClientList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClientSpec ¶
type ClientSpec struct {
ClientConfiguration `json:",inline"`
AuthServerReference string `json:"authServerReference"`
}
ClientSpec defines the desired state of Client
func (*ClientSpec) DeepCopy ¶
func (in *ClientSpec) DeepCopy() *ClientSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientSpec.
func (*ClientSpec) DeepCopyInto ¶
func (in *ClientSpec) DeepCopyInto(out *ClientSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClientStatus ¶
type ClientStatus struct {
Status `json:",inline"`
AuthServerID string `json:"authServerID,omitempty"`
// +optional
Scopes map[string]string `json:"scopes"`
}
ClientStatus defines the observed state of Client
func (*ClientStatus) DeepCopy ¶
func (in *ClientStatus) DeepCopy() *ClientStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClientStatus.
func (*ClientStatus) DeepCopyInto ¶
func (in *ClientStatus) DeepCopyInto(out *ClientStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClientStatus) IsDirty ¶
func (in *ClientStatus) IsDirty(t Object) bool
type Scope ¶
type Scope struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec ScopeSpec `json:"spec,omitempty"`
Status ScopeStatus `json:"status,omitempty"`
}
Scope is the Schema for the scopes API
func (*Scope) AuthServerReference ¶
func (*Scope) ClearAuthServerID ¶
func (s *Scope) ClearAuthServerID()
func (*Scope) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scope.
func (*Scope) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Scope) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Scope) GetConditions ¶
func (in *Scope) GetConditions() *Conditions
func (*Scope) IsCreatedOnAuthServer ¶
func (*Scope) IsInTransient ¶
func (s *Scope) IsInTransient(authScope *authclient.Scope) bool
func (*Scope) SetRegisteredTransientScope ¶
type ScopeList ¶
type ScopeList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Scope `json:"items"`
}
ScopeList contains a list of Scope
func (*ScopeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeList.
func (*ScopeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScopeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ScopeSpec ¶
type ScopeSpec struct {
Label string `json:"label"`
// +optional
Transient []string `json:"transient"`
AuthServerReference string `json:"authServerReference"`
}
ScopeSpec defines the desired state of Scope
func (*ScopeSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeSpec.
func (*ScopeSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScopeStatus ¶
type ScopeStatus struct {
Status `json:",inline"`
AuthServerID string `json:"authServerID,omitempty"`
Transient map[string]TransientScopeStatus `json:"transient,omitempty"`
}
ScopeStatus defines the observed state of Scope
func (*ScopeStatus) DeepCopy ¶
func (in *ScopeStatus) DeepCopy() *ScopeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScopeStatus.
func (*ScopeStatus) DeepCopyInto ¶
func (in *ScopeStatus) DeepCopyInto(out *ScopeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ScopeStatus) IsDirty ¶
func (in *ScopeStatus) IsDirty(t Object) bool
type StaticClient ¶
type StaticClient struct {
ClientConfiguration `json:",inline" yaml:",inline"`
ID string `json:"id" yaml:"id"`
// +optional
Secrets []string `json:"secrets" yaml:"secrets"`
}
func (*StaticClient) DeepCopy ¶
func (in *StaticClient) DeepCopy() *StaticClient
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StaticClient.
func (*StaticClient) DeepCopyInto ¶
func (in *StaticClient) DeepCopyInto(out *StaticClient)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TransientScopeStatus ¶
type TransientScopeStatus struct {
ObservedGeneration int64 `json:"observedGeneration"`
AuthServerID string `json:"authServerID"`
Date string `json:"date"`
}
func (*TransientScopeStatus) DeepCopy ¶
func (in *TransientScopeStatus) DeepCopy() *TransientScopeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TransientScopeStatus.
func (*TransientScopeStatus) DeepCopyInto ¶
func (in *TransientScopeStatus) DeepCopyInto(out *TransientScopeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.