v1alpha1

package
v0.0.0-...-040e3e6 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "prestooperator.k8s.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 CoordinatorConfig

type CoordinatorConfig struct {
	// Compute resources required by each Coordinator container.
	// If omitted, a default value will be used.
	// Cannot be updated.
	// More info: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	EtcConfig map[string]string           `json:"etcConfig,omitempty"`
}

CoordinatorConfig defines the coordinator config

func (*CoordinatorConfig) DeepCopy

func (in *CoordinatorConfig) DeepCopy() *CoordinatorConfig

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

func (*CoordinatorConfig) DeepCopyInto

func (in *CoordinatorConfig) DeepCopyInto(out *CoordinatorConfig)

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

type PrestoCluster

type PrestoCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   PrestoClusterSpec   `json:"spec,omitempty"`
	Status PrestoClusterStatus `json:"status,omitempty"`
}

PrestoCluster is the Schema for the prestoclusters API

func (*PrestoCluster) DeepCopy

func (in *PrestoCluster) DeepCopy() *PrestoCluster

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

func (*PrestoCluster) DeepCopyInto

func (in *PrestoCluster) DeepCopyInto(out *PrestoCluster)

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

func (*PrestoCluster) DeepCopyObject

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

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

type PrestoClusterList

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

PrestoClusterList contains a list of PrestoCluster

func (*PrestoClusterList) DeepCopy

func (in *PrestoClusterList) DeepCopy() *PrestoClusterList

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

func (*PrestoClusterList) DeepCopyInto

func (in *PrestoClusterList) DeepCopyInto(out *PrestoClusterList)

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

func (*PrestoClusterList) DeepCopyObject

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

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

type PrestoClusterSpec

type PrestoClusterSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Name              string            `json:"name"`
	Image             string            `json:"image"`
	Workers           *int32            `json:"workers"`
	CoordinatorConfig CoordinatorConfig `json:"coordinatorConfig"`
	WorkerConfig      WorkerConfig      `json:"workerConfig"`
	CatalogConfig     map[string]string `json:"catalogConfig,omitempty"`
	Coresite          map[string]string `json:"coresite,omitempty"`
}

PrestoClusterSpec defines the desired state of PrestoCluster

func (*PrestoClusterSpec) DeepCopy

func (in *PrestoClusterSpec) DeepCopy() *PrestoClusterSpec

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

func (*PrestoClusterSpec) DeepCopyInto

func (in *PrestoClusterSpec) DeepCopyInto(out *PrestoClusterSpec)

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

type PrestoClusterStatus

type PrestoClusterStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define inspected state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	AvailableWorkers int32 `json:"availableWorkers"`
}

PrestoClusterStatus defines the inspected state of PrestoCluster

func (*PrestoClusterStatus) DeepCopy

func (in *PrestoClusterStatus) DeepCopy() *PrestoClusterStatus

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

func (*PrestoClusterStatus) DeepCopyInto

func (in *PrestoClusterStatus) DeepCopyInto(out *PrestoClusterStatus)

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

type WorkerConfig

type WorkerConfig struct {
	Resources corev1.ResourceRequirements `json:"resources,omitempty"`
	EtcConfig map[string]string           `json:"etcConfig,omitempty"`
}

WorkerConfig defines the worker config.

func (*WorkerConfig) DeepCopy

func (in *WorkerConfig) DeepCopy() *WorkerConfig

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

func (*WorkerConfig) DeepCopyInto

func (in *WorkerConfig) DeepCopyInto(out *WorkerConfig)

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