Add link to kubectl repo
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
committed by
Stefan Prodan
parent
fcd38c9395
commit
41aac68193
@@ -38,6 +38,8 @@ import (
|
|||||||
|
|
||||||
const defaultSSHPort = 22
|
const defaultSSHPort = 22
|
||||||
|
|
||||||
|
// types gotten from https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/create/create_secret_docker.go#L64-L84
|
||||||
|
|
||||||
// DockerConfigJSON represents a local docker auth config file
|
// DockerConfigJSON represents a local docker auth config file
|
||||||
// for pulling images.
|
// for pulling images.
|
||||||
type DockerConfigJSON struct {
|
type DockerConfigJSON struct {
|
||||||
@@ -53,6 +55,7 @@ type DockerConfig map[string]DockerConfigEntry
|
|||||||
type DockerConfigEntry struct {
|
type DockerConfigEntry struct {
|
||||||
Username string `json:"username,omitempty"`
|
Username string `json:"username,omitempty"`
|
||||||
Password string `json:"password,omitempty"`
|
Password string `json:"password,omitempty"`
|
||||||
|
Email string `json:"email,omitempty"`
|
||||||
Auth string `json:"auth,omitempty"`
|
Auth string `json:"auth,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user