Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.libre.sh
Index ¶
- Constants
- Variables
- type Decidim
- func (in *Decidim) DeepCopy() *Decidim
- func (in *Decidim) DeepCopyInto(out *Decidim)
- func (in *Decidim) DeepCopyObject() runtime.Object
- func (o *Decidim) GetConditions() []metav1.Condition
- func (o *Decidim) GetImage() string
- func (o *Decidim) GetSuspend() bool
- func (o *Decidim) GetVersion() string
- func (o *Decidim) SetConditions(conditions []metav1.Condition)
- func (o *Decidim) SetSuspend(value bool)
- func (o *Decidim) SetVersion(value string)
- type DecidimAdmin
- type DecidimFileUpload
- type DecidimList
- type DecidimLocale
- type DecidimOrganization
- type DecidimOrganizationAdmin
- type DecidimSpec
- type DecidimStatus
Constants ¶
const DecidimConfigSuffix = "decidim.libre.sh"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.libre.sh", 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 Decidim ¶
type Decidim struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DecidimSpec `json:"spec,omitempty"` Status DecidimStatus `json:"status,omitempty"` }
Decidim is the Schema for the decidims API
func (*Decidim) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Decidim.
func (*Decidim) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Decidim) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Decidim) GetConditions ¶
func (*Decidim) GetSuspend ¶
func (*Decidim) GetVersion ¶
func (*Decidim) SetConditions ¶
func (*Decidim) SetSuspend ¶
func (*Decidim) SetVersion ¶
type DecidimAdmin ¶
type DecidimAdmin struct { //+kubebuilder:validation:Required Email string `json:"email"` }
func (*DecidimAdmin) DeepCopy ¶
func (in *DecidimAdmin) DeepCopy() *DecidimAdmin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimAdmin.
func (*DecidimAdmin) DeepCopyInto ¶
func (in *DecidimAdmin) DeepCopyInto(out *DecidimAdmin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimFileUpload ¶
type DecidimFileUpload struct { //+kubebuilder:validation:Optional //+kubebuilder:default="en" Default string `json:"default"` //+kubebuilder:validation:Optional //+kubebuilder:validation:MinItems=1 //+kubebuilder:default={"en","fr"} Available []string `json:"available"` }
func (*DecidimFileUpload) DeepCopy ¶
func (in *DecidimFileUpload) DeepCopy() *DecidimFileUpload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimFileUpload.
func (*DecidimFileUpload) DeepCopyInto ¶
func (in *DecidimFileUpload) DeepCopyInto(out *DecidimFileUpload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimList ¶
type DecidimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Decidim `json:"items"` }
DecidimList contains a list of Decidim
func (*DecidimList) DeepCopy ¶
func (in *DecidimList) DeepCopy() *DecidimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimList.
func (*DecidimList) DeepCopyInto ¶
func (in *DecidimList) DeepCopyInto(out *DecidimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DecidimList) DeepCopyObject ¶
func (in *DecidimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DecidimLocale ¶
type DecidimLocale struct { //+kubebuilder:validation:Optional //+kubebuilder:default="fr" Default string `json:"default"` //+kubebuilder:validation:Optional //+kubebuilder:validation:MinItems=1 //+kubebuilder:default={"fr"} Available []string `json:"available"` }
func (*DecidimLocale) DeepCopy ¶
func (in *DecidimLocale) DeepCopy() *DecidimLocale
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimLocale.
func (*DecidimLocale) DeepCopyInto ¶
func (in *DecidimLocale) DeepCopyInto(out *DecidimLocale)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimOrganization ¶
type DecidimOrganization struct { //+kubebuilder:validation:Optional //+kubebuilder:default=1 ID int `json:"id"` //+kubebuilder:validation:Optional Admin DecidimOrganizationAdmin `json:"admin,omitempty"` }
func (*DecidimOrganization) DeepCopy ¶
func (in *DecidimOrganization) DeepCopy() *DecidimOrganization
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimOrganization.
func (*DecidimOrganization) DeepCopyInto ¶
func (in *DecidimOrganization) DeepCopyInto(out *DecidimOrganization)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimOrganizationAdmin ¶
type DecidimOrganizationAdmin struct { //+kubebuilder:validation:Required Email string `json:"email"` //+kubebuilder:validation:Required Name string `json:"name"` //+kubebuilder:validation:Required Nickname string `json:"nickname"` }
func (*DecidimOrganizationAdmin) DeepCopy ¶
func (in *DecidimOrganizationAdmin) DeepCopy() *DecidimOrganizationAdmin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimOrganizationAdmin.
func (*DecidimOrganizationAdmin) DeepCopyInto ¶
func (in *DecidimOrganizationAdmin) DeepCopyInto(out *DecidimOrganizationAdmin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimSpec ¶
type DecidimSpec struct { lshmeta.Spec `json:",inline"` //+kubebuilder:validation:Required Image string `json:"image"` //+kubebuilder:validation:Optional Admin DecidimAdmin `json:"admin,omitempty"` //+kubebuilder:validation:Required Organization DecidimOrganization `json:"organization"` //+kubebuilder:validation:Required //+kubebuilder:validation:MinLength=3 Host string `json:"host"` //+kubebuilder:validation:Optional AdditionalHosts []string `json:"additionalHosts,omitempty"` //+kubebuilder:validation:Optional UsersRegistrationMode int `json:"usersRegistrationMode,omitempty"` //+kubebuilder:validation:Optional ForceUsersToAuthenticateBeforeAccessOrganization bool `json:"forceUsersToAuthenticateBeforeAccessOrganization,omitempty"` //+kubebuilder:validation:Optional AvailableAuthorizations []string `json:"availableAuthorizations,omitempty"` //+kubebuilder:validation:Optional FileUploadSettings runtime.RawExtension `json:"fileUploadSettings,omitempty"` //+kubebuilder:validation:Required Locale DecidimLocale `json:"locale"` //+kubebuilder:validation:Optional //+kubebuilder:default="UTC" TimeZone string `json:"timeZone,omitempty"` // OmniAuth DecidimOmniAuth `json:"omniauth,omitempty"` //+kubebuilder:validation:Optional EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty" protobuf:"bytes,19,rep,name=envFrom"` }
DecidimSpec defines the desired state of Decidim
func (*DecidimSpec) DeepCopy ¶
func (in *DecidimSpec) DeepCopy() *DecidimSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimSpec.
func (*DecidimSpec) DeepCopyInto ¶
func (in *DecidimSpec) DeepCopyInto(out *DecidimSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DecidimStatus ¶
DecidimStatus defines the observed state of Decidim
func (*DecidimStatus) DeepCopy ¶
func (in *DecidimStatus) DeepCopy() *DecidimStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DecidimStatus.
func (*DecidimStatus) DeepCopyInto ¶
func (in *DecidimStatus) DeepCopyInto(out *DecidimStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.