v1alpha1

package
v0.0.0-...-80b162a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
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

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

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 ClusterServiceDependency

type ClusterServiceDependency struct {
	Service string `json:"service"`
	Name    string `json:"name"`
}

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 ConfigurationDefinition struct {
	Name        string `json:"name"`
	Value       string `json:"value"`
	Type        string `json:"type"`
	Description string `json:"description"`
}

type ConfigurationGroup

type ConfigurationGroup struct {
	Name  string              `json:"name"`
	Items []ConfigurationItem `json:"items"`
}

type ConfigurationItem

type ConfigurationItem struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

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

func (in *Hdfs) DeepCopy() *Hdfs

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

func (*Hdfs) DeepCopyInto

func (in *Hdfs) DeepCopyInto(out *Hdfs)

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

func (*Hdfs) DeepCopyObject

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

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

func (in *HdfsList) DeepCopy() *HdfsList

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

func (*HdfsList) DeepCopyInto

func (in *HdfsList) DeepCopyInto(out *HdfsList)

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

func (*HdfsList) DeepCopyObject

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

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

type HdfsSpec

type HdfsSpec struct {
	Name    string `json:"name"`
	Cluster string `json:"cluster"`
}

HdfsSpec defines the desired state of Hdfs

func (*HdfsSpec) DeepCopy

func (in *HdfsSpec) DeepCopy() *HdfsSpec

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

func (*HdfsSpec) DeepCopyInto

func (in *HdfsSpec) DeepCopyInto(out *HdfsSpec)

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

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

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

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

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 StackService struct {
	Name    string `json:"name"`
	Version string `json:"version"`
}

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

func (in *Zookeeper) DeepCopy() *Zookeeper

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

func (*Zookeeper) DeepCopyInto

func (in *Zookeeper) DeepCopyInto(out *Zookeeper)

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

func (*Zookeeper) DeepCopyObject

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

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

type ZookeeperSpec struct {
	Name     string `json:"name"`
	Replicas int    `json:"replicas"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL