@firestartr/cli 2.11.0-snapshot-org-secrets-01 → 2.11.0-snapshot-patch-claims-5
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 +2 -2
- package/build/packages/cdk8s_renderer/imports/firestartr.dev.d.ts +0 -491
- package/build/packages/cdk8s_renderer/src/charts/github/index.d.ts +0 -1
- package/build/packages/cdk8s_renderer/src/charts/index.d.ts +1 -2
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +0 -89
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +0 -89
- package/build/packages/cdk8s_renderer/src/claims/github/orgSettings.d.ts +0 -20
- package/build/packages/cdk8s_renderer/src/claims/github/orgsettings.schema.d.ts +0 -24
- package/build/packages/cdk8s_renderer/src/claims/stitching/errors.d.ts +14 -0
- package/build/packages/cdk8s_renderer/src/claims/stitching/protectedPaths.d.ts +3 -0
- package/build/packages/cdk8s_renderer/src/claims/stitching/stitching.d.ts +20 -0
- package/build/packages/cdk8s_renderer/src/claims/stitching/validateFeatureDescriptors.d.ts +1 -0
- package/build/packages/cdk8s_renderer/src/overriders/featureOverride.d.ts +2 -11
- package/build/packages/cdk8s_renderer/src/renderer/claims-render.d.ts +1 -1
- package/build/packages/features_preparer/index.d.ts +3 -0
- package/build/packages/features_preparer/src/index.d.ts +5 -2
- package/build/packages/features_preparer/src/installer.d.ts +2 -0
- package/build/packages/features_preparer/src/renderer.d.ts +2 -0
- package/build/packages/features_renderer/index.d.ts +4 -1
- package/build/packages/features_renderer/src/auxiliar.d.ts +6 -3
- package/build/packages/features_renderer/src/render.d.ts +2 -1
- package/build/packages/features_renderer/src/schema.d.ts +7 -1
- package/build/packages/github/index.d.ts +3 -9
- package/build/packages/github/src/with_profile.d.ts +1 -1
- package/package.json +1 -1
- package/build/packages/cdk8s_renderer/src/charts/github/orgSecretSectionChart.d.ts +0 -8
- package/build/packages/cdk8s_renderer/src/claims/github/orgSecrets.schema.d.ts +0 -67
- package/build/packages/cdk8s_renderer/src/validations/githubOrgSecretSection.d.ts +0 -4
- package/build/packages/gh_provisioner/src/entities/ghorgsecretsection/index.d.ts +0 -7
- package/build/packages/gh_provisioner/src/entities/ghorgsecretsection/secrets.d.ts +0 -16
- package/build/packages/github/src/orgSecrets.d.ts +0 -10
package/build/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/build/index.js
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 52664222 bytes
|
|
4
|
+
sha256: 104451a4708f9b6e6b6555bf7271974a155e779cb14d40f376bf4e851cfd3a24
|
|
@@ -522,497 +522,6 @@ export declare enum FirestartrGithubMembershipSpecContextProviderRefKind {
|
|
|
522
522
|
/** FirestartrProviderConfig */
|
|
523
523
|
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
524
524
|
}
|
|
525
|
-
/**
|
|
526
|
-
* A resource to handle GitHub Organization Actions Secrets.
|
|
527
|
-
*
|
|
528
|
-
* @schema FirestartrGithubOrganizationSecretSection
|
|
529
|
-
*/
|
|
530
|
-
export declare class FirestartrGithubOrganizationSecretSection extends ApiObject {
|
|
531
|
-
/**
|
|
532
|
-
* Returns the apiVersion and kind for "FirestartrGithubOrganizationSecretSection"
|
|
533
|
-
*/
|
|
534
|
-
static readonly GVK: GroupVersionKind;
|
|
535
|
-
/**
|
|
536
|
-
* Renders a Kubernetes manifest for "FirestartrGithubOrganizationSecretSection".
|
|
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: FirestartrGithubOrganizationSecretSectionProps): any;
|
|
543
|
-
/**
|
|
544
|
-
* Defines a "FirestartrGithubOrganizationSecretSection" 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: FirestartrGithubOrganizationSecretSectionProps);
|
|
550
|
-
/**
|
|
551
|
-
* Renders the object to Kubernetes JSON.
|
|
552
|
-
*/
|
|
553
|
-
toJson(): any;
|
|
554
|
-
}
|
|
555
|
-
/**
|
|
556
|
-
* A resource to handle GitHub Organization Actions Secrets.
|
|
557
|
-
*
|
|
558
|
-
* @schema FirestartrGithubOrganizationSecretSection
|
|
559
|
-
*/
|
|
560
|
-
export interface FirestartrGithubOrganizationSecretSectionProps {
|
|
561
|
-
/**
|
|
562
|
-
* @schema FirestartrGithubOrganizationSecretSection#metadata
|
|
563
|
-
*/
|
|
564
|
-
readonly metadata: ApiObjectMetadata;
|
|
565
|
-
/**
|
|
566
|
-
* @schema FirestartrGithubOrganizationSecretSection#spec
|
|
567
|
-
*/
|
|
568
|
-
readonly spec: FirestartrGithubOrganizationSecretSectionSpec;
|
|
569
|
-
}
|
|
570
|
-
/**
|
|
571
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionProps' to JSON representation.
|
|
572
|
-
*/
|
|
573
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionProps(obj: FirestartrGithubOrganizationSecretSectionProps | undefined): Record<string, any> | undefined;
|
|
574
|
-
/**
|
|
575
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec
|
|
576
|
-
*/
|
|
577
|
-
export interface FirestartrGithubOrganizationSecretSectionSpec {
|
|
578
|
-
/**
|
|
579
|
-
* GitHub organization targeted by this resource
|
|
580
|
-
*
|
|
581
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec#org
|
|
582
|
-
*/
|
|
583
|
-
readonly org: string;
|
|
584
|
-
/**
|
|
585
|
-
* A map of secret types, each containing a list of secrets.
|
|
586
|
-
*
|
|
587
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec#secrets
|
|
588
|
-
*/
|
|
589
|
-
readonly secrets: FirestartrGithubOrganizationSecretSectionSpecSecrets;
|
|
590
|
-
/**
|
|
591
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec#context
|
|
592
|
-
*/
|
|
593
|
-
readonly context: FirestartrGithubOrganizationSecretSectionSpecContext;
|
|
594
|
-
/**
|
|
595
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec#firestartr
|
|
596
|
-
*/
|
|
597
|
-
readonly firestartr: FirestartrGithubOrganizationSecretSectionSpecFirestartr;
|
|
598
|
-
/**
|
|
599
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpec#writeConnectionSecretToRef
|
|
600
|
-
*/
|
|
601
|
-
readonly writeConnectionSecretToRef: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef;
|
|
602
|
-
}
|
|
603
|
-
/**
|
|
604
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpec' to JSON representation.
|
|
605
|
-
*/
|
|
606
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpec(obj: FirestartrGithubOrganizationSecretSectionSpec | undefined): Record<string, any> | undefined;
|
|
607
|
-
/**
|
|
608
|
-
* A map of secret types, each containing a list of secrets.
|
|
609
|
-
*
|
|
610
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets
|
|
611
|
-
*/
|
|
612
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecrets {
|
|
613
|
-
/**
|
|
614
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#actions
|
|
615
|
-
*/
|
|
616
|
-
readonly actions?: FirestartrGithubOrganizationSecretSectionSpecSecretsActions[];
|
|
617
|
-
/**
|
|
618
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#codespaces
|
|
619
|
-
*/
|
|
620
|
-
readonly codespaces?: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces[];
|
|
621
|
-
/**
|
|
622
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecrets#dependabot
|
|
623
|
-
*/
|
|
624
|
-
readonly dependabot?: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot[];
|
|
625
|
-
}
|
|
626
|
-
/**
|
|
627
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecrets' to JSON representation.
|
|
628
|
-
*/
|
|
629
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecrets(obj: FirestartrGithubOrganizationSecretSectionSpecSecrets | undefined): Record<string, any> | undefined;
|
|
630
|
-
/**
|
|
631
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContext
|
|
632
|
-
*/
|
|
633
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecContext {
|
|
634
|
-
/**
|
|
635
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContext#backend
|
|
636
|
-
*/
|
|
637
|
-
readonly backend: FirestartrGithubOrganizationSecretSectionSpecContextBackend;
|
|
638
|
-
/**
|
|
639
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContext#provider
|
|
640
|
-
*/
|
|
641
|
-
readonly provider: FirestartrGithubOrganizationSecretSectionSpecContextProvider;
|
|
642
|
-
}
|
|
643
|
-
/**
|
|
644
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContext' to JSON representation.
|
|
645
|
-
*/
|
|
646
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContext(obj: FirestartrGithubOrganizationSecretSectionSpecContext | undefined): Record<string, any> | undefined;
|
|
647
|
-
/**
|
|
648
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecFirestartr
|
|
649
|
-
*/
|
|
650
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecFirestartr {
|
|
651
|
-
/**
|
|
652
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecFirestartr#tfStateKey
|
|
653
|
-
*/
|
|
654
|
-
readonly tfStateKey: string;
|
|
655
|
-
}
|
|
656
|
-
/**
|
|
657
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecFirestartr' to JSON representation.
|
|
658
|
-
*/
|
|
659
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecFirestartr(obj: FirestartrGithubOrganizationSecretSectionSpecFirestartr | undefined): Record<string, any> | undefined;
|
|
660
|
-
/**
|
|
661
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef
|
|
662
|
-
*/
|
|
663
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef {
|
|
664
|
-
/**
|
|
665
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef#name
|
|
666
|
-
*/
|
|
667
|
-
readonly name: string;
|
|
668
|
-
/**
|
|
669
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef#outputs
|
|
670
|
-
*/
|
|
671
|
-
readonly outputs: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs[];
|
|
672
|
-
}
|
|
673
|
-
/**
|
|
674
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef' to JSON representation.
|
|
675
|
-
*/
|
|
676
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef(obj: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRef | undefined): Record<string, any> | undefined;
|
|
677
|
-
/**
|
|
678
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions
|
|
679
|
-
*/
|
|
680
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActions {
|
|
681
|
-
/**
|
|
682
|
-
* The name of the secret.
|
|
683
|
-
*
|
|
684
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#name
|
|
685
|
-
*/
|
|
686
|
-
readonly name: string;
|
|
687
|
-
/**
|
|
688
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
689
|
-
*
|
|
690
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#ref
|
|
691
|
-
*/
|
|
692
|
-
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef;
|
|
693
|
-
/**
|
|
694
|
-
* Which repositories can access the secret.
|
|
695
|
-
*
|
|
696
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#visibility
|
|
697
|
-
*/
|
|
698
|
-
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility;
|
|
699
|
-
/**
|
|
700
|
-
* List of repository names when visibility is selected.
|
|
701
|
-
*
|
|
702
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActions#selectedRepositories
|
|
703
|
-
*/
|
|
704
|
-
readonly selectedRepositories?: string[];
|
|
705
|
-
}
|
|
706
|
-
/**
|
|
707
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActions' to JSON representation.
|
|
708
|
-
*/
|
|
709
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActions(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsActions | undefined): Record<string, any> | undefined;
|
|
710
|
-
/**
|
|
711
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces
|
|
712
|
-
*/
|
|
713
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces {
|
|
714
|
-
/**
|
|
715
|
-
* The name of the secret.
|
|
716
|
-
*
|
|
717
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#name
|
|
718
|
-
*/
|
|
719
|
-
readonly name: string;
|
|
720
|
-
/**
|
|
721
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
722
|
-
*
|
|
723
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#ref
|
|
724
|
-
*/
|
|
725
|
-
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef;
|
|
726
|
-
/**
|
|
727
|
-
* Which repositories can access the secret.
|
|
728
|
-
*
|
|
729
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#visibility
|
|
730
|
-
*/
|
|
731
|
-
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility;
|
|
732
|
-
/**
|
|
733
|
-
* List of repository names when visibility is selected.
|
|
734
|
-
*
|
|
735
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces#selectedRepositories
|
|
736
|
-
*/
|
|
737
|
-
readonly selectedRepositories?: string[];
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces' to JSON representation.
|
|
741
|
-
*/
|
|
742
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespaces | undefined): Record<string, any> | undefined;
|
|
743
|
-
/**
|
|
744
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot
|
|
745
|
-
*/
|
|
746
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot {
|
|
747
|
-
/**
|
|
748
|
-
* The name of the secret.
|
|
749
|
-
*
|
|
750
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#name
|
|
751
|
-
*/
|
|
752
|
-
readonly name: string;
|
|
753
|
-
/**
|
|
754
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
755
|
-
*
|
|
756
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#ref
|
|
757
|
-
*/
|
|
758
|
-
readonly ref: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef;
|
|
759
|
-
/**
|
|
760
|
-
* Which repositories can access the secret.
|
|
761
|
-
*
|
|
762
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#visibility
|
|
763
|
-
*/
|
|
764
|
-
readonly visibility?: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility;
|
|
765
|
-
/**
|
|
766
|
-
* List of repository names when visibility is selected.
|
|
767
|
-
*
|
|
768
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot#selectedRepositories
|
|
769
|
-
*/
|
|
770
|
-
readonly selectedRepositories?: string[];
|
|
771
|
-
}
|
|
772
|
-
/**
|
|
773
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot' to JSON representation.
|
|
774
|
-
*/
|
|
775
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabot | undefined): Record<string, any> | undefined;
|
|
776
|
-
/**
|
|
777
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackend
|
|
778
|
-
*/
|
|
779
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecContextBackend {
|
|
780
|
-
/**
|
|
781
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackend#ref
|
|
782
|
-
*/
|
|
783
|
-
readonly ref: FirestartrGithubOrganizationSecretSectionSpecContextBackendRef;
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextBackend' to JSON representation.
|
|
787
|
-
*/
|
|
788
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextBackend(obj: FirestartrGithubOrganizationSecretSectionSpecContextBackend | undefined): Record<string, any> | undefined;
|
|
789
|
-
/**
|
|
790
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProvider
|
|
791
|
-
*/
|
|
792
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecContextProvider {
|
|
793
|
-
/**
|
|
794
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProvider#ref
|
|
795
|
-
*/
|
|
796
|
-
readonly ref: FirestartrGithubOrganizationSecretSectionSpecContextProviderRef;
|
|
797
|
-
}
|
|
798
|
-
/**
|
|
799
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextProvider' to JSON representation.
|
|
800
|
-
*/
|
|
801
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextProvider(obj: FirestartrGithubOrganizationSecretSectionSpecContextProvider | undefined): Record<string, any> | undefined;
|
|
802
|
-
/**
|
|
803
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs
|
|
804
|
-
*/
|
|
805
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs {
|
|
806
|
-
/**
|
|
807
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs#key
|
|
808
|
-
*/
|
|
809
|
-
readonly key: string;
|
|
810
|
-
}
|
|
811
|
-
/**
|
|
812
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs' to JSON representation.
|
|
813
|
-
*/
|
|
814
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs(obj: FirestartrGithubOrganizationSecretSectionSpecWriteConnectionSecretToRefOutputs | undefined): Record<string, any> | undefined;
|
|
815
|
-
/**
|
|
816
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
817
|
-
*
|
|
818
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef
|
|
819
|
-
*/
|
|
820
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef {
|
|
821
|
-
/**
|
|
822
|
-
* The type of Kubernetes resource to reference.
|
|
823
|
-
*
|
|
824
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#kind
|
|
825
|
-
*/
|
|
826
|
-
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind;
|
|
827
|
-
/**
|
|
828
|
-
* The name of the Kubernetes Secret resource.
|
|
829
|
-
*
|
|
830
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#name
|
|
831
|
-
*/
|
|
832
|
-
readonly name: string;
|
|
833
|
-
/**
|
|
834
|
-
* The key within the Kubernetes Secret data.
|
|
835
|
-
*
|
|
836
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef#key
|
|
837
|
-
*/
|
|
838
|
-
readonly key: string;
|
|
839
|
-
}
|
|
840
|
-
/**
|
|
841
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef' to JSON representation.
|
|
842
|
-
*/
|
|
843
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRef | undefined): Record<string, any> | undefined;
|
|
844
|
-
/**
|
|
845
|
-
* Which repositories can access the secret.
|
|
846
|
-
*
|
|
847
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility
|
|
848
|
-
*/
|
|
849
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsActionsVisibility {
|
|
850
|
-
/** all */
|
|
851
|
-
ALL = "all",
|
|
852
|
-
/** selected */
|
|
853
|
-
SELECTED = "selected",
|
|
854
|
-
/** private */
|
|
855
|
-
PRIVATE = "private"
|
|
856
|
-
}
|
|
857
|
-
/**
|
|
858
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
859
|
-
*
|
|
860
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef
|
|
861
|
-
*/
|
|
862
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef {
|
|
863
|
-
/**
|
|
864
|
-
* The type of Kubernetes resource to reference.
|
|
865
|
-
*
|
|
866
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#kind
|
|
867
|
-
*/
|
|
868
|
-
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind;
|
|
869
|
-
/**
|
|
870
|
-
* The name of the Kubernetes Secret resource.
|
|
871
|
-
*
|
|
872
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#name
|
|
873
|
-
*/
|
|
874
|
-
readonly name: string;
|
|
875
|
-
/**
|
|
876
|
-
* The key within the Kubernetes Secret data.
|
|
877
|
-
*
|
|
878
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef#key
|
|
879
|
-
*/
|
|
880
|
-
readonly key: string;
|
|
881
|
-
}
|
|
882
|
-
/**
|
|
883
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef' to JSON representation.
|
|
884
|
-
*/
|
|
885
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRef | undefined): Record<string, any> | undefined;
|
|
886
|
-
/**
|
|
887
|
-
* Which repositories can access the secret.
|
|
888
|
-
*
|
|
889
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility
|
|
890
|
-
*/
|
|
891
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesVisibility {
|
|
892
|
-
/** all */
|
|
893
|
-
ALL = "all",
|
|
894
|
-
/** selected */
|
|
895
|
-
SELECTED = "selected",
|
|
896
|
-
/** private */
|
|
897
|
-
PRIVATE = "private"
|
|
898
|
-
}
|
|
899
|
-
/**
|
|
900
|
-
* A reference to the Kubernetes Secret resource that contains the value.
|
|
901
|
-
*
|
|
902
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef
|
|
903
|
-
*/
|
|
904
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef {
|
|
905
|
-
/**
|
|
906
|
-
* The type of Kubernetes resource to reference.
|
|
907
|
-
*
|
|
908
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#kind
|
|
909
|
-
*/
|
|
910
|
-
readonly kind: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind;
|
|
911
|
-
/**
|
|
912
|
-
* The name of the Kubernetes Secret resource.
|
|
913
|
-
*
|
|
914
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#name
|
|
915
|
-
*/
|
|
916
|
-
readonly name: string;
|
|
917
|
-
/**
|
|
918
|
-
* The key within the Kubernetes Secret data.
|
|
919
|
-
*
|
|
920
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef#key
|
|
921
|
-
*/
|
|
922
|
-
readonly key: string;
|
|
923
|
-
}
|
|
924
|
-
/**
|
|
925
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef' to JSON representation.
|
|
926
|
-
*/
|
|
927
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef(obj: FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRef | undefined): Record<string, any> | undefined;
|
|
928
|
-
/**
|
|
929
|
-
* Which repositories can access the secret.
|
|
930
|
-
*
|
|
931
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility
|
|
932
|
-
*/
|
|
933
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotVisibility {
|
|
934
|
-
/** all */
|
|
935
|
-
ALL = "all",
|
|
936
|
-
/** selected */
|
|
937
|
-
SELECTED = "selected",
|
|
938
|
-
/** private */
|
|
939
|
-
PRIVATE = "private"
|
|
940
|
-
}
|
|
941
|
-
/**
|
|
942
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef
|
|
943
|
-
*/
|
|
944
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecContextBackendRef {
|
|
945
|
-
/**
|
|
946
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef#kind
|
|
947
|
-
*/
|
|
948
|
-
readonly kind: FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind;
|
|
949
|
-
/**
|
|
950
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRef#name
|
|
951
|
-
*/
|
|
952
|
-
readonly name: string;
|
|
953
|
-
}
|
|
954
|
-
/**
|
|
955
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextBackendRef' to JSON representation.
|
|
956
|
-
*/
|
|
957
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextBackendRef(obj: FirestartrGithubOrganizationSecretSectionSpecContextBackendRef | undefined): Record<string, any> | undefined;
|
|
958
|
-
/**
|
|
959
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef
|
|
960
|
-
*/
|
|
961
|
-
export interface FirestartrGithubOrganizationSecretSectionSpecContextProviderRef {
|
|
962
|
-
/**
|
|
963
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef#kind
|
|
964
|
-
*/
|
|
965
|
-
readonly kind: FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind;
|
|
966
|
-
/**
|
|
967
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRef#name
|
|
968
|
-
*/
|
|
969
|
-
readonly name: string;
|
|
970
|
-
}
|
|
971
|
-
/**
|
|
972
|
-
* Converts an object of type 'FirestartrGithubOrganizationSecretSectionSpecContextProviderRef' to JSON representation.
|
|
973
|
-
*/
|
|
974
|
-
export declare function toJson_FirestartrGithubOrganizationSecretSectionSpecContextProviderRef(obj: FirestartrGithubOrganizationSecretSectionSpecContextProviderRef | undefined): Record<string, any> | undefined;
|
|
975
|
-
/**
|
|
976
|
-
* The type of Kubernetes resource to reference.
|
|
977
|
-
*
|
|
978
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind
|
|
979
|
-
*/
|
|
980
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsActionsRefKind {
|
|
981
|
-
/** Secret */
|
|
982
|
-
SECRET = "Secret"
|
|
983
|
-
}
|
|
984
|
-
/**
|
|
985
|
-
* The type of Kubernetes resource to reference.
|
|
986
|
-
*
|
|
987
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind
|
|
988
|
-
*/
|
|
989
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsCodespacesRefKind {
|
|
990
|
-
/** Secret */
|
|
991
|
-
SECRET = "Secret"
|
|
992
|
-
}
|
|
993
|
-
/**
|
|
994
|
-
* The type of Kubernetes resource to reference.
|
|
995
|
-
*
|
|
996
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind
|
|
997
|
-
*/
|
|
998
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecSecretsDependabotRefKind {
|
|
999
|
-
/** Secret */
|
|
1000
|
-
SECRET = "Secret"
|
|
1001
|
-
}
|
|
1002
|
-
/**
|
|
1003
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind
|
|
1004
|
-
*/
|
|
1005
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecContextBackendRefKind {
|
|
1006
|
-
/** FirestartrProviderConfig */
|
|
1007
|
-
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1008
|
-
}
|
|
1009
|
-
/**
|
|
1010
|
-
* @schema FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind
|
|
1011
|
-
*/
|
|
1012
|
-
export declare enum FirestartrGithubOrganizationSecretSectionSpecContextProviderRefKind {
|
|
1013
|
-
/** FirestartrProviderConfig */
|
|
1014
|
-
FIRESTARTR_PROVIDER_CONFIG = "FirestartrProviderConfig"
|
|
1015
|
-
}
|
|
1016
525
|
/**
|
|
1017
526
|
* A resource to handle GitHub Organization Settings.
|
|
1018
527
|
*
|
|
@@ -4,4 +4,3 @@ export { GithubRepositoryChart } from './repositoryChart';
|
|
|
4
4
|
export { GithubOrgWebhookChart } from './orgWebhookChart';
|
|
5
5
|
export { GithubOrgSettingsChart } from './orgSettingsChart';
|
|
6
6
|
export { GithubOrgVariableSectionChart } from './orgVariableSectionChart';
|
|
7
|
-
export { GithubOrgSecretSectionChart } from './orgSecretSectionChart';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart, GithubOrgVariableSectionChart
|
|
1
|
+
import { GithubGroupChart, GithubMembershipChart, GithubRepositoryChart, GithubOrgWebhookChart, GithubOrgSettingsChart, GithubOrgVariableSectionChart } from './github';
|
|
2
2
|
import { CatalogComponentChart, CatalogDomainChart, CatalogGroupChart, CatalogSystemChart, CatalogUserChart, CatalogTFWorkspaceChart, CatalogArgoDeployChart, CatalogSecretsChart, CatalogOrgWebhookChart, CatalogApiChart } from './catalog';
|
|
3
3
|
import { TFWorkspaceChart } from './workspaces/tfworkspaceChart';
|
|
4
4
|
import { ArgoDeployChart } from './argocd/argodeployChart';
|
|
@@ -23,6 +23,5 @@ declare const _default: {
|
|
|
23
23
|
GithubOrgWebhookChart: typeof GithubOrgWebhookChart;
|
|
24
24
|
GithubOrgSettingsChart: typeof GithubOrgSettingsChart;
|
|
25
25
|
GithubOrgVariableSectionChart: typeof GithubOrgVariableSectionChart;
|
|
26
|
-
GithubOrgSecretSectionChart: typeof GithubOrgSecretSectionChart;
|
|
27
26
|
};
|
|
28
27
|
export default _default;
|
|
@@ -998,30 +998,6 @@ declare const schemas: {
|
|
|
998
998
|
}[];
|
|
999
999
|
};
|
|
1000
1000
|
};
|
|
1001
|
-
org_secrets: {
|
|
1002
|
-
type: string;
|
|
1003
|
-
properties: {
|
|
1004
|
-
actions: {
|
|
1005
|
-
type: string;
|
|
1006
|
-
items: {
|
|
1007
|
-
$ref: string;
|
|
1008
|
-
};
|
|
1009
|
-
};
|
|
1010
|
-
codespaces: {
|
|
1011
|
-
type: string;
|
|
1012
|
-
items: {
|
|
1013
|
-
$ref: string;
|
|
1014
|
-
};
|
|
1015
|
-
};
|
|
1016
|
-
dependabot: {
|
|
1017
|
-
type: string;
|
|
1018
|
-
items: {
|
|
1019
|
-
$ref: string;
|
|
1020
|
-
};
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
additionalProperties: boolean;
|
|
1024
|
-
};
|
|
1025
1001
|
};
|
|
1026
1002
|
additionalProperties: boolean;
|
|
1027
1003
|
required: string[];
|
|
@@ -1192,71 +1168,6 @@ declare const schemas: {
|
|
|
1192
1168
|
};
|
|
1193
1169
|
};
|
|
1194
1170
|
};
|
|
1195
|
-
} | {
|
|
1196
|
-
$schema: string;
|
|
1197
|
-
$id: string;
|
|
1198
|
-
definitions: {
|
|
1199
|
-
GithubOrgClaimSecrets: {
|
|
1200
|
-
$id: string;
|
|
1201
|
-
type: string;
|
|
1202
|
-
description: string;
|
|
1203
|
-
properties: {
|
|
1204
|
-
actions: {
|
|
1205
|
-
type: string;
|
|
1206
|
-
items: {
|
|
1207
|
-
$ref: string;
|
|
1208
|
-
};
|
|
1209
|
-
};
|
|
1210
|
-
codespaces: {
|
|
1211
|
-
type: string;
|
|
1212
|
-
items: {
|
|
1213
|
-
$ref: string;
|
|
1214
|
-
};
|
|
1215
|
-
};
|
|
1216
|
-
dependabot: {
|
|
1217
|
-
type: string;
|
|
1218
|
-
items: {
|
|
1219
|
-
$ref: string;
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
};
|
|
1223
|
-
additionalProperties: boolean;
|
|
1224
|
-
};
|
|
1225
|
-
GithubOrgClaimSecretRef: {
|
|
1226
|
-
$id: string;
|
|
1227
|
-
type: string;
|
|
1228
|
-
description: string;
|
|
1229
|
-
pattern: string;
|
|
1230
|
-
};
|
|
1231
|
-
GithubOrgClaimSecret: {
|
|
1232
|
-
$id: string;
|
|
1233
|
-
type: string;
|
|
1234
|
-
description: string;
|
|
1235
|
-
properties: {
|
|
1236
|
-
name: {
|
|
1237
|
-
type: string;
|
|
1238
|
-
description: string;
|
|
1239
|
-
};
|
|
1240
|
-
value: {
|
|
1241
|
-
$ref: string;
|
|
1242
|
-
};
|
|
1243
|
-
visibility: {
|
|
1244
|
-
type: string;
|
|
1245
|
-
enum: string[];
|
|
1246
|
-
description: string;
|
|
1247
|
-
};
|
|
1248
|
-
selected_repositories: {
|
|
1249
|
-
type: string;
|
|
1250
|
-
items: {
|
|
1251
|
-
type: string;
|
|
1252
|
-
};
|
|
1253
|
-
description: string;
|
|
1254
|
-
};
|
|
1255
|
-
};
|
|
1256
|
-
required: string[];
|
|
1257
|
-
additionalProperties: boolean;
|
|
1258
|
-
};
|
|
1259
|
-
};
|
|
1260
1171
|
})[] | {
|
|
1261
1172
|
$id: string;
|
|
1262
1173
|
definitions: {
|
|
@@ -529,30 +529,6 @@ export declare const GithubSchemas: ({
|
|
|
529
529
|
}[];
|
|
530
530
|
};
|
|
531
531
|
};
|
|
532
|
-
org_secrets: {
|
|
533
|
-
type: string;
|
|
534
|
-
properties: {
|
|
535
|
-
actions: {
|
|
536
|
-
type: string;
|
|
537
|
-
items: {
|
|
538
|
-
$ref: string;
|
|
539
|
-
};
|
|
540
|
-
};
|
|
541
|
-
codespaces: {
|
|
542
|
-
type: string;
|
|
543
|
-
items: {
|
|
544
|
-
$ref: string;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
dependabot: {
|
|
548
|
-
type: string;
|
|
549
|
-
items: {
|
|
550
|
-
$ref: string;
|
|
551
|
-
};
|
|
552
|
-
};
|
|
553
|
-
};
|
|
554
|
-
additionalProperties: boolean;
|
|
555
|
-
};
|
|
556
532
|
};
|
|
557
533
|
additionalProperties: boolean;
|
|
558
534
|
required: string[];
|
|
@@ -723,69 +699,4 @@ export declare const GithubSchemas: ({
|
|
|
723
699
|
};
|
|
724
700
|
};
|
|
725
701
|
};
|
|
726
|
-
} | {
|
|
727
|
-
$schema: string;
|
|
728
|
-
$id: string;
|
|
729
|
-
definitions: {
|
|
730
|
-
GithubOrgClaimSecrets: {
|
|
731
|
-
$id: string;
|
|
732
|
-
type: string;
|
|
733
|
-
description: string;
|
|
734
|
-
properties: {
|
|
735
|
-
actions: {
|
|
736
|
-
type: string;
|
|
737
|
-
items: {
|
|
738
|
-
$ref: string;
|
|
739
|
-
};
|
|
740
|
-
};
|
|
741
|
-
codespaces: {
|
|
742
|
-
type: string;
|
|
743
|
-
items: {
|
|
744
|
-
$ref: string;
|
|
745
|
-
};
|
|
746
|
-
};
|
|
747
|
-
dependabot: {
|
|
748
|
-
type: string;
|
|
749
|
-
items: {
|
|
750
|
-
$ref: string;
|
|
751
|
-
};
|
|
752
|
-
};
|
|
753
|
-
};
|
|
754
|
-
additionalProperties: boolean;
|
|
755
|
-
};
|
|
756
|
-
GithubOrgClaimSecretRef: {
|
|
757
|
-
$id: string;
|
|
758
|
-
type: string;
|
|
759
|
-
description: string;
|
|
760
|
-
pattern: string;
|
|
761
|
-
};
|
|
762
|
-
GithubOrgClaimSecret: {
|
|
763
|
-
$id: string;
|
|
764
|
-
type: string;
|
|
765
|
-
description: string;
|
|
766
|
-
properties: {
|
|
767
|
-
name: {
|
|
768
|
-
type: string;
|
|
769
|
-
description: string;
|
|
770
|
-
};
|
|
771
|
-
value: {
|
|
772
|
-
$ref: string;
|
|
773
|
-
};
|
|
774
|
-
visibility: {
|
|
775
|
-
type: string;
|
|
776
|
-
enum: string[];
|
|
777
|
-
description: string;
|
|
778
|
-
};
|
|
779
|
-
selected_repositories: {
|
|
780
|
-
type: string;
|
|
781
|
-
items: {
|
|
782
|
-
type: string;
|
|
783
|
-
};
|
|
784
|
-
description: string;
|
|
785
|
-
};
|
|
786
|
-
};
|
|
787
|
-
required: string[];
|
|
788
|
-
additionalProperties: boolean;
|
|
789
|
-
};
|
|
790
|
-
};
|
|
791
702
|
})[];
|
|
@@ -35,26 +35,6 @@ export interface IGithubOrgSettingsClaim extends IOrgSettingsClaim {
|
|
|
35
35
|
visibility: 'all' | 'private' | 'selected';
|
|
36
36
|
selected_repositories?: string[];
|
|
37
37
|
}[];
|
|
38
|
-
org_secrets?: {
|
|
39
|
-
actions?: {
|
|
40
|
-
name: string;
|
|
41
|
-
value: string;
|
|
42
|
-
visibility?: 'all' | 'private' | 'selected';
|
|
43
|
-
selected_repositories?: string[];
|
|
44
|
-
}[];
|
|
45
|
-
codespaces?: {
|
|
46
|
-
name: string;
|
|
47
|
-
value: string;
|
|
48
|
-
visibility?: 'all' | 'private' | 'selected';
|
|
49
|
-
selected_repositories?: string[];
|
|
50
|
-
}[];
|
|
51
|
-
dependabot?: {
|
|
52
|
-
name: string;
|
|
53
|
-
value: string;
|
|
54
|
-
visibility?: 'all' | 'private' | 'selected';
|
|
55
|
-
selected_repositories?: string[];
|
|
56
|
-
}[];
|
|
57
|
-
};
|
|
58
38
|
};
|
|
59
39
|
};
|
|
60
40
|
}
|
|
@@ -146,30 +146,6 @@ declare const _default: {
|
|
|
146
146
|
}[];
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
org_secrets: {
|
|
150
|
-
type: string;
|
|
151
|
-
properties: {
|
|
152
|
-
actions: {
|
|
153
|
-
type: string;
|
|
154
|
-
items: {
|
|
155
|
-
$ref: string;
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
codespaces: {
|
|
159
|
-
type: string;
|
|
160
|
-
items: {
|
|
161
|
-
$ref: string;
|
|
162
|
-
};
|
|
163
|
-
};
|
|
164
|
-
dependabot: {
|
|
165
|
-
type: string;
|
|
166
|
-
items: {
|
|
167
|
-
$ref: string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
additionalProperties: boolean;
|
|
172
|
-
};
|
|
173
149
|
};
|
|
174
150
|
additionalProperties: boolean;
|
|
175
151
|
required: string[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type StitchingViolationReason = 'protected-path' | 'overwrite-protected' | 'duplicate-path' | 'user-declared-path';
|
|
2
|
+
export interface StitchingViolation {
|
|
3
|
+
feature: string;
|
|
4
|
+
op: string;
|
|
5
|
+
path: string;
|
|
6
|
+
reason: StitchingViolationReason;
|
|
7
|
+
conflictingFeature?: string;
|
|
8
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class StitchingError extends Error {
|
|
11
|
+
violations: StitchingViolation[];
|
|
12
|
+
constructor(violations: StitchingViolation[]);
|
|
13
|
+
}
|
|
14
|
+
export declare function formatStitchingError(error: StitchingError): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface FeaturePatchEnvelope {
|
|
2
|
+
feature: string;
|
|
3
|
+
patches: Array<{
|
|
4
|
+
op: string;
|
|
5
|
+
path: string;
|
|
6
|
+
value?: unknown;
|
|
7
|
+
name?: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
export declare function MOCK_STITCHING_FEATURES(mock?: (claim: unknown) => Promise<FeaturePatchEnvelope[]>): void;
|
|
11
|
+
export declare const STITCHED_CLAIM: unique symbol;
|
|
12
|
+
export declare function stitchClaim(claimAfterDefaults: unknown, preCollectedEnvelopes?: FeaturePatchEnvelope[], originalClaim?: unknown): Promise<unknown>;
|
|
13
|
+
export declare function extractClaimPatches(rendered: {
|
|
14
|
+
claimPatches?: unknown;
|
|
15
|
+
}): Array<{
|
|
16
|
+
op: string;
|
|
17
|
+
path: string;
|
|
18
|
+
value?: unknown;
|
|
19
|
+
name?: string;
|
|
20
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function validateFeatureDescriptors(claim: unknown): void;
|
|
@@ -12,7 +12,7 @@ export declare class FeaturesOverrider extends OverriderPatches {
|
|
|
12
12
|
getFeatureConfig(cr: any): any;
|
|
13
13
|
setUpAndRunRenderer(cr: any): any;
|
|
14
14
|
__validate(): Promise<boolean>;
|
|
15
|
-
__patches(claim: any, _previousCR: any): Promise<
|
|
15
|
+
__patches(claim: any, _previousCR: any): Promise<{
|
|
16
16
|
validate(_cr: any): boolean;
|
|
17
17
|
apply(cr: any): Promise<any>;
|
|
18
18
|
identify(): string;
|
|
@@ -20,14 +20,5 @@ export declare class FeaturesOverrider extends OverriderPatches {
|
|
|
20
20
|
applicableProviders: string[];
|
|
21
21
|
};
|
|
22
22
|
post(cr: any): Promise<import("../claims/github/repositoryFeature").IGithubRepositoryFeatureClaim>;
|
|
23
|
-
|
|
24
|
-
} | {
|
|
25
|
-
isPostPatch: boolean;
|
|
26
|
-
validate(): boolean;
|
|
27
|
-
apply(cr: any): Promise<any>;
|
|
28
|
-
identify(): string;
|
|
29
|
-
applicable(): {
|
|
30
|
-
applicableProviders: string[];
|
|
31
|
-
};
|
|
32
|
-
})[]>;
|
|
23
|
+
}[]>;
|
|
33
24
|
}
|
|
@@ -8,5 +8,5 @@ export declare function renderClaims(catalogScope: Construct, firestartrScope: C
|
|
|
8
8
|
crs: any;
|
|
9
9
|
renames?: IRenameResult[];
|
|
10
10
|
}): Promise<RenderedCrMap>;
|
|
11
|
-
export declare function renderClaim(catalogScope: Construct, firestartrScope: Construct, claim: any, patches: ICustomResourcePatch[], previousCR?: any | null, claimPath?: string, variableSectionPreviousCR?: any | false, variableSectionPatches?: ICustomResourcePatch[], crs?: any
|
|
11
|
+
export declare function renderClaim(catalogScope: Construct, firestartrScope: Construct, claim: any, patches: ICustomResourcePatch[], previousCR?: any | null, claimPath?: string, variableSectionPreviousCR?: any | false, variableSectionPatches?: ICustomResourcePatch[], crs?: any): Promise<IRenderClaimResult>;
|
|
12
12
|
export declare function renameVariantCrFiles(outputDir: string, renderedMap: RenderedCrMap): void;
|
|
@@ -5,5 +5,8 @@ declare const _default: {
|
|
|
5
5
|
renderFeatureFromPath: typeof import("./src/renderer").renderFeatureFromPath;
|
|
6
6
|
getFeatureConfig: typeof import("./src/installer").getFeatureConfig;
|
|
7
7
|
getFeatureConfigFromRef: typeof import("./src/installer").getFeatureConfigFromRef;
|
|
8
|
+
getFeatureClaimPatches: typeof import("./src/installer").getFeatureClaimPatches;
|
|
9
|
+
getFeatureClaimPatchesFromRef: typeof import("./src/installer").getFeatureClaimPatchesFromRef;
|
|
10
|
+
getFeatureClaimPatchesFromPath: typeof import("./src/renderer").getFeatureClaimPatchesFromPath;
|
|
8
11
|
};
|
|
9
12
|
export default _default;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { getFeatureConfigFromRef, getFeatureConfig, prepareFeature } from './installer';
|
|
2
|
-
import { renderFeature, renderFeatureFromPath } from './renderer';
|
|
1
|
+
import { getFeatureConfigFromRef, getFeatureConfig, getFeatureClaimPatches, getFeatureClaimPatchesFromRef, prepareFeature } from './installer';
|
|
2
|
+
import { renderFeature, renderFeatureFromPath, getFeatureClaimPatchesFromPath } from './renderer';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
renderFeature: typeof renderFeature;
|
|
5
5
|
renderFeatureFromPath: typeof renderFeatureFromPath;
|
|
6
|
+
getFeatureClaimPatches: typeof getFeatureClaimPatches;
|
|
7
|
+
getFeatureClaimPatchesFromRef: typeof getFeatureClaimPatchesFromRef;
|
|
8
|
+
getFeatureClaimPatchesFromPath: typeof getFeatureClaimPatchesFromPath;
|
|
6
9
|
getFeatureConfigFromRef: typeof getFeatureConfigFromRef;
|
|
7
10
|
getFeatureConfig: typeof getFeatureConfig;
|
|
8
11
|
prepareFeature: typeof prepareFeature;
|
|
@@ -2,6 +2,8 @@ export declare function getFeatureConfigFromRef(featureName: string, featureRef:
|
|
|
2
2
|
featureArgs?: any, repo?: string, owner?: string): Promise<any>;
|
|
3
3
|
export declare function getFeatureConfig(featureName: string, version: string, featureOwner: any, // -> cr
|
|
4
4
|
featureArgs?: any, repo?: string, owner?: string): Promise<any>;
|
|
5
|
+
export declare function getFeatureClaimPatches(featureName: string, version: string, featureOwner: any, featureArgs?: any, repo?: string, owner?: string): Promise<any[]>;
|
|
6
|
+
export declare function getFeatureClaimPatchesFromRef(featureName: string, featureRef: string, featureOwner: any, featureArgs?: any, repo?: string, owner?: string): Promise<any[]>;
|
|
5
7
|
export declare function resolveFeatureCommit(owner: string, repo: string, reference: string): Promise<{
|
|
6
8
|
sha: string;
|
|
7
9
|
tags: string[];
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export declare function renderFeature(featureName: string, version: string, owner: any, repo: any, featureOwner: any, renderPath?: string, featureArgs?: any): any;
|
|
2
2
|
export declare function renderFeatureFromPath(extractPath: string, renderedPath: string, featureOwner: any, featureArgs?: any): any;
|
|
3
|
+
export declare function getFeatureClaimPatches(featureName: string, version: string, owner: any, repo: any, featureOwner: any, featureArgs?: any): any[];
|
|
4
|
+
export declare function getFeatureClaimPatchesFromPath(extractPath: string, featureOwner: any, featureArgs?: any): any[];
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import validate from './src/validate';
|
|
2
|
-
import render, { buildContext, renderContent, expandFiles } from './src/render';
|
|
2
|
+
import render, { buildContext, renderContent, expandFiles, getClaimPatches } from './src/render';
|
|
3
3
|
import updateFileContent from './src/update_file';
|
|
4
4
|
import { validateFeatureArgs } from './src/featureArgsValidation';
|
|
5
|
+
export { getClaimPatches, buildContext, renderContent, expandFiles };
|
|
5
6
|
declare const _default: {
|
|
6
7
|
validate: typeof validate;
|
|
7
8
|
render: typeof render;
|
|
@@ -12,10 +13,12 @@ declare const _default: {
|
|
|
12
13
|
buildExpectedOutput: (config: import("./src/auxiliar").FeatureConfig, renderDir: string) => import("./src/auxiliar").ExpectedOutput;
|
|
13
14
|
loadAndValidateRenderTests: (featurePath: string) => import("./src/auxiliar").RenderTestsFile;
|
|
14
15
|
resolveCrPath: (featurePath: string, crRelPath: string) => string;
|
|
16
|
+
resolveClaimPath: (featurePath: string, claimRelPath: string) => string;
|
|
15
17
|
};
|
|
16
18
|
buildContext: typeof buildContext;
|
|
17
19
|
renderContent: typeof renderContent;
|
|
18
20
|
expandFiles: typeof expandFiles;
|
|
19
21
|
validateFeatureArgs: typeof validateFeatureArgs;
|
|
22
|
+
getClaimPatches: typeof getClaimPatches;
|
|
20
23
|
};
|
|
21
24
|
export default _default;
|
|
@@ -11,7 +11,7 @@ export interface ConfigFile {
|
|
|
11
11
|
}
|
|
12
12
|
export interface FeatureConfig {
|
|
13
13
|
files?: ConfigFile[];
|
|
14
|
-
|
|
14
|
+
claimPatches?: unknown[];
|
|
15
15
|
}
|
|
16
16
|
export interface ExpectedFile {
|
|
17
17
|
localPath: string;
|
|
@@ -31,12 +31,13 @@ export interface Traceability {
|
|
|
31
31
|
}
|
|
32
32
|
export interface ExpectedOutput {
|
|
33
33
|
files: ExpectedFile[];
|
|
34
|
-
|
|
34
|
+
claimPatches: unknown[];
|
|
35
35
|
traceability?: Traceability;
|
|
36
36
|
}
|
|
37
37
|
export interface RenderTest {
|
|
38
38
|
name: string;
|
|
39
|
-
cr
|
|
39
|
+
cr?: string;
|
|
40
|
+
claim?: string;
|
|
40
41
|
args?: Record<string, unknown>;
|
|
41
42
|
}
|
|
42
43
|
export interface RenderTestsFile {
|
|
@@ -71,6 +72,7 @@ export interface RenderContext {
|
|
|
71
72
|
export declare function formatAjvErrors(errors: ErrorObject[] | null | undefined): string;
|
|
72
73
|
declare function loadAndValidateRenderTests(featurePath: string): RenderTestsFile;
|
|
73
74
|
declare function resolveCrPath(featurePath: string, crRelPath: string): string;
|
|
75
|
+
declare function resolveClaimPath(featurePath: string, claimRelPath: string): string;
|
|
74
76
|
export declare function listYamlFiles(dir: string): string[];
|
|
75
77
|
declare function loadYaml<T = unknown>(file: string): T;
|
|
76
78
|
declare function mkNamedTmp(...names: string[]): Promise<string>;
|
|
@@ -83,5 +85,6 @@ declare const _default: {
|
|
|
83
85
|
buildExpectedOutput: typeof buildExpectedOutput;
|
|
84
86
|
loadAndValidateRenderTests: typeof loadAndValidateRenderTests;
|
|
85
87
|
resolveCrPath: typeof resolveCrPath;
|
|
88
|
+
resolveClaimPath: typeof resolveClaimPath;
|
|
86
89
|
};
|
|
87
90
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export default function render(featurePath: string, featureRenderPath: string, entity: any, firestartrConfig?: any, featureArgs?: any): any;
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function getClaimPatches(featurePath: string, entity: any, firestartrConfig?: any, featureArgs?: any): any[];
|
|
3
|
+
export declare function buildContext(stitchedClaim: any, args: any, firestartrConfig: any, featureArgs: any): any;
|
|
3
4
|
export declare function expandFiles(featurePath: string, configData: any, context: any): void;
|
|
4
5
|
export declare function renderContent(template: string, ctx: any): any;
|
|
5
6
|
export declare function assertNonEmptyString(value: unknown, what: string): asserts value is string;
|
|
@@ -18,6 +18,12 @@ declare const _default: {
|
|
|
18
18
|
$ref: string;
|
|
19
19
|
};
|
|
20
20
|
};
|
|
21
|
+
claimPatches: {
|
|
22
|
+
type: string;
|
|
23
|
+
items: {
|
|
24
|
+
$ref: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
21
27
|
patches: {
|
|
22
28
|
type: string;
|
|
23
29
|
patternProperties: {
|
|
@@ -129,7 +135,7 @@ declare const _default: {
|
|
|
129
135
|
type: string;
|
|
130
136
|
};
|
|
131
137
|
value: {
|
|
132
|
-
type: string;
|
|
138
|
+
type: string[];
|
|
133
139
|
};
|
|
134
140
|
};
|
|
135
141
|
required: string[];
|
|
@@ -2,9 +2,7 @@ import { createCheckRun } from './src/check_run';
|
|
|
2
2
|
import { upsertMultiPartStickyComments } from './src/sticky_comment';
|
|
3
3
|
import { getOctokitForOrg, getGithubAppToken, getOctokitFromPat } from './src/auth';
|
|
4
4
|
import { encryptRepoSecret, getRepoPublicKey } from './src/encrypt';
|
|
5
|
-
import { getOrgPublicKey, encryptOrgSecret, getOrgSecret } from './src/orgSecrets';
|
|
6
5
|
import type { RepoSecretsSection } from './src/encrypt';
|
|
7
|
-
import type { OrgSecretsSection } from './src/orgSecrets';
|
|
8
6
|
import type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary } from './src/workflow';
|
|
9
7
|
import { withProfile } from './src/with_profile';
|
|
10
8
|
import { createProfile } from './src/profile';
|
|
@@ -70,7 +68,7 @@ declare const _default: {
|
|
|
70
68
|
getPrFiles: typeof import("./src/pull_request").getPrFiles;
|
|
71
69
|
filterPrBy: (filter: {
|
|
72
70
|
title: string;
|
|
73
|
-
state: "
|
|
71
|
+
state: "closed" | "all" | "open";
|
|
74
72
|
repo: string;
|
|
75
73
|
owner: string;
|
|
76
74
|
userType: "Bot" | "User";
|
|
@@ -82,7 +80,7 @@ declare const _default: {
|
|
|
82
80
|
create: (owner: string, repo: string, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
|
|
83
81
|
update: (owner: string, repo: string, issue_number: number, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
|
|
84
82
|
close: (owner: string, repo: string, issue_number: number, octokit?: any) => Promise<any>;
|
|
85
|
-
filterBy: (owner: string, repo: string, title: string, labels: string, state?: "
|
|
83
|
+
filterBy: (owner: string, repo: string, title: string, labels: string, state?: "closed" | "all" | "open", creator?: string, assignee?: string, octokit?: any) => Promise<any>;
|
|
86
84
|
upsertByTitle: (owner: string, repo: string, title: string, body: string, labels?: string[], octokit?: any) => Promise<any>;
|
|
87
85
|
};
|
|
88
86
|
branches: {
|
|
@@ -105,14 +103,10 @@ declare const _default: {
|
|
|
105
103
|
encryption: {
|
|
106
104
|
encryptRepoSecret: typeof encryptRepoSecret;
|
|
107
105
|
getRepoPublicKey: typeof getRepoPublicKey;
|
|
108
|
-
getOrgPublicKey: typeof getOrgPublicKey;
|
|
109
|
-
encryptOrgSecret: typeof encryptOrgSecret;
|
|
110
|
-
getOrgSecret: typeof getOrgSecret;
|
|
111
106
|
};
|
|
112
107
|
withProfile: typeof withProfile;
|
|
113
108
|
createProfile: typeof createProfile;
|
|
114
109
|
};
|
|
115
110
|
export default _default;
|
|
116
|
-
export { createProfile };
|
|
117
|
-
export type { RepoSecretsSection, OrgSecretsSection };
|
|
111
|
+
export { RepoSecretsSection, createProfile };
|
|
118
112
|
export type { WorkflowCompletionResult, WorkflowDispatchInputs, WorkflowRunConclusion, WorkflowRunStatus, WorkflowRunStatusFilter, WorkflowRunSummary, };
|
|
@@ -853,7 +853,7 @@ export declare function withProfile(profileName: string): {
|
|
|
853
853
|
create: (owner: string, repo: string, title: string, body: string, labels?: string[]) => Promise<any>;
|
|
854
854
|
update: (owner: string, repo: string, issue_number: number, title: string, body: string, labels?: string[]) => Promise<any>;
|
|
855
855
|
close: (owner: string, repo: string, issue_number: number) => Promise<any>;
|
|
856
|
-
filterBy: (owner: string, repo: string, title: string, labels: string, state?: "
|
|
856
|
+
filterBy: (owner: string, repo: string, title: string, labels: string, state?: "closed" | "all" | "open", creator?: string, assignee?: string) => Promise<any>;
|
|
857
857
|
upsertByTitle: (owner: string, repo: string, title: string, body: string, labels?: string[]) => Promise<any>;
|
|
858
858
|
};
|
|
859
859
|
workflow: {
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FirestartrGithubOrganizationSecretSection, FirestartrGithubOrganizationSecretSectionProps } from '../../../imports/firestartr.dev';
|
|
2
|
-
import { IUnitializedStateKey } from '../../claims/base';
|
|
3
|
-
import { BaseGithubChart } from './base';
|
|
4
|
-
export declare class GithubOrgSecretSectionChart extends BaseGithubChart {
|
|
5
|
-
template(): FirestartrGithubOrganizationSecretSectionProps | IUnitializedStateKey;
|
|
6
|
-
gvk(): import("cdk8s").GroupVersionKind;
|
|
7
|
-
instanceApiObject(template: any): FirestartrGithubOrganizationSecretSection;
|
|
8
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
$schema: string;
|
|
3
|
-
$id: string;
|
|
4
|
-
definitions: {
|
|
5
|
-
GithubOrgClaimSecrets: {
|
|
6
|
-
$id: string;
|
|
7
|
-
type: string;
|
|
8
|
-
description: string;
|
|
9
|
-
properties: {
|
|
10
|
-
actions: {
|
|
11
|
-
type: string;
|
|
12
|
-
items: {
|
|
13
|
-
$ref: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
codespaces: {
|
|
17
|
-
type: string;
|
|
18
|
-
items: {
|
|
19
|
-
$ref: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
dependabot: {
|
|
23
|
-
type: string;
|
|
24
|
-
items: {
|
|
25
|
-
$ref: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
additionalProperties: boolean;
|
|
30
|
-
};
|
|
31
|
-
GithubOrgClaimSecretRef: {
|
|
32
|
-
$id: string;
|
|
33
|
-
type: string;
|
|
34
|
-
description: string;
|
|
35
|
-
pattern: string;
|
|
36
|
-
};
|
|
37
|
-
GithubOrgClaimSecret: {
|
|
38
|
-
$id: string;
|
|
39
|
-
type: string;
|
|
40
|
-
description: string;
|
|
41
|
-
properties: {
|
|
42
|
-
name: {
|
|
43
|
-
type: string;
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
value: {
|
|
47
|
-
$ref: string;
|
|
48
|
-
};
|
|
49
|
-
visibility: {
|
|
50
|
-
type: string;
|
|
51
|
-
enum: string[];
|
|
52
|
-
description: string;
|
|
53
|
-
};
|
|
54
|
-
selected_repositories: {
|
|
55
|
-
type: string;
|
|
56
|
-
items: {
|
|
57
|
-
type: string;
|
|
58
|
-
};
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
required: string[];
|
|
63
|
-
additionalProperties: boolean;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { RenderClaims, RenderedCrMap } from '../renderer/types';
|
|
2
|
-
export declare function validateGithubOrgSecretSectionSingleton(crs: RenderedCrMap): void;
|
|
3
|
-
export declare function validateSecretNamesUniqueness(crs: RenderedCrMap): void;
|
|
4
|
-
export declare function validateOrgSecretsCrossReferences(renderClaims: RenderClaims): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { EntityGHOrgSecretSection } from '.';
|
|
2
|
-
import { type OrgSecretsSection } from 'github';
|
|
3
|
-
export type SecretEntry = {
|
|
4
|
-
name: string;
|
|
5
|
-
ref: {
|
|
6
|
-
kind: string;
|
|
7
|
-
name: string;
|
|
8
|
-
key: string;
|
|
9
|
-
};
|
|
10
|
-
visibility: string;
|
|
11
|
-
selectedRepositories?: string[];
|
|
12
|
-
};
|
|
13
|
-
declare const SECTIONS: OrgSecretsSection[];
|
|
14
|
-
export { SECTIONS };
|
|
15
|
-
export declare function provisionOrgSecrets(entity: EntityGHOrgSecretSection, secrets: Record<string, SecretEntry[]>): Promise<void>;
|
|
16
|
-
export declare function adoptSecretsIfNeeded(entity: EntityGHOrgSecretSection, secrets: Record<string, SecretEntry[]>): Promise<void>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export type OrgSecretsSection = 'actions' | 'dependabot' | 'codespaces';
|
|
2
|
-
export declare function getOrgPublicKey(org: string, section: OrgSecretsSection, octokit?: any): Promise<any>;
|
|
3
|
-
export declare function encryptOrgSecret(org: string, section: OrgSecretsSection, plaintextValue: string, preFetchedKey?: {
|
|
4
|
-
key_id: string;
|
|
5
|
-
key: string;
|
|
6
|
-
}, octokit?: any): Promise<{
|
|
7
|
-
key_id: any;
|
|
8
|
-
encrypted_value: string;
|
|
9
|
-
}>;
|
|
10
|
-
export declare function getOrgSecret(org: string, section: OrgSecretsSection, name: string, octokit?: any): Promise<any>;
|