rkubectl-app 0.0.0-alpha.5

The application logic for rkubectl, a Kubernetes CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

#[derive(Debug, thiserror::Error, miette::Diagnostic)]
pub enum RkError {
    #[error(transparent)]
    Io(#[from] io::Error),
    #[error(transparent)]
    Kube(#[from] kube::Error),
    #[error("Not implemented yet")]
    #[diagnostic(help("This functionality is not implemented yet"))]
    NotImplemented,
}

impl RkError {
    pub fn todo() -> Self {
        Self::NotImplemented
    }
}