public DockerClientConfiguration(Uri endpoint, Credentials credentials) { if (endpoint == null) { throw new ArgumentNullException("endpoint"); } if (credentials == null) { throw new ArgumentNullException("credentials"); } EndpointBaseUri = SanitizeEndpoint(endpoint, credentials.IsTlsCredentials()); Credentials = credentials; }
public void Dispose() { Credentials.Dispose(); }
public DockerClientConfiguration(Credentials credentials = null, TimeSpan defaultTimeout = default(TimeSpan)) : this(LocalDockerUri(), credentials, defaultTimeout) { }