Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=kubebdp.github.io
Index ¶
- Variables
- type Cluster
- type ClusterList
- type ClusterService
- type ClusterServiceDependency
- type ClusterSpec
- type ClusterStatus
- type ConfigurationDefinition
- type ConfigurationGroup
- type ConfigurationItem
- type Configurations
- type DependencyOperator
- type Hdfs
- type HdfsList
- type HdfsSpec
- type HdfsStatus
- type Recommendation
- type ServiceDefinition
- type ServiceDefinitionList
- type ServiceDefinitionSpec
- type ServiceDefinitionStatus
- type ServiceStatus
- type StackDefinition
- type StackDefinitionList
- type StackDefinitionSpec
- type StackDefinitionStatus
- type StackService
- type Zookeeper
- type ZookeeperList
- type ZookeeperSpec
- type ZookeeperStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "kubebdp.github.io", 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 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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cluster.
func (*Cluster) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cluster) DeepCopyObject ¶
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
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 ClusterService ¶
type ClusterService struct { Name string `json:"name"` Dependencies []ClusterServiceDependency `json:"dependencies"` ServiceSpec string `json:"serviceSpec"` Configurations []ConfigurationGroup `json:"configurations"` }
func (*ClusterService) DeepCopy ¶
func (in *ClusterService) DeepCopy() *ClusterService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterService.
func (*ClusterService) DeepCopyInto ¶
func (in *ClusterService) DeepCopyInto(out *ClusterService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSpec ¶
type ClusterSpec struct { Name string `json:"name"` Stack string `json:"stack"` Version string `json:"version"` Services []ClusterService `json:"services"` //Configurations []ConfigurationGroup `json:"configurations"` // CertConfigs Environments map[string]string `json:"environments"` }
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 {
ServiceStatuses []ServiceStatus `json:"serviceStatuses"`
}
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 ConfigurationDefinition ¶
type ConfigurationGroup ¶
type ConfigurationGroup struct { Name string `json:"name"` Items []ConfigurationItem `json:"items"` }
type ConfigurationItem ¶
type Configurations ¶
type Configurations struct { Type string `json:"type"` Format string `json:"format"` Definitions []ConfigurationDefinition `json:"definitions"` }
func (*Configurations) DeepCopy ¶
func (in *Configurations) DeepCopy() *Configurations
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Configurations.
func (*Configurations) DeepCopyInto ¶
func (in *Configurations) DeepCopyInto(out *Configurations)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DependencyOperator ¶
type DependencyOperator string
var ( DependencyOpIn DependencyOperator = "In" DependencyOpNotIn DependencyOperator = "NotIn" DependencyOpExists DependencyOperator = "Exists" DependencyOpDoesNotExist DependencyOperator = "DoesNotExist" )
type Hdfs ¶
type Hdfs struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec HdfsSpec `json:"spec,omitempty"` Status HdfsStatus `json:"status,omitempty"` }
Hdfs is the Schema for the hdfses API
func (*Hdfs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Hdfs.
func (*Hdfs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Hdfs) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HdfsList ¶
type HdfsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Hdfs `json:"items"` }
HdfsList contains a list of Hdfs
func (*HdfsList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HdfsList.
func (*HdfsList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HdfsList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HdfsSpec ¶
HdfsSpec defines the desired state of Hdfs
func (*HdfsSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HdfsSpec.
func (*HdfsSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HdfsStatus ¶
type HdfsStatus struct { }
HdfsStatus defines the observed state of Hdfs
func (*HdfsStatus) DeepCopy ¶
func (in *HdfsStatus) DeepCopy() *HdfsStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HdfsStatus.
func (*HdfsStatus) DeepCopyInto ¶
func (in *HdfsStatus) DeepCopyInto(out *HdfsStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Recommendation ¶
type Recommendation struct {
Python string `json:"python"`
}
func (*Recommendation) DeepCopy ¶
func (in *Recommendation) DeepCopy() *Recommendation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Recommendation.
func (*Recommendation) DeepCopyInto ¶
func (in *Recommendation) DeepCopyInto(out *Recommendation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDefinition ¶
type ServiceDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDefinitionSpec `json:"spec,omitempty"` Status ServiceDefinitionStatus `json:"status,omitempty"` }
ServiceDefinition is the Schema for the ServiceDefinitions API
func (*ServiceDefinition) DeepCopy ¶
func (in *ServiceDefinition) DeepCopy() *ServiceDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDefinition.
func (*ServiceDefinition) DeepCopyInto ¶
func (in *ServiceDefinition) DeepCopyInto(out *ServiceDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDefinition) DeepCopyObject ¶
func (in *ServiceDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDefinitionList ¶
type ServiceDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDefinition `json:"items"` }
ServiceDefinitionList contains a list of ServiceDefinition
func (*ServiceDefinitionList) DeepCopy ¶
func (in *ServiceDefinitionList) DeepCopy() *ServiceDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDefinitionList.
func (*ServiceDefinitionList) DeepCopyInto ¶
func (in *ServiceDefinitionList) DeepCopyInto(out *ServiceDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDefinitionList) DeepCopyObject ¶
func (in *ServiceDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDefinitionSpec ¶
type ServiceDefinitionSpec struct { Service string `json:"service"` Version string `json:"version"` Description string `json:"description"` Configurations []Configurations `json:"configurations"` // operator, helm, raw Engine string `json:"engine"` Helm string `json:"helm"` Raw string `json:"raw"` }
ServiceDefinitionSpec defines the desired state of ServiceDefinition
func (*ServiceDefinitionSpec) DeepCopy ¶
func (in *ServiceDefinitionSpec) DeepCopy() *ServiceDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDefinitionSpec.
func (*ServiceDefinitionSpec) DeepCopyInto ¶
func (in *ServiceDefinitionSpec) DeepCopyInto(out *ServiceDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDefinitionStatus ¶
type ServiceDefinitionStatus struct { }
ServiceDefinitionStatus defines the observed state of ServiceDefinition
func (*ServiceDefinitionStatus) DeepCopy ¶
func (in *ServiceDefinitionStatus) DeepCopy() *ServiceDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDefinitionStatus.
func (*ServiceDefinitionStatus) DeepCopyInto ¶
func (in *ServiceDefinitionStatus) DeepCopyInto(out *ServiceDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct { }
type StackDefinition ¶
type StackDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StackDefinitionSpec `json:"spec,omitempty"` Status StackDefinitionStatus `json:"status,omitempty"` }
StackDefinition is the Schema for the stackdefinitions API
func (*StackDefinition) DeepCopy ¶
func (in *StackDefinition) DeepCopy() *StackDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackDefinition.
func (*StackDefinition) DeepCopyInto ¶
func (in *StackDefinition) DeepCopyInto(out *StackDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackDefinition) DeepCopyObject ¶
func (in *StackDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackDefinitionList ¶
type StackDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []StackDefinition `json:"items"` }
StackDefinitionList contains a list of StackDefinition
func (*StackDefinitionList) DeepCopy ¶
func (in *StackDefinitionList) DeepCopy() *StackDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackDefinitionList.
func (*StackDefinitionList) DeepCopyInto ¶
func (in *StackDefinitionList) DeepCopyInto(out *StackDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackDefinitionList) DeepCopyObject ¶
func (in *StackDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackDefinitionSpec ¶
type StackDefinitionSpec struct { Name string `json:"name"` Version string `json:"version"` Services []StackService `json:"services"` Recommendation Recommendation `json:"recommendation"` }
StackDefinitionSpec defines the desired state of StackDefinition
func (*StackDefinitionSpec) DeepCopy ¶
func (in *StackDefinitionSpec) DeepCopy() *StackDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackDefinitionSpec.
func (*StackDefinitionSpec) DeepCopyInto ¶
func (in *StackDefinitionSpec) DeepCopyInto(out *StackDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackDefinitionStatus ¶
type StackDefinitionStatus struct { }
StackDefinitionStatus defines the observed state of StackDefinition
func (*StackDefinitionStatus) DeepCopy ¶
func (in *StackDefinitionStatus) DeepCopy() *StackDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackDefinitionStatus.
func (*StackDefinitionStatus) DeepCopyInto ¶
func (in *StackDefinitionStatus) DeepCopyInto(out *StackDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackService ¶
type Zookeeper ¶
type Zookeeper struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ZookeeperSpec `json:"spec,omitempty"` Status ZookeeperStatus `json:"status,omitempty"` }
Zookeeper is the Schema for the zookeepers API
func (*Zookeeper) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Zookeeper.
func (*Zookeeper) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Zookeeper) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZookeeperList ¶
type ZookeeperList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Zookeeper `json:"items"` }
ZookeeperList contains a list of Zookeeper
func (*ZookeeperList) DeepCopy ¶
func (in *ZookeeperList) DeepCopy() *ZookeeperList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperList.
func (*ZookeeperList) DeepCopyInto ¶
func (in *ZookeeperList) DeepCopyInto(out *ZookeeperList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ZookeeperList) DeepCopyObject ¶
func (in *ZookeeperList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ZookeeperSpec ¶
ZookeeperSpec defines the desired state of Zookeeper
func (*ZookeeperSpec) DeepCopy ¶
func (in *ZookeeperSpec) DeepCopy() *ZookeeperSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperSpec.
func (*ZookeeperSpec) DeepCopyInto ¶
func (in *ZookeeperSpec) DeepCopyInto(out *ZookeeperSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ZookeeperStatus ¶
type ZookeeperStatus struct { }
ZookeeperStatus defines the observed state of Zookeeper
func (*ZookeeperStatus) DeepCopy ¶
func (in *ZookeeperStatus) DeepCopy() *ZookeeperStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ZookeeperStatus.
func (*ZookeeperStatus) DeepCopyInto ¶
func (in *ZookeeperStatus) DeepCopyInto(out *ZookeeperStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.