Struct dkregistry::v2::Config [] [src]

pub struct Config { /* fields omitted */ }

Configuration for a Client.

Methods

impl Config
[src]

Initialize Config with default values.

Set registry service to use (vhost or IP).

Whether to use an insecure HTTP connection to the registry.

Set the user-agent to be used for registry authentication.

Set the username to be used for registry authentication.

Set the password to be used for registry authentication.

Read credentials from a JSON config file

Return a Client to interact with a v2 registry.

Trait Implementations

impl Debug for Config
[src]

Formats the value using the given formatter.