Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.libre.sh
Index ¶
- Variables
- type Hedgedoc
- func (in *Hedgedoc) DeepCopy() *Hedgedoc
- func (in *Hedgedoc) DeepCopyInto(out *Hedgedoc)
- func (in *Hedgedoc) DeepCopyObject() runtime.Object
- func (o *Hedgedoc) GetConditions() []metav1.Condition
- func (o *Hedgedoc) GetImage() string
- func (o *Hedgedoc) GetSuspend() bool
- func (o *Hedgedoc) GetVersion() string
- func (o *Hedgedoc) SetConditions(conditions []metav1.Condition)
- func (o *Hedgedoc) SetSuspend(value bool)
- func (o *Hedgedoc) SetVersion(value string)
- type HedgedocList
- type HedgedocSpec
- type HedgedocStatus
- type SSO
Constants ¶
This section is empty.
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 Hedgedoc ¶
type Hedgedoc struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HedgedocSpec `json:"spec,omitempty"`
Status HedgedocStatus `json:"status,omitempty"`
}
Hedgedoc is the Schema for the hedgedocs API
func (*Hedgedoc) DeepCopy ¶
func (in *Hedgedoc) DeepCopy() *Hedgedoc
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hedgedoc.
func (*Hedgedoc) DeepCopyInto ¶
func (in *Hedgedoc) DeepCopyInto(out *Hedgedoc)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hedgedoc) DeepCopyObject ¶
func (in *Hedgedoc) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Hedgedoc) GetConditions ¶
func (o *Hedgedoc) GetConditions() []metav1.Condition
func (*Hedgedoc) GetSuspend ¶
func (o *Hedgedoc) GetSuspend() bool
func (*Hedgedoc) GetVersion ¶
func (o *Hedgedoc) GetVersion() string
func (*Hedgedoc) SetConditions ¶
func (o *Hedgedoc) SetConditions(conditions []metav1.Condition)
func (*Hedgedoc) SetSuspend ¶
func (o *Hedgedoc) SetSuspend(value bool)
func (*Hedgedoc) SetVersion ¶
func (o *Hedgedoc) SetVersion(value string)
type HedgedocList ¶
type HedgedocList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Hedgedoc `json:"items"`
}
HedgedocList contains a list of Hedgedoc
func (*HedgedocList) DeepCopy ¶
func (in *HedgedocList) DeepCopy() *HedgedocList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HedgedocList.
func (*HedgedocList) DeepCopyInto ¶
func (in *HedgedocList) DeepCopyInto(out *HedgedocList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HedgedocList) DeepCopyObject ¶
func (in *HedgedocList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HedgedocSpec ¶
type HedgedocSpec struct {
lshmeta.Spec `json:",inline"`
//+kubebuilder:validation:Required
//+kubebuilder:validation:MinLength=3
Host string `json:"host"`
//+kubebuilder:validation:Optional
Insecure bool `json:"insecure,omitempty"`
//+kubebuilder:validation:Required
//+kubebuilder:validation:MinLength=3
Image string `json:"image"`
//+kubebuilder:validation:Optional
SSO SSO `json:"sso,omitempty"`
}
HedgedocSpec defines the desired state of Hedgedoc
func (*HedgedocSpec) DeepCopy ¶
func (in *HedgedocSpec) DeepCopy() *HedgedocSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HedgedocSpec.
func (*HedgedocSpec) DeepCopyInto ¶
func (in *HedgedocSpec) DeepCopyInto(out *HedgedocSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HedgedocStatus ¶
type HedgedocStatus struct {
lshmeta.Status `json:",inline"`
//+kubebuilder:validation:Type=object
//+kubebuilder:validation:Schemaless
//+kubebuilder:pruning:PreserveUnknownFields
State json.RawMessage `json:"state,omitempty"`
}
HedgedocStatus defines the observed state of Hedgedoc
func (*HedgedocStatus) DeepCopy ¶
func (in *HedgedocStatus) DeepCopy() *HedgedocStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HedgedocStatus.
func (*HedgedocStatus) DeepCopyInto ¶
func (in *HedgedocStatus) DeepCopyInto(out *HedgedocStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SSO ¶
type SSO struct {
//+kubebuilder:validation:Optional
Disable bool `json:"disable,omitempty"`
//+kubebuilder:validation:Optional
DisableEmail bool `json:"disableEmail,omitempty"`
//+kubebuilder:validation:Optional
MergeOnEmail bool `json:"mergeOnEmail,omitempty"`
}
func (*SSO) DeepCopy ¶
func (in *SSO) DeepCopy() *SSO
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SSO.
func (*SSO) DeepCopyInto ¶
func (in *SSO) DeepCopyInto(out *SSO)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.