package
0.5.2
Repository: https://github.com/kollalabs/sdk-go.git
Documentation: pkg.go.dev

# README

Go API client for swagger

Service for interacting with Connection Manager resources

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to /

ClassMethodHTTP requestDescription
ConnectApiConnectConsumerTokenPost /v1/consumers:consumerTokenConsumer Token
ConnectApiConnectCreateConnectorPost /v1/connectorsCreate connector
ConnectApiConnectCreateConnectorLinkPost /v1/connectors/{connector}/linksCreateConnectorLink
ConnectApiConnectCreateLinkedAccountPost /v1/connectors/{connector}/linkedaccountsCreate LinkedAccount
ConnectApiConnectCreateLinkedAccountLogPost /v1/connectors/{connector}/linkedaccounts/{linkedaccount}/logsCreate LinkedAccountLog
ConnectApiConnectCredentialsPost /v1/connectors/{connector}/linkedaccounts/{linkedaccount}:credentialsLinkedAccount Credentials
ConnectApiConnectDisableLinkedAccountPost /v1/connectors/{connector}/linkedaccounts/{linkedaccount}:disableDisableLinkedAccount
ConnectApiConnectGetConnectorGet /v1/connectors/{connector}Get Connector
ConnectApiConnectGetConnectorTemplateGet /v1/connectortemplates/{connectortemplate}Get ConnectorTemplate
ConnectApiConnectGetLinkedAccountGet /v1/connectors/{connector}/linkedaccounts/{linkedaccount}Get LinkedAccount
ConnectApiConnectListConnectorsGet /v1/connectorsList Connectors
ConnectApiConnectListLinkedAccountLogsGet /v1/connectors/{connector}/linkedaccounts/{linkedaccount}/logsListLinkedAccountLogs
ConnectApiConnectListLinkedAccountsGet /v1/connectors/{connector}/linkedaccountsList LinkedAccounts
ConnectApiConnectLoadConnectorLinkPost /v1/connectors:loadLinkLoadConnectorLink
ConnectApiConnectLoadCredentialsGet /v1/connectors/{connector}/consumers/{consumer}:credentialsLoadCredentials
ConnectApiConnectUpdateConnectorPatch /v1/connectors/{connector}Update Connector
ConnectApiConnectUpdateLinkedAccountPatch /v1/connectors/{connector}/linkedaccounts/{linkedaccount}Update LinkedAccount

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

# Functions

CacheExpires helper function to determine remaining time before repeating a request.
NewAPIClient creates a new API client.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ContextAccessToken takes a string oauth2 access token as authentication for the request.
ContextAPIKey takes an APIKey as authentication for the request.
ContextBasicAuth takes BasicAuth as authentication for the request.
ContextOAuth2 takes a oauth2.TokenSource as authentication for the request.

# Structs

APIClient manages communication with the Connect API API vv1 In most cases there should be only one, shared, APIClient.
APIKey provides API key based authentication to a request passed via context using ContextAPIKey.
No description provided by the author
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
A representation of a Connector.
On prem agent configuration.
API Key Config message.
Basic Auth Config message.
response message.
Oauth2 config message.
Connector Template Resource.
consumer metadata.
Request for a consumer token.
Response for a consumer token.
Returns the linked account's access token.
Credentials associated with the LinkedAccount.
Message for linked account credentials.
Request to disable linked account.
GenericSwaggerError Provides access to the body, error and model on returned errors.
LinkedAccount to a connector.
Agent auth data is set when the connector type is AGENT.
LinkedAccountLogs.
Response for listAPIsResponse.
List linked accounts logs response.
Response for listLinkedAccountsResponse.
Request for a connector link.
Data to be used in the embedded marketplace to present the consumer with a UI to link a connector.
The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

# Interfaces

ModelMaps is a placeholder definition for the undefined status maps.

# Type aliases

No description provided by the author
Deprecated: ConsumerTokenRequestConsumerMetadata is deprecated, use ConsumerMetadata instead.