Documentation
¶
Index ¶
- type Option
- func WithAdminProxyEndpointAllowlist(entries []string) Option
- func WithAuditWriter(w io.Writer) Option
- func WithMutationsEnabled(enabled bool) Option
- func WithPrincipal(principal string) Option
- func WithRole(role Role) Option
- func WithRuntimeControlEnabled(enabled bool) Option
- func WithRuntimeControlPIDFile(path string) Option
- func WithRuntimeControlRunBinary(path string) Option
- func WithRuntimeControlRunDotenv(path string) Option
- func WithRuntimeControlRunLogLevel(level string) Option
- func WithRuntimeControlRunWatch(enabled bool) Option
- type Role
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Server)
func WithAuditWriter ¶
func WithMutationsEnabled ¶
func WithPrincipal ¶
type Server ¶
type Server struct {
ConfigPath string
DBPath string
PIDFilePath string
RunBinaryPath string
RunWatch bool
RunLogLevel string
RunDotenvPath string
AdminProxyEndpointAllowlist []string
In io.Reader
Out io.Writer
MutationsEnabled bool
RuntimeControlEnabled bool
Role Role
Principal string
AuditWriter io.Writer
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.