Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a client for Kubernetes APIs
func (*Client) UpdateSecret ¶
UpdateSecret is a updater for Kubernetes secret of docker-registry type
type DockerConfig ¶
type DockerConfig map[string]DockerConfigEntry
DockerConfig represents the config file used by the docker CLI. This config that represents the credentials that should be used when pulling images from specific image repositories.
type DockerConfigEntry ¶
type DockerConfigEntry struct { Username string `json:"username,omitempty"` Password string `json:"password,omitempty" datapolicy:"password"` Email string `json:"email,omitempty"` Auth string `json:"auth,omitempty" datapolicy:"token"` }
DockerConfigEntry is a entry for a config of docker registry
type DockerConfigJSON ¶
type DockerConfigJSON struct {
Auths DockerConfig `json:"auths" datapolicy:"token"`
}
DockerConfigJSON represents a local docker auth config file for pulling images.
Click to show internal directories.
Click to hide internal directories.