Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the v1beta1 API group +kubebuilder:object:generate=true +groupName=rhsyseng.github.io
Index ¶
Constants ¶
const ( ConditionTypeReady string = "Ready" ConditionTypeAPI string = "APIReconciled" ConditionTypeIngress string = "IngressReconciled" ConditionTypePullSecret string = "PullSecretReconciled" ConditionTypeSSH string = "SSHKeyReconciled" ConditionTypeRegistryCert string = "RegistryCertReconciled" ConditionTypeMirror string = "MirrorReconciled" ConditionTypeDNS string = "DNSReconciled" ConditionTypeCatalog string = "CatalogReconciled" )
const ( PullSecretName string = "pull-secret" BackupPullSecretName string = "backup-pull-secret" ConfigNamespace string = "openshift-config" IngressNamespace string = "openshift-ingress" )
const ( // ValidationSucceededReason represents the fact that the validation of // the resource has succeeded. ValidationSucceededReason string = "ValidationSucceeded" // ValidationFailedReason represents the fact that the validation of // the resource has failed. ValidationFailedReason string = "ValidationFailed" // ReconciliationSucceededReason represents the fact that the validation of // the resource has succeeded. ReconciliationSucceededReason string = "ReconciliationSucceeded" // ReconciliationFailedReason represents the fact that the validation of // the resource has failed. ReconciliationFailedReason string = "ReconciliationFailed" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "rhsyseng.github.io", Version: "v1beta1"} // 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 CatalogSource ¶
type CatalogSource struct { // Name is the name of the CatalogSource. Name string `json:"name"` // Image is an operator-registry container image to instantiate a registry-server with. Image string `json:"image"` }
func (*CatalogSource) DeepCopy ¶
func (in *CatalogSource) DeepCopy() *CatalogSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CatalogSource.
func (*CatalogSource) DeepCopyInto ¶
func (in *CatalogSource) DeepCopyInto(out *CatalogSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRelocation ¶
type ClusterRelocation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ClusterRelocationSpec `json:"spec"` Status ClusterRelocationStatus `json:"status,omitempty"` }
ClusterRelocation is the Schema for the clusterrelocations API
func (*ClusterRelocation) DeepCopy ¶
func (in *ClusterRelocation) DeepCopy() *ClusterRelocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRelocation.
func (*ClusterRelocation) DeepCopyInto ¶
func (in *ClusterRelocation) DeepCopyInto(out *ClusterRelocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRelocation) DeepCopyObject ¶
func (in *ClusterRelocation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRelocationList ¶
type ClusterRelocationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ClusterRelocation `json:"items"` }
ClusterRelocationList contains a list of ClusterRelocation
func (*ClusterRelocationList) DeepCopy ¶
func (in *ClusterRelocationList) DeepCopy() *ClusterRelocationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRelocationList.
func (*ClusterRelocationList) DeepCopyInto ¶
func (in *ClusterRelocationList) DeepCopyInto(out *ClusterRelocationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterRelocationList) DeepCopyObject ¶
func (in *ClusterRelocationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterRelocationSpec ¶
type ClusterRelocationSpec struct { // APICertRef is a reference to a TLS secret that will be used for the API server. // If it is omitted, a self-signed certificate will be generated. APICertRef *corev1.SecretReference `json:"apiCertRef,omitempty"` // CatalogSources define new CatalogSources to install on the cluster. CatalogSources []CatalogSource `json:"catalogSources,omitempty"` // Domain defines the new base domain for the cluster. Domain string `json:"domain"` // ImageDigestMirrors is used to configured a mirror registry on the cluster. ImageDigestMirrors []configv1.ImageDigestMirrors `json:"imageDigestMirrors,omitempty"` // IngressCertRef is a reference to a TLS secret that will be used for the Ingress Controller. // If it is omitted, a self-signed certificate will be generated. IngressCertRef *corev1.SecretReference `json:"ingressCertRef,omitempty"` // PullSecretRef is a reference to new cluster-wide pull secret. // If defined, it will replace the secret located at openshift-config/pull-secret. PullSecretRef *corev1.SecretReference `json:"pullSecretRef,omitempty"` // RegistryCert is a new trusted CA certificate. // It will be added to image.config.openshift.io/cluster (additionalTrustedCA). RegistryCert *RegistryCert `json:"registryCert,omitempty"` // SSHKeys defines a list of authorized SSH keys for the 'core' user. // If defined, it will be appended to the existing authorized SSH key(s). SSHKeys []string `json:"sshKeys,omitempty"` }
ClusterRelocationSpec defines the desired state of ClusterRelocation
func (*ClusterRelocationSpec) DeepCopy ¶
func (in *ClusterRelocationSpec) DeepCopy() *ClusterRelocationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRelocationSpec.
func (*ClusterRelocationSpec) DeepCopyInto ¶
func (in *ClusterRelocationSpec) DeepCopyInto(out *ClusterRelocationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterRelocationStatus ¶
type ClusterRelocationStatus struct { // Conditions represent the latest available observations of an object's state Conditions []metav1.Condition `json:"conditions,omitempty"` }
ClusterRelocationStatus defines the observed state of ClusterRelocation
func (*ClusterRelocationStatus) DeepCopy ¶
func (in *ClusterRelocationStatus) DeepCopy() *ClusterRelocationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterRelocationStatus.
func (*ClusterRelocationStatus) DeepCopyInto ¶
func (in *ClusterRelocationStatus) DeepCopyInto(out *ClusterRelocationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RegistryCert ¶
type RegistryCert struct { // RegistryHostname is the hostname of the new registry. RegistryHostname string `json:"registryHostname"` // RegistryPort is the port number that the registry is served on. RegistryPort *int `json:"registryPort,omitempty"` // Certificate is the certificate for the trusted certificate authority associated with the registry. Certificate string `json:"certificate"` }
func (*RegistryCert) DeepCopy ¶
func (in *RegistryCert) DeepCopy() *RegistryCert
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RegistryCert.
func (*RegistryCert) DeepCopyInto ¶
func (in *RegistryCert) DeepCopyInto(out *RegistryCert)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.