Documentation

Overview

    Package v1alpha1 is the v1alpha1 version of the API. +groupName=aro.openshift.io

    Package v1alpha1 contains API Schema definitions for the aro v1alpha1 API group +kubebuilder:object:generate=true +groupName=aro.openshift.io

    Index

    Constants

    View Source
    const (
    	SingletonClusterName                             = "cluster"
    	InternetReachableFromMaster status.ConditionType = "InternetReachableFromMaster"
    	InternetReachableFromWorker status.ConditionType = "InternetReachableFromWorker"
    	MachineValid                status.ConditionType = "MachineValid"
    )

    Variables

    View Source
    var (
    	// GroupVersion is group version used to register these objects
    	GroupVersion = schema.GroupVersion{Group: "aro.openshift.io", Version: "v1alpha1"}
    
    	// SchemeGroupVersion manual hack
    	SchemeGroupVersion = GroupVersion
    
    	// 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

    func AllConditionTypes

    func AllConditionTypes() []status.ConditionType

    Types

    type Cluster

    type Cluster struct {
    	metav1.TypeMeta   `json:",inline"`
    	metav1.ObjectMeta `json:"metadata,omitempty"`
    
    	Spec   ClusterSpec   `json:"spec,omitempty"`
    	Status ClusterStatus `json:"status,omitempty"`
    }

      Cluster is the Schema for the clusters API

      func (*Cluster) DeepCopy

      func (in *Cluster) DeepCopy() *Cluster

        DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.

        func (*Cluster) DeepCopyInto

        func (in *Cluster) DeepCopyInto(out *Cluster)

          DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

          func (*Cluster) DeepCopyObject

          func (in *Cluster) DeepCopyObject() runtime.Object

            DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

            type ClusterList

            type ClusterList struct {
            	metav1.TypeMeta `json:",inline"`
            	metav1.ListMeta `json:"metadata,omitempty"`
            	Items           []Cluster `json:"items"`
            }

              ClusterList contains a list of Cluster +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

              func (*ClusterList) DeepCopy

              func (in *ClusterList) DeepCopy() *ClusterList

                DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterList.

                func (*ClusterList) DeepCopyInto

                func (in *ClusterList) DeepCopyInto(out *ClusterList)

                  DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                  func (*ClusterList) DeepCopyObject

                  func (in *ClusterList) DeepCopyObject() runtime.Object

                    DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

                    type ClusterSpec

                    type ClusterSpec struct {
                    	// ResourceID is the Azure resourceId of the cluster
                    	ResourceID      string              `json:"resourceId,omitempty"`
                    	ACRDomain       string              `json:"acrDomain,omitempty"`
                    	AZEnvironment   string              `json:"azEnvironment,omitempty"`
                    	Location        string              `json:"location,omitempty"`
                    	GenevaLogging   GenevaLoggingSpec   `json:"genevaLogging,omitempty"`
                    	InternetChecker InternetCheckerSpec `json:"internetChecker,omitempty"`
                    	VnetID          string              `json:"vnetId,omitempty"`
                    
                    	Features FeaturesSpec `json:"features,omitempty"`
                    }

                      ClusterSpec defines the desired state of Cluster

                      func (*ClusterSpec) DeepCopy

                      func (in *ClusterSpec) DeepCopy() *ClusterSpec

                        DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSpec.

                        func (*ClusterSpec) DeepCopyInto

                        func (in *ClusterSpec) DeepCopyInto(out *ClusterSpec)

                          DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                          type ClusterStatus

                          type ClusterStatus struct {
                          	OperatorVersion string            `json:"operatorVersion,omitempty"`
                          	Conditions      status.Conditions `json:"conditions,omitempty"`
                          }

                            ClusterStatus defines the observed state of Cluster

                            func (*ClusterStatus) DeepCopy

                            func (in *ClusterStatus) DeepCopy() *ClusterStatus

                              DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterStatus.

                              func (*ClusterStatus) DeepCopyInto

                              func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

                                DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                                type FeaturesSpec

                                type FeaturesSpec struct {
                                	PersistentPrometheus bool `json:"persistentPrometheus,omitempty"`
                                }

                                  FeaturesSpec defines ARO operator feature gates

                                  func (*FeaturesSpec) DeepCopy

                                  func (in *FeaturesSpec) DeepCopy() *FeaturesSpec

                                    DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeaturesSpec.

                                    func (*FeaturesSpec) DeepCopyInto

                                    func (in *FeaturesSpec) DeepCopyInto(out *FeaturesSpec)

                                      DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                                      type GenevaLoggingSpec

                                      type GenevaLoggingSpec struct {
                                      	// +kubebuilder:validation:Pattern:=`[0-9]+.[0-9]+`
                                      	ConfigVersion string `json:"configVersion,omitempty"`
                                      	// +kubebuilder:validation:Enum=DiagnosticsProd;Test
                                      	MonitoringGCSEnvironment string `json:"monitoringGCSEnvironment,omitempty"`
                                      }

                                      func (*GenevaLoggingSpec) DeepCopy

                                      func (in *GenevaLoggingSpec) DeepCopy() *GenevaLoggingSpec

                                        DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenevaLoggingSpec.

                                        func (*GenevaLoggingSpec) DeepCopyInto

                                        func (in *GenevaLoggingSpec) DeepCopyInto(out *GenevaLoggingSpec)

                                          DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

                                          type InternetCheckerSpec

                                          type InternetCheckerSpec struct {
                                          	URLs []string `json:"urls,omitempty"`
                                          }

                                          func (*InternetCheckerSpec) DeepCopy

                                          func (in *InternetCheckerSpec) DeepCopy() *InternetCheckerSpec

                                            DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternetCheckerSpec.

                                            func (*InternetCheckerSpec) DeepCopyInto

                                            func (in *InternetCheckerSpec) DeepCopyInto(out *InternetCheckerSpec)

                                              DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.