Documentation ¶
Index ¶
- Constants
- func IsAdmissionCantConnect(err error) bool
- func IsAdmissionCantConnectAPIServer(err error) bool
- func IsAdmissionErrorDuringValidation(err error) bool
- func IsAdmissionInvalidExternalListenerPort(err error) bool
- func IsAdmissionInvalidRemovingStorage(err error) bool
- func IsAdmissionInvalidReplicationFactor(err error) bool
- func IsAdmissionOutOfRangePartitions(err error) bool
- func IsAdmissionOutOfRangeReplicationFactor(err error) bool
- type KafkaClusterValidator
- type KafkaTopicValidator
Constants ¶
View Source
const ( TopicManagedByAnnotationKey = "managedBy" TopicManagedByKoperatorAnnotationValue = "koperator" )
Variables ¶
This section is empty.
Functions ¶
func IsAdmissionCantConnect ¶
func IsAdmissionCantConnectAPIServer ¶ added in v0.23.0
func IsAdmissionErrorDuringValidation ¶ added in v0.23.0
func IsAdmissionInvalidExternalListenerPort ¶ added in v0.24.0
func IsAdmissionInvalidRemovingStorage ¶ added in v0.23.0
func IsAdmissionInvalidReplicationFactor ¶ added in v0.23.0
func IsAdmissionOutOfRangePartitions ¶ added in v0.23.0
func IsAdmissionOutOfRangeReplicationFactor ¶ added in v0.23.0
Types ¶
type KafkaClusterValidator ¶
func (KafkaClusterValidator) ValidateCreate ¶
func (KafkaClusterValidator) ValidateDelete ¶
func (KafkaClusterValidator) ValidateUpdate ¶
type KafkaTopicValidator ¶
type KafkaTopicValidator struct { Client client.Client NewKafkaFromCluster func(client.Client, *banzaicloudv1beta1.KafkaCluster) (kafkaclient.KafkaClient, func(), error) Log logr.Logger }
func (KafkaTopicValidator) ValidateCreate ¶
func (KafkaTopicValidator) ValidateDelete ¶
func (KafkaTopicValidator) ValidateUpdate ¶
Click to show internal directories.
Click to hide internal directories.