any-sdk

module
v0.5.3-alpha07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2026 License: MIT

README

Platforms Go License Lines

any-sdk

A golang library to support:

  • traversal algorithms on StackQL augmented openapi doc structure.
  • SQL semantics thereupon.

From those who brought you

StackQL

Evolution to protocol agnostic

The basic idea is a full decouple and abstraction of the interface from openapi.

Based upon the fact that golang text templates are Turing complete, as are numerous other DSLs, we can use these to define and route SQL input to arbitrary interfaces. For instance, here is the brainf@$& interpreter described in the article.

As a side note, this review piece gives some insight into whay all DSLs wind up Turing complete and also therefore rather messy for narrowband purposes.

Acknowledgements

Extensions, adaptations and shims of the following support our work:

We gratefully acknowledge these pieces of work.

Licensing

Please see the stackql LICENSE.

Licenses for third party software we are using are included in the /licenses directory.

Directories

Path Synopsis
cmd
interrogate command
docs
internal
pkg
azurefed
Package azurefed implements Microsoft Entra ID (Azure AD) federated identity credentials: it presents a foreign OIDC token as a client_assertion (JWT-bearer) to the tenant's OAuth2 token endpoint in place of a client secret, and exposes the resulting Entra access token via an auto-refreshing oauth2.TokenSource.
Package azurefed implements Microsoft Entra ID (Azure AD) federated identity credentials: it presents a foreign OIDC token as a client_assertion (JWT-bearer) to the tenant's OAuth2 token endpoint in place of a client secret, and exposes the resulting Entra access token via an auto-refreshing oauth2.TokenSource.
dto
gcpwif
Package gcpwif implements Google Cloud Workload Identity Federation: it exchanges a foreign OIDC subject token at Google's STS endpoint (sts.googleapis.com/v1/token) for a Google OAuth2 access token, optionally impersonating a service account via iamcredentials.
Package gcpwif implements Google Cloud Workload Identity Federation: it exchanges a foreign OIDC subject token at Google's STS endpoint (sts.googleapis.com/v1/token) for a Google OAuth2 access token, optionally impersonating a service account via iamcredentials.
oidcauth
Package oidcauth implements a generic, provider-agnostic OpenID Connect machine-to-machine (client_credentials) auth exchange: it resolves the token endpoint (explicitly, via a discovery document, or via issuer discovery), requests a token, and returns the caller-selected token (access_token or id_token) for attachment to outbound requests.
Package oidcauth implements a generic, provider-agnostic OpenID Connect machine-to-machine (client_credentials) auth exchange: it resolves the token endpoint (explicitly, via a discovery document, or via issuer discovery), requests a token, and returns the caller-selected token (access_token or id_token) for attachment to outbound requests.
public
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL