mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f2614f2107
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
24 lines
463 B
Go
24 lines
463 B
Go
// Package opts holds the DialOpts struct, configurable by
|
|
// cloud.ClientOptions to set up transports for cloud packages.
|
|
//
|
|
// This is a separate page to prevent cycles between the core
|
|
// cloud packages.
|
|
package opts
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"golang.org/x/oauth2"
|
|
"google.golang.org/grpc"
|
|
)
|
|
|
|
type DialOpt struct {
|
|
Endpoint string
|
|
Scopes []string
|
|
UserAgent string
|
|
|
|
TokenSource oauth2.TokenSource
|
|
|
|
HTTPClient *http.Client
|
|
GRPCClient *grpc.ClientConn
|
|
}
|