mirror of
https://github.com/containers/skopeo.git
synced 2025-09-13 05:23:05 +00:00
fix readme, tests and vendors
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
6
vendor/github.com/docker/engine-api/types/auth.go
generated
vendored
6
vendor/github.com/docker/engine-api/types/auth.go
generated
vendored
@@ -12,5 +12,11 @@ type AuthConfig struct {
|
||||
Email string `json:"email,omitempty"`
|
||||
|
||||
ServerAddress string `json:"serveraddress,omitempty"`
|
||||
|
||||
// IdentityToken is used to authenticate the user and get
|
||||
// an access token for the registry.
|
||||
IdentityToken string `json:"identitytoken,omitempty"`
|
||||
|
||||
// RegistryToken is a bearer token to be sent to a registry
|
||||
RegistryToken string `json:"registrytoken,omitempty"`
|
||||
}
|
||||
|
15
vendor/github.com/docker/engine-api/types/container/hostconfig_windows.go
generated
vendored
15
vendor/github.com/docker/engine-api/types/container/hostconfig_windows.go
generated
vendored
@@ -1,7 +1,6 @@
|
||||
package container
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@@ -79,20 +78,6 @@ func (n NetworkMode) NetworkName() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// ValidateIsolation performs platform specific validation of the
|
||||
// isolation technology in the hostconfig structure. Windows supports 'default' (or
|
||||
// blank), 'process', or 'hyperv'.
|
||||
func ValidateIsolation(hc *HostConfig) error {
|
||||
// We may not be passed a host config, such as in the case of docker commit
|
||||
if hc == nil {
|
||||
return nil
|
||||
}
|
||||
if !hc.Isolation.IsValid() {
|
||||
return fmt.Errorf("invalid --isolation: %q. Windows supports 'default', 'process', or 'hyperv'", hc.Isolation)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
//UserDefined indicates user-created network
|
||||
func (n NetworkMode) UserDefined() string {
|
||||
if n.IsUserDefined() {
|
||||
|
4
vendor/github.com/docker/engine-api/types/network/network.go
generated
vendored
4
vendor/github.com/docker/engine-api/types/network/network.go
generated
vendored
@@ -46,7 +46,7 @@ type EndpointSettings struct {
|
||||
}
|
||||
|
||||
// NetworkingConfig represents the container's networking configuration for each of its interfaces
|
||||
// Carries the networink configs specified in the `docker run` and `docker network connect` commands
|
||||
// Carries the networking configs specified in the `docker run` and `docker network connect` commands
|
||||
type NetworkingConfig struct {
|
||||
EndpointsConfig map[string]*EndpointSettings // Endpoint configs for each conencting network
|
||||
EndpointsConfig map[string]*EndpointSettings // Endpoint configs for each connecting network
|
||||
}
|
||||
|
4
vendor/github.com/docker/engine-api/types/types.go
generated
vendored
4
vendor/github.com/docker/engine-api/types/types.go
generated
vendored
@@ -39,6 +39,10 @@ type ContainerUpdateResponse struct {
|
||||
type AuthResponse struct {
|
||||
// Status is the authentication status
|
||||
Status string `json:"Status"`
|
||||
|
||||
// IdentityToken is an opaque token used for authenticating
|
||||
// a user after a successful login.
|
||||
IdentityToken string `json:"IdentityToken,omitempty"`
|
||||
}
|
||||
|
||||
// ContainerWaitResponse contains response of Remote API:
|
||||
|
2
vendor/github.com/docker/libtrust/util.go
generated
vendored
2
vendor/github.com/docker/libtrust/util.go
generated
vendored
@@ -152,7 +152,7 @@ func NewIdentityAuthTLSClientConfig(dockerUrl string, trustUnknownHosts bool, ro
|
||||
}
|
||||
|
||||
// joseBase64UrlEncode encodes the given data using the standard base64 url
|
||||
// encoding format but with all trailing '=' characters ommitted in accordance
|
||||
// encoding format but with all trailing '=' characters omitted in accordance
|
||||
// with the jose specification.
|
||||
// http://tools.ietf.org/html/draft-ietf-jose-json-web-signature-31#section-2
|
||||
func joseBase64UrlEncode(b []byte) string {
|
||||
|
Reference in New Issue
Block a user