v1

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the redpanda.msvc v1 API group +kubebuilder:object:generate=true +groupName=redpanda.msvc.kloudlite.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "redpanda.msvc.kloudlite.io", Version: "v1"}

	// 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 ACLUser

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

	Spec   ACLUserSpec `json:"spec"`
	Status rApi.Status `json:"status,omitempty"`
}

ACLUser is the Schema for the aclusers API

func (*ACLUser) DeepCopy

func (in *ACLUser) DeepCopy() *ACLUser

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

func (*ACLUser) DeepCopyInto

func (in *ACLUser) DeepCopyInto(out *ACLUser)

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

func (*ACLUser) DeepCopyObject

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

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

func (*ACLUser) EnsureGVK

func (user *ACLUser) EnsureGVK()

func (*ACLUser) GetEnsuredAnnotations

func (user *ACLUser) GetEnsuredAnnotations() map[string]string

func (*ACLUser) GetEnsuredLabels

func (user *ACLUser) GetEnsuredLabels() map[string]string

func (*ACLUser) GetStatus

func (user *ACLUser) GetStatus() *rApi.Status

type ACLUserList

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

ACLUserList contains a list of ACLUser

func (*ACLUserList) DeepCopy

func (in *ACLUserList) DeepCopy() *ACLUserList

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

func (*ACLUserList) DeepCopyInto

func (in *ACLUserList) DeepCopyInto(out *ACLUserList)

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

func (*ACLUserList) DeepCopyObject

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

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

type ACLUserSpec

type ACLUserSpec struct {
	AdminSecretRef ct.SecretRef `json:"adminSecretRef"`
	Topics         []string     `json:"topics"`
	ResourceName   string       `json:"resourceName,omitempty"`
}

ACLUserSpec defines the desired state of ACLUser

func (*ACLUserSpec) DeepCopy

func (in *ACLUserSpec) DeepCopy() *ACLUserSpec

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

func (*ACLUserSpec) DeepCopyInto

func (in *ACLUserSpec) DeepCopyInto(out *ACLUserSpec)

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

type Admin

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

	Spec   AdminSpec   `json:"spec"`
	Status rApi.Status `json:"status,omitempty"`
}

Admin is the Schema for the admins API

func (*Admin) DeepCopy

func (in *Admin) DeepCopy() *Admin

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

func (*Admin) DeepCopyInto

func (in *Admin) DeepCopyInto(out *Admin)

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

func (*Admin) DeepCopyObject

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

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

func (*Admin) EnsureGVK

func (adm *Admin) EnsureGVK()

func (*Admin) GetEnsuredAnnotations

func (adm *Admin) GetEnsuredAnnotations() map[string]string

func (*Admin) GetEnsuredLabels

func (adm *Admin) GetEnsuredLabels() map[string]string

func (*Admin) GetStatus

func (adm *Admin) GetStatus() *rApi.Status

type AdminList

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

AdminList contains a list of Admin

func (*AdminList) DeepCopy

func (in *AdminList) DeepCopy() *AdminList

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

func (*AdminList) DeepCopyInto

func (in *AdminList) DeepCopyInto(out *AdminList)

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

func (*AdminList) DeepCopyObject

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

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

type AdminSpec

type AdminSpec struct {
	AuthFlags *AuthFlags `json:"authFlags,omitempty"`
	// AuthEnabled   bool       `json:"authEnabled,omitempty"`
	AdminEndpoint string `json:"adminEndpoint"`
	KafkaBrokers  string `json:"kafkaBrokers"`
}

AdminSpec defines the desired state of Admin

func (*AdminSpec) DeepCopy

func (in *AdminSpec) DeepCopy() *AdminSpec

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

func (*AdminSpec) DeepCopyInto

func (in *AdminSpec) DeepCopyInto(out *AdminSpec)

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

type AuthFlags

type AuthFlags struct {
	Enabled      bool         `json:"enabled,omitempty"`
	TargetSecret TargetSecret `json:"targetSecret"`
}

func (*AuthFlags) DeepCopy

func (in *AuthFlags) DeepCopy() *AuthFlags

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

func (*AuthFlags) DeepCopyInto

func (in *AuthFlags) DeepCopyInto(out *AuthFlags)

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

type Service

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

	Spec   ServiceSpec `json:"spec"`
	Status rApi.Status `json:"status,omitempty"`
}

Service is the Schema for the services API

func (*Service) DeepCopy

func (in *Service) DeepCopy() *Service

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

func (*Service) DeepCopyInto

func (in *Service) DeepCopyInto(out *Service)

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

func (*Service) DeepCopyObject

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

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

func (*Service) GetEnsuredAnnotations

func (s *Service) GetEnsuredAnnotations() map[string]string

func (*Service) GetEnsuredLabels

func (s *Service) GetEnsuredLabels() map[string]string

func (*Service) GetStatus

func (s *Service) GetStatus() *rApi.Status

type ServiceList

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

ServiceList contains a list of Service

func (*ServiceList) DeepCopy

func (in *ServiceList) DeepCopy() *ServiceList

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

func (*ServiceList) DeepCopyInto

func (in *ServiceList) DeepCopyInto(out *ServiceList)

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

func (*ServiceList) DeepCopyObject

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

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

type ServiceSpec

type ServiceSpec struct {
	CloudProvider ct.CloudProvider `json:"cloudProvider"`
	// +kubebuilder:validation:Optional
	NodeSelector map[string]string `json:"nodeSelector,omitempty"`
	// +kubebuilder:validation:Optional
	// +kubebuilder:default=1
	ReplicaCount int `json:"replicaCount,omitempty"`
	// Inputs    rawJson.KubeRawJson `json:"inputs,omitempty"`
	Storage   ct.Storage   `json:"storage"`
	Resources ct.Resources `json:"resources"`
}

ServiceSpec defines the desired state of Service

func (*ServiceSpec) DeepCopy

func (in *ServiceSpec) DeepCopy() *ServiceSpec

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

func (*ServiceSpec) DeepCopyInto

func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)

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

type TargetSecret

type TargetSecret struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*TargetSecret) DeepCopy

func (in *TargetSecret) DeepCopy() *TargetSecret

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

func (*TargetSecret) DeepCopyInto

func (in *TargetSecret) DeepCopyInto(out *TargetSecret)

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

type Topic

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

	Spec   TopicSpec   `json:"spec"`
	Status rApi.Status `json:"status,omitempty"`
}

Topic is the Schema for the topics API

func (*Topic) DeepCopy

func (in *Topic) DeepCopy() *Topic

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

func (*Topic) DeepCopyInto

func (in *Topic) DeepCopyInto(out *Topic)

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

func (*Topic) DeepCopyObject

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

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

func (*Topic) EnsureGVK

func (t *Topic) EnsureGVK()

func (*Topic) GetEnsuredAnnotations

func (t *Topic) GetEnsuredAnnotations() map[string]string

func (*Topic) GetEnsuredLabels

func (t *Topic) GetEnsuredLabels() map[string]string

func (*Topic) GetStatus

func (t *Topic) GetStatus() *rApi.Status

type TopicList

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

TopicList contains a list of Topic

func (*TopicList) DeepCopy

func (in *TopicList) DeepCopy() *TopicList

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

func (*TopicList) DeepCopyInto

func (in *TopicList) DeepCopyInto(out *TopicList)

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

func (*TopicList) DeepCopyObject

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

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

type TopicSpec

type TopicSpec struct {
	RedpandaAdmin *string `json:"redpandaAdmin,omitempty"`

	// +kubebuilder:default=3
	PartitionCount int `json:"partitionCount,omitempty"`
}

func (*TopicSpec) DeepCopy

func (in *TopicSpec) DeepCopy() *TopicSpec

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

func (*TopicSpec) DeepCopyInto

func (in *TopicSpec) DeepCopyInto(out *TopicSpec)

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