fix api-reports

Signed-off-by: Brian Fletcher <brian@roadie.io>
This commit is contained in:
Brian Fletcher
2023-03-24 15:05:34 +00:00
parent 67bdd6fd05
commit 6636e74a88
-16
View File
@@ -5,7 +5,6 @@
```ts
import { CatalogApi } from '@backstage/catalog-client';
import { Config } from '@backstage/config';
import { Credentials } from 'aws-sdk';
import type { CustomResourceMatcher } from '@backstage/plugin-kubernetes-common';
import { Duration } from 'luxon';
import { Entity } from '@backstage/catalog-model';
@@ -34,25 +33,10 @@ export interface AWSClusterDetails extends ClusterDetails {
export class AwsIamKubernetesAuthTranslator
implements KubernetesAuthTranslator
{
// (undocumented)
awsGetCredentials: () => Promise<Credentials>;
// (undocumented)
decorateClusterDetailsWithAuth(
clusterDetails: AWSClusterDetails,
): Promise<AWSClusterDetails>;
// (undocumented)
getBearerToken(
clusterName: string,
assumeRole?: string,
externalId?: string,
): Promise<string>;
// (undocumented)
getCredentials(
assumeRole?: string,
externalId?: string,
): Promise<SigningCreds>;
// (undocumented)
validCredentials(creds: SigningCreds): boolean;
}
// @public (undocumented)