Skip to content
Snippets Groups Projects
Unverified Commit 41aac681 authored by Somtochi Onyekwere's avatar Somtochi Onyekwere Committed by Stefan Prodan
Browse files

Add link to kubectl repo

parent fcd38c93
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,8 @@ import ( ...@@ -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 ...@@ -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"`
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment