Discover Packages
github.com/wolfeidau/object-cache/services/store
internal
commands
package
Version:
v0.0.0-...-2b8758d
Opens a new window with list of versions in this module.
Published: Dec 8, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 20
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type ClientCmd struct {
Endpoint string `help:"endpoint to call" default:"http://localhost:8080"`
Token string `help:"token to use" required:""`
Action string `help:"action to perform" enum:"save,restore" required:""`
CacheFile string `help:"file to save"`
}
type LambdaServerCmd struct {
JWKSURL string `help:"jwks url" default:"https://token.actions.githubusercontent.com/.well-known/jwks" env:"JWKS_URL"`
CacheBucket string `help:"bucket to store cache" env:"CACHE_BUCKET"`
}
type ServerCmd struct {
Listen string `help:"listen address" default:":8080"`
JWKSURL string `help:"jwks url" default:"https://token.actions.githubusercontent.com/.well-known/jwks"`
CacheBucket string `help:"bucket to store cache" env:"CACHE_BUCKET"`
Local bool `help:"run in local mode"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.