knative 0.1.1

Knative custom resource definitions and objects.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use thiserror::Error;

#[derive(Error, Debug, Clone, Copy)]
pub enum Error {
    /// Discovery errors
    #[error("Error from discovery: {0}")]
    Discovery(#[source] DiscoveryError),
}

#[derive(Error, Debug, Clone, Copy)]
pub enum DiscoveryError {
    #[error("destination missing Ref and URI, expected at least one")]
    EmptyDestination,
    #[error("resolve kreference is not implemented")]
    ResolveKReferenceNotImplemented
}