Documentation
¶
Index ¶
- type Dispatcher
- func (d *Dispatcher) ListConfiguredAuthProviders(ctx context.Context, namespace string) ([]string, error)
- func (d *Dispatcher) StopAuthProvider(namespace, authProviderName string)
- func (d *Dispatcher) StopModelProvider(namespace, modelProviderName string)
- func (d *Dispatcher) TransformRequest(req *http.Request, namespace string) error
- func (d *Dispatcher) URLForAuthProvider(ctx context.Context, namespace, authProviderName string) (*url.URL, error)
- func (d *Dispatcher) URLForModelProvider(ctx context.Context, namespace, modelProviderName string) (*url.URL, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
func New ¶
func New(invoker *invoke.Invoker, c kclient.Client, gClient *gptscript.GPTScript) *Dispatcher
func (*Dispatcher) ListConfiguredAuthProviders ¶ added in v0.5.0
func (*Dispatcher) StopAuthProvider ¶ added in v0.5.0
func (d *Dispatcher) StopAuthProvider(namespace, authProviderName string)
func (*Dispatcher) StopModelProvider ¶
func (d *Dispatcher) StopModelProvider(namespace, modelProviderName string)
func (*Dispatcher) TransformRequest ¶
func (d *Dispatcher) TransformRequest(req *http.Request, namespace string) error
func (*Dispatcher) URLForAuthProvider ¶ added in v0.5.0
func (*Dispatcher) URLForModelProvider ¶
Click to show internal directories.
Click to hide internal directories.