configcheck

package
v0.0.0-...-d5be9a4 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const HashLabel = "logging.banzaicloud.io/config-hash"

Variables

This section is empty.

Functions

func WithHashLabel

func WithHashLabel(accessor v1.Object, hash string)

Types

type ConfigCheckCleaner

type ConfigCheckCleaner struct {
	// contains filtered or unexported fields
}

func NewConfigCheckCleaner

func NewConfigCheckCleaner(c client.Client, component string, logging string) *ConfigCheckCleaner

func (*ConfigCheckCleaner) PodCleanup

func (c *ConfigCheckCleaner) PodCleanup(ctx context.Context, hash string) (multierr error)

PodCleanup cleans up configcheck pods that have the logging.banzaicloud.io/config-hash label, but doesn't match the current config hash

func (*ConfigCheckCleaner) SecretCleanup

func (c *ConfigCheckCleaner) SecretCleanup(ctx context.Context, hash string) (multierr error)

SecretCleanup cleans up configcheck secrets that have the logging.banzaicloud.io/config-hash label, but doesn't match the current config hash

Jump to

Keyboard shortcuts

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