Backstage
    Preparing search index...

    Interface ConnectionsService

    interface ConnectionsService {
        find<
            TType extends
                | "aws-codecommit"
                | "aws-s3"
                | "azure-blob-storage"
                | "azure"
                | "bitbucket-cloud"
                | "bitbucket-server"
                | "gerrit"
                | "gitea"
                | "github"
                | "gitlab"
                | "google-gcs"
                | "harness",
            TAuthMethod extends
                | "none"
                | "accessKey"
                | "assumeRole"
                | "accountKey"
                | "sasToken"
                | "connectionString"
                | "aadCredential"
                | "pat"
                | "clientCredentials"
                | "managedIdentity"
                | "token"
                | "appPassword"
                | "oauth"
                | "basic"
                | "app"
                | "serviceAccount",
        >(
            options: {
                authMethods: readonly [TAuthMethod, TAuthMethod];
                type: TType;
                url: string;
            },
        ): Promise<Connection<TType, TAuthMethod>>;
    }
    Index

    Methods

    Methods

    • Type Parameters

      • TType extends
            | "aws-codecommit"
            | "aws-s3"
            | "azure-blob-storage"
            | "azure"
            | "bitbucket-cloud"
            | "bitbucket-server"
            | "gerrit"
            | "gitea"
            | "github"
            | "gitlab"
            | "google-gcs"
            | "harness"
      • TAuthMethod extends
            | "none"
            | "accessKey"
            | "assumeRole"
            | "accountKey"
            | "sasToken"
            | "connectionString"
            | "aadCredential"
            | "pat"
            | "clientCredentials"
            | "managedIdentity"
            | "token"
            | "appPassword"
            | "oauth"
            | "basic"
            | "app"
            | "serviceAccount"

      Parameters

      Returns Promise<Connection<TType, TAuthMethod>>