gcrcleaner

package
v0.0.0-...-f929d83 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL