pub struct AuthproxySetting {
pub endpoint: Option<String>,
pub tokenreivew_endpoint: Option<String>,
pub skip_search: Option<bool>,
pub verify_cert: Option<bool>,
pub server_certificate: Option<String>,
}Fields§
§endpoint: Option<String>The fully qualified URI of login endpoint of authproxy, such as ‘https://192.168.1.2:8443/login’
tokenreivew_endpoint: Option<String>The fully qualified URI of token review endpoint of authproxy, such as ‘https://192.168.1.2:8443/tokenreview’
skip_search: Option<bool>The flag to determine whether Harbor can skip search the user/group when adding him as a member.
verify_cert: Option<bool>The flag to determine whether Harbor should verify the certificate when connecting to the auth proxy.
server_certificate: Option<String>The certificate to be pinned when connecting auth proxy.
Implementations§
Source§impl AuthproxySetting
impl AuthproxySetting
pub fn new() -> AuthproxySetting
Trait Implementations§
Source§impl Clone for AuthproxySetting
impl Clone for AuthproxySetting
Source§fn clone(&self) -> AuthproxySetting
fn clone(&self) -> AuthproxySetting
Returns a duplicate 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 AuthproxySetting
impl Debug for AuthproxySetting
Source§impl Default for AuthproxySetting
impl Default for AuthproxySetting
Source§fn default() -> AuthproxySetting
fn default() -> AuthproxySetting
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthproxySetting
impl<'de> Deserialize<'de> for AuthproxySetting
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 PartialEq for AuthproxySetting
impl PartialEq for AuthproxySetting
Source§impl Serialize for AuthproxySetting
impl Serialize for AuthproxySetting
impl StructuralPartialEq for AuthproxySetting
Auto Trait Implementations§
impl Freeze for AuthproxySetting
impl RefUnwindSafe for AuthproxySetting
impl Send for AuthproxySetting
impl Sync for AuthproxySetting
impl Unpin for AuthproxySetting
impl UnwindSafe for AuthproxySetting
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