mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
17 lines
615 B
Go
17 lines
615 B
Go
package client
|
|
|
|
// ServiceCreateOptions contains the options to use when creating a service.
|
|
type ServiceCreateOptions struct {
|
|
// EncodedRegistryAuth is the encoded registry authorization credentials to
|
|
// use when updating the service.
|
|
//
|
|
// This field follows the format of the X-Registry-Auth header.
|
|
EncodedRegistryAuth string
|
|
|
|
// QueryRegistry indicates whether the service update requires
|
|
// contacting a registry. A registry may be contacted to retrieve
|
|
// the image digest and manifest, which in turn can be used to update
|
|
// platform or other information about the service.
|
|
QueryRegistry bool
|
|
}
|