{"modulePath":"github.com/realmroot/cli","version":"v0.6.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package execution\n\n## Functions\n\n```go\nfunc NativeCommands(integrations []catalog.ToolIntegration) []string\n```\n\n## Types\n\n```go\ntype Broker struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewBroker(resource, reference string, scopes []string, source credentialSource, resolveScopes scopeResolver, client *http.Client) (*Broker, error)\n```\n\n```go\nfunc (b *Broker) Close() error\n```\n\n```go\nfunc (b *Broker) SessionToken() string\n```\n\n```go\nfunc (b *Broker) StartCloudflareAPIBase(providerBase string) (string, error)\n```\n\n```go\nfunc (b *Broker) StartGitHubSocket() (string, error)\n```\n\n```go\nfunc (b *Broker) StartTCP(mapPath func(*http.Request) (string, error), authorize func(*http.Request) bool) (string, error)\n```\n\n```go\nfunc (b *Broker) UnresolvedScopeAlternatives() [][]string\n```\n\n```go\ntype ExitError struct {\n\tCode                      int\n\tResourceServer            string\n\tRequiredScopeAlternatives [][]string\n}\n```\n\n```go\nfunc (e *ExitError) Error() string\n```\n\n```go\nfunc (e *ExitError) ExitCode() int\n```\n\n```go\ntype RunOptions struct {\n\tAuthorizationDetails      []map[string]any\n\tExactAuthorizationContext bool\n\tEffectiveScopes           []string\n\tRequestAuthority          func(context.Context, []string) error\n}\n```\n\n```go\ntype Runner struct {\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewRunner(service *agent.Service, client *http.Client, stdin io.Reader, stdout, stderr io.Writer, loggers ...*slog.Logger) *Runner\n```\n\n```go\nfunc (r *Runner) Run(ctx context.Context, server catalog.ResourceServer, integrations []catalog.ToolIntegration, command []string, options RunOptions) error\n```\n\n","path":"github.com/realmroot/cli/internal/execution","name":"execution","synopsis":"","isRedistributable":true}
