Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAllowedToCache ¶
IsAllowedToCache checks that information about Docker image can be cached base on image name and container PullPolicy
Types ¶
type ImageRegistry ¶
type ImageRegistry interface { GetImageConfig( ctx context.Context, clientset kubernetes.Interface, namespace string, container *corev1.Container, podSpec *corev1.PodSpec, opt ImageRegistryOptions) (*v1.Config, error) }
ImageRegistry is a docker registry
func NewRegistry ¶
func NewRegistry(cloudConfigPath string) ImageRegistry
NewRegistry creates and initializes registry
type ImageRegistryOptions ¶
type ImageRegistryOptions struct {
SkipVerify bool
}
Click to show internal directories.
Click to hide internal directories.