Documentation
¶
Overview ¶
Package godokiota provides convenience constructors for the Kiota-generated DigitalOcean API client living in the ./client package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClientWithToken ¶
func NewClientWithToken(token string) (*client.DigitalOceanClient, error)
NewClientWithToken builds a DigitalOcean API client authenticated with a personal access token, sent as `Authorization: Bearer <token>`.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
inference-stream
command
Streaming chat-completion demo against DigitalOcean Serverless Inference.
|
Streaming chat-completion demo against DigitalOcean Serverless Inference. |
|
listregions
command
Smoke test for the Kiota-generated DigitalOcean Go SDK: list all regions.
|
Smoke test for the Kiota-generated DigitalOcean Go SDK: list all regions. |
|
Code generated by tools/inferencegen from openapi.yaml — DO NOT EDIT.
|
Code generated by tools/inferencegen from openapi.yaml — DO NOT EDIT. |
|
tools
|
|
|
dedupe
command
Command dedupe resolves duplicate top-level declarations that Kiota's Go generator emits when several operations share an inline schema name within the same package (e.g.
|
Command dedupe resolves duplicate top-level declarations that Kiota's Go generator emits when several operations share an inline schema name within the same package (e.g. |
|
inferencegen
command
Command inferencegen reads the bundled DigitalOcean OpenAPI document and emits an OpenAI-compatible, SSE-capable inference client into the `inference` package.
|
Command inferencegen reads the bundled DigitalOcean OpenAPI document and emits an OpenAI-compatible, SSE-capable inference client into the `inference` package. |
Click to show internal directories.
Click to hide internal directories.