v1alpha1

package
v0.0.0-...-6df5e58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2023 License: EUPL-1.2 Imports: 6 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the apps v1alpha1 API group +kubebuilder:object:generate=true +groupName=apps.libre.sh

Index

Constants

This section is empty.

Variables

View Source
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) GetImage

func (o *Hedgedoc) GetImage() string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL