yale

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: BSD-3-Clause Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options added in v0.0.20

type Options struct {
	// CacheNamespace namespace where Yale will store its cache entries
	CacheNamespace string
	// IgnoreUsageMetrics if true, Yale will NOT check if a service account is in use before disabling it
	IgnoreUsageMetrics bool
	// SlackWebhookUrl if set, Yale will send Slack notifications to this webhook
	SlackWebhookUrl string
	// RotateWindow if enabled, restrict key rotation operations to a specific time of day
	RotateWindow RotateWindow
}

type RotateWindow added in v0.0.40

type RotateWindow struct {
	Enabled   bool
	StartTime time.Time
	EndTime   time.Time
}

type Yale

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

func NewYale

func NewYale(clients *client.Clients, opts ...func(*Options)) *Yale

NewYale /* Construct a new Yale Manager */

func (*Yale) Run

func (m *Yale) Run() error

Run is the main entrypoint for Yale, and will perform a full sync of all yale-managed resources in the cluster

Jump to

Keyboard shortcuts

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