Documentation
¶
Overview ¶
Package evaluate implements the command that evaluates a feature flag for a given context.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cmd ¶ added in v0.2.0
type Cmd struct {
Headers []string `help:"${helpEvalHeader}" name:"header" sep:"none"`
Columns []string `help:"${helpEvalColumn}" name:"column" sep:"none"`
Format string `default:"yaml" help:"${helpEvalFormat}" name:"format" short:"f"`
Kind string `default:"file" help:"${helpEvalKind}" name:"kind" short:"k"`
Config string `help:"${helpEvalConfig}" hidden:"" name:"config" short:"c"`
Path string `help:"${helpEvalPath}" name:"path" short:"p"`
AuthToken string `help:"${helpEvalAuth}" name:"auth-token"`
GithubToken string `help:"${helpEvalGHToken}" hidden:"" name:"github-token"`
RepositorySlug string `help:"${helpEvalRepo}" name:"repository-slug"`
Branch string `help:"${helpEvalBranch}" name:"branch"`
BaseURL string `help:"${helpEvalBaseURL}" name:"base-url"`
Bucket string `help:"${helpEvalBucket}" name:"bucket"`
Item string `help:"${helpEvalItem}" name:"item"`
URL string `help:"${helpEvalURL}" name:"url"`
Method string `default:"GET" help:"${helpEvalMethod}" name:"method"`
Body string `help:"${helpEvalBody}" name:"body"`
EvalFlag string `help:"${helpEvalFlag}" name:"flag"`
EvalCtx string `default:"{}" help:"${helpEvalCtx}" name:"ctx"`
Object string `help:"${helpEvalObject}" name:"object"`
Namespace string `default:"default" help:"${helpEvalNS}" name:"namespace"`
ConfigMap string `help:"${helpEvalCM}" name:"config-map"`
Key string `help:"${helpEvalKey}" name:"key"`
URI string `help:"${helpEvalURI}" name:"uri"`
Database string `help:"${helpEvalDB}" name:"database"`
Collection string `help:"${helpEvalColl}" name:"collection"`
Container string `help:"${helpEvalCont}" name:"container"`
AccountName string `help:"${helpEvalAcct}" name:"account-name"`
AccountKey string `help:"${helpEvalAcctKey}" name:"account-key"`
Table string `help:"${helpEvalTable}" name:"table"`
Timeout int64 `default:"0" help:"${helpEvalTimeout}" name:"timeout"`
CheckMode bool `help:"${helpEvalCheck}" name:"check-mode"`
}
Cmd evaluates feature flags based on configuration and context.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package retrieverconf defines the configuration of the retrievers and their serializable options.
|
Package retrieverconf defines the configuration of the retrievers and their serializable options. |
|
init
Package init creates the retrievers from their configuration.
|
Package init creates the retrievers from their configuration. |
Click to show internal directories.
Click to hide internal directories.