Documentation
¶
Overview ¶
Package config loads veto.yaml. An unset key keeps the default.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandLine ¶
type CommandLine []string
func (*CommandLine) UnmarshalYAML ¶
func (c *CommandLine) UnmarshalYAML(node *yaml.Node) error
type Expose ¶ added in v0.1.1
Expose keeps operations that pass every configured key. Tags and paths are OR within each list.
type File ¶
type File struct {
Model string `yaml:"model"`
ModelName string `yaml:"model_name"`
ModelBaseURL string `yaml:"model_base_url"`
Memory string `yaml:"memory"`
Semantics string `yaml:"semantics"`
SemanticsFile string `yaml:"semantics_file"`
Policy string `yaml:"policy"`
PolicyFile string `yaml:"policy_file"`
PolicyBundle string `yaml:"policy_bundle"`
Environment string `yaml:"environment"`
TraceExport string `yaml:"trace_export"`
FlowFile string `yaml:"flow_file"`
AgentFile string `yaml:"agent_file"`
RelationsFile string `yaml:"relations_file"`
Contracts []string `yaml:"contracts"`
Bundle string `yaml:"bundle"`
Cases []string `yaml:"cases"`
ReplayRedact *bool `yaml:"replay_redact"`
TraceFile string `yaml:"trace_file"`
Timeout time.Duration `yaml:"timeout"`
Auth Sources `yaml:"auth"`
TokenDir string `yaml:"token_dir"`
Server string `yaml:"server"`
Page string `yaml:"page"`
ResponseFields []string `yaml:"response_fields"`
ResponseLimit int `yaml:"response_limit"`
InvokeLimit int `yaml:"invoke_limit"`
Caller string `yaml:"caller"`
Callers map[string]string `yaml:"callers"`
Confirmation *bool `yaml:"confirmation"`
ApprovalTTL time.Duration `yaml:"approval_ttl"`
ApprovalStore string `yaml:"approval_store"`
ApprovalWebhook Webhook `yaml:"approval_webhook"`
ChatApproval bool `yaml:"chat_approval"`
ReadOnly bool `yaml:"read_only"`
Expose Expose `yaml:"expose"`
Permissions []string `yaml:"permissions"`
MemoryFile string `yaml:"memory_file"`
JSON string `yaml:"json"`
}
func (*File) Confirms ¶
Confirms reports whether this deployment keeps the confirmation gate. Unset means it does.
type Source ¶
type Source struct {
Source string `yaml:"source"`
Env string `yaml:"env"`
ClientID string `yaml:"client_id"`
ClientSecretEnv string `yaml:"client_secret_env"`
AuthorizationURL string `yaml:"authorization_url"`
TokenURL string `yaml:"token_url"`
Issuer string `yaml:"issuer"`
DeviceAuthorizationURL string `yaml:"device_authorization_url"`
RedirectURL string `yaml:"redirect_url"`
Scopes []string `yaml:"scopes"`
Audience string `yaml:"audience"`
Header string `yaml:"header"`
Command CommandLine `yaml:"command"`
Timeout Duration `yaml:"timeout"`
AuthToken string `yaml:"auth_token"`
UserToken string `yaml:"user_token"`
UserHeader string `yaml:"user_header"`
Subject string `yaml:"subject"`
SubjectTokenType string `yaml:"subject_token_type"`
}
Click to show internal directories.
Click to hide internal directories.