pub struct KubeService {
    pub name: Name,
    pub namespace: Name,
}Expand description
A Kubernetes Service to target with traffic.
This Service doesn’t have to exist in any particular Kubernetes cluster - Junction assumes that all connected Kubernetes clusters have adopted namespace-sameness instead of asking you to distinguish between individual clusters as they come and go.
Fields§
§name: NameThe name of the Kubernetes Service to target.
namespace: NameThe namespace of the Kubernetes service to target. This must be explicitly specified, and won’t be inferred from context.
Trait Implementations§
Source§impl Clone for KubeService
 
impl Clone for KubeService
Source§fn clone(&self) -> KubeService
 
fn clone(&self) -> KubeService
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for KubeService
 
impl Debug for KubeService
Source§impl Default for KubeService
 
impl Default for KubeService
Source§fn default() -> KubeService
 
fn default() -> KubeService
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KubeService
 
impl<'de> Deserialize<'de> for KubeService
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for KubeService
 
impl Hash for KubeService
Source§impl Ord for KubeService
 
impl Ord for KubeService
Source§fn cmp(&self, other: &KubeService) -> Ordering
 
fn cmp(&self, other: &KubeService) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
    Self: Sized,
 
fn max(self, other: Self) -> Selfwhere
    Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KubeService
 
impl PartialEq for KubeService
Source§impl PartialOrd for KubeService
 
impl PartialOrd for KubeService
Source§impl Serialize for KubeService
 
impl Serialize for KubeService
impl Eq for KubeService
impl StructuralPartialEq for KubeService
Auto Trait Implementations§
impl Freeze for KubeService
impl RefUnwindSafe for KubeService
impl Send for KubeService
impl Sync for KubeService
impl Unpin for KubeService
impl UnwindSafe for KubeService
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more