Documentation ¶
Index ¶
- type KubernetesConfig
- type RegistryOption
- func (opts *RegistryOption) GetDigests(image, imageID string) (installedDigest, registryDigest string)
- func (opts *RegistryOption) IsNewImage(image, imageID string) bool
- func (opts *RegistryOption) LoginToRegistry(registryName string) error
- func (opts *RegistryOption) LogoutFromRegistry(registryName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubernetesConfig ¶
type KubernetesConfig struct { Namespaces []string AllNamespaces bool KubeConfig string KubeClient *kubernetes.Clientset RegistryOpts *RegistryOption Writer io.Writer // contains filtered or unexported fields }
func (*KubernetesConfig) GetImageOfContainers ¶
func (k *KubernetesConfig) GetImageOfContainers( listOpts *metav1.ListOptions, writer io.Writer) (err error)
func (*KubernetesConfig) GetRessourcesToUpdate ¶
func (k *KubernetesConfig) GetRessourcesToUpdate(listOpts *metav1.ListOptions) error
func (*KubernetesConfig) NewClientSet ¶
func (k *KubernetesConfig) NewClientSet() (err error)
type RegistryOption ¶
type RegistryOption struct { RegistryPassword string RegistryUser string LogOutFromAllRegistries bool DigestChache map[string]*digest.Digest SysCtx *types.SystemContext }
func (*RegistryOption) GetDigests ¶
func (opts *RegistryOption) GetDigests(image, imageID string) (installedDigest, registryDigest string)
func (*RegistryOption) IsNewImage ¶
func (opts *RegistryOption) IsNewImage(image, imageID string) bool
func (*RegistryOption) LoginToRegistry ¶
func (opts *RegistryOption) LoginToRegistry(registryName string) error
func (*RegistryOption) LogoutFromRegistry ¶
func (opts *RegistryOption) LogoutFromRegistry(registryName string) error
Click to show internal directories.
Click to hide internal directories.