v1alpha1

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 5 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

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

type BrokerResources struct {
	Requests corev1.ResourceList `json:"requests,omitempty"`
	Limits   corev1.ResourceList `json:"limits,omitempty"`
}

func (*BrokerResources) DeepCopy

func (in *BrokerResources) DeepCopy() *BrokerResources

func (*BrokerResources) DeepCopyInto

func (in *BrokerResources) DeepCopyInto(out *BrokerResources)

type BrokerServiceSpec

type BrokerServiceSpec struct {
	Type                     string            `json:"type,omitempty"`
	Annotations              map[string]string `json:"annotations,omitempty"`
	LoadBalancerIP           string            `json:"loadBalancerIP,omitempty"`
	LoadBalancerSourceRanges []string          `json:"loadBalancerSourceRanges,omitempty"`
	ExternalTrafficPolicy    string            `json:"externalTrafficPolicy,omitempty"`
	KafkaNodePort            *int32            `json:"kafkaNodePort,omitempty"`
	MetricsNodePort          *int32            `json:"metricsNodePort,omitempty"`
}

func (*BrokerServiceSpec) DeepCopy

func (in *BrokerServiceSpec) DeepCopy() *BrokerServiceSpec

func (*BrokerServiceSpec) DeepCopyInto

func (in *BrokerServiceSpec) DeepCopyInto(out *BrokerServiceSpec)

type BrokerSpec

type BrokerSpec struct {
	Replicas       *int32            `json:"replicas,omitempty"`
	Resources      BrokerResources   `json:"resources,omitempty"`
	AdvertisedHost string            `json:"advertisedHost,omitempty"`
	AdvertisedPort *int32            `json:"advertisedPort,omitempty"`
	Service        BrokerServiceSpec `json:"service,omitempty"`
}

func (*BrokerSpec) DeepCopy

func (in *BrokerSpec) DeepCopy() *BrokerSpec

func (*BrokerSpec) DeepCopyInto

func (in *BrokerSpec) DeepCopyInto(out *BrokerSpec)

type ClusterConfigSpec

type ClusterConfigSpec struct {
	SegmentBytes    int32  `json:"segmentBytes,omitempty"`
	FlushIntervalMs int32  `json:"flushIntervalMs,omitempty"`
	CacheSize       string `json:"cacheSize,omitempty"`
}

func (*ClusterConfigSpec) DeepCopy

func (in *ClusterConfigSpec) DeepCopy() *ClusterConfigSpec

func (*ClusterConfigSpec) DeepCopyInto

func (in *ClusterConfigSpec) DeepCopyInto(out *ClusterConfigSpec)

type EtcdSpec

type EtcdSpec struct {
	Endpoints []string `json:"endpoints"`
}

type KafscaleCluster

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

	Spec   KafscaleClusterSpec   `json:"spec,omitempty"`
	Status KafscaleClusterStatus `json:"status,omitempty"`
}

KafscaleCluster is the Schema for the kafscaleclusters API.

func (*KafscaleCluster) DeepCopy

func (in *KafscaleCluster) DeepCopy() *KafscaleCluster

func (*KafscaleCluster) DeepCopyInto

func (in *KafscaleCluster) DeepCopyInto(out *KafscaleCluster)

func (*KafscaleCluster) DeepCopyObject

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

type KafscaleClusterList

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

KafscaleClusterList contains a list of KafscaleCluster.

func (*KafscaleClusterList) DeepCopy

func (in *KafscaleClusterList) DeepCopy() *KafscaleClusterList

func (*KafscaleClusterList) DeepCopyInto

func (in *KafscaleClusterList) DeepCopyInto(out *KafscaleClusterList)

func (*KafscaleClusterList) DeepCopyObject

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

type KafscaleClusterSpec

type KafscaleClusterSpec struct {
	Brokers  BrokerSpec        `json:"brokers"`
	S3       S3Spec            `json:"s3"`
	Etcd     EtcdSpec          `json:"etcd"`
	Config   ClusterConfigSpec `json:"config,omitempty"`
	LfsProxy LfsProxySpec      `json:"lfsProxy,omitempty"`
}

KafscaleClusterSpec defines the desired state of a Kafscale cluster.

func (*KafscaleClusterSpec) DeepCopy

func (in *KafscaleClusterSpec) DeepCopy() *KafscaleClusterSpec

func (*KafscaleClusterSpec) DeepCopyInto

func (in *KafscaleClusterSpec) DeepCopyInto(out *KafscaleClusterSpec)

type KafscaleClusterStatus

type KafscaleClusterStatus struct {
	Phase      string             `json:"phase,omitempty"`
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

KafscaleClusterStatus captures observed state.

func (*KafscaleClusterStatus) DeepCopy

func (*KafscaleClusterStatus) DeepCopyInto

func (in *KafscaleClusterStatus) DeepCopyInto(out *KafscaleClusterStatus)

type KafscaleTopic

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

	Spec   KafscaleTopicSpec   `json:"spec,omitempty"`
	Status KafscaleTopicStatus `json:"status,omitempty"`
}

KafscaleTopic declares a Kafka-compatible topic managed by the operator.

func (*KafscaleTopic) DeepCopy

func (in *KafscaleTopic) DeepCopy() *KafscaleTopic

func (*KafscaleTopic) DeepCopyInto

func (in *KafscaleTopic) DeepCopyInto(out *KafscaleTopic)

func (*KafscaleTopic) DeepCopyObject

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

type KafscaleTopicList

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

KafscaleTopicList contains multiple topics.

func (*KafscaleTopicList) DeepCopy

func (in *KafscaleTopicList) DeepCopy() *KafscaleTopicList

func (*KafscaleTopicList) DeepCopyInto

func (in *KafscaleTopicList) DeepCopyInto(out *KafscaleTopicList)

func (*KafscaleTopicList) DeepCopyObject

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

type KafscaleTopicSpec

type KafscaleTopicSpec struct {
	ClusterRef     string            `json:"clusterRef"`
	Partitions     int32             `json:"partitions"`
	RetentionMs    *int64            `json:"retentionMs,omitempty"`
	RetentionBytes *int64            `json:"retentionBytes,omitempty"`
	Config         map[string]string `json:"config,omitempty"`
}

KafscaleTopicSpec captures desired configuration for a topic that the operator will reconcile across etcd metadata and S3 layout.

func (*KafscaleTopicSpec) DeepCopy

func (in *KafscaleTopicSpec) DeepCopy() *KafscaleTopicSpec

func (*KafscaleTopicSpec) DeepCopyInto

func (in *KafscaleTopicSpec) DeepCopyInto(out *KafscaleTopicSpec)

type KafscaleTopicStatus

type KafscaleTopicStatus struct {
	Phase      string                 `json:"phase,omitempty"`
	Conditions []metav1.Condition     `json:"conditions,omitempty"`
	Partitions []TopicPartitionStatus `json:"partitions,omitempty"`
}

KafscaleTopicStatus surfaces observed reconciliation details.

func (*KafscaleTopicStatus) DeepCopy

func (in *KafscaleTopicStatus) DeepCopy() *KafscaleTopicStatus

func (*KafscaleTopicStatus) DeepCopyInto

func (in *KafscaleTopicStatus) DeepCopyInto(out *KafscaleTopicStatus)

type LfsProxyHTTPSpec added in v1.6.0

type LfsProxyHTTPSpec struct {
	Enabled         *bool  `json:"enabled,omitempty"`
	Port            *int32 `json:"port,omitempty"`
	APIKeySecretRef string `json:"apiKeySecretRef,omitempty"`
	APIKeySecretKey string `json:"apiKeySecretKey,omitempty"`
}

func (*LfsProxyHTTPSpec) DeepCopy added in v1.6.0

func (in *LfsProxyHTTPSpec) DeepCopy() *LfsProxyHTTPSpec

func (*LfsProxyHTTPSpec) DeepCopyInto added in v1.6.0

func (in *LfsProxyHTTPSpec) DeepCopyInto(out *LfsProxyHTTPSpec)

type LfsProxyHealthSpec added in v1.6.0

type LfsProxyHealthSpec struct {
	Enabled *bool  `json:"enabled,omitempty"`
	Port    *int32 `json:"port,omitempty"`
}

func (*LfsProxyHealthSpec) DeepCopy added in v1.6.0

func (in *LfsProxyHealthSpec) DeepCopy() *LfsProxyHealthSpec

func (*LfsProxyHealthSpec) DeepCopyInto added in v1.6.0

func (in *LfsProxyHealthSpec) DeepCopyInto(out *LfsProxyHealthSpec)

type LfsProxyMetricsSpec added in v1.6.0

type LfsProxyMetricsSpec struct {
	Enabled *bool  `json:"enabled,omitempty"`
	Port    *int32 `json:"port,omitempty"`
}

func (*LfsProxyMetricsSpec) DeepCopy added in v1.6.0

func (in *LfsProxyMetricsSpec) DeepCopy() *LfsProxyMetricsSpec

func (*LfsProxyMetricsSpec) DeepCopyInto added in v1.6.0

func (in *LfsProxyMetricsSpec) DeepCopyInto(out *LfsProxyMetricsSpec)

type LfsProxyS3Spec added in v1.6.0

type LfsProxyS3Spec struct {
	Namespace      string `json:"namespace,omitempty"`
	MaxBlobSize    *int64 `json:"maxBlobSize,omitempty"`
	ChunkSize      *int64 `json:"chunkSize,omitempty"`
	ForcePathStyle *bool  `json:"forcePathStyle,omitempty"`
	EnsureBucket   *bool  `json:"ensureBucket,omitempty"`
}

func (*LfsProxyS3Spec) DeepCopy added in v1.6.0

func (in *LfsProxyS3Spec) DeepCopy() *LfsProxyS3Spec

func (*LfsProxyS3Spec) DeepCopyInto added in v1.6.0

func (in *LfsProxyS3Spec) DeepCopyInto(out *LfsProxyS3Spec)

type LfsProxyServiceSpec added in v1.6.0

type LfsProxyServiceSpec struct {
	Type                     string            `json:"type,omitempty"`
	Annotations              map[string]string `json:"annotations,omitempty"`
	LoadBalancerSourceRanges []string          `json:"loadBalancerSourceRanges,omitempty"`
	Port                     *int32            `json:"port,omitempty"`
}

func (*LfsProxyServiceSpec) DeepCopy added in v1.6.0

func (in *LfsProxyServiceSpec) DeepCopy() *LfsProxyServiceSpec

func (*LfsProxyServiceSpec) DeepCopyInto added in v1.6.0

func (in *LfsProxyServiceSpec) DeepCopyInto(out *LfsProxyServiceSpec)

type LfsProxySpec added in v1.6.0

type LfsProxySpec struct {
	Enabled                bool                `json:"enabled,omitempty"`
	Replicas               *int32              `json:"replicas,omitempty"`
	Image                  string              `json:"image,omitempty"`
	ImagePullPolicy        string              `json:"imagePullPolicy,omitempty"`
	Backends               []string            `json:"backends,omitempty"`
	AdvertisedHost         string              `json:"advertisedHost,omitempty"`
	AdvertisedPort         *int32              `json:"advertisedPort,omitempty"`
	BackendCacheTTLSeconds *int32              `json:"backendCacheTTLSeconds,omitempty"`
	Service                LfsProxyServiceSpec `json:"service,omitempty"`
	HTTP                   LfsProxyHTTPSpec    `json:"http,omitempty"`
	Metrics                LfsProxyMetricsSpec `json:"metrics,omitempty"`
	Health                 LfsProxyHealthSpec  `json:"health,omitempty"`
	S3                     LfsProxyS3Spec      `json:"s3,omitempty"`
}

func (*LfsProxySpec) DeepCopy added in v1.6.0

func (in *LfsProxySpec) DeepCopy() *LfsProxySpec

func (*LfsProxySpec) DeepCopyInto added in v1.6.0

func (in *LfsProxySpec) DeepCopyInto(out *LfsProxySpec)

type S3Spec

type S3Spec struct {
	Bucket               string `json:"bucket"`
	Region               string `json:"region"`
	Endpoint             string `json:"endpoint,omitempty"`
	ReadBucket           string `json:"readBucket,omitempty"`
	ReadRegion           string `json:"readRegion,omitempty"`
	ReadEndpoint         string `json:"readEndpoint,omitempty"`
	KMSKeyARN            string `json:"kmsKeyArn,omitempty"`
	CredentialsSecretRef string `json:"credentialsSecretRef"`
}

type TopicPartitionStatus

type TopicPartitionStatus struct {
	ID             int32  `json:"id"`
	Leader         string `json:"leader"`
	LogEndOffset   int64  `json:"logEndOffset"`
	LogStartOffset int64  `json:"logStartOffset"`
}

TopicPartitionStatus describes the observed state of a topic partition.

func (*TopicPartitionStatus) DeepCopy

func (*TopicPartitionStatus) DeepCopyInto

func (in *TopicPartitionStatus) DeepCopyInto(out *TopicPartitionStatus)

Jump to

Keyboard shortcuts

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