Documentation ¶
Index ¶
Constants ¶
View Source
const ( KafkaACLsFinalizerName = "intents.otterize.com/kafka-finalizer" ReasonCouldNotConnectToKafkaServer = "CouldNotConnectToKafkaServer" ReasonCouldNotApplyIntentsOnKafkaServer = "CouldNotApplyIntentsOnKafkaServer" ReasonKafkaACLCreationDisabled = "KafkaACLCreationDisabled" ReasonKafkaServerNotConfigured = "KafkaServerNotConfigured" ReasonRemovingKafkaACLsFailed = "RemovingKafkaACLsFailed" ReasonApplyingKafkaACLsFailed = "ApplyingKafkaACLsFailed" ReasonAppliedKafkaACLs = "AppliedKafkaACLs" )
View Source
const ( ReasonEnforcementGloballyDisabled = "EnforcementGloballyDisabled" ReasonNetworkPolicyCreationDisabled = "NetworkPolicyCreationDisabled" ReasonGettingNetworkPolicyFailed = "GettingNetworkPolicyFailed" ReasonRemovingNetworkPolicyFailed = "RemovingNetworkPolicyFailed" ReasonNamespaceNotAllowed = "NamespaceNotAllowed" ReasonCreatingNetworkPoliciesFailed = "CreatingNetworkPoliciesFailed" ReasonCreatedNetworkPolicies = "CreatedNetworkPolicies" )
View Source
const ( ReasonRemovingPodLabelsFailed = "RemovingPodLabelsFailed" ReasonUpdatePodFailed = "UpdatePodFailed" ReasonListPodsFailed = "ListPodsFailed" )
View Source
const PodLabelFinalizerName = "intents.otterize.com/pods-finalizer"
Variables ¶
This section is empty.
Functions ¶
func MatchSaramaResource ¶
func MatchSaramaResource(s SaramaResource) gomock.Matcher
Types ¶
type KafkaACLReconciler ¶
type KafkaACLReconciler struct { KafkaServersStore kafkaacls.ServersStore injectablerecorder.InjectableRecorder // contains filtered or unexported fields }
func NewKafkaACLReconciler ¶
func NewKafkaACLReconciler(client client.Client, scheme *runtime.Scheme, serversStore kafkaacls.ServersStore, enableKafkaACLCreation bool, factoryFunc kafkaacls.IntentsAdminFactoryFunction, enforcementEnabledGlobally bool) *KafkaACLReconciler
func (*KafkaACLReconciler) RemoveACLs ¶
func (r *KafkaACLReconciler) RemoveACLs(intents *otterizev1alpha2.ClientIntents) error
type NetworkPolicyReconciler ¶
type NetworkPolicyReconciler struct { client.Client Scheme *runtime.Scheme RestrictToNamespaces []string injectablerecorder.InjectableRecorder // contains filtered or unexported fields }
func NewNetworkPolicyReconciler ¶
func NewNetworkPolicyReconciler( c client.Client, s *runtime.Scheme, endpointsReconciler *external_traffic.EndpointsReconciler, restrictToNamespaces []string, enableNetworkPolicyCreation bool, enforcementEnabledGlobally bool) *NetworkPolicyReconciler
type PodLabelReconciler ¶
type PodLabelReconciler struct { client.Client Scheme *runtime.Scheme injectablerecorder.InjectableRecorder }
func NewPodLabelReconciler ¶
func NewPodLabelReconciler(c client.Client, s *runtime.Scheme) *PodLabelReconciler
type SaramaResource ¶
type SaramaResource []*sarama.ResourceAcls
func (*SaramaResource) Matches ¶
func (s *SaramaResource) Matches(arg interface{}) bool
func (*SaramaResource) String ¶
func (s *SaramaResource) String() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.