File tree Expand file tree Collapse file tree
rust/operator-binary/src/crd Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -273,11 +273,6 @@ impl HasStatusCondition for v1alpha1::HdfsCluster {
273273}
274274
275275impl v1alpha1:: HdfsCluster {
276- /// Return the namespace of the cluster or an error in case it is not set.
277- pub fn namespace_or_error ( & self ) -> Result < String , Error > {
278- self . namespace ( ) . context ( NoNamespaceSnafu )
279- }
280-
281276 /// Kubernetes labels to attach to Pods within a role group.
282277 ///
283278 /// The same labels are also used as selectors for Services and StatefulSets.
@@ -648,10 +643,6 @@ impl v1alpha1::HdfsCluster {
648643 . map ( |k| k. tls_secret_class . as_str ( ) )
649644 }
650645
651- pub fn has_authorization_enabled ( & self ) -> bool {
652- self . spec . cluster_config . authorization . is_some ( )
653- }
654-
655646 pub fn num_datanodes ( & self ) -> u16 {
656647 self . spec
657648 . data_nodes
You can’t perform that action at this time.
0 commit comments