watcher

package
v0.4.8 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Namespaces []string
	KubeClient kubernetes.Interface
	// contains filtered or unexported fields
}

func (*Options) GetClient

func (o *Options) GetClient() *masker.Client

GetClient returns the masker client for all the current secrets

func (*Options) Run

func (o *Options) Run() error

Run runs the watching masker

func (*Options) RunWithChannel

func (o *Options) RunWithChannel(stop chan struct{}) error

RunWithChannel runs with the given channel

func (*Options) UpsertSecret

func (o *Options) UpsertSecret(ns string, secret *corev1.Secret)

UpsertSecret upserts the secret in the replace words

func (*Options) Validate

func (o *Options) Validate() error

Validate verifies things are setup correctly

Jump to

Keyboard shortcuts

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