Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the integreatly v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=integreatly.org
Package v1alpha1 contains API Schema definitions for the integreatly v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=integreatly.org
Index ¶
- Variables
- func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
- type InstallationType
- type OperatorVersion
- type PreflightStatus
- type ProductName
- type ProductVersion
- type PullSecretSpec
- type RHMI
- type RHMIList
- type RHMIProductStatus
- type RHMISpec
- type RHMIStageStatus
- type RHMIStatus
- type StageName
- type StatusPhase
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: "integreatly.org", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} SchemaGroupVersionKind = schema.GroupVersionKind{Group: "integreatly.org", Version: "v1alpha1", Kind: "RHMI"} )
var ( PhaseNone StatusPhase = "" PhaseAccepted StatusPhase = "accepted" PhaseCreatingSubscription StatusPhase = "creating subscription" PhaseAwaitingOperator StatusPhase = "awaiting operator" PhaseAwaitingCloudResources StatusPhase = "awaiting cloud resources" PhaseCreatingComponents StatusPhase = "creating components" PhaseAwaitingComponents StatusPhase = "awaiting components" PhaseInProgress StatusPhase = "in progress" PhaseCompleted StatusPhase = "completed" PhaseFailed StatusPhase = "failed" InstallationTypeWorkshop InstallationType = "workshop" InstallationTypeManaged InstallationType = "managed" BootstrapStage StageName = "bootstrap" CloudResourcesStage StageName = "cloud-resources" MonitoringStage StageName = "monitoring" AuthenticationStage StageName = "authentication" ProductsStage StageName = "products" SolutionExplorerStage StageName = "solution-explorer" ProductAMQStreams ProductName = "amqstreams" ProductAMQOnline ProductName = "amqonline" ProductSolutionExplorer ProductName = "solution-explorer" ProductRHSSO ProductName = "rhsso" ProductRHSSOUser ProductName = "rhssouser" ProductCodeReadyWorkspaces ProductName = "codeready-workspaces" ProductFuse ProductName = "fuse" ProductFuseOnOpenshift ProductName = "fuse-on-openshift" Product3Scale ProductName = "3scale" ProductUps ProductName = "ups" ProductApicurito ProductName = "apicurito" ProductMonitoring ProductName = "monitoring" ProductCloudResources ProductName = "cloud-resources" ProductDataSync ProductName = "datasync" // PBrookes 08/08/2019: // Could not find a way to determine these versions dynamically, so they are hard-coded // It is preferable to determine the version of a product dynamically (from a CR, or configmap, etc) VersionAMQOnline ProductVersion = "1.3.1" VersionApicurito ProductVersion = "0.0.1" VersionAMQStreams ProductVersion = "1.1.0" VersionCodeReadyWorkspaces ProductVersion = "2.0.0.GA" VersionFuseOnOpenshift ProductVersion = "master" VersionMonitoring ProductVersion = "1.0.2" Version3Scale ProductVersion = "2.7" VersionUps ProductVersion = "2.3.2" VersionCloudResources ProductVersion = "0.10.0" VersionFuseOnline ProductVersion = "7.5" VersionDataSync ProductVersion = "0.9.4" PreflightInProgress PreflightStatus = "" PreflightSuccess PreflightStatus = "successful" PreflightFail PreflightStatus = "failed" OperatorVersionAMQStreams OperatorVersion = "1.1.0" OperatorVersionAMQOnline OperatorVersion = "1.3.1" OperatorVersionMonitoring OperatorVersion = "1.0.2" OperatorVersionSolutionExplorer OperatorVersion = "0.0.44" OperatorVersionRHSSO OperatorVersion = "8.0.1" OperatorVersionRHSSOUser OperatorVersion = "8.0.1" OperatorVersionCodeReadyWorkspaces OperatorVersion = "2.0.0" OperatorVersionFuse OperatorVersion = "1.5.0" OperatorVersion3Scale OperatorVersion = "0.4.0" OperatorVersionCloudResources OperatorVersion = "0.10.0" OperatorVersionUPS OperatorVersion = "0.5.0" OperatorVersionApicurito OperatorVersion = "0.1.0" // Event reasons to be used when emitting events EventProcessingError string = "ProcessingError" EventInstallationCompleted string = "InstallationCompleted" EventPreflightCheckPassed string = "PreflightCheckPassed" )
Functions ¶
func GetOpenAPIDefinitions ¶
func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition
Types ¶
type InstallationType ¶
type InstallationType string
type OperatorVersion ¶
type OperatorVersion string
type PreflightStatus ¶
type PreflightStatus string
type ProductName ¶
type ProductName string
type ProductVersion ¶
type ProductVersion string
type PullSecretSpec ¶
func (*PullSecretSpec) DeepCopy ¶
func (in *PullSecretSpec) DeepCopy() *PullSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PullSecretSpec.
func (*PullSecretSpec) DeepCopyInto ¶
func (in *PullSecretSpec) DeepCopyInto(out *PullSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RHMI ¶
type RHMI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RHMISpec `json:"spec,omitempty"` Status RHMIStatus `json:"status,omitempty"` }
RHMI is the Schema for the RHMI API +k8s:openapi-gen=true +kubebuilder:subresource:status +kubebuilder:resource:path=rhmis,scope=Namespaced
func (*RHMI) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMI.
func (*RHMI) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RHMI) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*RHMI) GetProductStatusObject ¶
func (i *RHMI) GetProductStatusObject(product ProductName) *RHMIProductStatus
type RHMIList ¶
type RHMIList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RHMI `json:"items"` }
RHMIList contains a list of Installation
func (*RHMIList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMIList.
func (*RHMIList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RHMIList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RHMIProductStatus ¶
type RHMIProductStatus struct { Name ProductName `json:"name"` OperatorVersion OperatorVersion `json:"operator,omitempty"` Version ProductVersion `json:"version"` Host string `json:"host"` Type string `json:"type,omitempty"` Mobile bool `json:"mobile,omitempty"` Status StatusPhase `json:"status"` }
func (*RHMIProductStatus) DeepCopy ¶
func (in *RHMIProductStatus) DeepCopy() *RHMIProductStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMIProductStatus.
func (*RHMIProductStatus) DeepCopyInto ¶
func (in *RHMIProductStatus) DeepCopyInto(out *RHMIProductStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RHMISpec ¶
type RHMISpec struct { // INSERT ADDITIONAL SPEC FIELDS - desired state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Type string `json:"type"` RoutingSubdomain string `json:"routingSubdomain,omitempty"` MasterURL string `json:"masterURL,omitempty"` NamespacePrefix string `json:"namespacePrefix"` SelfSignedCerts bool `json:"selfSignedCerts,omitempty"` PullSecret PullSecretSpec `json:"pullSecret,omitempty"` UseClusterStorage bool `json:"useClusterStorage,omitempty"` // OperatorsInProductNamespace is a flag that decides if // the product operators should be installed in the product // namespace (when set to true) or in standalone namespace // (when set to false, default). Standalone namespace will // be used only for those operators that support it. OperatorsInProductNamespace bool `json:"operatorsInProductNamespace,omitempty"` // SMTPSecret is the name of a secret in the installation // namespace containing SMTP connection details. The secret // must contain the following fields: // // host // port // tls // username // password SMTPSecret string `json:"smtpSecret,omitempty"` }
RHMISpec defines the desired state of Installation +k8s:openapi-gen=true
func (*RHMISpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMISpec.
func (*RHMISpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RHMIStageStatus ¶
type RHMIStageStatus struct { Name StageName `json:"name"` Phase StatusPhase `json:"phase"` Products map[ProductName]RHMIProductStatus `json:"products,omitempty"` }
func (*RHMIStageStatus) DeepCopy ¶
func (in *RHMIStageStatus) DeepCopy() *RHMIStageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMIStageStatus.
func (*RHMIStageStatus) DeepCopyInto ¶
func (in *RHMIStageStatus) DeepCopyInto(out *RHMIStageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RHMIStatus ¶
type RHMIStatus struct { // INSERT ADDITIONAL STATUS FIELDS - define observed state of cluster // Important: Run "operator-sdk generate k8s" to regenerate code after modifying this file // Add custom validation using kubebuilder tags: https://book.kubebuilder.io/beyond_basics/generating_crd.html Stages map[StageName]RHMIStageStatus `json:"stages"` PreflightStatus PreflightStatus `json:"preflightStatus,omitempty"` PreflightMessage string `json:"preflightMessage,omitempty"` LastError string `json:"lastError"` GitHubOAuthEnabled bool `json:"gitHubOAuthEnabled,omitempty"` SMTPEnabled bool `json:"smtpEnabled,omitempty"` }
RHMIStatus defines the observed state of Installation +k8s:openapi-gen=true
func (*RHMIStatus) DeepCopy ¶
func (in *RHMIStatus) DeepCopy() *RHMIStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RHMIStatus.
func (*RHMIStatus) DeepCopyInto ¶
func (in *RHMIStatus) DeepCopyInto(out *RHMIStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StatusPhase ¶
type StatusPhase string