state

package
v0.15.6 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const BlankAgeKeyValue = "{}"
View Source
const InitialSecretValue = `{"empty":true}`

Variables

This section is empty.

Functions

func AllSecrets

func AllSecrets() []entity.Secret

func ReadSecret

func ReadSecret(key string) *entity.SecretStored

func SetAgeKey

func SetAgeKey(k string)

func UpsertSecret

func UpsertSecret(secret entity.SecretStored)

Types

type AegisInternalCommand

type AegisInternalCommand struct {
	LogLevel int `json:"logLevel"`
}

type StateStatus

type StateStatus struct {
	SecretQueueLen int
	SecretQueueCap int
	K8sQueueLen    int
	K8sQueueCap    int
	NumSecrets     int
	// contains filtered or unexported fields
}

func Stats

func Stats() StateStatus

func (*StateStatus) Decrement

func (s *StateStatus) Decrement(name string)

func (*StateStatus) Increment

func (s *StateStatus) Increment(name string)

Jump to

Keyboard shortcuts

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