1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//! API helpers

/// Empty struct for when no Spec is required
#[derive(Clone, Deserialize, Serialize, Default)]
pub struct Void {}

mod reflector;
pub use self::reflector::Reflector;

mod informer;
pub use self::informer::{
    Informer,
};

mod raw;
pub use raw::{
    RawApi,
    ListParams,
    PostParams,
    PatchParams,
    DeleteParams,
    PropagationPolicy,
    PatchStrategy,
    LogParams
};

mod typed;
pub use typed::{
    Api,
    // well, ok:
    Scale,
    ScaleSpec,
    ScaleStatus,
    Log
};

mod resource;
pub use self::resource::{
    Object,
    ObjectList,
    WatchEvent,
    KubeObject,
};

#[cfg(feature = "openapi")]
mod openapi;
#[cfg(feature = "openapi")]
mod snowflake;
#[cfg(feature = "openapi")]
pub use snowflake::{v1Event, v1Secret, v1ConfigMap};

mod metadata;
pub use self::metadata::{
    ObjectMeta,
    TypeMeta,
    Initializers,
    OwnerReference,
};