Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the apicur v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apicur.io
Package v1alpha1 contains API Schema definitions for the apicur v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=apicur.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "apicur.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} SchemaGroupVersionKind = schema.GroupVersionKind{Group: "apicur.io", Version: "v1alpha1", Kind: "Apicurito"} )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type Apicurito ¶
type Apicurito struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApicuritoSpec `json:"spec,omitempty"` Status ApicuritoStatus `json:"status,omitempty"` }
Apicurito is the Schema for the apicuritoes API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:resource:path=apicuritoes,scope=Namespaced +kubebuilder:printcolumn:name="Phase",description="The apicurito phase",type=string,JSONPath=`.status.phase` +kubebuilder:printcolumn:name="Version",description="The apicurito version",type=string,JSONPath=`.status.version` +operator-sdk:csv:customresourcedefinitions:displayName="Apicurito" +operator-sdk:csv:customresourcedefinitions:resources={{ServiceAccount,v1},{ClusterRole,rbac.authorization.k8s.io/v1},{Role,rbac.authorization.k8s.io/v1},{Deployment,apps/v1}}
func (*Apicurito) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Apicurito.
func (*Apicurito) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Apicurito) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApicuritoList ¶
type ApicuritoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Apicurito `json:"items"` }
ApicuritoList contains a list of Apicurito
func (*ApicuritoList) DeepCopy ¶
func (in *ApicuritoList) DeepCopy() *ApicuritoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicuritoList.
func (*ApicuritoList) DeepCopyInto ¶
func (in *ApicuritoList) DeepCopyInto(out *ApicuritoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApicuritoList) DeepCopyObject ¶
func (in *ApicuritoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApicuritoPhase ¶
type ApicuritoPhase string
ApicuritoPhase defines the phase of the installation
const ( // ApicuritoPhaseMissing defines if Apicurito CR not available ApicuritoPhaseMissing ApicuritoPhase = "" // ApicuritoPhaseStarting defines if Apicurito install starting ApicuritoPhaseStarting ApicuritoPhase = "Starting" // ApicuritoPhaseInstalling defines if Apicurito install underway ApicuritoPhaseInstalling ApicuritoPhase = "Installing" // ApicuritoPhaseInstalled defines if Apicurito install completed ApicuritoPhaseInstalled ApicuritoPhase = "Installed" // ApicuritoPhaseInstallError defines if Apicurito install produced an error ApicuritoPhaseInstallError ApicuritoPhase = "InstallError" )
type ApicuritoSpec ¶
type ApicuritoSpec struct { // The number of pods to scale // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Size" Size int32 `json:"size"` // Resources for the UI pod // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ResourcesUI" ResourcesUI *corev1.ResourceRequirements `json:"resourcesUI,omitempty"` // Resources for the generator pod // +operator-sdk:csv:customresourcedefinitions:type=spec // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="ResourcesGenerator" ResourcesGenerator *corev1.ResourceRequirements `json:"resourcesGenerator,omitempty"` }
ApicuritoSpec defines the desired state of Apicurito +k8s:openapi-gen=true
func (*ApicuritoSpec) DeepCopy ¶
func (in *ApicuritoSpec) DeepCopy() *ApicuritoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicuritoSpec.
func (*ApicuritoSpec) DeepCopyInto ¶
func (in *ApicuritoSpec) DeepCopyInto(out *ApicuritoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApicuritoStatus ¶
type ApicuritoStatus struct { // The phase the operator has reached, eg. INSTALLED, STARTING // +optional // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Phase" // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:io.kubernetes.phase" Phase ApicuritoPhase `json:"phase,omitempty"` // The currently installed version of Apicurito // +optional // +operator-sdk:csv:customresourcedefinitions:type=status // +operator-sdk:csv:customresourcedefinitions:type=status,displayName="Version" // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors="urn:alm:descriptor:text" Version string `json:"version,omitempty"` }
ApicuritoStatus defines the observed state of Apicurito +k8s:openapi-gen=true
func (*ApicuritoStatus) DeepCopy ¶
func (in *ApicuritoStatus) DeepCopy() *ApicuritoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApicuritoStatus.
func (*ApicuritoStatus) DeepCopyInto ¶
func (in *ApicuritoStatus) DeepCopyInto(out *ApicuritoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.