Documentation
¶
Index ¶
Constants ¶
View Source
const (
ArangoLicenseManagerEndpoint = "license.arango.ai"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface {
License(ctx context.Context, req LicenseRequest) (LicenseResponse, error)
Registry(ctx context.Context) (RegistryResponse, error)
}
func NewClientFromConn ¶
func NewClientFromConn(conn driver.Connection) Client
type LicenseRequest ¶
type LicenseResponse ¶
type Registry ¶
type Registry struct {
Auths map[string]RegistryAuth `json:"auths,omitempty"`
}
type RegistryAuth ¶
type RegistryResponse ¶
type RegistryResponse struct {
Token string `json:"token"`
}
Click to show internal directories.
Click to hide internal directories.