Documentation
¶
Index ¶
- func DefaultAuth() authMethod
- func GetAuth(methods ...authMethod) (authConfiguror, error)
- func MsiAuth(msi string) authMethod
- func New(endpoints map[string]string, configureAuth authConfiguror, max int) (multiKustoClient, error)
- func TokenAuth(kustoAppId string, kustoToken string) authMethod
- type QueryClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultAuth ¶
func DefaultAuth() authMethod
DefaultAuth uses standard AZURE_ environment variables and falls back to az cli if they are not set
func GetAuth ¶
func GetAuth(methods ...authMethod) (authConfiguror, error)
GetAuth returns the first valid authConfiguror from the provided list of authMethods
func MsiAuth ¶
func MsiAuth(msi string) authMethod
MsiAuth uses the provided Managed Service Identity to authenticate to kusto
Types ¶
type QueryClient ¶
type QueryClient interface {
IterativeQuery(ctx context.Context, db string, query azkustodata.Statement, options ...azkustodata.QueryOption) (azquery.IterativeDataset, error)
Mgmt(ctx context.Context, db string, query azkustodata.Statement, options ...azkustodata.QueryOption) (azqueryv1.Dataset, error)
Endpoint() string
}
Click to show internal directories.
Click to hide internal directories.