Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the hybris v1alpha1 API group +kubebuilder:object:generate=true +groupName=hybris.hybris.org
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "hybris.hybris.org", 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 BuildStatusCondition ¶
type BuildStatusCondition struct { // Name of the build for the Hybris base image // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} BuildName string `json:"buildName"` // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} Conditions []status.Condition `json:"conditions"` }
func (*BuildStatusCondition) DeepCopy ¶
func (in *BuildStatusCondition) DeepCopy() *BuildStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusCondition.
func (*BuildStatusCondition) DeepCopyInto ¶
func (in *BuildStatusCondition) DeepCopyInto(out *BuildStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeploymentConfigStatusCondition ¶
type DeploymentConfigStatusCondition struct { // Conditions of the deploymentConfig for the Hybris app // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} Conditions []status.Condition `json:"conditions"` }
func (*DeploymentConfigStatusCondition) DeepCopy ¶
func (in *DeploymentConfigStatusCondition) DeepCopy() *DeploymentConfigStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentConfigStatusCondition.
func (*DeploymentConfigStatusCondition) DeepCopyInto ¶
func (in *DeploymentConfigStatusCondition) DeepCopyInto(out *DeploymentConfigStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HybrisApp ¶
type HybrisApp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HybrisAppSpec `json:"spec,omitempty"` Status HybrisAppStatus `json:"status,omitempty"` }
HybrisApp is the Schema for the hybrisapps API +operator-sdk:csv:customresourcedefinitions:displayName="Hybris Application"
func (*HybrisApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisApp.
func (*HybrisApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HybrisApp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HybrisAppList ¶
type HybrisAppList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HybrisApp `json:"items"` }
HybrisAppList contains a list of HybrisApp
func (*HybrisAppList) DeepCopy ¶
func (in *HybrisAppList) DeepCopy() *HybrisAppList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisAppList.
func (*HybrisAppList) DeepCopyInto ¶
func (in *HybrisAppList) DeepCopyInto(out *HybrisAppList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HybrisAppList) DeepCopyObject ¶
func (in *HybrisAppList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HybrisAppSpec ¶
type HybrisAppSpec struct { // Hybris base image name // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} BaseImageName string `json:"baseImageName,omitempty"` // Hybris base image tag // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} BaseImageTag string `json:"baseImageTag,omitempty"` // Hybris app source repository URL // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} SourceRepoURL string `json:"sourceRepoURL,omitempty"` // Hybris app source repository reference // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Source Repo Ref or Branch Name" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} SourceRepoRef string `json:"sourceRepoRef,omitempty"` // Hybris app repository source location // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} SourceRepoContext string `json:"sourceRepoContext,omitempty"` // Hybris app repository local.properties override location // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} SourceRepoLocalPropertiesOverride string `json:"sourceRepoLocalPropertiesOverride,omitempty"` // Hybris app Apache Tomcat server.xml jvmRoute name // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Apache Tomcat jvmRoute name" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} ApachejvmRouteName string `json:"apachejvmRouteName,omitempty"` // Hybris app ANT tasks // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Specify ANT tasks, e.g. clean,compile,deploy" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} HybrisANTTaskNames string `json:"hybrisANTTaskNames,omitempty"` // Service Port for AJP End Point, range: 30000-32768 // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Service Port for Apache Jserv Protocol End Point" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} AJPServicePort int32 `json:"aJPServicePort,omitempty"` // Pod Healthy Probe path for startup and readiness probe // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"} PodHealthyProbePath string `json:"podHealthyProbePath,omitempty"` // Period Second for Startup Probe // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"} StartupProbePeriodSecond int32 `json:"startupProbePeriodSecond,omitempty"` // Failure Threshold second for Startup Probe // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"} StartupProbeFailureThreshold int32 `json:"startupProbeFailureThreshold,omitempty"` }
HybrisAppSpec defines the desired state of HybrisApp
func (*HybrisAppSpec) DeepCopy ¶
func (in *HybrisAppSpec) DeepCopy() *HybrisAppSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisAppSpec.
func (*HybrisAppSpec) DeepCopyInto ¶
func (in *HybrisAppSpec) DeepCopyInto(out *HybrisAppSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HybrisAppStatus ¶
type HybrisAppStatus struct { BuildConditions []BuildStatusCondition `json:"buildConditions"` DeploymentConfigConditions DeploymentConfigStatusCondition `json:"deploymentConfigConditions"` RouteConditions []RouteStatusCondition `json:"routeConditions"` }
HybrisAppStatus defines the observed state of HybrisApp
func (*HybrisAppStatus) DeepCopy ¶
func (in *HybrisAppStatus) DeepCopy() *HybrisAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisAppStatus.
func (*HybrisAppStatus) DeepCopyInto ¶
func (in *HybrisAppStatus) DeepCopyInto(out *HybrisAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HybrisBase ¶
type HybrisBase struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HybrisBaseSpec `json:"spec,omitempty"` Status HybrisBaseStatus `json:"status,omitempty"` }
HybrisBase is the Schema for the Hybris Base API +operator-sdk:csv:customresourcedefinitions:displayName="Hybris Base"
func (*HybrisBase) DeepCopy ¶
func (in *HybrisBase) DeepCopy() *HybrisBase
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisBase.
func (*HybrisBase) DeepCopyInto ¶
func (in *HybrisBase) DeepCopyInto(out *HybrisBase)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HybrisBase) DeepCopyObject ¶
func (in *HybrisBase) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HybrisBaseList ¶
type HybrisBaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []HybrisBase `json:"items"` }
HybrisBaseList contains a list of HybrisBase
func (*HybrisBaseList) DeepCopy ¶
func (in *HybrisBaseList) DeepCopy() *HybrisBaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisBaseList.
func (*HybrisBaseList) DeepCopyInto ¶
func (in *HybrisBaseList) DeepCopyInto(out *HybrisBaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HybrisBaseList) DeepCopyObject ¶
func (in *HybrisBaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HybrisBaseSpec ¶
type HybrisBaseSpec struct { // Hybris package download URL used to download the package and build the base image // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Hybris package download URL" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} // +operator-sdk:csv:customresourcedefinitions:type=spec,order=1 URL string `json:"URL,omitempty"` // SAP account username used to download the Hybris package // +kubebuilder:validation:Required // +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="User Name" // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} // +operator-sdk:csv:customresourcedefinitions:type=spec,order=2 Username string `json:"username,omitempty"` // SAP account password used to download the Hybris package // +kubebuilder:validation:Required // +kubebuilder:validation:Format:=password // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:password"} // +operator-sdk:csv:customresourcedefinitions:type=spec,order=3 Password string `json:"password,omitempty"` // SAP Jdk download URL used to build the base image // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} JdkURL string `json:"jdkURL,omitempty"` // Name of the Hybris base image to be built // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} ImageName string `json:"imageName,omitempty"` // Tag of the Hybris base image to be built // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} ImageTag string `json:"imageTag,omitempty"` // Source Repo stores the s2i Dockerfile // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"} BuildSourceRepo string `json:"buildSourceRepo,omitempty"` // Source Repo branch stores the s2i Dockerfile // +operator-sdk:csv:customresourcedefinitions:type=spec,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:hidden"} BuildSourceRepoBranch string `json:"buildSourceRepoBranch,omitempty"` }
HybrisBaseSpec defines the desired state of HybrisBase
func (*HybrisBaseSpec) DeepCopy ¶
func (in *HybrisBaseSpec) DeepCopy() *HybrisBaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisBaseSpec.
func (*HybrisBaseSpec) DeepCopyInto ¶
func (in *HybrisBaseSpec) DeepCopyInto(out *HybrisBaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HybrisBaseStatus ¶
type HybrisBaseStatus struct {
BuildConditions []BuildStatusCondition `json:"buildConditions"`
}
HybrisBaseStatus defines the observed state of HybrisBase
func (*HybrisBaseStatus) DeepCopy ¶
func (in *HybrisBaseStatus) DeepCopy() *HybrisBaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HybrisBaseStatus.
func (*HybrisBaseStatus) DeepCopyInto ¶
func (in *HybrisBaseStatus) DeepCopyInto(out *HybrisBaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteStatusCondition ¶
type RouteStatusCondition struct { // Name of the route for the Hybris app // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} RouteName string `json:"routeName"` // Host of the route for the Hybris app // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:com.tectonic.ui:text"} Host string `json:"host"` // Conditions of the route for the Hybris app // +operator-sdk:csv:customresourcedefinitions:type=status,xDescriptors={"urn:alm:descriptor:io.kubernetes.conditions"} Conditions []status.Condition `json:"conditions"` }
func (*RouteStatusCondition) DeepCopy ¶
func (in *RouteStatusCondition) DeepCopy() *RouteStatusCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteStatusCondition.
func (*RouteStatusCondition) DeepCopyInto ¶
func (in *RouteStatusCondition) DeepCopyInto(out *RouteStatusCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.