Documentation ¶
Index ¶
- type GCRCleaner
- func (gcrcleaner *GCRCleaner) Clean(ctx context.Context)
- func (gcrcleaner *GCRCleaner) Delete(ctx context.Context, imagesToDelete []*manifestStruct)
- func (gcrcleaner *GCRCleaner) GetKubeConfig()
- func (gcrcleaner *GCRCleaner) GetKubernetesImages(ctx context.Context) []string
- func (gcrcleaner *GCRCleaner) InitializeConfig()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCRCleaner ¶
type GCRCleaner struct { Config *config.Conf Auth gcrauthn.Authenticator KubeConfig string // contains filtered or unexported fields }
func (*GCRCleaner) Clean ¶
func (gcrcleaner *GCRCleaner) Clean(ctx context.Context)
func (*GCRCleaner) Delete ¶
func (gcrcleaner *GCRCleaner) Delete(ctx context.Context, imagesToDelete []*manifestStruct)
func (*GCRCleaner) GetKubeConfig ¶
func (gcrcleaner *GCRCleaner) GetKubeConfig()
func (*GCRCleaner) GetKubernetesImages ¶
func (gcrcleaner *GCRCleaner) GetKubernetesImages(ctx context.Context) []string
func (*GCRCleaner) InitializeConfig ¶
func (gcrcleaner *GCRCleaner) InitializeConfig()
ensures required env variables are set and adds auth
Click to show internal directories.
Click to hide internal directories.