v1beta1

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the parseable.io v1beta1 API group +kubebuilder:object:generate=true +groupName=parseable.io

Index

Constants

This section is empty.

Variables

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

type ExternalSpec struct {
	ObjectStore ObjectStoreSpec `json:"objectStore"`
}

func (*ExternalSpec) DeepCopy

func (in *ExternalSpec) DeepCopy() *ExternalSpec

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

func (*ExternalSpec) DeepCopyInto

func (in *ExternalSpec) DeepCopyInto(out *ExternalSpec)

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

type K8sConfigSpec

type K8sConfigSpec struct {
	Name               string                  `json:"name"`
	Volumes            []v1.Volume             `json:"volumes,omitempty"`
	VolumeMount        []v1.VolumeMount        `json:"volumeMount,omitempty"`
	Image              string                  `json:"image"`
	ImagePullPolicy    v1.PullPolicy           `json:"imagePullPolicy,omitempty"`
	ServiceAccountName string                  `json:"serviceAccountName,omitempty"`
	Env                []v1.EnvVar             `json:"env,omitempty"`
	Tolerations        []v1.Toleration         `json:"tolerations,omitempty"`
	PodMetadata        Metadata                `json:"podMetadata,omitempty"`
	StorageConfig      []StorageConfig         `json:"storageConfig,omitempty"`
	NodeSelector       map[string]string       `json:"nodeSelector,omitempty"`
	Service            *v1.ServiceSpec         `json:"service,omitempty"`
	Resources          v1.ResourceRequirements `json:"resources,omitempty"`
}

func (*K8sConfigSpec) DeepCopy

func (in *K8sConfigSpec) DeepCopy() *K8sConfigSpec

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

func (*K8sConfigSpec) DeepCopyInto

func (in *K8sConfigSpec) DeepCopyInto(out *K8sConfigSpec)

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

type Metadata

type Metadata struct {
	Annotations map[string]string `json:"annotations,omitempty"`
	Labels      map[string]string `json:"labels,omitempty"`
}

func (*Metadata) DeepCopy

func (in *Metadata) DeepCopy() *Metadata

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

func (*Metadata) DeepCopyInto

func (in *Metadata) DeepCopyInto(out *Metadata)

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

type NodeSpec

type NodeSpec struct {
	Name            string `json:"name"`
	Kind            string `json:"kind"`
	Type            string `json:"type"`
	Replicas        int    `json:"replicas"`
	K8sConfig       string `json:"k8sConfig"`
	ParseableConfig string `json:"parseableConfig"`
}

func (*NodeSpec) DeepCopy

func (in *NodeSpec) DeepCopy() *NodeSpec

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

func (*NodeSpec) DeepCopyInto

func (in *NodeSpec) DeepCopyInto(out *NodeSpec)

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

type ObjectStoreConfig

type ObjectStoreConfig struct {
	Type string `json:"type"`
	Data string `json:"data"`
}

func (*ObjectStoreConfig) DeepCopy

func (in *ObjectStoreConfig) DeepCopy() *ObjectStoreConfig

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

func (*ObjectStoreConfig) DeepCopyInto

func (in *ObjectStoreConfig) DeepCopyInto(out *ObjectStoreConfig)

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

type ObjectStoreSpec

type ObjectStoreSpec struct {
	Spec ObjectStoreConfig `json:"spec"`
}

func (*ObjectStoreSpec) DeepCopy

func (in *ObjectStoreSpec) DeepCopy() *ObjectStoreSpec

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

func (*ObjectStoreSpec) DeepCopyInto

func (in *ObjectStoreSpec) DeepCopyInto(out *ObjectStoreSpec)

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

type ParseableConfigSpec

type ParseableConfigSpec struct {
	Name    string            `json:"name"`
	EnvVars map[string]string `json:"env"`
	CliArgs []string          `json:"cliArgs"`
}

func (*ParseableConfigSpec) DeepCopy

func (in *ParseableConfigSpec) DeepCopy() *ParseableConfigSpec

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

func (*ParseableConfigSpec) DeepCopyInto

func (in *ParseableConfigSpec) DeepCopyInto(out *ParseableConfigSpec)

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

type ParseableTenant

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

	Spec   ParseableTenantSpec   `json:"spec,omitempty"`
	Status ParseableTenantStatus `json:"status,omitempty"`
}

ParseableTenant is the Schema for the parseabletenants API

func (*ParseableTenant) DeepCopy

func (in *ParseableTenant) DeepCopy() *ParseableTenant

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

func (*ParseableTenant) DeepCopyInto

func (in *ParseableTenant) DeepCopyInto(out *ParseableTenant)

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

func (*ParseableTenant) DeepCopyObject

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

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

type ParseableTenantList

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

ParseableTenantList contains a list of ParseableTenant

func (*ParseableTenantList) DeepCopy

func (in *ParseableTenantList) DeepCopy() *ParseableTenantList

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

func (*ParseableTenantList) DeepCopyInto

func (in *ParseableTenantList) DeepCopyInto(out *ParseableTenantList)

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

func (*ParseableTenantList) DeepCopyObject

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

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

type ParseableTenantSpec

type ParseableTenantSpec struct {
	DeploymentOrder []string              `json:"deploymentOrder"`
	External        ExternalSpec          `json:"external,omitempty"`
	K8sConfig       []K8sConfigSpec       `json:"k8sConfig"`
	ParseableConfig []ParseableConfigSpec `json:"parseableConfig"`
	Nodes           []NodeSpec            `json:"nodes"`
}

ParseableTenantSpec defines the desired state of ParseableTenant

func (*ParseableTenantSpec) DeepCopy

func (in *ParseableTenantSpec) DeepCopy() *ParseableTenantSpec

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

func (*ParseableTenantSpec) DeepCopyInto

func (in *ParseableTenantSpec) DeepCopyInto(out *ParseableTenantSpec)

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

type ParseableTenantStatus

type ParseableTenantStatus struct {
	Version string `json:"statefulSets,omitempty"`
}

ParseableTenantStatus defines the observed state of ParseableTenant

func (*ParseableTenantStatus) DeepCopy

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

func (*ParseableTenantStatus) DeepCopyInto

func (in *ParseableTenantStatus) DeepCopyInto(out *ParseableTenantStatus)

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

type StorageConfig

type StorageConfig struct {
	Name      string                       `json:"name"`
	MountPath string                       `json:"mountPath"`
	PvcSpec   v1.PersistentVolumeClaimSpec `json:"spec"`
}

func (*StorageConfig) DeepCopy

func (in *StorageConfig) DeepCopy() *StorageConfig

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

func (*StorageConfig) DeepCopyInto

func (in *StorageConfig) DeepCopyInto(out *StorageConfig)

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