app

package
v0.0.0-...-e04f960 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartSecretsChecker

func NewCommandStartSecretsChecker() *cobra.Command

Types

type Options

type Options struct {
	// ConfigFile is the location of the Gardenlet's configuration file.
	ConfigFile       string
	SyncToShootState bool

	Shoot     string
	Namespace string
	// contains filtered or unexported fields
}

func NewOptions

func NewOptions() (*Options, error)

func (*Options) AddFlags

func (o *Options) AddFlags(fs *pflag.FlagSet)

type SecretsChecker

type SecretsChecker struct {
	Config           *config.SecretsCheckerConfiguration
	SyncToShootState bool
	Shoot            string
	Namespace        string
	ClientMap        clientmap.ClientMap
	Log              logr.Logger
}

func NewSecretsChecker

func NewSecretsChecker(ctx context.Context, opts *Options) (*SecretsChecker, error)

func (*SecretsChecker) Execute

func (s *SecretsChecker) Execute(ctx context.Context) error

Jump to

Keyboard shortcuts

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