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) (*v1.Config, error) WithImageConfig(name string, image *v1.Config) }
ImageRegistry is a docker registry
type MockRegistry ¶
func (*MockRegistry) GetImageConfig ¶
func (*MockRegistry) WithImageConfig ¶
func (r *MockRegistry) WithImageConfig(name string, imageConfig *v1.Config)
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
Registry impl
Click to show internal directories.
Click to hide internal directories.