@firestartr/cli 1.37.1 → 1.38.0
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/index.js +906 -10
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +293 -0
- package/build/packages/cdk8s_renderer/src/charts/catalog/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/charts/catalog/orgWebhookChart.d.ts +17 -0
- package/build/packages/cdk8s_renderer/src/charts/github/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/charts/github/orgWebhookChart.d.ts +8 -0
- package/build/packages/cdk8s_renderer/src/charts/index.d.ts +4 -2
- package/build/packages/cdk8s_renderer/src/claims/base/index.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/claims/base/orgWebhook.d.ts +7 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +82 -0
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/orgwebhook.schema.d.ts +32 -0
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +52 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgWebhook.d.ts +20 -0
- package/build/packages/cdk8s_renderer/src/claims/github/orgwebhook.schema.d.ts +54 -0
- package/build/packages/provisioner/src/entities/base/Entity.d.ts +4 -0
- package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/FirestartrGithubOrgWebhook.d.ts +8 -0
- package/build/packages/provisioner/src/entities/firestartrgithuborgwebhook/helpers/OrgWebhookHelper.d.ts +4 -0
- package/build/packages/provisioner/src/resources/github_orgWebhook/index.d.ts +5 -0
- package/build/packages/provisioner/src/resources/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -522,6 +522,299 @@ export declare enum FirestartrGithubMembershipSpecContextProviderRefKind {
|
|
|
522
522
|
/** FirestartrProviderConfig */
|
|
523
523
|
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
524
524
|
}
|
|
525
|
+
/**
|
|
526
|
+
* A resource to handle GitHub Organization Webhooks
|
|
527
|
+
*
|
|
528
|
+
* @schema FirestartrGithubOrgWebhook
|
|
529
|
+
*/
|
|
530
|
+
export declare class FirestartrGithubOrgWebhook extends ApiObject {
|
|
531
|
+
/**
|
|
532
|
+
* Returns the apiVersion and kind for "FirestartrGithubOrgWebhook"
|
|
533
|
+
*/
|
|
534
|
+
static readonly GVK: GroupVersionKind;
|
|
535
|
+
/**
|
|
536
|
+
* Renders a Kubernetes manifest for "FirestartrGithubOrgWebhook".
|
|
537
|
+
*
|
|
538
|
+
* This can be used to inline resource manifests inside other objects (e.g. as templates).
|
|
539
|
+
*
|
|
540
|
+
* @param props initialization props
|
|
541
|
+
*/
|
|
542
|
+
static manifest(props?: FirestartrGithubOrgWebhookProps): any;
|
|
543
|
+
/**
|
|
544
|
+
* Defines a "FirestartrGithubOrgWebhook" API object
|
|
545
|
+
* @param scope the scope in which to define this object
|
|
546
|
+
* @param id a scope-local name for the object
|
|
547
|
+
* @param props initialization props
|
|
548
|
+
*/
|
|
549
|
+
constructor(scope: Construct, id: string, props?: FirestartrGithubOrgWebhookProps);
|
|
550
|
+
/**
|
|
551
|
+
* Renders the object to Kubernetes JSON.
|
|
552
|
+
*/
|
|
553
|
+
toJson(): any;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* A resource to handle GitHub Organization Webhooks
|
|
557
|
+
*
|
|
558
|
+
* @schema FirestartrGithubOrgWebhook
|
|
559
|
+
*/
|
|
560
|
+
export interface FirestartrGithubOrgWebhookProps {
|
|
561
|
+
/**
|
|
562
|
+
* @schema FirestartrGithubOrgWebhook#metadata
|
|
563
|
+
*/
|
|
564
|
+
readonly metadata?: ApiObjectMetadata;
|
|
565
|
+
/**
|
|
566
|
+
* @schema FirestartrGithubOrgWebhook#spec
|
|
567
|
+
*/
|
|
568
|
+
readonly spec?: FirestartrGithubOrgWebhookSpec;
|
|
569
|
+
}
|
|
570
|
+
/**
|
|
571
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookProps' to JSON representation.
|
|
572
|
+
*/
|
|
573
|
+
export declare function toJson_FirestartrGithubOrgWebhookProps(obj: FirestartrGithubOrgWebhookProps | undefined): Record<string, any> | undefined;
|
|
574
|
+
/**
|
|
575
|
+
* @schema FirestartrGithubOrgWebhookSpec
|
|
576
|
+
*/
|
|
577
|
+
export interface FirestartrGithubOrgWebhookSpec {
|
|
578
|
+
/**
|
|
579
|
+
* Organization name on GitHub
|
|
580
|
+
*
|
|
581
|
+
* @schema FirestartrGithubOrgWebhookSpec#orgName
|
|
582
|
+
*/
|
|
583
|
+
readonly orgName: string;
|
|
584
|
+
/**
|
|
585
|
+
* @schema FirestartrGithubOrgWebhookSpec#webhook
|
|
586
|
+
*/
|
|
587
|
+
readonly webhook: FirestartrGithubOrgWebhookSpecWebhook;
|
|
588
|
+
/**
|
|
589
|
+
* @schema FirestartrGithubOrgWebhookSpec#context
|
|
590
|
+
*/
|
|
591
|
+
readonly context?: FirestartrGithubOrgWebhookSpecContext;
|
|
592
|
+
/**
|
|
593
|
+
* @schema FirestartrGithubOrgWebhookSpec#firestartr
|
|
594
|
+
*/
|
|
595
|
+
readonly firestartr?: FirestartrGithubOrgWebhookSpecFirestartr;
|
|
596
|
+
/**
|
|
597
|
+
* @schema FirestartrGithubOrgWebhookSpec#writeConnectionSecretToRef
|
|
598
|
+
*/
|
|
599
|
+
readonly writeConnectionSecretToRef: FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef;
|
|
600
|
+
}
|
|
601
|
+
/**
|
|
602
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpec' to JSON representation.
|
|
603
|
+
*/
|
|
604
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpec(obj: FirestartrGithubOrgWebhookSpec | undefined): Record<string, any> | undefined;
|
|
605
|
+
/**
|
|
606
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook
|
|
607
|
+
*/
|
|
608
|
+
export interface FirestartrGithubOrgWebhookSpecWebhook {
|
|
609
|
+
/**
|
|
610
|
+
* Webhook endpoint URL
|
|
611
|
+
*
|
|
612
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#url
|
|
613
|
+
*/
|
|
614
|
+
readonly url: string;
|
|
615
|
+
/**
|
|
616
|
+
* Payload content type (json or form)
|
|
617
|
+
*
|
|
618
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#contentType
|
|
619
|
+
*/
|
|
620
|
+
readonly contentType: FirestartrGithubOrgWebhookSpecWebhookContentType;
|
|
621
|
+
/**
|
|
622
|
+
* Secret ref for signing the payload
|
|
623
|
+
*
|
|
624
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#secretRef
|
|
625
|
+
*/
|
|
626
|
+
readonly secretRef: FirestartrGithubOrgWebhookSpecWebhookSecretRef;
|
|
627
|
+
/**
|
|
628
|
+
* Whether to allow unverified SSL connections (not recommended)
|
|
629
|
+
*
|
|
630
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#insecureSsl
|
|
631
|
+
*/
|
|
632
|
+
readonly insecureSsl?: boolean;
|
|
633
|
+
/**
|
|
634
|
+
* If the webhook is active
|
|
635
|
+
*
|
|
636
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#active
|
|
637
|
+
*/
|
|
638
|
+
readonly active?: boolean;
|
|
639
|
+
/**
|
|
640
|
+
* List of events that trigger the webhook (e.g., push, pull_request, issues)
|
|
641
|
+
*
|
|
642
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhook#events
|
|
643
|
+
*/
|
|
644
|
+
readonly events: string[];
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecWebhook' to JSON representation.
|
|
648
|
+
*/
|
|
649
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecWebhook(obj: FirestartrGithubOrgWebhookSpecWebhook | undefined): Record<string, any> | undefined;
|
|
650
|
+
/**
|
|
651
|
+
* @schema FirestartrGithubOrgWebhookSpecContext
|
|
652
|
+
*/
|
|
653
|
+
export interface FirestartrGithubOrgWebhookSpecContext {
|
|
654
|
+
/**
|
|
655
|
+
* @schema FirestartrGithubOrgWebhookSpecContext#backend
|
|
656
|
+
*/
|
|
657
|
+
readonly backend: FirestartrGithubOrgWebhookSpecContextBackend;
|
|
658
|
+
/**
|
|
659
|
+
* @schema FirestartrGithubOrgWebhookSpecContext#provider
|
|
660
|
+
*/
|
|
661
|
+
readonly provider: FirestartrGithubOrgWebhookSpecContextProvider;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecContext' to JSON representation.
|
|
665
|
+
*/
|
|
666
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecContext(obj: FirestartrGithubOrgWebhookSpecContext | undefined): Record<string, any> | undefined;
|
|
667
|
+
/**
|
|
668
|
+
* @schema FirestartrGithubOrgWebhookSpecFirestartr
|
|
669
|
+
*/
|
|
670
|
+
export interface FirestartrGithubOrgWebhookSpecFirestartr {
|
|
671
|
+
/**
|
|
672
|
+
* @schema FirestartrGithubOrgWebhookSpecFirestartr#tfStateKey
|
|
673
|
+
*/
|
|
674
|
+
readonly tfStateKey?: string;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecFirestartr' to JSON representation.
|
|
678
|
+
*/
|
|
679
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecFirestartr(obj: FirestartrGithubOrgWebhookSpecFirestartr | undefined): Record<string, any> | undefined;
|
|
680
|
+
/**
|
|
681
|
+
* @schema FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef
|
|
682
|
+
*/
|
|
683
|
+
export interface FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef {
|
|
684
|
+
/**
|
|
685
|
+
* @schema FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef#name
|
|
686
|
+
*/
|
|
687
|
+
readonly name?: string;
|
|
688
|
+
/**
|
|
689
|
+
* @schema FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef#outputs
|
|
690
|
+
*/
|
|
691
|
+
readonly outputs?: FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs[];
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef' to JSON representation.
|
|
695
|
+
*/
|
|
696
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef(obj: FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRef | undefined): Record<string, any> | undefined;
|
|
697
|
+
/**
|
|
698
|
+
* Payload content type (json or form)
|
|
699
|
+
*
|
|
700
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhookContentType
|
|
701
|
+
*/
|
|
702
|
+
export declare enum FirestartrGithubOrgWebhookSpecWebhookContentType {
|
|
703
|
+
/** json */
|
|
704
|
+
JSON = "json",
|
|
705
|
+
/** form */
|
|
706
|
+
FORM = "form"
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* Secret ref for signing the payload
|
|
710
|
+
*
|
|
711
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhookSecretRef
|
|
712
|
+
*/
|
|
713
|
+
export interface FirestartrGithubOrgWebhookSpecWebhookSecretRef {
|
|
714
|
+
/**
|
|
715
|
+
* Secret name
|
|
716
|
+
*
|
|
717
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhookSecretRef#name
|
|
718
|
+
*/
|
|
719
|
+
readonly name: string;
|
|
720
|
+
/**
|
|
721
|
+
* Secret key that contains the webhook secret
|
|
722
|
+
*
|
|
723
|
+
* @schema FirestartrGithubOrgWebhookSpecWebhookSecretRef#key
|
|
724
|
+
*/
|
|
725
|
+
readonly key: string;
|
|
726
|
+
}
|
|
727
|
+
/**
|
|
728
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecWebhookSecretRef' to JSON representation.
|
|
729
|
+
*/
|
|
730
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecWebhookSecretRef(obj: FirestartrGithubOrgWebhookSpecWebhookSecretRef | undefined): Record<string, any> | undefined;
|
|
731
|
+
/**
|
|
732
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackend
|
|
733
|
+
*/
|
|
734
|
+
export interface FirestartrGithubOrgWebhookSpecContextBackend {
|
|
735
|
+
/**
|
|
736
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackend#ref
|
|
737
|
+
*/
|
|
738
|
+
readonly ref: FirestartrGithubOrgWebhookSpecContextBackendRef;
|
|
739
|
+
}
|
|
740
|
+
/**
|
|
741
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecContextBackend' to JSON representation.
|
|
742
|
+
*/
|
|
743
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecContextBackend(obj: FirestartrGithubOrgWebhookSpecContextBackend | undefined): Record<string, any> | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProvider
|
|
746
|
+
*/
|
|
747
|
+
export interface FirestartrGithubOrgWebhookSpecContextProvider {
|
|
748
|
+
/**
|
|
749
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProvider#ref
|
|
750
|
+
*/
|
|
751
|
+
readonly ref: FirestartrGithubOrgWebhookSpecContextProviderRef;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecContextProvider' to JSON representation.
|
|
755
|
+
*/
|
|
756
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecContextProvider(obj: FirestartrGithubOrgWebhookSpecContextProvider | undefined): Record<string, any> | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* @schema FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs
|
|
759
|
+
*/
|
|
760
|
+
export interface FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs {
|
|
761
|
+
/**
|
|
762
|
+
* @schema FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs#key
|
|
763
|
+
*/
|
|
764
|
+
readonly key: string;
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs' to JSON representation.
|
|
768
|
+
*/
|
|
769
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs(obj: FirestartrGithubOrgWebhookSpecWriteConnectionSecretToRefOutputs | undefined): Record<string, any> | undefined;
|
|
770
|
+
/**
|
|
771
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackendRef
|
|
772
|
+
*/
|
|
773
|
+
export interface FirestartrGithubOrgWebhookSpecContextBackendRef {
|
|
774
|
+
/**
|
|
775
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackendRef#kind
|
|
776
|
+
*/
|
|
777
|
+
readonly kind: FirestartrGithubOrgWebhookSpecContextBackendRefKind;
|
|
778
|
+
/**
|
|
779
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackendRef#name
|
|
780
|
+
*/
|
|
781
|
+
readonly name: string;
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecContextBackendRef' to JSON representation.
|
|
785
|
+
*/
|
|
786
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecContextBackendRef(obj: FirestartrGithubOrgWebhookSpecContextBackendRef | undefined): Record<string, any> | undefined;
|
|
787
|
+
/**
|
|
788
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProviderRef
|
|
789
|
+
*/
|
|
790
|
+
export interface FirestartrGithubOrgWebhookSpecContextProviderRef {
|
|
791
|
+
/**
|
|
792
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProviderRef#kind
|
|
793
|
+
*/
|
|
794
|
+
readonly kind: FirestartrGithubOrgWebhookSpecContextProviderRefKind;
|
|
795
|
+
/**
|
|
796
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProviderRef#name
|
|
797
|
+
*/
|
|
798
|
+
readonly name: string;
|
|
799
|
+
}
|
|
800
|
+
/**
|
|
801
|
+
* Converts an object of type 'FirestartrGithubOrgWebhookSpecContextProviderRef' to JSON representation.
|
|
802
|
+
*/
|
|
803
|
+
export declare function toJson_FirestartrGithubOrgWebhookSpecContextProviderRef(obj: FirestartrGithubOrgWebhookSpecContextProviderRef | undefined): Record<string, any> | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* @schema FirestartrGithubOrgWebhookSpecContextBackendRefKind
|
|
806
|
+
*/
|
|
807
|
+
export declare enum FirestartrGithubOrgWebhookSpecContextBackendRefKind {
|
|
808
|
+
/** FirestartrProviderConfig */
|
|
809
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
810
|
+
}
|
|
811
|
+
/**
|
|
812
|
+
* @schema FirestartrGithubOrgWebhookSpecContextProviderRefKind
|
|
813
|
+
*/
|
|
814
|
+
export declare enum FirestartrGithubOrgWebhookSpecContextProviderRefKind {
|
|
815
|
+
/** FirestartrProviderConfig */
|
|
816
|
+
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
817
|
+
}
|
|
525
818
|
/**
|
|
526
819
|
* A resource to handle the GitHub repos of an organization.
|
|
527
820
|
*
|
|
@@ -6,3 +6,4 @@ export { CatalogComponentChart } from './componentChart';
|
|
|
6
6
|
export { CatalogTFWorkspaceChart } from './tfWorkspaceChart';
|
|
7
7
|
export { CatalogArgoDeployChart } from './argodeployChart';
|
|
8
8
|
export { CatalogSecretsChart } from './secretsChart';
|
|
9
|
+
export { CatalogOrgWebhookChart } from './orgWebhookChart';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BaseCatalogChart } from './base';
|
|
2
|
+
import { ApiObject, GroupVersionKind } from 'cdk8s';
|
|
3
|
+
export declare class CatalogOrgWebhookChart extends BaseCatalogChart {
|
|
4
|
+
template(): {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
kind: string;
|
|
7
|
+
metadata: {
|
|
8
|
+
name: string;
|
|
9
|
+
annotations: {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
spec: {};
|
|
14
|
+
};
|
|
15
|
+
instanceApiObject(template: any): ApiObject;
|
|
16
|
+
gvk(): GroupVersionKind;
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FirestartrGithubOrgWebhook, FirestartrGithubOrgWebhookProps } from '../../../imports/firestartr.dev';
|
|
2
|
+
import { IUnitializedStateKey } from '../../claims/base';
|
|
3
|
+
import { BaseGithubChart } from './base';
|
|
4
|
+
export declare class GithubOrgWebhookChart extends BaseGithubChart {
|
|
5
|
+
template(): FirestartrGithubOrgWebhookProps | IUnitializedStateKey;
|
|
6
|
+
gvk(): import("cdk8s").GroupVersionKind;
|
|
7
|
+
instanceApiObject(template: any): FirestartrGithubOrgWebhook;
|
|
8
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart } from './github';
|
|
2
|
-
import { CatalogComponentChart, CatalogDomainChart, CatalogGroupChart, CatalogSystemChart, CatalogUserChart, CatalogTFWorkspaceChart, CatalogArgoDeployChart, CatalogSecretsChart } from './catalog';
|
|
1
|
+
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart } from './github';
|
|
2
|
+
import { CatalogComponentChart, CatalogDomainChart, CatalogGroupChart, CatalogSystemChart, CatalogUserChart, CatalogTFWorkspaceChart, CatalogArgoDeployChart, CatalogSecretsChart, CatalogOrgWebhookChart } from './catalog';
|
|
3
3
|
import { TFWorkspaceChart } from './workspaces/tfworkspaceChart';
|
|
4
4
|
import { ArgoDeployChart } from './argocd/argodeployChart';
|
|
5
5
|
import { SecretsChart } from './secrets/secretsChart';
|
|
@@ -12,11 +12,13 @@ declare const _default: {
|
|
|
12
12
|
CatalogTFWorkspaceChart: typeof CatalogTFWorkspaceChart;
|
|
13
13
|
CatalogArgoDeployChart: typeof CatalogArgoDeployChart;
|
|
14
14
|
CatalogSecretsChart: typeof CatalogSecretsChart;
|
|
15
|
+
CatalogOrgWebhookChart: typeof CatalogOrgWebhookChart;
|
|
15
16
|
GithubGroupChart: typeof GithubGroupChart;
|
|
16
17
|
GithubMembershipChart: typeof GithubMembershipChart;
|
|
17
18
|
GithubRepositoryChart: typeof GithubRepositoryChart;
|
|
18
19
|
TFWorkspaceChart: typeof TFWorkspaceChart;
|
|
19
20
|
ArgoDeployChart: typeof ArgoDeployChart;
|
|
20
21
|
SecretsChart: typeof SecretsChart;
|
|
22
|
+
GithubOrgWebhookChart: typeof GithubOrgWebhookChart;
|
|
21
23
|
};
|
|
22
24
|
export default _default;
|
|
@@ -373,6 +373,58 @@ declare const schemas: {
|
|
|
373
373
|
})[];
|
|
374
374
|
};
|
|
375
375
|
};
|
|
376
|
+
} | {
|
|
377
|
+
$schema: string;
|
|
378
|
+
$id: string;
|
|
379
|
+
definitions: {
|
|
380
|
+
GithubOrgWebhookClaim: {
|
|
381
|
+
$id: string;
|
|
382
|
+
type: string;
|
|
383
|
+
description: string;
|
|
384
|
+
allOf: ({
|
|
385
|
+
$ref: string;
|
|
386
|
+
type?: undefined;
|
|
387
|
+
properties?: undefined;
|
|
388
|
+
required?: undefined;
|
|
389
|
+
} | {
|
|
390
|
+
type: string;
|
|
391
|
+
properties: {
|
|
392
|
+
orgName: {
|
|
393
|
+
type: string;
|
|
394
|
+
description: string;
|
|
395
|
+
};
|
|
396
|
+
webhook: {
|
|
397
|
+
type: string;
|
|
398
|
+
properties: {
|
|
399
|
+
url: {
|
|
400
|
+
type: string;
|
|
401
|
+
description: string;
|
|
402
|
+
};
|
|
403
|
+
contentType: {
|
|
404
|
+
type: string;
|
|
405
|
+
description: string;
|
|
406
|
+
enum: string[];
|
|
407
|
+
};
|
|
408
|
+
active: {
|
|
409
|
+
type: string;
|
|
410
|
+
description: string;
|
|
411
|
+
};
|
|
412
|
+
events: {
|
|
413
|
+
type: string;
|
|
414
|
+
description: string;
|
|
415
|
+
items: {
|
|
416
|
+
type: string;
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
};
|
|
420
|
+
required: string[];
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
required: string[];
|
|
424
|
+
$ref?: undefined;
|
|
425
|
+
})[];
|
|
426
|
+
};
|
|
427
|
+
};
|
|
376
428
|
})[] | {
|
|
377
429
|
$schema: string;
|
|
378
430
|
$id: string;
|
|
@@ -694,6 +746,36 @@ declare const schemas: {
|
|
|
694
746
|
})[];
|
|
695
747
|
};
|
|
696
748
|
};
|
|
749
|
+
} | {
|
|
750
|
+
$schema: string;
|
|
751
|
+
$id: string;
|
|
752
|
+
definitions: {
|
|
753
|
+
OrgWebhookClaim: {
|
|
754
|
+
$id: string;
|
|
755
|
+
type: string;
|
|
756
|
+
description: string;
|
|
757
|
+
allOf: ({
|
|
758
|
+
$ref: string;
|
|
759
|
+
type?: undefined;
|
|
760
|
+
properties?: undefined;
|
|
761
|
+
additionalProperties?: undefined;
|
|
762
|
+
} | {
|
|
763
|
+
type: string;
|
|
764
|
+
properties: {
|
|
765
|
+
providers: {
|
|
766
|
+
type: string;
|
|
767
|
+
properties: {
|
|
768
|
+
github: {
|
|
769
|
+
$ref: string;
|
|
770
|
+
};
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
};
|
|
774
|
+
additionalProperties: boolean;
|
|
775
|
+
$ref?: undefined;
|
|
776
|
+
})[];
|
|
777
|
+
};
|
|
778
|
+
};
|
|
697
779
|
})[];
|
|
698
780
|
};
|
|
699
781
|
export default schemas;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
$id: string;
|
|
4
|
+
definitions: {
|
|
5
|
+
OrgWebhookClaim: {
|
|
6
|
+
$id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
description: string;
|
|
9
|
+
allOf: ({
|
|
10
|
+
$ref: string;
|
|
11
|
+
type?: undefined;
|
|
12
|
+
properties?: undefined;
|
|
13
|
+
additionalProperties?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
type: string;
|
|
16
|
+
properties: {
|
|
17
|
+
providers: {
|
|
18
|
+
type: string;
|
|
19
|
+
properties: {
|
|
20
|
+
github: {
|
|
21
|
+
$ref: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
additionalProperties: boolean;
|
|
27
|
+
$ref?: undefined;
|
|
28
|
+
})[];
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default _default;
|
|
@@ -89,4 +89,56 @@ export declare const GithubSchemas: ({
|
|
|
89
89
|
})[];
|
|
90
90
|
};
|
|
91
91
|
};
|
|
92
|
+
} | {
|
|
93
|
+
$schema: string;
|
|
94
|
+
$id: string;
|
|
95
|
+
definitions: {
|
|
96
|
+
GithubOrgWebhookClaim: {
|
|
97
|
+
$id: string;
|
|
98
|
+
type: string;
|
|
99
|
+
description: string;
|
|
100
|
+
allOf: ({
|
|
101
|
+
$ref: string;
|
|
102
|
+
type?: undefined;
|
|
103
|
+
properties?: undefined;
|
|
104
|
+
required?: undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: string;
|
|
107
|
+
properties: {
|
|
108
|
+
orgName: {
|
|
109
|
+
type: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
webhook: {
|
|
113
|
+
type: string;
|
|
114
|
+
properties: {
|
|
115
|
+
url: {
|
|
116
|
+
type: string;
|
|
117
|
+
description: string;
|
|
118
|
+
};
|
|
119
|
+
contentType: {
|
|
120
|
+
type: string;
|
|
121
|
+
description: string;
|
|
122
|
+
enum: string[];
|
|
123
|
+
};
|
|
124
|
+
active: {
|
|
125
|
+
type: string;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
events: {
|
|
129
|
+
type: string;
|
|
130
|
+
description: string;
|
|
131
|
+
items: {
|
|
132
|
+
type: string;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
};
|
|
136
|
+
required: string[];
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
required: string[];
|
|
140
|
+
$ref?: undefined;
|
|
141
|
+
})[];
|
|
142
|
+
};
|
|
143
|
+
};
|
|
92
144
|
})[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FirestartrGithubOrgWebhookSpecWebhookContentType } from '../../../imports/firestartr.dev';
|
|
2
|
+
import { IOrgWebhookClaim } from '../base/orgWebhook';
|
|
3
|
+
export interface IGithubOrgWebhookClaim extends IOrgWebhookClaim {
|
|
4
|
+
providers: {
|
|
5
|
+
github: {
|
|
6
|
+
name: string;
|
|
7
|
+
orgName: string;
|
|
8
|
+
webhook: {
|
|
9
|
+
url: string;
|
|
10
|
+
contentType: FirestartrGithubOrgWebhookSpecWebhookContentType;
|
|
11
|
+
secretRef: {
|
|
12
|
+
name: string;
|
|
13
|
+
key: string;
|
|
14
|
+
};
|
|
15
|
+
active?: boolean;
|
|
16
|
+
events: string[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
$schema: string;
|
|
3
|
+
$id: string;
|
|
4
|
+
definitions: {
|
|
5
|
+
GithubOrgWebhookClaim: {
|
|
6
|
+
$id: string;
|
|
7
|
+
type: string;
|
|
8
|
+
description: string;
|
|
9
|
+
allOf: ({
|
|
10
|
+
$ref: string;
|
|
11
|
+
type?: undefined;
|
|
12
|
+
properties?: undefined;
|
|
13
|
+
required?: undefined;
|
|
14
|
+
} | {
|
|
15
|
+
type: string;
|
|
16
|
+
properties: {
|
|
17
|
+
orgName: {
|
|
18
|
+
type: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
webhook: {
|
|
22
|
+
type: string;
|
|
23
|
+
properties: {
|
|
24
|
+
url: {
|
|
25
|
+
type: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
contentType: {
|
|
29
|
+
type: string;
|
|
30
|
+
description: string;
|
|
31
|
+
enum: string[];
|
|
32
|
+
};
|
|
33
|
+
active: {
|
|
34
|
+
type: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
events: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
items: {
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
required: string[];
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
required: string[];
|
|
49
|
+
$ref?: undefined;
|
|
50
|
+
})[];
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
export default _default;
|
|
@@ -26,6 +26,10 @@ export declare abstract class Entity {
|
|
|
26
26
|
name: string;
|
|
27
27
|
needsSecret: boolean;
|
|
28
28
|
}, propertyRef?: string): any;
|
|
29
|
+
resolveSecretRef(ref: {
|
|
30
|
+
name: string;
|
|
31
|
+
key: string;
|
|
32
|
+
}): any;
|
|
29
33
|
resolveOutputs(scope: Construct): void;
|
|
30
34
|
getKeysFrom(resource: TerraformResource): string[];
|
|
31
35
|
abstract loadResources({ scope }: {
|
|
@@ -0,0 +1,4 @@
|
|
|
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;
|