pub struct CosignDriver;Trait Implementations§
Source§impl Debug for CosignDriver
impl Debug for CosignDriver
Source§impl DriverVersion for CosignDriver
impl DriverVersion for CosignDriver
Source§const VERSION_REQ: &'static str = ">=2"
const VERSION_REQ: &'static str = ">=2"
The version req string slice that follows
the semver standard https://semver.org/.
fn is_supported_version() -> bool
Source§impl SigningDriver for CosignDriver
impl SigningDriver for CosignDriver
Source§fn generate_key_pair(opts: GenerateKeyPairOpts<'_>) -> Result<()>
fn generate_key_pair(opts: GenerateKeyPairOpts<'_>) -> Result<()>
Generate a new private/public key pair. Read more
Source§fn check_signing_files(opts: CheckKeyPairOpts<'_>) -> Result<()>
fn check_signing_files(opts: CheckKeyPairOpts<'_>) -> Result<()>
Checks the signing key files to ensure
they match. Read more
Source§fn signing_login(server: &str) -> Result<()>
fn signing_login(server: &str) -> Result<()>
Runs the login logic for the signing driver. Read more
Source§fn sign_and_verify(opts: SignVerifyOpts<'_>) -> Result<()>
fn sign_and_verify(opts: SignVerifyOpts<'_>) -> Result<()>
Sign an image given the image name and tag. Read more
Auto Trait Implementations§
impl Freeze for CosignDriver
impl RefUnwindSafe for CosignDriver
impl Send for CosignDriver
impl Sync for CosignDriver
impl Unpin for CosignDriver
impl UnsafeUnpin for CosignDriver
impl UnwindSafe for CosignDriver
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more