@firestartr/cli 2.1.0 → 2.2.0-snapshot-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/{594.index.js → 202.index.js} +3 -3
- package/build/318.index.js +35 -0
- package/build/346.index.js +57 -0
- package/build/539.index.js +58 -0
- package/build/55.index.js +58 -0
- package/build/{540.index.js → 697.index.js} +5 -5
- package/build/709.index.js +25 -0
- package/build/{647.index.js → 87.index.js} +5 -5
- package/build/{351.index.js → 902.index.js} +3 -3
- package/build/{857.index.js → 915.index.js} +5 -5
- package/build/index.js +132345 -203622
- package/build/packages/cdk8s_renderer/src/charts/catalog/apiChart.d.ts +23 -0
- package/build/packages/cdk8s_renderer/src/charts/catalog/componentChart.d.ts +2 -0
- package/build/packages/cdk8s_renderer/src/charts/catalog/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/charts/index.d.ts +2 -1
- package/build/packages/cdk8s_renderer/src/claims/base/component.d.ts +7 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/component.schema.d.ts +38 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +38 -0
- package/build/packages/cdk8s_renderer/src/utils/claimUtils.d.ts +1 -0
- package/build/packages/github/src/branches.d.ts +100 -34
- package/build/packages/github/src/repository.d.ts +62 -17
- package/build/packages/github/src/team.d.ts +6 -0
- package/package.json +1 -2
- package/build/packages/cli/src/subcommands/provisioner-subcommands.d.ts +0 -2
- package/build/packages/operator/cdktf.d.ts +0 -8
- package/build/packages/operator/src/cdktf/ownership.d.ts +0 -3
- package/build/packages/provisioner/index.d.ts +0 -16
- package/build/packages/provisioner/init.d.ts +0 -5
- package/build/packages/provisioner/src/cdktf.d.ts +0 -3
- package/build/packages/provisioner/src/config/config.d.ts +0 -6
- package/build/packages/provisioner/src/entities/base/Entity.d.ts +0 -48
- package/build/packages/provisioner/src/entities/base/auxiliars/ConfigAux.d.ts +0 -28
- package/build/packages/provisioner/src/entities/feature/FirestartrGithubRepositoryFeature.d.ts +0 -8
- package/build/packages/provisioner/src/entities/firestartrgithubgroup/FirestartrGithubGroup.d.ts +0 -8
- package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamMembersHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamsHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubmembership/FirestartrGithubMembership.d.ts +0 -8
- package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipAllGroupHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubmembership/helpers/MembershipHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/FirestartrGithubOrgWebhook.d.ts +0 -8
- package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/helpers/OrgWebhookHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/FirestartrGithubRepository.d.ts +0 -9
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/auxiliars/RepositoryConfigAux.d.ts +0 -52
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/ActionsHelper.d.ts +0 -5
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/CodeownersHelper.d.ts +0 -5
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/DefaultBranchHelper.d.ts +0 -5
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryHelper.d.ts +0 -5
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryTeamsHelper.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubrepository/helpers/RepositoryVariable.d.ts +0 -4
- package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/FirestartrGithubRepositorySecretsSection.d.ts +0 -9
- package/build/packages/provisioner/src/entities/firestartrgithubrepositorysecretssection/helpers/RepositorySecret.d.ts +0 -3
- package/build/packages/provisioner/src/entities/firestartrterraformmodule/FirestartrTerraformModule.d.ts +0 -10
- package/build/packages/provisioner/src/entities/firestartrterraformmodule/auxiliars/terraformModuleHelper.d.ts +0 -13
- package/build/packages/provisioner/src/entities/index.d.ts +0 -2
- package/build/packages/provisioner/src/features/index.d.ts +0 -4
- package/build/packages/provisioner/src/features/installer.d.ts +0 -1
- package/build/packages/provisioner/src/features/preparer.d.ts +0 -1
- package/build/packages/provisioner/src/features/provisioner.d.ts +0 -3
- package/build/packages/provisioner/src/features/uninstaller.d.ts +0 -1
- package/build/packages/provisioner/src/handlers/index.d.ts +0 -3
- package/build/packages/provisioner/src/loader.d.ts +0 -2
- package/build/packages/provisioner/src/logger.d.ts +0 -11
- package/build/packages/provisioner/src/providers/backend.d.ts +0 -6
- package/build/packages/provisioner/src/providers/index.d.ts +0 -12
- package/build/packages/provisioner/src/providers/provider.d.ts +0 -4
- package/build/packages/provisioner/src/resources/github_feature/index.d.ts +0 -8
- package/build/packages/provisioner/src/resources/github_group/index.d.ts +0 -5
- package/build/packages/provisioner/src/resources/github_membership/index.d.ts +0 -5
- package/build/packages/provisioner/src/resources/github_orgWebhook/index.d.ts +0 -5
- package/build/packages/provisioner/src/resources/github_repository/helpers/AdditionalBranchesHelper.d.ts +0 -1
- package/build/packages/provisioner/src/resources/github_repository/index.d.ts +0 -6
- package/build/packages/provisioner/src/resources/github_repository_secrets_section/index.d.ts +0 -5
- package/build/packages/provisioner/src/resources/index.d.ts +0 -17
- package/build/packages/provisioner/src/resources/resource.d.ts +0 -28
- package/build/packages/provisioner/src/resources/terraform_module/index.d.ts +0 -5
- package/build/packages/provisioner/src/stacks/GithubStack.d.ts +0 -6
- package/build/packages/provisioner/src/stacks/TerraformModuleStack.d.ts +0 -7
- package/build/packages/provisioner/src/stacks/base.d.ts +0 -17
- package/build/packages/provisioner/src/stacks/index.d.ts +0 -6
- package/build/packages/provisioner/src/terraform.d.ts +0 -7
- package/build/provisioner/cdktf.json +0 -11
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { TerraformModule, TerraformResource } from 'cdktf';
|
|
3
|
-
declare class Metadata {
|
|
4
|
-
_metadata: any;
|
|
5
|
-
_resolveOutputs: Function;
|
|
6
|
-
constructor(metadata: any, resolveOutputs: Function);
|
|
7
|
-
get name(): any;
|
|
8
|
-
get slug(): any;
|
|
9
|
-
get annotations(): any;
|
|
10
|
-
get labels(): any;
|
|
11
|
-
get id(): any;
|
|
12
|
-
}
|
|
13
|
-
export declare abstract class Entity {
|
|
14
|
-
kind: string;
|
|
15
|
-
apiVersion: string;
|
|
16
|
-
spec: any;
|
|
17
|
-
metadata: Metadata;
|
|
18
|
-
deps?: any;
|
|
19
|
-
mainResource?: TerraformResource | TerraformModule;
|
|
20
|
-
importStack: {
|
|
21
|
-
key: string;
|
|
22
|
-
resource: TerraformResource;
|
|
23
|
-
}[];
|
|
24
|
-
constructor(artifact: any, deps?: any);
|
|
25
|
-
getTfStateKey(): string;
|
|
26
|
-
protected isUUID(uuid: string): boolean;
|
|
27
|
-
resolveRef(ref: {
|
|
28
|
-
kind: string;
|
|
29
|
-
name: string;
|
|
30
|
-
needsSecret: boolean;
|
|
31
|
-
}, propertyRef?: string): any;
|
|
32
|
-
resolveSecretRef(ref: {
|
|
33
|
-
name: string;
|
|
34
|
-
key: string;
|
|
35
|
-
}): any;
|
|
36
|
-
resolveOutputs(scope: Construct): void;
|
|
37
|
-
getKeysFrom(resource: TerraformResource): string[];
|
|
38
|
-
abstract loadResources({ scope }: {
|
|
39
|
-
scope: Construct;
|
|
40
|
-
}): Promise<void>;
|
|
41
|
-
provision({ scope }: {
|
|
42
|
-
scope: Construct;
|
|
43
|
-
}): Promise<void>;
|
|
44
|
-
importResources(): void;
|
|
45
|
-
addResourceToStack(resourceKey: string, resource: TerraformResource): void;
|
|
46
|
-
camelToSnake(camelCaseString: string): string;
|
|
47
|
-
}
|
|
48
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare class ConfigAux {
|
|
2
|
-
trackableProperties: string[];
|
|
3
|
-
constructor({ trackableProperties }: {
|
|
4
|
-
trackableProperties: string[];
|
|
5
|
-
});
|
|
6
|
-
/**
|
|
7
|
-
* @returns Array of properties that are tracked by Terraform
|
|
8
|
-
* @description This method returns an array of properties that are tracked by Terraform
|
|
9
|
-
*/
|
|
10
|
-
getTrackeableProperties: () => string[];
|
|
11
|
-
/**
|
|
12
|
-
* @returns Array of properties that are not tracked by Terraform
|
|
13
|
-
* @description This method returns an array of properties that are not tracked by Terraform, it will be included in the lifecycle.ignoreChanges
|
|
14
|
-
* @see https://www.terraform.io/docs/language/meta-arguments/lifecycle.html
|
|
15
|
-
*/
|
|
16
|
-
getUntrackedProperties(): string[];
|
|
17
|
-
/**
|
|
18
|
-
* @returns Array of terraform related properties
|
|
19
|
-
* @description This method returns an array of terraform related properties
|
|
20
|
-
*/
|
|
21
|
-
discriminateSpecialProperties(): string[];
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @param camelCaseStrings Array of strings in camelCase format
|
|
25
|
-
* @returns
|
|
26
|
-
*/
|
|
27
|
-
toSnakeCase(camelCaseStrings: string[]): string[];
|
|
28
|
-
}
|
package/build/packages/provisioner/src/entities/feature/FirestartrGithubRepositoryFeature.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Entity } from '../base/Entity';
|
|
3
|
-
export declare class FirestartrGithubRepositoryFeature extends Entity {
|
|
4
|
-
constructor(artifact: any, deps: any);
|
|
5
|
-
loadResources(data: {
|
|
6
|
-
scope: Construct;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
}
|
package/build/packages/provisioner/src/entities/firestartrgithubgroup/helpers/TeamMembersHelper.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Team } from '@cdktf/provider-github/lib/team';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { FirestartrGithubGroup } from '../FirestartrGithubGroup';
|
|
4
|
-
export declare function provisionMembers(scope: Construct, team: Team, fsGithubGroup: FirestartrGithubGroup): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubMembership } from '../FirestartrGithubMembership';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { TeamMembership } from '@cdktf/provider-github/lib/team-membership';
|
|
4
|
-
export declare function provisionAllGroupMembershipRelation(scope: Construct, fsGithubMembership: FirestartrGithubMembership): TeamMembership;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubMembership } from '../FirestartrGithubMembership';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { Membership } from '@cdktf/provider-github/lib/membership';
|
|
4
|
-
export declare function provisionMembership(scope: Construct, fsGithubMembership: FirestartrGithubMembership): Membership;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubOrgWebhook } from '../FirestartrGithubOrgWebhook';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { OrganizationWebhook } from '@cdktf/provider-github/lib/organization-webhook';
|
|
4
|
-
export declare function provisionOrgWebhook(scope: Construct, fsGithubOrgWebhook: FirestartrGithubOrgWebhook): OrganizationWebhook;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Entity } from '../base/Entity';
|
|
3
|
-
export declare class FirestartrGithubRepository extends Entity {
|
|
4
|
-
constructor(artifact: any, deps: any);
|
|
5
|
-
loadResources(data: {
|
|
6
|
-
scope: Construct;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
orgHasOneOfThesePlans(org: string, plans: string[]): Promise<boolean>;
|
|
9
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { RepositoryConfig, RepositoryPages, RepositorySecurityAndAnalysis, RepositoryTemplate } from '@cdktf/provider-github/lib/repository';
|
|
2
|
-
import { IResolvable, ITerraformDependable, TerraformProvider, TerraformResourceLifecycle, ITerraformIterator, FileProvisioner, LocalExecProvisioner, RemoteExecProvisioner, SSHProvisionerConnection, WinrmProvisionerConnection } from 'cdktf';
|
|
3
|
-
import { ConfigAux } from '../../base/auxiliars/ConfigAux';
|
|
4
|
-
/**
|
|
5
|
-
* @description This class is used to extend the RepositoryConfig interface to add some methods
|
|
6
|
-
* which are used to ignore changes in some properties that are not tracked by Terraform
|
|
7
|
-
* @see https://www.terraform.io/docs/language/meta-arguments/lifecycle.html
|
|
8
|
-
* @see https://www.terraform.io/docs/language/meta-arguments/lifecycle.html#ignore_changes
|
|
9
|
-
* @see https://www.terraform.io/docs/language/meta-arguments/lifecycle.html#ignore_changes_explicitly
|
|
10
|
-
*/
|
|
11
|
-
export declare class RepositoryConfigAux extends ConfigAux implements RepositoryConfig {
|
|
12
|
-
allowAutoMerge?: boolean | IResolvable | undefined;
|
|
13
|
-
allowMergeCommit?: boolean | IResolvable | undefined;
|
|
14
|
-
allowRebaseMerge?: boolean | IResolvable | undefined;
|
|
15
|
-
allowSquashMerge?: boolean | IResolvable | undefined;
|
|
16
|
-
archiveOnDestroy?: boolean | IResolvable | undefined;
|
|
17
|
-
archived?: boolean | IResolvable | undefined;
|
|
18
|
-
autoInit?: boolean | IResolvable | undefined;
|
|
19
|
-
defaultBranch?: string | undefined;
|
|
20
|
-
deleteBranchOnMerge?: boolean | IResolvable | undefined;
|
|
21
|
-
description?: string | undefined;
|
|
22
|
-
gitignoreTemplate?: string | undefined;
|
|
23
|
-
hasDownloads?: boolean | IResolvable | undefined;
|
|
24
|
-
hasIssues?: boolean | IResolvable | undefined;
|
|
25
|
-
hasProjects?: boolean | IResolvable | undefined;
|
|
26
|
-
hasWiki?: boolean | IResolvable | undefined;
|
|
27
|
-
homepageUrl?: string | undefined;
|
|
28
|
-
id?: string | undefined;
|
|
29
|
-
ignoreVulnerabilityAlertsDuringRead?: boolean | IResolvable | undefined;
|
|
30
|
-
isTemplate?: boolean | IResolvable | undefined;
|
|
31
|
-
licenseTemplate?: string | undefined;
|
|
32
|
-
mergeCommitMessage?: string | undefined;
|
|
33
|
-
mergeCommitTitle?: string | undefined;
|
|
34
|
-
name: string;
|
|
35
|
-
private?: boolean | IResolvable | undefined;
|
|
36
|
-
squashMergeCommitMessage?: string | undefined;
|
|
37
|
-
squashMergeCommitTitle?: string | undefined;
|
|
38
|
-
topics?: string[] | undefined;
|
|
39
|
-
visibility?: string | undefined;
|
|
40
|
-
vulnerabilityAlerts?: boolean | IResolvable | undefined;
|
|
41
|
-
pages?: RepositoryPages | undefined;
|
|
42
|
-
template?: RepositoryTemplate | undefined;
|
|
43
|
-
dependsOn?: ITerraformDependable[] | undefined;
|
|
44
|
-
count?: number | undefined;
|
|
45
|
-
provider?: TerraformProvider | undefined;
|
|
46
|
-
lifecycle?: TerraformResourceLifecycle | undefined;
|
|
47
|
-
forEach?: ITerraformIterator | undefined;
|
|
48
|
-
provisioners?: (FileProvisioner | LocalExecProvisioner | RemoteExecProvisioner)[] | undefined;
|
|
49
|
-
connection?: SSHProvisionerConnection | WinrmProvisionerConnection | undefined;
|
|
50
|
-
securityAndAnalysis?: RepositorySecurityAndAnalysis | undefined;
|
|
51
|
-
constructor();
|
|
52
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { ActionsRepositoryOidcSubjectClaimCustomizationTemplate } from '@cdktf/provider-github/lib/actions-repository-oidc-subject-claim-customization-template';
|
|
4
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
5
|
-
export declare function provisionOIDCSubjectClaim(scope: Construct, repo: Repository, fsGithubRepository: FirestartrGithubRepository): ActionsRepositoryOidcSubjectClaimCustomizationTemplate;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
4
|
-
import { BranchDefault } from '@cdktf/provider-github/lib/branch-default';
|
|
5
|
-
export declare function provisionCodeowners(scope: Construct, repo: Repository, branchDefault: BranchDefault, fsGithubRepository: FirestartrGithubRepository): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { BranchDefault } from '@cdktf/provider-github/lib/branch-default';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
4
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
5
|
-
export declare function provisionDefaultBranch(scope: Construct, fsGithubRepository: FirestartrGithubRepository, repo: Repository): BranchDefault;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
3
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
4
|
-
export declare function provisionRepository(scope: Construct, fsGithubRepository: FirestartrGithubRepository): Repository;
|
|
5
|
-
export declare function provisionBranchProtections(scope: Construct, repo: Repository, fsGithubRepository: FirestartrGithubRepository): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
4
|
-
export declare function provisionPermissions(scope: Construct, repo: Repository, fsGithubRepository: FirestartrGithubRepository): void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Repository } from '@cdktf/provider-github/lib/repository';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
import { FirestartrGithubRepository } from '../FirestartrGithubRepository';
|
|
4
|
-
export declare function provisionRepositoryVariables(scope: Construct, repo: Repository, fsGithubRepository: FirestartrGithubRepository): Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Entity } from '../base/Entity';
|
|
3
|
-
export declare class FirestartrGithubRepositorySecretsSection extends Entity {
|
|
4
|
-
constructor(artifact: any, deps: any);
|
|
5
|
-
loadResources(data: {
|
|
6
|
-
scope: Construct;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
resolveRepoExternalName(): string;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { FirestartrGithubRepositorySecretsSection } from '../FirestartrGithubRepositorySecretsSection';
|
|
3
|
-
export declare function provisionRepositorySecrets(scope: Construct, fsGithubRepositorySecretsSection: FirestartrGithubRepositorySecretsSection, repo: string): Promise<void>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { Entity } from '../base/Entity';
|
|
3
|
-
import { TerraformProvider } from 'cdktf';
|
|
4
|
-
export declare class FirestartrTerraformModuleEntity extends Entity {
|
|
5
|
-
provider: TerraformProvider;
|
|
6
|
-
constructor(artifact: any, provider: TerraformProvider, deps?: any);
|
|
7
|
-
loadResources(data: {
|
|
8
|
-
scope: Construct;
|
|
9
|
-
}): Promise<void>;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { FirestartrTerraformModuleEntity } from '../FirestartrTerraformModule';
|
|
3
|
-
import { TerraformModule } from 'cdktf';
|
|
4
|
-
export declare class GenericTerraformModule extends TerraformModule {
|
|
5
|
-
private readonly inputs;
|
|
6
|
-
constructor(scope: Construct, name: string, inputs: any, source: string);
|
|
7
|
-
getOutput(name: string): any;
|
|
8
|
-
getInput(name: string): any;
|
|
9
|
-
protected synthesizeAttributes(): {
|
|
10
|
-
[name: string]: any;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export declare function provisionTFModule(scope: Construct, fsGithubTFModule: FirestartrTerraformModuleEntity): Promise<TerraformModule>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function installFeaturesForComponent(component: any, store: any): Promise<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function prepareFeaturesForComponent(component: any, store: any): Promise<void>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function untrackManagedFiles(feature: any, deps: any): Promise<void>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare function prepareFeatures(components: any, storeRef: any): Promise<void>;
|
|
2
|
-
export declare function getActionByStatus(status: any): "destroy" | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.unknownStatus | "deploy";
|
|
3
|
-
export declare function getNextStatus(status: any): import("../../../catalog_common/src/types/catalog").ArtifactStatuses.deletedStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.errorStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.creatingStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.renamingStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.provisionedStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.provisioningStatus | import("../../../catalog_common/src/types/catalog").ArtifactStatuses.unknownStatus;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
error: (...args: any) => void;
|
|
3
|
-
warn: (...args: any) => void;
|
|
4
|
-
info: (...args: any) => void;
|
|
5
|
-
debug: (...args: any) => void;
|
|
6
|
-
verbose: (...args: any) => void;
|
|
7
|
-
silly: (...args: any) => void;
|
|
8
|
-
enableFileLogging: typeof import("../../catalog_common/src/logger/logger").enableFileLogging;
|
|
9
|
-
disableFileLogging: typeof import("../../catalog_common/src/logger/logger").disableFileLogging;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FirestartrTerraformBackendProvider } from '.';
|
|
2
|
-
export declare class BackendError extends Error {
|
|
3
|
-
backend: FirestartrTerraformBackendProvider;
|
|
4
|
-
constructor(backend: FirestartrTerraformBackendProvider);
|
|
5
|
-
}
|
|
6
|
-
export declare function createBackend(scope: any, provider: FirestartrTerraformBackendProvider, tfStateKey: string, config: any): void;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare enum FirestartrTerraformBackendProvider {
|
|
2
|
-
AWS = "aws",
|
|
3
|
-
AZURERM = "azurerm",
|
|
4
|
-
KUBERNETES = "kubernetes"
|
|
5
|
-
}
|
|
6
|
-
export declare enum FirestartrTerraformProvider {
|
|
7
|
-
AWS = "aws",
|
|
8
|
-
AZURERM = "azurerm",
|
|
9
|
-
GITHUB = "github"
|
|
10
|
-
}
|
|
11
|
-
export { createBackend } from './backend';
|
|
12
|
-
export { createProvider } from './provider';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Construct } from 'constructs';
|
|
2
|
-
import { TerraformProvider } from 'cdktf';
|
|
3
|
-
import { FirestartrTerraformProvider } from '.';
|
|
4
|
-
export declare function createProvider(scope: Construct, provider: FirestartrTerraformProvider, id: string, config: any): TerraformProvider;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Resource } from '../resource';
|
|
2
|
-
export declare class FirestartrGithubRepositoryFeature extends Resource {
|
|
3
|
-
static kind(): string;
|
|
4
|
-
preprocess(): Promise<void>;
|
|
5
|
-
_updateManagedFiles(): Promise<void>;
|
|
6
|
-
getRepoExternalName(ref: any): any;
|
|
7
|
-
__getFileContentFromProvider(org: string, url: string): Promise<any>;
|
|
8
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function provisionAdditionalBranches(cr: any): Promise<void>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubRepositoryFeature } from './github_feature';
|
|
2
|
-
import { FirestartrGithubRepository } from './github_repository';
|
|
3
|
-
import { FirestartrGithubMembership } from './github_membership';
|
|
4
|
-
import { FirestartrGithubGroup } from './github_group';
|
|
5
|
-
import { FirestartrTerraformModule } from './terraform_module';
|
|
6
|
-
import { FirestartrGithubOrgWebhook } from './github_orgWebhook';
|
|
7
|
-
import { FirestartrGithubRepositorySecretsSection } from './github_repository_secrets_section';
|
|
8
|
-
declare const _default: {
|
|
9
|
-
FirestartrGithubRepositoryFeature: typeof FirestartrGithubRepositoryFeature;
|
|
10
|
-
FirestartrGithubRepository: typeof FirestartrGithubRepository;
|
|
11
|
-
FirestartrGithubMembership: typeof FirestartrGithubMembership;
|
|
12
|
-
FirestartrGithubGroup: typeof FirestartrGithubGroup;
|
|
13
|
-
FirestartrTerraformModule: typeof FirestartrTerraformModule;
|
|
14
|
-
FirestartrGithubOrgWebhook: typeof FirestartrGithubOrgWebhook;
|
|
15
|
-
FirestartrGithubRepositorySecretsSection: typeof FirestartrGithubRepositorySecretsSection;
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { PassThrough } from 'stream';
|
|
3
|
-
export declare class Resource {
|
|
4
|
-
data: any;
|
|
5
|
-
output: string;
|
|
6
|
-
logStream: PassThrough;
|
|
7
|
-
logFn: Function;
|
|
8
|
-
synthStreamCallbacks: any;
|
|
9
|
-
tfStreamCallbacks: any;
|
|
10
|
-
setLogger(fn: Function): void;
|
|
11
|
-
setSynthStreamLogs(callbacks: any): void;
|
|
12
|
-
setTFStreamLogs(callbacks: any): void;
|
|
13
|
-
onSyncStreaming(): Promise<void>;
|
|
14
|
-
onTFStreaming(): Promise<void>;
|
|
15
|
-
setLogStream(fnData: Function, fnEnd: Function, reopen?: boolean): void;
|
|
16
|
-
constructor(mainCR: any, operation: string, deps?: any[]);
|
|
17
|
-
run(): Promise<void>;
|
|
18
|
-
artifact(): any;
|
|
19
|
-
synth(): Promise<void>;
|
|
20
|
-
log(msg: string): void;
|
|
21
|
-
runTerraform(): Promise<void>;
|
|
22
|
-
preprocess(): Promise<void>;
|
|
23
|
-
postprocess(): Promise<void>;
|
|
24
|
-
crs(): void;
|
|
25
|
-
env(): void;
|
|
26
|
-
set(k: string, v: any): void;
|
|
27
|
-
get(k: string): any;
|
|
28
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { TerraformProvider } from 'cdktf';
|
|
2
|
-
import { BaseStack } from './base';
|
|
3
|
-
export declare class GithubStack extends BaseStack {
|
|
4
|
-
provisionEntity(isImport: boolean, entity: any, deps: any, tfStatePath: string, orgConfig: any): Promise<void>;
|
|
5
|
-
initProviders(scope: any, tfStatePath: string, backendConfig: any, providerConfig: any, deps: any): TerraformProvider;
|
|
6
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FirestartrTerraformModuleEntity } from '../entities/firestartrterraformmodule/FirestartrTerraformModule';
|
|
2
|
-
import { BaseStack } from './base';
|
|
3
|
-
import { TerraformProvider } from 'cdktf';
|
|
4
|
-
export declare class TerraformModuleStack extends BaseStack {
|
|
5
|
-
provisionEntity(isImport: boolean, entity: FirestartrTerraformModuleEntity, deps: any, tfStatePath: string, orgConfig: any): Promise<void>;
|
|
6
|
-
initProviders(scope: BaseStack, name: string, tfStatePath: string, backendConfig: any, providerConfig: any, deps: any): TerraformProvider;
|
|
7
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { TerraformProvider, TerraformStack } from 'cdktf';
|
|
2
|
-
export declare class SecretNotFound extends Error {
|
|
3
|
-
constructor(secretName: string);
|
|
4
|
-
}
|
|
5
|
-
export declare class SecretKeyNotFound extends Error {
|
|
6
|
-
constructor(secretName: string, keyName: string);
|
|
7
|
-
}
|
|
8
|
-
export declare abstract class BaseStack extends TerraformStack {
|
|
9
|
-
abstract provisionEntity(isImport: boolean, entity: any, deps: any, tfStatePath: string, orgConfig: any): Promise<void>;
|
|
10
|
-
abstract initProviders(scope: any, name: string, tfStatePath: string, backend: any, provider: any, deps: any): TerraformProvider;
|
|
11
|
-
protected getRefContextConfigs(entity: any, deps: any): {
|
|
12
|
-
backendConfig: any;
|
|
13
|
-
providerConfig: any;
|
|
14
|
-
};
|
|
15
|
-
protected getRefContextFromCr(cr: any, deps: any): any;
|
|
16
|
-
protected replaceConfigSecrets(config: any, secrets: any): any;
|
|
17
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { BaseStack } from './base';
|
|
2
|
-
import { Construct } from 'constructs';
|
|
3
|
-
export declare class StackNotFoundError extends Error {
|
|
4
|
-
constructor(kind: string);
|
|
5
|
-
}
|
|
6
|
-
export declare function getStackByEntity(entity: any): new (app: Construct, tfStatePath: string) => BaseStack;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { PassThrough } from 'stream';
|
|
3
|
-
export declare function runTerraform(entity: any, command: Array<string>, stream?: PassThrough): Promise<unknown>;
|
|
4
|
-
export declare function terraformInit(entity: any, stream?: PassThrough): Promise<unknown>;
|
|
5
|
-
export declare function terraformPlan(entity: any, stream?: PassThrough): Promise<unknown>;
|
|
6
|
-
export declare function terraformApply(entity: any, isImport?: boolean, skipPlan?: boolean, stream?: PassThrough): Promise<unknown>;
|
|
7
|
-
export declare function terraformDestroy(entity: any, stream?: PassThrough): Promise<unknown>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"language": "typescript",
|
|
3
|
-
"app": "node dist-cdktf/index.js",
|
|
4
|
-
"projectId": "07d6571c-128b-489e-862e-5dcda70c1fb1",
|
|
5
|
-
"terraformProviders": [],
|
|
6
|
-
"terraformModules": [],
|
|
7
|
-
"context": {
|
|
8
|
-
"excludeStackIdFromLogicalIds": "true",
|
|
9
|
-
"allowSepCharsInLogicalIds": "true"
|
|
10
|
-
}
|
|
11
|
-
}
|