Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImageConfig ¶
func GetImageConfig(clientset kubernetes.Interface, namespace string, container *corev1.Container, podSpec *corev1.PodSpec, cloudConfigPath string) (*imagev1.ImageConfig, error)
GetImageConfig returns entrypoint and command of container
Types ¶
type ContainerInfo ¶
type ContainerInfo struct { Namespace string ImagePullSecrets string RegistryAddress string RegistryName string Image string RegistryUsername string RegistryPassword string // contains filtered or unexported fields }
K8s structure keeps information retrieved from POD definition
type DockerCreds ¶
type DockerCreds struct {
Auths map[string]dockerTypes.AuthConfig `json:"auths"`
}
Click to show internal directories.
Click to hide internal directories.