Skip to content

Commit 460073d

Browse files
committed
chore: Remove unused items
1 parent 14d6bf3 commit 460073d

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

rust/operator-binary/src/crd/constants.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pub const STACKABLE_TRUST_STORE_NAME: &str = "stackable-truststore";
4343
pub const STACKABLE_TLS_STORE_PASSWORD: &str = "changeit";
4444
pub const SYSTEM_TRUST_STORE_PASSWORD: &str = "changeit";
4545
pub const STACKABLE_MOUNT_PATH_TLS: &str = "/stackable/mount_server_tls";
46-
pub const STACKABLE_MOUNT_NAME_TLS: &str = "servertls";
4746

4847
pub const MIN_MEMORY_OVERHEAD: u32 = 384;
4948
pub const JVM_OVERHEAD_FACTOR: f32 = 0.1;

rust/operator-binary/src/crd/logdir.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -133,13 +133,6 @@ impl ResolvedLogDir {
133133
}
134134
}
135135

136-
pub fn credentials(&self) -> Option<SecretClassVolume> {
137-
match self {
138-
ResolvedLogDir::S3(s3_log_dir) => s3_log_dir.credentials(),
139-
ResolvedLogDir::Custom(_) => None,
140-
}
141-
}
142-
143136
pub fn credentials_mount_path(&self) -> Option<String> {
144137
match self {
145138
ResolvedLogDir::S3(s3_log_dir) => s3_log_dir.credentials_mount_path(),

rust/operator-binary/src/crd/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,6 @@ impl SparkApplication {
265265
format!("{app_name}-{role}-pod-template", app_name = self.name_any())
266266
}
267267

268-
pub fn image(&self) -> Option<&str> {
269-
self.spec.image.as_deref()
270-
}
271-
272268
pub fn application_artifact(&self) -> &str {
273269
self.spec.main_application_file.as_ref()
274270
}

0 commit comments

Comments
 (0)