Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfig ¶
type AuthConfig struct { SomeAuthField string `json:"some_auth_field,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Auth string `json:"auth,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"` }
AuthConfig represents the structure of the "auths" field of a config file for testing purpose.
type Config ¶
type Config struct { AuthConfigs map[string]AuthConfig `json:"auths"` CredentialsStore string `json:"credsStore,omitempty"` CredentialHelpers map[string]string `json:"credHelpers,omitempty"` SomeConfigField int `json:"some_config_field"` }
Config represents the structure of a config file for testing purpose.
Click to show internal directories.
Click to hide internal directories.